diff options
author | Matt Lee <mattl@gitlab.com> | 2016-11-29 12:42:50 -0500 |
---|---|---|
committer | Matt Lee <mattl@gitlab.com> | 2016-11-29 12:42:50 -0500 |
commit | 2ed6941f519331a44204fbadc6d2d2a91087c6b8 (patch) | |
tree | 293ac446c600ad4148c97f1b89ee409824c94620 /doc/api/ci/builds.md | |
parent | 25e6e2fc73c476bdef8465975165894ac01da991 (diff) | |
download | gitlab-ce-api-docs-fix.tar.gz |
WIP: Updates our documentation to point to gitlab.comapi-docs-fix
Diffstat (limited to 'doc/api/ci/builds.md')
-rw-r--r-- | doc/api/ci/builds.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/ci/builds.md b/doc/api/ci/builds.md index b6d79706a84..faa214f05b8 100644 --- a/doc/api/ci/builds.md +++ b/doc/api/ci/builds.md @@ -35,7 +35,7 @@ POST /ci/api/v1/builds/register ``` -curl --request POST "https://gitlab.example.com/ci/api/v1/builds/register" --form "token=t0k3n" +curl --request POST "https://gitlab.com/ci/api/v1/builds/register" --form "token=t0k3n" ``` **Responses:** @@ -61,7 +61,7 @@ PUT /ci/api/v1/builds/:id | `trace` | string | no | The trace of a build | ``` -curl --request PUT "https://gitlab.example.com/ci/api/v1/builds/1234" --form "token=t0k3n" --form "state=running" --form "trace=Running git clone...\n" +curl --request PUT "https://gitlab.com/ci/api/v1/builds/1234" --form "token=t0k3n" --form "state=running" --form "trace=Running git clone...\n" ``` ### Incremental build trace update @@ -96,7 +96,7 @@ Headers: | `Content-Range` | string | yes | Bytes range of trace that is sent | ``` -curl --request PATCH "https://gitlab.example.com/ci/api/v1/builds/1234/trace.txt" --header "BUILD-TOKEN=build_t0k3n" --header "Content-Range=0-21" --data "Running git clone...\n" +curl --request PATCH "https://gitlab.com/ci/api/v1/builds/1234/trace.txt" --header "BUILD-TOKEN=build_t0k3n" --header "Content-Range=0-21" --data "Running git clone...\n" ``` @@ -113,7 +113,7 @@ POST /ci/api/v1/builds/:id/artifacts | `file` | mixed | yes | Artifacts file | ``` -curl --request POST "https://gitlab.example.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" --form "file=@/path/to/file" +curl --request POST "https://gitlab.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" --form "file=@/path/to/file" ``` ### Download the artifacts file from build @@ -128,7 +128,7 @@ GET /ci/api/v1/builds/:id/artifacts | `token` | string | yes | The build authorization token | ``` -curl "https://gitlab.example.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" +curl "https://gitlab.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" ``` ### Remove the artifacts file from build @@ -143,5 +143,5 @@ DELETE /ci/api/v1/builds/:id/artifacts | `token` | string | yes | The build authorization token | ``` -curl --request DELETE "https://gitlab.example.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" +curl --request DELETE "https://gitlab.com/ci/api/v1/builds/1234/artifacts" --form "token=build_t0k3n" ``` |