Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a98b4580
Commit
a98b4580
authored
Feb 03, 2020
by
Marcin Sedlak-Jakubowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example for creating a new issue board list
parent
bbbde827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
doc/api/group_boards.md
doc/api/group_boards.md
+17
-8
No files found.
doc/api/group_boards.md
View file @
a98b4580
...
@@ -484,20 +484,29 @@ POST /groups/:id/boards/:board_id/lists
...
@@ -484,20 +484,29 @@ POST /groups/:id/boards/:board_id/lists
|
`label_id`
| integer | yes | The ID of a label |
|
`label_id`
| integer | yes | The ID of a label |
```
shell
```
shell
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/
5/boards/1/lists?label_id
=
5
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/
4/boards/12/lists?milestone_id
=
7
```
```
Example response:
Example response:
```
json
```
json
{
{
"id"
:
1
,
"id"
:
9
,
"label"
:
{
"label"
:
null
,
"name"
:
"Testing"
,
"position"
:
0
,
"color"
:
"#F0AD4E"
,
"milestone"
:
{
"description"
:
null
"id"
:
7
,
},
"iid"
:
3
,
"position"
:
1
"group_id"
:
12
,
"title"
:
"Milestone with due date"
,
"description"
:
""
,
"state"
:
"active"
,
"created_at"
:
"2017-09-03T07:16:28.596Z"
,
"updated_at"
:
"2017-09-03T07:16:49.521Z"
,
"due_date"
:
null
,
"start_date"
:
null
,
"web_url"
:
"https://gitlab.example.com/groups/issue-reproduce/-/milestones/3"
}
}
}
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment