Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3e1559ea
Commit
3e1559ea
authored
Feb 21, 2017
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation
Update documentation
parent
8d185743
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
doc/api/issues.md
doc/api/issues.md
+4
-4
doc/api/labels.md
doc/api/labels.md
+5
-5
doc/api/merge_requests.md
doc/api/merge_requests.md
+4
-4
No files found.
doc/api/issues.md
View file @
3e1559ea
...
...
@@ -523,7 +523,7 @@ If the user is already subscribed to the issue, the status code `304`
is returned.
```
POST /projects/:id/issues/:issue_id/subscri
ption
POST /projects/:id/issues/:issue_id/subscri
be
```
| Attribute | Type | Required | Description |
...
...
@@ -532,7 +532,7 @@ POST /projects/:id/issues/:issue_id/subscription
|
`issue_id`
| integer | yes | The ID of a project's issue |
```
bash
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/issues/93/subscri
ption
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/issues/93/subscri
be
```
Example response:
...
...
@@ -579,7 +579,7 @@ from it. If the user is not subscribed to the issue, the
status code
`304`
is returned.
```
DELETE /projects/:id/issues/:issue_id/subscription
POST /projects/:id/issues/:issue_id/unsubscribe
```
| Attribute | Type | Required | Description |
...
...
@@ -588,7 +588,7 @@ DELETE /projects/:id/issues/:issue_id/subscription
|
`issue_id`
| integer | yes | The ID of a project's issue |
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/issues/93/subscription
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/issues/93/unsubscribe
```
Example response:
...
...
doc/api/labels.md
View file @
3e1559ea
...
...
@@ -188,12 +188,12 @@ Example response:
## Subscribe to a label
Subscribes the authenticated user to a label to receive notifications.
Subscribes the authenticated user to a label to receive notifications.
If the user is already subscribed to the label, the status code
`304`
is returned.
```
POST /projects/:id/labels/:label_id/subscri
ption
POST /projects/:id/labels/:label_id/subscri
be
```
| Attribute | Type | Required | Description |
...
...
@@ -202,7 +202,7 @@ POST /projects/:id/labels/:label_id/subscription
|
`label_id`
| integer or string | yes | The ID or title of a project's label |
```
bash
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/labels/1/subscri
ption
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/labels/1/subscri
be
```
Example response:
...
...
@@ -228,7 +228,7 @@ from it. If the user is not subscribed to the label, the
status code
`304`
is returned.
```
DELETE /projects/:id/labels/:label_id/subscription
POST /projects/:id/labels/:label_id/unsubscribe
```
| Attribute | Type | Required | Description |
...
...
@@ -237,7 +237,7 @@ DELETE /projects/:id/labels/:label_id/subscription
|
`label_id`
| integer or string | yes | The ID or title of a project's label |
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/labels/1/subscription
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/labels/1/unsubscribe
```
Example response:
...
...
doc/api/merge_requests.md
View file @
3e1559ea
...
...
@@ -810,7 +810,7 @@ Subscribes the authenticated user to a merge request to receive notification. If
status code
`304`
is returned.
```
POST /projects/:id/merge_requests/:merge_request_id/subscri
ption
POST /projects/:id/merge_requests/:merge_request_id/subscri
be
```
| Attribute | Type | Required | Description |
...
...
@@ -819,7 +819,7 @@ POST /projects/:id/merge_requests/:merge_request_id/subscription
|
`merge_request_id`
| integer | yes | The ID of the merge request |
```
bash
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/merge_requests/17/subscri
ption
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/merge_requests/17/subscri
be
```
Example response:
...
...
@@ -884,7 +884,7 @@ notifications from that merge request. If the user is
not subscribed to the merge request, the status code
`304`
is returned.
```
DELETE /projects/:id/merge_requests/:merge_request_id/subscription
POST /projects/:id/merge_requests/:merge_request_id/subscribe
```
| Attribute | Type | Required | Description |
...
...
@@ -893,7 +893,7 @@ DELETE /projects/:id/merge_requests/:merge_request_id/subscription
|
`merge_request_id`
| integer | yes | The ID of the merge request |
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/merge_requests/17/subscription
curl
--request
POST
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/5/merge_requests/17/subscribe
```
Example response:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment