GET /api/permissions
List all permissions

Params

Param name Description
search
optional

filter results

Validations:

  • String

order
optional

sort results

Validations:

  • String

page
optional

paginate results

Validations:

  • String

per_page
optional

number of entries per request

Validations:

  • String

resource_type
optional

Validations:

  • String

name
optional

Validations:

  • String


GET /api/permissions/:id
Show a permission

Params

Param name Description
id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..


GET /api/permissions/resource_types
List available resource types.