Permission

Get effective actions for a resource

Changed on

Returns the caller's effective actions on the given resource.

get/v1/permissions/resources/{resourceId}

Request

  • Base URL: https://example.com/api
  • URL: https://example.com/api/v1/permissions/resources/{resourceId}
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token; password, token URL /oauth/token)

Response

OK

actionsAction[] required

Example response

{
  "actions": [
    "project.read",
    "issue.create"
  ]
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from array to object for status

    • info

      added the required property to the response with the status