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

44 lines
1.5 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"properties" : {
"id": { "type": "integer" },
"iid": { "type": "integer" },
2022-07-23 23:45:48 +05:30
"type": { "type": "string" },
2018-03-17 18:26:18 +05:30
"author_id": { "type": "integer" },
"description": { "type": ["string", "null"] },
2019-07-31 22:56:46 +05:30
"lock_version": { "type": ["integer", "null"] },
2018-03-17 18:26:18 +05:30
"milestone_id": { "type": ["string", "null"] },
"title": { "type": "string" },
"moved_to_id": { "type": ["integer", "null"] },
"project_id": { "type": "integer" },
"web_url": { "type": "string" },
"state": { "type": "string" },
"create_note_path": { "type": "string" },
"preview_note_path": { "type": "string" },
"current_user": {
"type": "object",
"properties": {
"can_create_note": { "type": "boolean" },
"can_update": { "type": "boolean" }
}
},
"created_at": { "type": "date-time" },
"updated_at": { "type": "date-time" },
"branch_name": { "type": ["string", "null"] },
2021-06-08 01:23:25 +05:30
"due_date": { "type": ["string", "null"], "format": "date-time" },
2018-03-17 18:26:18 +05:30
"confidential": { "type": "boolean" },
"discussion_locked": { "type": ["boolean", "null"] },
2018-11-08 19:23:39 +05:30
"updated_by_id": { "type": ["integer", "null"] },
2018-03-17 18:26:18 +05:30
"time_estimate": { "type": "integer" },
"total_time_spent": { "type": "integer" },
"human_time_estimate": { "type": ["integer", "null"] },
"human_total_time_spent": { "type": ["integer", "null"] },
"milestone": { "type": ["object", "null"] },
"labels": {
"type": "array",
"items": { "$ref": "label.json" }
},
"assignees": { "type": ["array", "null"] }
2019-07-07 11:18:12 +05:30
}
2018-03-17 18:26:18 +05:30
}