GET
/
api
/
views
/
resource
/
{resourceModel}
{
  "id": 123,
  "name": "<string>",
  "slug": "<string>",
  "predefined": true,
  "resourceModel": "<string>",
  "favourite": true,
  "rolesLogicExpression": "<string>",
  "roles": [
    {
      "id": 1,
      "slug": "admin",
      "name": "Administrator",
      "description": "Administrator role with all permissions",
      "predefined": false,
      "permissions": [
        {
          "ability": "read",
          "subject": "item",
          "value": true
        },
        {
          "ability": "edit",
          "subject": "item",
          "value": false
        }
      ]
    }
  ],
  "columns": [
    {}
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

resourceModel
string
required

The resource model to get views for

Response

200 - application/json

Specific resource views

The response is of type object.