Merge branch 'patch-71' into 'master'
Add `--globoff` flag to the curl command for Jobs API. See merge request gitlab-org/gitlab-ce!30118
This commit is contained in:
commit
8cbe2027d0
|
@ -14,7 +14,7 @@ GET /projects/:id/jobs
|
|||
| `scope` | string **or** array of strings | no | Scope of jobs to show. Either one of or an array of the following: `created`, `pending`, `running`, `failed`, `success`, `canceled`, `skipped`, or `manual`. All jobs are returned if `scope` is not provided. |
|
||||
|
||||
```sh
|
||||
curl --header "PRIVATE-TOKEN: <your_access_token>" 'https://gitlab.example.com/api/v4/projects/1/jobs?scope[]=pending&scope[]=running'
|
||||
curl --globoff --header "PRIVATE-TOKEN: <your_access_token>" 'https://gitlab.example.com/api/v4/projects/1/jobs?scope[]=pending&scope[]=running'
|
||||
```
|
||||
|
||||
Example of response
|
||||
|
|
Loading…
Reference in New Issue