diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-30 09:56:17 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-30 09:56:17 +0000 |
commit | f11049ab9131b78c14e95bd95b3073c1eaf59392 (patch) | |
tree | 882c763637a02a386486799c39897bd563c7b6aa /doc | |
parent | a16854ff462935f1a967f31abfeb242cf26284cc (diff) | |
parent | ee4820a5268d02fb7ed142511d1a194f06629a1e (diff) | |
download | gitlab-ce-f11049ab9131b78c14e95bd95b3073c1eaf59392.tar.gz |
Merge branch 'api-delete-respect-headers' into 'master'
API: Respect the 'If-Unmodified-Since' for delete endpoints
See merge request !9621
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/README.md b/doc/api/README.md index 266b5f018d9..c2a08dcff07 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -263,6 +263,7 @@ The following table shows the possible return codes for API requests. | `404 Not Found` | A resource could not be accessed, e.g., an ID for a resource could not be found. | | `405 Method Not Allowed` | The request is not supported. | | `409 Conflict` | A conflicting resource already exists, e.g., creating a project with a name that already exists. | +| `412` | Indicates the request was denied. May happen if the `If-Unmodified-Since` header is provided when trying to delete a resource, which was modified in between. | | `422 Unprocessable` | The entity could not be processed. | | `500 Server Error` | While handling the request something went wrong server-side. | |