2017-10-31 12:15:03 -04:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"iid": { "type": "integer" },
|
|
|
|
"author_id": { "type": "integer" },
|
|
|
|
"description": { "type": ["string", "null"] },
|
2019-01-15 16:05:36 -05:00
|
|
|
"lock_version": { "type": ["integer", "null"] },
|
2017-10-31 12:15:03 -04:00
|
|
|
"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"] },
|
|
|
|
"due_date": { "type": "date" },
|
|
|
|
"confidential": { "type": "boolean" },
|
|
|
|
"discussion_locked": { "type": ["boolean", "null"] },
|
2018-06-01 11:09:08 -04:00
|
|
|
"updated_by_id": { "type": ["integer", "null"] },
|
2017-10-31 12:15:03 -04:00
|
|
|
"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-03-12 13:10:24 -04:00
|
|
|
}
|
2017-10-31 12:15:03 -04:00
|
|
|
}
|