diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-04 09:09:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-04 09:09:13 +0300 |
commit | cebee31a0483ef7f2cade3d6dde0a53a68e86cc6 (patch) | |
tree | b818a3e84bde169e6b2a9c96d9b794b6b8708094 /doc/api | |
parent | 7ec2694360b4d4bd9a4b00ef5166a77c854d9d4f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/group_boards.md | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/doc/api/group_boards.md b/doc/api/group_boards.md index f4d45f8f402..dfa430cca8b 100644 --- a/doc/api/group_boards.md +++ b/doc/api/group_boards.md @@ -484,20 +484,29 @@ POST /groups/:id/boards/:board_id/lists | `label_id` | integer | yes | The ID of a label | ```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: ```json { - "id" : 1, - "label" : { - "name" : "Testing", - "color" : "#F0AD4E", - "description" : null - }, - "position" : 1 + "id": 9, + "label": null, + "position": 0, + "milestone": { + "id": 7, + "iid": 3, + "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" + } } ``` |