DTR-939: all DELETE verbs report 204-success based on final state, not on verb action

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit 2015-08-20 13:50:39 +10:00
parent 9f2d6a1533
commit cbfdca1808
6 changed files with 7 additions and 9 deletions

View File

@ -294,7 +294,7 @@ Client must be authenticated as a system 'admin' user.
- *401* client must be authenticated.
- *403* client must be an admin.
- *204* (`No Content`) success.
- *204* (`No Content`) success - or account does not exist.
## Change a Managed User's Password

View File

@ -203,4 +203,4 @@ level access to the organization's repository).
**Status Codes**
- *403* the client is not authorized.
- *204* success.
- *204* (`No Content`) success - or repository does not exist.

View File

@ -219,6 +219,5 @@ repository.
- *404* the repository is not visible to the client.
- *400* the repository is not owned by an organiztion.
- *400* the team does not belong to the owning organization.
- *403* the client is not authorized.
- *200* success.
- *204* (`No Content`) success - or team is not in the access list or there is no such team in the organization.

View File

@ -197,6 +197,5 @@ namespace.
**Status Codes**
- *400* the repository is not owned by an organization.
- *400* the team does not belong to the owning organization.
- *403* the client is not authorized.
- *200* success.
- *204* (`No Content`) success - or team does not exist in the access list or there is no such team in the organization.

View File

@ -284,7 +284,7 @@ team in the organization.
- *403* the client is not authorized.
- *404* no such team exists.
- *204* success.
- *204* (`No Content`) success - or user is not in the team.
## Remove a Team.
@ -302,4 +302,4 @@ team in the organization.
**Status Codes**
- *403* the client is not authorized.
- *204* success.
- *204* (`No Content`) success - or team does not exist.

View File

@ -155,4 +155,4 @@ repository.
- *404* the repository is not visible to the client.
- *400* the repository is not owned by a user.
- *403* the client is not authorized.
- *204* (no content) success.
- *204* (`No Content`) success - or user is not in the access list.