diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-22 16:09:37 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-22 16:16:08 +0200 |
commit | 5b39b113ae59a15782204f30b0f22957e5893032 (patch) | |
tree | 99e548993f0c4ba80e23a599b0896e18198feca8 /doc/api/labels.md | |
parent | a612ac1cb453ec4b7b72fd8e3e26c30a27e62590 (diff) | |
download | gitlab-ce-doc_replace_api_endpoint.tar.gz |
Replace `gitlab.example.com` with `gitlab.com` in API examplesdoc_replace_api_endpoint
[ci skip]
Diffstat (limited to 'doc/api/labels.md')
-rw-r--r-- | doc/api/labels.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/labels.md b/doc/api/labels.md index 6496ffe9fd1..9bf796936a0 100644 --- a/doc/api/labels.md +++ b/doc/api/labels.md @@ -13,7 +13,7 @@ GET /projects/:id/labels | `id` | integer | yes | The ID of the project | ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/1/labels +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/1/labels ``` Example response: @@ -73,7 +73,7 @@ POST /projects/:id/labels | `color` | string | yes | The color of the label in 6-digit hex notation with leading `#` sign | ```bash -curl --data "name=feature&color=#5843AD" -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/labels" +curl --data "name=feature&color=#5843AD" -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/1/labels" ``` Example response: @@ -103,7 +103,7 @@ DELETE /projects/:id/labels | `name` | string | yes | The name of the label | ```bash -curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/labels?name=bug" +curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/1/labels?name=bug" ``` Example response: @@ -141,7 +141,7 @@ PUT /projects/:id/labels | `color` | string | yes if `new_name` is not provided | The new color of the label in 6-digit hex notation with leading `#` sign | ```bash -curl -X PUT --data "name=documentation&new_name=docs&color=#8E44AD" -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/labels" +curl -X PUT --data "name=documentation&new_name=docs&color=#8E44AD" -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/1/labels" ``` Example response: |