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

51 lines
1.7 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"properties" : {
"id": { "type": "integer" },
2019-02-15 15:39:39 +05:30
"type": { "type": "string" },
"author_id": { "type": "integer" },
"project_id": { "type": "integer" },
"discussion_locked": { "type": ["boolean", "null"] },
2021-06-08 01:23:25 +05:30
"due_date": { "type": ["string", "null"], "format": "date-time" },
2019-02-15 15:39:39 +05:30
"confidential": { "type": "boolean" },
"reference": { "type": "string" },
"current_user": {
"allOf": [
{ "$ref": "../public_api/v4/user/basic.json" },
{ "type": "object",
"properties" : {
"todo": { "$ref": "issuable_sidebar_todo.json" },
"can_edit": { "type": "boolean" },
"can_move": { "type": "boolean" },
"can_admin_label": { "type": "boolean" }
}
}
]
},
"milestone": {
"oneOf": [
{ "type": "null" },
{ "$ref": "../public_api/v4/milestone.json" }
]
2018-03-17 18:26:18 +05:30
},
2019-02-15 15:39:39 +05:30
"labels": {
2018-03-17 18:26:18 +05:30
"type": "array",
2019-02-15 15:39:39 +05:30
"items": { "$ref": "label.json" }
},
"issuable_json_path": { "type": "string" },
"namespace_path": { "type": "string" },
"project_path": { "type": "string" },
"project_full_path": { "type": "string" },
"project_issuables_path": { "type": "string" },
"create_todo_path": { "type": "string" },
"project_milestones_path": { "type": "string" },
"project_labels_path": { "type": "string" },
"toggle_subscription_path": { "type": "string" },
"move_issue_path": { "type": "string" },
2020-11-24 15:15:51 +05:30
"projects_autocomplete_path": { "type": "string" },
"supports_time_tracking": { "type": "boolean" },
"supports_milestone": { "type": "boolean" },
"supports_severity": { "type": "boolean" }
2019-02-15 15:39:39 +05:30
}
2018-03-17 18:26:18 +05:30
}