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

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

40 lines
1.5 KiB
JSON
Raw Normal View History

2019-12-04 20:38:33 +05:30
{
"type": "object",
2020-01-01 13:55:28 +05:30
"required": ["id", "iid", "title", "description", "merge_params", "state", "source_branch", "target_branch",
"diff_head_sha", "create_note_path", "preview_note_path", "can_receive_suggestion", "create_issue_to_resolve_discussions_path",
"new_blob_path", "current_user", "is_project_archived"],
"properties": {
2019-12-04 20:38:33 +05:30
"id": { "type": "integer" },
"iid": { "type": "integer" },
"title": { "type": "string" },
"description": { "type": "string" },
"merge_params": { "type": ["object", "null"] },
"state": { "type": "string" },
"source_branch": { "type": "string" },
"target_branch": { "type": "string" },
"diff_head_sha": { "type": "string" },
"create_note_path": { "type": ["string", "null"] },
"preview_note_path": { "type": ["string", "null"] },
"create_issue_to_resolve_discussions_path": { "type": ["string", "null"] },
"new_blob_path": { "type": ["string", "null"] },
"can_receive_suggestion": { "type": "boolean" },
"current_user": {
"type": "object",
"required": [
"can_create_note",
"can_update"
],
"properties": {
"can_create_note": { "type": "boolean" },
"can_update": { "type": "boolean" }
},
"additionalProperties": false
2020-01-01 13:55:28 +05:30
},
"is_project_archived": { "type": "boolean" },
"locked_discussion_docs_path": { "type": "string" },
2020-06-23 00:09:42 +05:30
"archived_project_docs_path": { "type": "string" },
"project_id": { "type": "integer"}
2019-12-04 20:38:33 +05:30
},
"additionalProperties": false
}