Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
subtletrue
colourGreen
title200
 OK: if access roles retrieved successfully

Status
subtletrue
colourGreen
title204
No Content: if access roles not assigned

Status
subtletrue
colourRed
title404
Not Found: if the resource doesn't exist

...

 

Status
colourBlue
titlePOST
Set the roles assigned on this resource

...

Status
subtletrue
colourGreen
title201
Created: if the access roles were created successfully

Status
subtletrue
colourRed
title400
Bad Request: if there was an error processing the access roles declaration

Status
subtletrue
colourRed
title415
Unsupported Media Type: if the Content-Type of the uploaded content isn't application/json

...

 

Status
colourRed
titleDELETE
Clear all roles assignments from this resource

...

Status
subtletrue
colourGreen
title204
No Content: if the access roles are deleted successfully

Status
subtletrue
colourRed
title404
Not Found: if the resource doesn't exist