diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-11-18 13:20:59 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-11-18 13:20:59 +0200 |
commit | 8996548e1353285a934fff41caa99a0da434c24b (patch) | |
tree | 500207c72ca752123798c255cb3c643dfc6a6cbd /doc | |
parent | aa841e6fe104d90f1f784e7df12223774cd2591c (diff) | |
download | gitlab-ce-8996548e1353285a934fff41caa99a0da434c24b.tar.gz |
Correct curl examples for archive and unarchive project API
[ci skip]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/projects.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index bbb3bfb4995..467a880ac13 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -850,7 +850,7 @@ POST /projects/:id/archive | `id` | integer/string | yes | The ID of the project or NAMESPACE/PROJECT_NAME | ```bash -curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/archive" +curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/archive" ``` Example response: @@ -939,7 +939,7 @@ POST /projects/:id/unarchive | `id` | integer/string | yes | The ID of the project or NAMESPACE/PROJECT_NAME | ```bash -curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/unarchive" +curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/unarchive" ``` Example response: |