diff options
Diffstat (limited to 'doc/api/epic_issues.md')
-rw-r--r-- | doc/api/epic_issues.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/epic_issues.md b/doc/api/epic_issues.md index 02317cc6c09..cea6da43add 100644 --- a/doc/api/epic_issues.md +++ b/doc/api/epic_issues.md @@ -19,7 +19,7 @@ GET /groups/:id/epics/:epic_iid/issues | `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user | | `epic_iid` | integer/string | yes | The internal ID of the epic. | -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5/issues/ ``` @@ -116,7 +116,7 @@ POST /groups/:id/epics/:epic_iid/issues/:issue_id | `epic_iid` | integer/string | yes | The internal ID of the epic. | | `issue_id` | integer/string | yes | The ID of the issue. | -```bash +```shell curl --header POST "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5/issues/55 ``` @@ -222,7 +222,7 @@ DELETE /groups/:id/epics/:epic_iid/issues/:epic_issue_id | `epic_iid` | integer/string | yes | The internal ID of the epic. | | `epic_issue_id` | integer/string | yes | The ID of the issue - epic association. | -```bash +```shell curl --header DELETE "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5/issues/11 ``` @@ -330,7 +330,7 @@ PUT /groups/:id/epics/:epic_iid/issues/:epic_issue_id | `move_before_id` | integer/string | no | The ID of the issue - epic association that should be placed before the link in the question. | | `move_after_id` | integer/string | no | The ID of the issue - epic association that should be placed after the link in the question. | -```bash +```shell curl --header PUT "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/1/epics/5/issues/11?move_before_id=20 ``` |