Exemples

GET /api/permissions
200
{
  "total": 162,
  "subtotal": 162,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "name": "view_architectures",
      "id": 350275019,
      "resource_type": "Architecture"
    },
    {
      "name": "create_architectures",
      "id": 912770095,
      "resource_type": "Architecture"
    },
    {
      "name": "edit_architectures",
      "id": 874798611,
      "resource_type": "Architecture"
    },
    {
      "name": "destroy_architectures",
      "id": 586604735,
      "resource_type": "Architecture"
    },
    {
      "name": "view_authenticators",
      "id": 687843582,
      "resource_type": "AuthSource"
    },
    {
      "name": "create_authenticators",
      "id": 956119309,
      "resource_type": "AuthSource"
    },
    {
      "name": "edit_authenticators",
      "id": 395314704,
      "resource_type": "AuthSource"
    },
    {
      "name": "destroy_authenticators",
      "id": 1067518973,
      "resource_type": "AuthSource"
    },
    {
      "name": "view_bookmarks",
      "id": 995886532,
      "resource_type": "Bookmark"
    },
    {
      "name": "create_bookmarks",
      "id": 435712857,
      "resource_type": "Bookmark"
    },
    {
      "name": "edit_bookmarks",
      "id": 978016136,
      "resource_type": "Bookmark"
    },
    {
      "name": "destroy_bookmarks",
      "id": 1027408783,
      "resource_type": "Bookmark"
    },
    {
      "name": "view_compute_resources",
      "id": 524255159,
      "resource_type": "ComputeResource"
    },
    {
      "name": "create_compute_resources",
      "id": 673360498,
      "resource_type": "ComputeResource"
    },
    {
      "name": "edit_compute_resources",
      "id": 385985960,
      "resource_type": "ComputeResource"
    },
    {
      "name": "destroy_compute_resources",
      "id": 382135357,
      "resource_type": "ComputeResource"
    },
    {
      "name": "view_compute_profiles",
      "id": 944771383,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "create_compute_profiles",
      "id": 1035871455,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "edit_compute_profiles",
      "id": 884230802,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "destroy_compute_profiles",
      "id": 932164668,
      "resource_type": "ComputeProfile"
    }
  ]
}

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

Champ et sens de tri, ex: ‘id DESC’

Validations:

  • Must be a String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.

resource_type
optionel

Validations:

  • Must be a String

name
optionel

Validations:

  • Must be a String

Rechercher les champs

Nom du champ Type Valeurs possibles
name string
resource_type string