summaryrefslogtreecommitdiff
path: root/doc/api/boards.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/boards.md')
-rw-r--r--doc/api/boards.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/api/boards.md b/doc/api/boards.md
index 54b92a7511c..b99f249cab1 100644
--- a/doc/api/boards.md
+++ b/doc/api/boards.md
@@ -9,7 +9,7 @@ request on that project will result to a `404` status code.
Lists Issue Boards in the given project.
-```
+```plaintext
GET /projects/:id/boards
```
@@ -83,7 +83,7 @@ Example response:
Get a single board.
-```
+```plaintext
GET /projects/:id/boards/:board_id
```
@@ -157,7 +157,7 @@ Example response:
Creates a board.
-```
+```plaintext
POST /projects/:id/boards
```
@@ -233,7 +233,7 @@ Example response:
Updates a board.
-```
+```plaintext
PUT /projects/:id/boards/:board_id
```
@@ -312,7 +312,7 @@ Example response:
Deletes a board.
-```
+```plaintext
DELETE /projects/:id/boards/:board_id
```
@@ -330,7 +330,7 @@ curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitl
Get a list of the board's lists.
Does not include `open` and `closed` lists
-```
+```plaintext
GET /projects/:id/boards/:board_id/lists
```
@@ -387,7 +387,7 @@ Example response:
Get a single board list.
-```
+```plaintext
GET /projects/:id/boards/:board_id/lists/:list_id
```
@@ -421,7 +421,7 @@ Example response:
Creates a new Issue Board list.
-```
+```plaintext
POST /projects/:id/boards/:board_id/lists
```
@@ -463,7 +463,7 @@ Example response:
Updates an existing Issue Board list. This call is used to change list position.
-```
+```plaintext
PUT /projects/:id/boards/:board_id/lists/:list_id
```
@@ -498,7 +498,7 @@ Example response:
Only for admins and project owners. Deletes the board list in question.
-```
+```plaintext
DELETE /projects/:id/boards/:board_id/lists/:list_id
```