Commit f9e40bc5 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'docs-export-api-fix' into 'master'

Fix export API doc command

See merge request gitlab-org/gitlab!71113
parents ed4dc247 fda784b9
...@@ -57,8 +57,12 @@ GET /groups/:id/export/download ...@@ -57,8 +57,12 @@ GET /groups/:id/export/download
| `id` | integer/string | yes | ID of the group owned by the authenticated user | | `id` | integer/string | yes | ID of the group owned by the authenticated user |
```shell ```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" --remote-header-name \ group=1
--remote-name "https://gitlab.example.com/api/v4/groups/1/export/download" token=secret
curl --request GET\
--header "PRIVATE-TOKEN: ${token}" \
--output download_group_${group}.tar.gz \
"https://gitlab.example.com/api/v4/groups/${group}/export/download"
``` ```
```shell ```shell
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment