Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-03-02 14:52:13 +0300
committerRémy Coutable <remy@rymai.me>2017-03-02 14:52:13 +0300
commit1818813653723fca0125217118efecec64950b3e (patch)
tree95c7cc2e80d5b46390ddcad505910bc2eb5ea623 /doc
parente8a5d79cc0902bf2b87a811492eeaa1289a9a424 (diff)
parentf31cb11736084f97ae003dd892456732f5cdd15a (diff)
Merge branch 'api-doc-return-code' into 'master'
Correct the return code description for 204 See merge request !9648
Diffstat (limited to 'doc')
-rw-r--r--doc/api/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index 8526dbcccc6..3399e2bb5f6 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -159,7 +159,7 @@ The following table shows the possible return codes for API requests.
| Return values | Description |
| ------------- | ----------- |
| `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. |
| `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. |