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

merge_request.json « v4 « public_api « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66f894e9c5ce29362164387caadd7f6fb03c5a31 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
  "type": "object",
  "properties" : {
    "id": { "type": "integer" },
    "iid": { "type": "integer" },
    "project_id": { "type": "integer" },
    "title": { "type": "string" },
    "description": { "type": ["string", "null"] },
    "state": { "type": "string" },
    "merged_by": {
      "type": ["object", "null"],
      "properties": {
        "name": { "type": "string" },
        "username": { "type": "string" },
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "avatar_url": { "type": "uri" },
        "web_url": { "type": "uri" }
      },
      "additionalProperties": false
    },
    "merge_user": {
      "type": ["object", "null"],
      "properties": {
        "name": { "type": "string" },
        "username": { "type": "string" },
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "avatar_url": { "type": "uri" },
        "web_url": { "type": "uri" }
      },
      "additionalProperties": false
    },
    "merged_at": { "type": ["string", "null"] },
    "closed_by": {
      "type": ["object", "null"],
      "properties": {
        "name": { "type": "string" },
        "username": { "type": "string" },
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "avatar_url": { "type": "uri" },
        "web_url": { "type": "uri" }
      },
      "additionalProperties": false
    },
    "closed_at": { "type": ["string", "null"], "format": "date-time" },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "target_branch": { "type": "string" },
    "source_branch": { "type": "string" },
    "upvotes": { "type": "integer" },
    "downvotes": { "type": "integer" },
    "author": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "username": { "type": "string" },
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "avatar_url": { "type": "uri" },
        "web_url": { "type": "uri" }
      },
      "additionalProperties": false
    },
    "assignee": {
      "type": ["object", "null"],
      "properties": {
        "name": { "type": "string" },
        "username": { "type": "string" },
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "avatar_url": { "type": "uri" },
        "web_url": { "type": "uri" }
      },
      "additionalProperties": false
    },
    "assignees": {
      "type": "array",
      "items": {
        "$ref": "user/basic.json"
      }
    },
    "source_project_id": { "type": "integer" },
    "target_project_id": { "type": "integer" },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "work_in_progress": { "type": "boolean" },
    "milestone": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "milestone.json" }
      ]
    },
    "merge_when_pipeline_succeeds": { "type": "boolean" },
    "merge_status": { "type": "string" },
    "sha": { "type": "string" },
    "merge_commit_sha": { "type": ["string", "null"] },
    "user_notes_count": { "type": "integer" },
    "changes_count": { "type": "string" },
    "should_remove_source_branch": { "type": ["boolean", "null"] },
    "force_remove_source_branch": { "type": ["boolean", "null"] },
    "discussion_locked": { "type": ["boolean", "null"] },
    "web_url": { "type": "uri" },
    "squash": { "type": "boolean" },
    "time_stats": {
      "time_estimate": { "type": "integer" },
      "total_time_spent": { "type": "integer" },
      "human_time_estimate": { "type": ["string", "null"] },
      "human_total_time_spent": { "type": ["string", "null"] }
    },
    "allow_collaboration": { "type": ["boolean", "null"] },
    "allow_maintainer_to_push": { "type": ["boolean", "null"] },
    "references": {
      "short": {"type": "string"},
      "relative": {"type": "string"},
      "full": {"type": "string"}
    }
  },
  "required": [
    "id", "iid", "project_id", "title", "description",
    "state", "created_at", "updated_at", "target_branch",
    "source_branch", "upvotes", "downvotes", "author",
    "assignee", "source_project_id", "target_project_id",
    "labels", "work_in_progress", "milestone", "merge_when_pipeline_succeeds",
    "merge_status", "sha", "merge_commit_sha", "user_notes_count",
    "should_remove_source_branch", "force_remove_source_branch",
    "web_url", "squash"
  ],
  "head_pipeline": {
    "oneOf": [
      { "type": "null" },
      { "$ref": "pipeline/detail.json" }
    ]
  }
}