gitlab-org--gitlab-foss/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 Permalink Normal View History

{
"type": "object",
"required" : [
"iid",
"title",
"confidential"
],
"properties" : {
"id": { "type": "integer" },
"iid": { "type": "integer" },
2017-08-31 14:18:35 -04:00
"project_id": { "type": ["integer", "null"] },
"title": { "type": "string" },
"confidential": { "type": "boolean" },
"due_date": { "type": ["string", "null"] },
"relative_position": { "type": ["integer", "null"] },
2018-11-07 12:20:17 -05:00
"time_estimate": { "type": "integer" },
"type": { "type": "string", "enum": ["ISSUE", "INCIDENT", "TEST_CASE", "REQUIREMENT"] },
"issue_sidebar_endpoint": { "type": "string" },
"toggle_subscription_endpoint": { "type": "string" },
2018-10-31 19:54:33 -04:00
"assignable_labels_endpoint": { "type": "string" },
2018-04-05 13:57:48 -04:00
"reference_path": { "type": "string" },
"real_path": { "type": "string" },
2017-08-31 14:18:35 -04:00
"project": {
"id": { "type": "integer" },
"path": { "type": "string" }
},
"labels": {
"type": "array",
2017-10-31 12:15:03 -04:00
"items": { "$ref": "entities/label.json" }
},
"assignee": {
"id": { "type": "integer" },
"name": { "type": "string" },
"username": { "type": "string" },
"avatar_url": { "type": "uri" }
},
"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" }
}
}
2016-10-07 04:24:57 -04:00
},
"subscribed": { "type": ["boolean", "null"] }
}
}