@templmf/temp-solf-lmf 0.0.107 → 0.0.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gitlab-foss-8-17-stable/doc/api/README.md +391 -0
- package/gitlab-foss-8-17-stable/doc/api/access_requests.md +139 -0
- package/gitlab-foss-8-17-stable/doc/api/award_emoji.md +374 -0
- package/gitlab-foss-8-17-stable/doc/api/boards.md +241 -0
- package/gitlab-foss-8-17-stable/doc/api/branches.md +260 -0
- package/gitlab-foss-8-17-stable/doc/api/broadcast_messages.md +154 -0
- package/gitlab-foss-8-17-stable/doc/api/build_triggers.md +118 -0
- package/gitlab-foss-8-17-stable/doc/api/build_variables.md +128 -0
- package/gitlab-foss-8-17-stable/doc/api/builds.md +610 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/README.md +24 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/builds.md +147 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/lint.md +49 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/runners.md +59 -0
- package/gitlab-foss-8-17-stable/doc/api/commits.md +479 -0
- package/gitlab-foss-8-17-stable/doc/api/deploy_key_multiple_projects.md +29 -0
- package/gitlab-foss-8-17-stable/doc/api/deploy_keys.md +216 -0
- package/gitlab-foss-8-17-stable/doc/api/deployments.md +218 -0
- package/gitlab-foss-8-17-stable/doc/api/enviroments.md +121 -0
- package/gitlab-foss-8-17-stable/doc/api/groups.md +484 -0
- package/gitlab-foss-8-17-stable/doc/api/issues.md +856 -0
- package/gitlab-foss-8-17-stable/doc/api/keys.md +46 -0
- package/gitlab-foss-8-17-stable/doc/api/labels.md +257 -0
- package/gitlab-foss-8-17-stable/doc/api/members.md +175 -0
- package/gitlab-foss-8-17-stable/doc/api/merge_requests.md +1158 -0
- package/gitlab-foss-8-17-stable/doc/api/milestones.md +105 -0
- package/gitlab-foss-8-17-stable/doc/api/namespaces.md +70 -0
- package/gitlab-foss-8-17-stable/doc/api/notes.md +407 -0
- package/gitlab-foss-8-17-stable/doc/api/notification_settings.md +177 -0
- package/gitlab-foss-8-17-stable/doc/api/oauth2.md +137 -0
- package/gitlab-foss-8-17-stable/doc/api/pipelines.md +259 -0
- package/gitlab-foss-8-17-stable/doc/api/project_snippets.md +118 -0
- package/gitlab-foss-8-17-stable/doc/api/projects.md +1402 -0
- package/gitlab-foss-8-17-stable/doc/api/repositories.md +200 -0
- package/gitlab-foss-8-17-stable/doc/api/repository_files.md +134 -0
- package/gitlab-foss-8-17-stable/doc/api/runners.md +322 -0
- package/gitlab-foss-8-17-stable/doc/api/services.md +812 -0
- package/gitlab-foss-8-17-stable/doc/api/session.md +56 -0
- package/gitlab-foss-8-17-stable/doc/api/settings.md +126 -0
- package/gitlab-foss-8-17-stable/doc/api/sidekiq_metrics.md +152 -0
- package/gitlab-foss-8-17-stable/doc/api/snippets.md +232 -0
- package/gitlab-foss-8-17-stable/doc/api/system_hooks.md +146 -0
- package/gitlab-foss-8-17-stable/doc/api/tags.md +191 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/gitignores.md +579 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/gitlab_ci_ymls.md +120 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/licenses.md +147 -0
- package/gitlab-foss-8-17-stable/doc/api/todos.md +296 -0
- package/gitlab-foss-8-17-stable/doc/api/users.md +835 -0
- package/gitlab-foss-8-17-stable/doc/api/v3_to_v4.md +14 -0
- package/gitlab-foss-8-17-stable/doc/api/version.md +23 -0
- package/package.json +1 -1
- package/SkillConfigPanel.vue +0 -2322
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
# Award Emoji
|
|
2
|
+
|
|
3
|
+
> [Introduced][ce-4575] in GitLab 8.9, Snippet support in 8.12
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
An awarded emoji tells a thousand words, and can be awarded on issues, merge
|
|
7
|
+
requests, snippets, and notes/comments. Issues, merge requests, snippets, and notes are further called
|
|
8
|
+
`awardables`.
|
|
9
|
+
|
|
10
|
+
## Issues, merge requests, and snippets
|
|
11
|
+
|
|
12
|
+
### List an awardable's award emoji
|
|
13
|
+
|
|
14
|
+
Gets a list of all award emoji
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
GET /projects/:id/issues/:issue_id/award_emoji
|
|
18
|
+
GET /projects/:id/merge_requests/:merge_request_id/award_emoji
|
|
19
|
+
GET /projects/:id/snippets/:snippet_id/award_emoji
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Parameters:
|
|
23
|
+
|
|
24
|
+
| Attribute | Type | Required | Description |
|
|
25
|
+
| --------- | ---- | -------- | ----------- |
|
|
26
|
+
| `id` | integer | yes | The ID of a project |
|
|
27
|
+
| `awardable_id` | integer | yes | The ID of an awardable |
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Example Response:
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
[
|
|
37
|
+
{
|
|
38
|
+
"id": 4,
|
|
39
|
+
"name": "1234",
|
|
40
|
+
"user": {
|
|
41
|
+
"name": "Administrator",
|
|
42
|
+
"username": "root",
|
|
43
|
+
"id": 1,
|
|
44
|
+
"state": "active",
|
|
45
|
+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
|
46
|
+
"web_url": "http://gitlab.example.com/root"
|
|
47
|
+
},
|
|
48
|
+
"created_at": "2016-06-15T10:09:34.206Z",
|
|
49
|
+
"updated_at": "2016-06-15T10:09:34.206Z",
|
|
50
|
+
"awardable_id": 80,
|
|
51
|
+
"awardable_type": "Issue"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": 1,
|
|
55
|
+
"name": "microphone",
|
|
56
|
+
"user": {
|
|
57
|
+
"name": "User 4",
|
|
58
|
+
"username": "user4",
|
|
59
|
+
"id": 26,
|
|
60
|
+
"state": "active",
|
|
61
|
+
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
|
62
|
+
"web_url": "http://gitlab.example.com/user4"
|
|
63
|
+
},
|
|
64
|
+
"created_at": "2016-06-15T10:09:34.177Z",
|
|
65
|
+
"updated_at": "2016-06-15T10:09:34.177Z",
|
|
66
|
+
"awardable_id": 80,
|
|
67
|
+
"awardable_type": "Issue"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Get single award emoji
|
|
73
|
+
|
|
74
|
+
Gets a single award emoji from an issue, snippet, or merge request.
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
GET /projects/:id/issues/:issue_id/award_emoji/:award_id
|
|
78
|
+
GET /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
|
|
79
|
+
GET /projects/:id/snippets/:snippet_id/award_emoji/:award_id
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Parameters:
|
|
83
|
+
|
|
84
|
+
| Attribute | Type | Required | Description |
|
|
85
|
+
| --------- | ---- | -------- | ----------- |
|
|
86
|
+
| `id` | integer | yes | The ID of a project |
|
|
87
|
+
| `awardable_id` | integer | yes | The ID of an awardable |
|
|
88
|
+
| `award_id` | integer | yes | The ID of the award emoji |
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji/1
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Example Response:
|
|
95
|
+
|
|
96
|
+
```json
|
|
97
|
+
{
|
|
98
|
+
"id": 1,
|
|
99
|
+
"name": "microphone",
|
|
100
|
+
"user": {
|
|
101
|
+
"name": "User 4",
|
|
102
|
+
"username": "user4",
|
|
103
|
+
"id": 26,
|
|
104
|
+
"state": "active",
|
|
105
|
+
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
|
106
|
+
"web_url": "http://gitlab.example.com/user4"
|
|
107
|
+
},
|
|
108
|
+
"created_at": "2016-06-15T10:09:34.177Z",
|
|
109
|
+
"updated_at": "2016-06-15T10:09:34.177Z",
|
|
110
|
+
"awardable_id": 80,
|
|
111
|
+
"awardable_type": "Issue"
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Award a new emoji
|
|
116
|
+
|
|
117
|
+
This end point creates an award emoji on the specified resource
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
POST /projects/:id/issues/:issue_id/award_emoji
|
|
121
|
+
POST /projects/:id/merge_requests/:merge_request_id/award_emoji
|
|
122
|
+
POST /projects/:id/snippets/:snippet_id/award_emoji
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Parameters:
|
|
126
|
+
|
|
127
|
+
| Attribute | Type | Required | Description |
|
|
128
|
+
| --------- | ---- | -------- | ----------- |
|
|
129
|
+
| `id` | integer | yes | The ID of a project |
|
|
130
|
+
| `awardable_id` | integer | yes | The ID of an awardable |
|
|
131
|
+
| `name` | string | yes | The name of the emoji, without colons |
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji?name=blowfish
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Example Response:
|
|
138
|
+
|
|
139
|
+
```json
|
|
140
|
+
{
|
|
141
|
+
"id": 344,
|
|
142
|
+
"name": "blowfish",
|
|
143
|
+
"user": {
|
|
144
|
+
"name": "Administrator",
|
|
145
|
+
"username": "root",
|
|
146
|
+
"id": 1,
|
|
147
|
+
"state": "active",
|
|
148
|
+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
|
149
|
+
"web_url": "http://gitlab.example.com/root"
|
|
150
|
+
},
|
|
151
|
+
"created_at": "2016-06-17T17:47:29.266Z",
|
|
152
|
+
"updated_at": "2016-06-17T17:47:29.266Z",
|
|
153
|
+
"awardable_id": 80,
|
|
154
|
+
"awardable_type": "Issue"
|
|
155
|
+
}
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Delete an award emoji
|
|
159
|
+
|
|
160
|
+
Sometimes its just not meant to be, and you'll have to remove your award. Only available to
|
|
161
|
+
admins or the author of the award.
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
DELETE /projects/:id/issues/:issue_id/award_emoji/:award_id
|
|
165
|
+
DELETE /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
|
|
166
|
+
DELETE /projects/:id/snippets/:snippet_id/award_emoji/:award_id
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Parameters:
|
|
170
|
+
|
|
171
|
+
| Attribute | Type | Required | Description |
|
|
172
|
+
| --------- | ---- | -------- | ----------- |
|
|
173
|
+
| `id` | integer | yes | The ID of a project |
|
|
174
|
+
| `issue_id` | integer | yes | The ID of an issue |
|
|
175
|
+
| `award_id` | integer | yes | The ID of a award_emoji |
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji/344
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Example Response:
|
|
182
|
+
|
|
183
|
+
```json
|
|
184
|
+
{
|
|
185
|
+
"id": 344,
|
|
186
|
+
"name": "blowfish",
|
|
187
|
+
"user": {
|
|
188
|
+
"name": "Administrator",
|
|
189
|
+
"username": "root",
|
|
190
|
+
"id": 1,
|
|
191
|
+
"state": "active",
|
|
192
|
+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
|
193
|
+
"web_url": "http://gitlab.example.com/root"
|
|
194
|
+
},
|
|
195
|
+
"created_at": "2016-06-17T17:47:29.266Z",
|
|
196
|
+
"updated_at": "2016-06-17T17:47:29.266Z",
|
|
197
|
+
"awardable_id": 80,
|
|
198
|
+
"awardable_type": "Issue"
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
## Award Emoji on Notes
|
|
203
|
+
|
|
204
|
+
The endpoints documented above are available for Notes as well. Notes
|
|
205
|
+
are a sub-resource of Issues, Merge Requests, or Snippets. The examples below
|
|
206
|
+
describe working with Award Emoji on notes for an Issue, but can be
|
|
207
|
+
easily adapted for notes on a Merge Request.
|
|
208
|
+
|
|
209
|
+
### List a note's award emoji
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
GET /projects/:id/issues/:issue_id/notes/:note_id/award_emoji
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Parameters:
|
|
216
|
+
|
|
217
|
+
| Attribute | Type | Required | Description |
|
|
218
|
+
| --------- | ---- | -------- | ----------- |
|
|
219
|
+
| `id` | integer | yes | The ID of a project |
|
|
220
|
+
| `issue_id` | integer | yes | The ID of an issue |
|
|
221
|
+
| `note_id` | integer | yes | The ID of an note |
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/notes/1/award_emoji
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Example Response:
|
|
229
|
+
|
|
230
|
+
```json
|
|
231
|
+
[
|
|
232
|
+
{
|
|
233
|
+
"id": 2,
|
|
234
|
+
"name": "mood_bubble_lightning",
|
|
235
|
+
"user": {
|
|
236
|
+
"name": "User 4",
|
|
237
|
+
"username": "user4",
|
|
238
|
+
"id": 26,
|
|
239
|
+
"state": "active",
|
|
240
|
+
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
|
241
|
+
"web_url": "http://gitlab.example.com/user4"
|
|
242
|
+
},
|
|
243
|
+
"created_at": "2016-06-15T10:09:34.197Z",
|
|
244
|
+
"updated_at": "2016-06-15T10:09:34.197Z",
|
|
245
|
+
"awardable_id": 1,
|
|
246
|
+
"awardable_type": "Note"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Get single note's award emoji
|
|
252
|
+
|
|
253
|
+
```
|
|
254
|
+
GET /projects/:id/issues/:issue_id/notes/:note_id/award_emoji/:award_id
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Parameters:
|
|
258
|
+
|
|
259
|
+
| Attribute | Type | Required | Description |
|
|
260
|
+
| --------- | ---- | -------- | ----------- |
|
|
261
|
+
| `id` | integer | yes | The ID of a project |
|
|
262
|
+
| `issue_id` | integer | yes | The ID of an issue |
|
|
263
|
+
| `note_id` | integer | yes | The ID of a note |
|
|
264
|
+
| `award_id` | integer | yes | The ID of the award emoji |
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/notes/1/award_emoji/2
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Example Response:
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{
|
|
274
|
+
"id": 2,
|
|
275
|
+
"name": "mood_bubble_lightning",
|
|
276
|
+
"user": {
|
|
277
|
+
"name": "User 4",
|
|
278
|
+
"username": "user4",
|
|
279
|
+
"id": 26,
|
|
280
|
+
"state": "active",
|
|
281
|
+
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
|
282
|
+
"web_url": "http://gitlab.example.com/user4"
|
|
283
|
+
},
|
|
284
|
+
"created_at": "2016-06-15T10:09:34.197Z",
|
|
285
|
+
"updated_at": "2016-06-15T10:09:34.197Z",
|
|
286
|
+
"awardable_id": 1,
|
|
287
|
+
"awardable_type": "Note"
|
|
288
|
+
}
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Award a new emoji on a note
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
POST /projects/:id/issues/:issue_id/notes/:note_id/award_emoji
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Parameters:
|
|
298
|
+
|
|
299
|
+
| Attribute | Type | Required | Description |
|
|
300
|
+
| --------- | ---- | -------- | ----------- |
|
|
301
|
+
| `id` | integer | yes | The ID of a project |
|
|
302
|
+
| `issue_id` | integer | yes | The ID of an issue |
|
|
303
|
+
| `note_id` | integer | yes | The ID of a note |
|
|
304
|
+
| `name` | string | yes | The name of the emoji, without colons |
|
|
305
|
+
|
|
306
|
+
```bash
|
|
307
|
+
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/notes/1/award_emoji?name=rocket
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
Example Response:
|
|
311
|
+
|
|
312
|
+
```json
|
|
313
|
+
{
|
|
314
|
+
"id": 345,
|
|
315
|
+
"name": "rocket",
|
|
316
|
+
"user": {
|
|
317
|
+
"name": "Administrator",
|
|
318
|
+
"username": "root",
|
|
319
|
+
"id": 1,
|
|
320
|
+
"state": "active",
|
|
321
|
+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
|
322
|
+
"web_url": "http://gitlab.example.com/root"
|
|
323
|
+
},
|
|
324
|
+
"created_at": "2016-06-17T19:59:55.888Z",
|
|
325
|
+
"updated_at": "2016-06-17T19:59:55.888Z",
|
|
326
|
+
"awardable_id": 1,
|
|
327
|
+
"awardable_type": "Note"
|
|
328
|
+
}
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### Delete an award emoji
|
|
332
|
+
|
|
333
|
+
Sometimes its just not meant to be, and you'll have to remove your award. Only available to
|
|
334
|
+
admins or the author of the award.
|
|
335
|
+
|
|
336
|
+
```
|
|
337
|
+
DELETE /projects/:id/issues/:issue_id/notes/:note_id/award_emoji/:award_id
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
Parameters:
|
|
341
|
+
|
|
342
|
+
| Attribute | Type | Required | Description |
|
|
343
|
+
| --------- | ---- | -------- | ----------- |
|
|
344
|
+
| `id` | integer | yes | The ID of a project |
|
|
345
|
+
| `issue_id` | integer | yes | The ID of an issue |
|
|
346
|
+
| `note_id` | integer | yes | The ID of a note |
|
|
347
|
+
| `award_id` | integer | yes | The ID of a award_emoji |
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji/345
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
Example Response:
|
|
354
|
+
|
|
355
|
+
```json
|
|
356
|
+
{
|
|
357
|
+
"id": 345,
|
|
358
|
+
"name": "rocket",
|
|
359
|
+
"user": {
|
|
360
|
+
"name": "Administrator",
|
|
361
|
+
"username": "root",
|
|
362
|
+
"id": 1,
|
|
363
|
+
"state": "active",
|
|
364
|
+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
|
365
|
+
"web_url": "http://gitlab.example.com/root"
|
|
366
|
+
},
|
|
367
|
+
"created_at": "2016-06-17T19:59:55.888Z",
|
|
368
|
+
"updated_at": "2016-06-17T19:59:55.888Z",
|
|
369
|
+
"awardable_id": 1,
|
|
370
|
+
"awardable_type": "Note"
|
|
371
|
+
}
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
[ce-4575]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4575
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# Boards
|
|
2
|
+
|
|
3
|
+
Every API call to boards must be authenticated.
|
|
4
|
+
|
|
5
|
+
If a user is not a member of a project and the project is private, a `GET`
|
|
6
|
+
request on that project will result to a `404` status code.
|
|
7
|
+
|
|
8
|
+
## Project Board
|
|
9
|
+
|
|
10
|
+
Lists Issue Boards in the given project.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
GET /projects/:id/boards
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
| Attribute | Type | Required | Description |
|
|
17
|
+
| --------- | ---- | -------- | ----------- |
|
|
18
|
+
| `id` | integer | yes | The ID of a project |
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/:id/boards
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Example response:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
[
|
|
28
|
+
{
|
|
29
|
+
"id" : 1,
|
|
30
|
+
"lists" : [
|
|
31
|
+
{
|
|
32
|
+
"id" : 1,
|
|
33
|
+
"label" : {
|
|
34
|
+
"name" : "Testing",
|
|
35
|
+
"color" : "#F0AD4E",
|
|
36
|
+
"description" : null
|
|
37
|
+
},
|
|
38
|
+
"position" : 1
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id" : 2,
|
|
42
|
+
"label" : {
|
|
43
|
+
"name" : "Ready",
|
|
44
|
+
"color" : "#FF0000",
|
|
45
|
+
"description" : null
|
|
46
|
+
},
|
|
47
|
+
"position" : 2
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id" : 3,
|
|
51
|
+
"label" : {
|
|
52
|
+
"name" : "Production",
|
|
53
|
+
"color" : "#FF5F00",
|
|
54
|
+
"description" : null
|
|
55
|
+
},
|
|
56
|
+
"position" : 3
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## List board lists
|
|
64
|
+
|
|
65
|
+
Get a list of the board's lists.
|
|
66
|
+
Does not include `backlog` and `done` lists
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
GET /projects/:id/boards/:board_id/lists
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
| Attribute | Type | Required | Description |
|
|
73
|
+
| --------- | ---- | -------- | ----------- |
|
|
74
|
+
| `id` | integer | yes | The ID of a project |
|
|
75
|
+
| `board_id` | integer | yes | The ID of a board |
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/boards/1/lists
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Example response:
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
|
+
"id" : 1,
|
|
87
|
+
"label" : {
|
|
88
|
+
"name" : "Testing",
|
|
89
|
+
"color" : "#F0AD4E",
|
|
90
|
+
"description" : null
|
|
91
|
+
},
|
|
92
|
+
"position" : 1
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id" : 2,
|
|
96
|
+
"label" : {
|
|
97
|
+
"name" : "Ready",
|
|
98
|
+
"color" : "#FF0000",
|
|
99
|
+
"description" : null
|
|
100
|
+
},
|
|
101
|
+
"position" : 2
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id" : 3,
|
|
105
|
+
"label" : {
|
|
106
|
+
"name" : "Production",
|
|
107
|
+
"color" : "#FF5F00",
|
|
108
|
+
"description" : null
|
|
109
|
+
},
|
|
110
|
+
"position" : 3
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Single board list
|
|
116
|
+
|
|
117
|
+
Get a single board list.
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
GET /projects/:id/boards/:board_id/lists/:list_id
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
| Attribute | Type | Required | Description |
|
|
124
|
+
| --------- | ---- | -------- | ----------- |
|
|
125
|
+
| `id` | integer | yes | The ID of a project |
|
|
126
|
+
| `board_id` | integer | yes | The ID of a board |
|
|
127
|
+
| `list_id`| integer | yes | The ID of a board's list |
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/boards/1/lists/1
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Example response:
|
|
134
|
+
|
|
135
|
+
```json
|
|
136
|
+
{
|
|
137
|
+
"id" : 1,
|
|
138
|
+
"label" : {
|
|
139
|
+
"name" : "Testing",
|
|
140
|
+
"color" : "#F0AD4E",
|
|
141
|
+
"description" : null
|
|
142
|
+
},
|
|
143
|
+
"position" : 1
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## New board list
|
|
148
|
+
|
|
149
|
+
Creates a new Issue Board list.
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
POST /projects/:id/boards/:board_id/lists
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
| Attribute | Type | Required | Description |
|
|
156
|
+
| --------- | ---- | -------- | ----------- |
|
|
157
|
+
| `id` | integer | yes | The ID of a project |
|
|
158
|
+
| `board_id` | integer | yes | The ID of a board |
|
|
159
|
+
| `label_id` | integer | yes | The ID of a label |
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/boards/1/lists?label_id=5
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Example response:
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"id" : 1,
|
|
170
|
+
"label" : {
|
|
171
|
+
"name" : "Testing",
|
|
172
|
+
"color" : "#F0AD4E",
|
|
173
|
+
"description" : null
|
|
174
|
+
},
|
|
175
|
+
"position" : 1
|
|
176
|
+
}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Edit board list
|
|
180
|
+
|
|
181
|
+
Updates an existing Issue Board list. This call is used to change list position.
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
PUT /projects/:id/boards/:board_id/lists/:list_id
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
| Attribute | Type | Required | Description |
|
|
188
|
+
| --------- | ---- | -------- | ----------- |
|
|
189
|
+
| `id` | integer | yes | The ID of a project |
|
|
190
|
+
| `board_id` | integer | yes | The ID of a board |
|
|
191
|
+
| `list_id` | integer | yes | The ID of a board's list |
|
|
192
|
+
| `position` | integer | yes | The position of the list |
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/boards/1/lists/1?position=2
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Example response:
|
|
199
|
+
|
|
200
|
+
```json
|
|
201
|
+
{
|
|
202
|
+
"id" : 1,
|
|
203
|
+
"label" : {
|
|
204
|
+
"name" : "Testing",
|
|
205
|
+
"color" : "#F0AD4E",
|
|
206
|
+
"description" : null
|
|
207
|
+
},
|
|
208
|
+
"position" : 1
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Delete a board list
|
|
213
|
+
|
|
214
|
+
Only for admins and project owners. Soft deletes the board list in question.
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
DELETE /projects/:id/boards/:board_id/lists/:list_id
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
| Attribute | Type | Required | Description |
|
|
221
|
+
| --------- | ---- | -------- | ----------- |
|
|
222
|
+
| `id` | integer | yes | The ID of a project |
|
|
223
|
+
| `board_id` | integer | yes | The ID of a board |
|
|
224
|
+
| `list_id` | integer | yes | The ID of a board's list |
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/boards/1/lists/1
|
|
228
|
+
```
|
|
229
|
+
Example response:
|
|
230
|
+
|
|
231
|
+
```json
|
|
232
|
+
{
|
|
233
|
+
"id" : 1,
|
|
234
|
+
"label" : {
|
|
235
|
+
"name" : "Testing",
|
|
236
|
+
"color" : "#F0AD4E",
|
|
237
|
+
"description" : null
|
|
238
|
+
},
|
|
239
|
+
"position" : 1
|
|
240
|
+
}
|
|
241
|
+
```
|