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/issues.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/issues.md')
-rw-r--r-- | doc/api/issues.md | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index 9e704648b25..fe096eeb53b 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -33,7 +33,7 @@ GET /issues?labels=foo,bar&state=opened | `sort` | string | no | Return requests sorted in `asc` or `desc` order. Default is `desc` | ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/issues +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/issues ``` Example response: @@ -46,7 +46,7 @@ Example response: "author" : { "state" : "active", "id" : 18, - "web_url" : "https://gitlab.example.com/u/eileen.lowe", + "web_url" : "https://gitlab.com/u/eileen.lowe", "name" : "Alexandra Bashirian", "avatar_url" : null, "username" : "eileen.lowe" @@ -67,7 +67,7 @@ Example response: "state" : "active", "id" : 1, "name" : "Administrator", - "web_url" : "https://gitlab.example.com/u/root", + "web_url" : "https://gitlab.com/u/root", "avatar_url" : null, "username" : "root" }, @@ -109,7 +109,7 @@ GET /projects/:id/issues?iid=42 ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/4/issues +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/4/issues ``` Example response: @@ -131,7 +131,7 @@ Example response: }, "author" : { "state" : "active", - "web_url" : "https://gitlab.example.com/u/root", + "web_url" : "https://gitlab.com/u/root", "avatar_url" : null, "username" : "root", "id" : 1, @@ -142,7 +142,7 @@ Example response: "iid" : 1, "assignee" : { "avatar_url" : null, - "web_url" : "https://gitlab.example.com/u/lennie", + "web_url" : "https://gitlab.com/u/lennie", "state" : "active", "username" : "lennie", "id" : 9, @@ -171,7 +171,7 @@ GET /projects/:id/issues/:issue_id | `issue_id`| integer | yes | The ID of a project's issue | ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/4/issues/41 +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/4/issues/41 ``` Example response: @@ -192,7 +192,7 @@ Example response: }, "author" : { "state" : "active", - "web_url" : "https://gitlab.example.com/u/root", + "web_url" : "https://gitlab.com/u/root", "avatar_url" : null, "username" : "root", "id" : 1, @@ -203,7 +203,7 @@ Example response: "iid" : 1, "assignee" : { "avatar_url" : null, - "web_url" : "https://gitlab.example.com/u/lennie", + "web_url" : "https://gitlab.com/u/lennie", "state" : "active", "username" : "lennie", "id" : 9, @@ -239,7 +239,7 @@ POST /projects/:id/issues | `labels` | string | no | Comma-separated label names for an issue | ```bash -curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/4/issues?title=Issues%20with%20auth&labels=bug +curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/4/issues?title=Issues%20with%20auth&labels=bug ``` Example response: @@ -260,7 +260,7 @@ Example response: "name" : "Alexandra Bashirian", "avatar_url" : null, "state" : "active", - "web_url" : "https://gitlab.example.com/u/eileen.lowe", + "web_url" : "https://gitlab.com/u/eileen.lowe", "id" : 18, "username" : "eileen.lowe" }, @@ -295,7 +295,7 @@ PUT /projects/:id/issues/:issue_id | `state_event` | string | no | The state event of an issue. Set `close` to close the issue and `reopen` to reopen it | ```bash -curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/4/issues/85?state_event=close +curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/4/issues/85?state_event=close ``` Example response: @@ -309,7 +309,7 @@ Example response: "username" : "eileen.lowe", "id" : 18, "state" : "active", - "web_url" : "https://gitlab.example.com/u/eileen.lowe" + "web_url" : "https://gitlab.com/u/eileen.lowe" }, "state" : "closed", "title" : "Issues with auth", |