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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
18188136
Commit
18188136
authored
Mar 02, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'api-doc-return-code' into 'master'
Correct the return code description for 204 See merge request !9648
parents
e8a5d79c
f31cb117
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/api/README.md
doc/api/README.md
+1
-1
No files found.
doc/api/README.md
View file @
18188136
...
@@ -159,7 +159,7 @@ The following table shows the possible return codes for API requests.
...
@@ -159,7 +159,7 @@ The following table shows the possible return codes for API requests.
| Return values | Description |
| Return values | Description |
| ------------- | ----------- |
| ------------- | ----------- |
|
`200 OK`
| The
`GET`
,
`PUT`
or
`DELETE`
request was successful, the resource(s) itself is returned as JSON. |
|
`200 OK`
| The
`GET`
,
`PUT`
or
`DELETE`
request was successful, the resource(s) itself is returned as JSON. |
|
`204
OK
`
| The server has successfully fulfilled the request and that there is no additional content to send in the response payload body. |
|
`204
No Content
`
| The server has successfully fulfilled the request and that there is no additional content to send in the response payload body. |
|
`201 Created`
| The
`POST`
request was successful and the resource is returned as JSON. |
|
`201 Created`
| The
`POST`
request was successful and the resource is returned as JSON. |
|
`304 Not Modified`
| Indicates that the resource has not been modified since the last request. |
|
`304 Not Modified`
| Indicates that the resource has not been modified since the last request. |
|
`400 Bad Request`
| A required attribute of the API request is missing, e.g., the title of an issue is not given. |
|
`400 Bad Request`
| A required attribute of the API request is missing, e.g., the title of an issue is not given. |
...
...
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