Welcome to mirror list, hosted at ThFree Co, Russian Federation.

merge_request_noteable.json « entities « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e0d7f998a24e825edf94d1049a7311406c43c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "type": "object",
  "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": {
    "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" },
    "source_branch_path": { "type": "string" },
    "target_branch_path": { "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",
        "can_create_confidential_note"
      ],
      "properties": {
        "can_create_note": { "type": "boolean" },
        "can_update": { "type": "boolean" },
        "can_create_confidential_note": { "type": "boolean" }
      },
      "additionalProperties": false
    },
    "is_project_archived": { "type":  "boolean" },
    "locked_discussion_docs_path": { "type":  "string" },
    "archived_project_docs_path": { "type":  "string" },
    "project_id": { "type": "integer"}
  },
  "additionalProperties": false
}