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

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

142 lines
2.2 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
2023-03-04 22:38:38 +05:30
"properties": {
"id": {
"type": "integer"
},
"iid": {
"type": "integer"
},
"type": {
"type": "string"
},
"author_id": {
"type": "integer"
},
"description": {
"type": [
"string",
"null"
]
},
"lock_version": {
"type": [
"integer",
"null"
]
},
"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"
},
2018-03-17 18:26:18 +05:30
"current_user": {
"type": "object",
"properties": {
2023-03-04 22:38:38 +05:30
"can_create_note": {
"type": "boolean"
},
"can_update": {
"type": "boolean"
}
2018-03-17 18:26:18 +05:30
}
},
2023-03-04 22:38:38 +05:30
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"branch_name": {
"type": [
"string",
"null"
]
},
"due_date": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"confidential": {
"type": "boolean"
},
"discussion_locked": {
"type": [
"boolean",
"null"
]
},
"updated_by_id": {
"type": [
"integer",
"null"
]
},
"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"
]
},
2018-03-17 18:26:18 +05:30
"labels": {
"type": "array",
2023-03-04 22:38:38 +05:30
"items": {
"$ref": "label.json"
}
2018-03-17 18:26:18 +05:30
},
2023-03-04 22:38:38 +05:30
"assignees": {
"type": [
"array",
"null"
]
}
2019-07-07 11:18:12 +05:30
}
2023-03-04 22:38:38 +05:30
}