summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-03-02 09:44:01 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2017-03-02 09:44:01 +0100
commitf31cb11736084f97ae003dd892456732f5cdd15a (patch)
tree6d2d4dbdf112aab2a8a19ea3d93ef6b6d68bb39f
parentd4154195329b0a823848df8ceae144aebd6ccf6b (diff)
downloadgitlab-ce-api-doc-return-code.tar.gz
Correct the return code description for 204api-doc-return-code
-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. |