summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
committerMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
commit2ed6941f519331a44204fbadc6d2d2a91087c6b8 (patch)
tree293ac446c600ad4148c97f1b89ee409824c94620 /doc/api/projects.md
parent25e6e2fc73c476bdef8465975165894ac01da991 (diff)
downloadgitlab-ce-api-docs-fix.tar.gz
WIP: Updates our documentation to point to gitlab.comapi-docs-fix
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index de57f91bb8e..567ee17ec03 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -706,7 +706,7 @@ Parameters:
| `id` | integer/string | yes | The ID or NAMESPACE/PROJECT_NAME of the project |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/star"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/5/star"
```
Example response:
@@ -774,7 +774,7 @@ DELETE /projects/:id/star
| `id` | integer/string | yes | The ID of the project or NAMESPACE/PROJECT_NAME |
```bash
-curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/star"
+curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/5/star"
```
Example response:
@@ -843,7 +843,7 @@ POST /projects/:id/archive
| `id` | integer/string | yes | The ID of the project or NAMESPACE/PROJECT_NAME |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/archive"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/5/archive"
```
Example response:
@@ -928,7 +928,7 @@ POST /projects/:id/unarchive
| `id` | integer/string | yes | The ID of the project or NAMESPACE/PROJECT_NAME |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/unarchive"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.com/api/v3/projects/5/unarchive"
```
Example response:
@@ -1079,7 +1079,7 @@ Parameters:
| `group_id` | integer | yes | The ID of the group |
```bash
-curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/share/17
+curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/projects/5/share/17
```
## Hooks