debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/board.json

94 lines
2.6 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"required" : [
"id",
"project",
"lists"
],
"properties" : {
"id": { "type": "integer" },
"project": {
"type": ["object", "null"],
"required": [
"id",
"avatar_url",
"description",
"default_branch",
"tag_list",
2021-09-04 01:27:46 +05:30
"topics",
2018-03-17 18:26:18 +05:30
"ssh_url_to_repo",
"http_url_to_repo",
"web_url",
"name",
"name_with_namespace",
"path",
"path_with_namespace",
"star_count",
"forks_count",
"created_at",
"last_activity_at"
],
"properties": {
"id": { "type": "integer" },
"avatar_url": { "type": ["string", "null"] },
2021-06-08 01:23:25 +05:30
"readme_url": { "type": ["string", "null"] },
2018-03-17 18:26:18 +05:30
"description": { "type": ["string", "null"] },
"default_branch": { "type": ["string", "null"] },
"tag_list": { "type": "array" },
2021-09-04 01:27:46 +05:30
"topics": { "type": "array" },
2018-03-17 18:26:18 +05:30
"ssh_url_to_repo": { "type": "string" },
"http_url_to_repo": { "type": "string" },
"web_url": { "type": "string" },
"name": { "type": "string" },
"name_with_namespace": { "type": "string" },
"path": { "type": "string" },
"path_with_namespace": { "type": "string" },
"star_count": { "type": "integer" },
"forks_count": { "type": "integer" },
2021-06-08 01:23:25 +05:30
"created_at": { "type": "string", "format": "date-time" },
"namespace": {"type": "object" },
"last_activity_at": { "type": "string", "format": "date-time" }
2018-03-17 18:26:18 +05:30
},
"additionalProperties": false
},
"lists": {
"type": "array",
"items": {
"type": "object",
"required" : [
"id",
"label",
"position"
],
"properties" : {
"id": { "type": "integer" },
"label": {
"type": ["object", "null"],
"required": [
"id",
"color",
"description",
"name"
],
"properties": {
"id": { "type": "integer" },
"color": {
"type": "string",
2021-06-08 01:23:25 +05:30
"pattern": "#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"
2018-03-17 18:26:18 +05:30
},
"description": { "type": ["string", "null"] },
"name": { "type": "string" }
}
},
2019-12-21 20:55:43 +05:30
"position": { "type": ["integer", "null"] },
2020-01-01 13:55:28 +05:30
"max_issue_count": { "type": "integer" },
2020-06-23 00:09:42 +05:30
"max_issue_weight": { "type": "integer" },
"limit_metric": { "type": ["string", "null"] }
2018-03-17 18:26:18 +05:30
},
"additionalProperties": false
}
}
},
"additionalProperties": true
}