diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-01-05 11:24:24 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-01-05 11:24:24 -0200 |
commit | 55980c7eca8e82e306fb3b8ade1f4a5b68a60e9f (patch) | |
tree | 6446e4b393d8e55fbbfd37da434ae75ef2e9314f /doc/api | |
parent | 5e148d4e931792733400f59864e1aa886ef55953 (diff) | |
download | gitlab-ce-55980c7eca8e82e306fb3b8ade1f4a5b68a60e9f.tar.gz |
Remove EE only sections from docsbackport-issue_3413
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/boards.md | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/doc/api/boards.md b/doc/api/boards.md index a5f455e1c43..246de50323e 100644 --- a/doc/api/boards.md +++ b/doc/api/boards.md @@ -141,91 +141,6 @@ Example response: } ``` -## Create a board (EES-Only) - -Creates a board. - -``` -POST /projects/:id/boards -``` - -| Attribute | Type | Required | Description | -| --------- | ---- | -------- | ----------- | -| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | -| `name` | string | yes | The name of the new board | - -```bash -curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/boards?name=newboard -``` - -Example response: - -```json - { - "id": 1, - "project": { - "id": 5, - "name": "Diaspora Project Site", - "name_with_namespace": "Diaspora / Diaspora Project Site", - "path": "diaspora-project-site", - "path_with_namespace": "diaspora/diaspora-project-site", - "http_url_to_repo": "http://example.com/diaspora/diaspora-project-site.git", - "web_url": "http://example.com/diaspora/diaspora-project-site" - }, - "name": "newboard", - "milestone": { - "id": 12 - "title": "10.0" - }, - "lists" : [ - { - "id" : 1, - "label" : { - "name" : "Testing", - "color" : "#F0AD4E", - "description" : null - }, - "position" : 1 - }, - { - "id" : 2, - "label" : { - "name" : "Ready", - "color" : "#FF0000", - "description" : null - }, - "position" : 2 - }, - { - "id" : 3, - "label" : { - "name" : "Production", - "color" : "#FF5F00", - "description" : null - }, - "position" : 3 - } - ] - } -``` - -## Delete a board (EES-Only) - -Deletes a board. - -``` -DELETE /projects/:id/boards/:board_id -``` - -| Attribute | Type | Required | Description | -| --------- | ---- | -------- | ----------- | -| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | -| `board_id` | integer | yes | The ID of a board | - -```bash -curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/boards/1 -``` - ## List board lists Get a list of the board's lists. |