acl

Create Acl

Create a new acl.

post/api/v1/acl/

Request

  • The document declares no server URL.
  • Auth: OAuth 2 (password, token URL /api/v1/auth/token)

Request body

assessment_role'red' | 'blue' | 'spectator'

Possible acl roles

user_idstring uuid required
assessment_idstring uuid required

Example request

{
  "assessment_id": "10000000-0000-0000-0000-000000000001",
  "assessment_role": "spectator",
  "user_id": "00000000-0000-0000-0000-000000000004"
}

Response

Successful Response

assessment_role'red' | 'blue' | 'spectator'

Possible acl roles

user_idstring uuid required
assessment_idstring uuid required
idstring uuid required

Example response

{
  "assessment_id": "10000000-0000-0000-0000-000000000001",
  "assessment_role": "spectator",
  "id": "50000000-0000-0000-0000-000000000001",
  "user_id": "00000000-0000-0000-0000-000000000004"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.