debian-mirror-gitlab/spec/fixtures/api/schemas/issue.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.6 KiB
JSON
Raw Normal View History

2016-09-13 17:45:13 +05:30
{
"type": "object",
"required" : [
"iid",
"title",
"confidential"
],
"properties" : {
2017-08-17 22:00:37 +05:30
"id": { "type": "integer" },
2016-09-13 17:45:13 +05:30
"iid": { "type": "integer" },
2018-03-17 18:26:18 +05:30
"project_id": { "type": ["integer", "null"] },
2016-09-13 17:45:13 +05:30
"title": { "type": "string" },
"confidential": { "type": "boolean" },
2021-06-08 01:23:25 +05:30
"due_date": { "type": ["string", "null"] },
2020-11-24 15:15:51 +05:30
"relative_position": { "type": ["integer", "null"] },
2018-12-13 13:39:08 +05:30
"time_estimate": { "type": "integer" },
2021-06-08 01:23:25 +05:30
"type": { "type": "string", "enum": ["ISSUE", "INCIDENT", "TEST_CASE", "REQUIREMENT"] },
2018-03-17 18:26:18 +05:30
"issue_sidebar_endpoint": { "type": "string" },
"toggle_subscription_endpoint": { "type": "string" },
2018-12-13 13:39:08 +05:30
"assignable_labels_endpoint": { "type": "string" },
2018-05-09 12:01:36 +05:30
"reference_path": { "type": "string" },
"real_path": { "type": "string" },
2018-03-17 18:26:18 +05:30
"project": {
"id": { "type": "integer" },
"path": { "type": "string" }
},
2016-09-13 17:45:13 +05:30
"labels": {
"type": "array",
2018-03-17 18:26:18 +05:30
"items": { "$ref": "entities/label.json" }
2016-09-13 17:45:13 +05:30
},
"assignee": {
2019-07-07 11:18:12 +05:30
"id": { "type": "integer" },
2016-09-13 17:45:13 +05:30
"name": { "type": "string" },
"username": { "type": "string" },
"avatar_url": { "type": "uri" }
2017-08-17 22:00:37 +05:30
},
"assignees": {
"type": "array",
"items": {
"type": ["object", "null"],
"required": [
"id",
"name",
"username",
"avatar_url"
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"username": { "type": "string" },
"avatar_url": { "type": "uri" }
}
}
},
"subscribed": { "type": ["boolean", "null"] }
2019-07-07 11:18:12 +05:30
}
2016-09-13 17:45:13 +05:30
}