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/system_hooks.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/system_hooks.md')
-rw-r--r-- | doc/api/system_hooks.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md index dc036d7e27f..b572d4475b1 100644 --- a/doc/api/system_hooks.md +++ b/doc/api/system_hooks.md @@ -20,7 +20,7 @@ GET /hooks Example request: ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/hooks ``` Example response: @@ -29,7 +29,7 @@ Example response: [ { "id" : 1, - "url" : "https://gitlab.example.com/hook", + "url" : "https://gitlab.com/hook", "created_at" : "2015-11-04T20:07:35.874Z" } ] @@ -52,7 +52,7 @@ POST /hooks Example request: ```bash -curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/hooks?url=https://gitlab.example.com/hook" +curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/hooks?url=https://gitlab.com/hook" ``` Example response: @@ -61,7 +61,7 @@ Example response: [ { "id" : 2, - "url" : "https://gitlab.example.com/hook", + "url" : "https://gitlab.com/hook", "created_at" : "2015-11-04T20:07:35.874Z" } ] @@ -80,7 +80,7 @@ GET /hooks/:id Example request: ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks/2 +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/hooks/2 ``` Example response: @@ -117,7 +117,7 @@ DELETE /hooks/:id Example request: ```bash -curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks/2 +curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/hooks/2 ``` Example response: @@ -127,7 +127,7 @@ Example response: "note_events" : false, "project_id" : null, "enable_ssl_verification" : true, - "url" : "https://gitlab.example.com/hook", + "url" : "https://gitlab.com/hook", "updated_at" : "2015-11-04T20:12:15.931Z", "issues_events" : false, "merge_requests_events" : false, |