API introspection – List packages, resources and their interfaces

Found 6 resources


Resource class Smartarchivo\Controller\Core\Api\V1\RolesController of type CollectionController
No access control

Skeleton class for controlling a collection of rows from the 'RoleModel' table.

Name Type Size Default Description Visible Mutable Nullable
Name VARCHAR 128 not set yes no no
Description LONGVARCHAR 1024 not set yes no yes
Uuid VARCHAR 36 not set yes no no

Interfaces

Found 2 interfaces in class Smartarchivo\Controller\Core\Api\V1\RolesController

Resource: Roles, Method: find

Loads a model collection or throws an exception

Endpoint
GET /core/api/v1/{clientUuid}/{facilityUuid}/roles/
GET /core/api/v1/{clientUuid}/{facilityUuid}/roles
Host: /
Accept: application/json
Accept-Language: de-DE, de;q=0.9, en;q=0.8, fr;q=0.7, *;q=0.5
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=


HTTP/1.1 200 Ok
Date: Tue, 24 Sep 2024 08:55:33 +0000
Content-Length: 1410
Content-Type: application/json

{ "RoleModelCollection": [ { "Name": "Siteadmin", "Description": "Provides permissions for actors", "Uuid": "123e4567-e89b-12d3-a456-426655440000" } ], "CollectionConfiguration": { "CollectionModelName": "RoleModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer JSON Web Token named Authorization
Acceptable Languages named Accept-Language // Optional
Response data
FilteredRolesControllerModel[] named RoleModelCollection

Resource: Roles, Method: page

Loads a paginated model collection or throws an exception

The number of items per page is defined in the class property $modelsPerPage

Endpoint
GET /core/api/v1/{clientUuid}/{facilityUuid}/roles/page/{?page}/
GET /core/api/v1/{clientUuid}/{facilityUuid}/roles/page/{?page}
Host: /
Accept: application/json
Accept-Language: de-DE, de;q=0.9, en;q=0.8, fr;q=0.7, *;q=0.5
Authorization: Bearer aHgxbjlpMTh3b3doczAzbDo4ODEwNzY0NC00MzE3LTRjY2ItYWE4MC0wYmQzYjkxOGZiYjQ=


HTTP/1.1 200 Ok
Date: Tue, 24 Sep 2024 08:55:33 +0000
Content-Length: 1410
Content-Type: application/json

{ "RoleModelCollection": [ { "Name": "Siteadmin", "Description": "Provides permissions for actors", "Uuid": "123e4567-e89b-12d3-a456-426655440000" } ], "CollectionConfiguration": { "CollectionModelName": "RoleModelCollection", "IsPaginated": true, "MaxItemsPerPage": 100, "CurrentPage": 1, "FirstPage": 1, "LastPage": 5, "PreviousPage": 1, "NextPage": 2, "CurrentPageEndpoint": "Endpoint to get this page", "FirstPageEndpoint": "Endpoint to get the first page", "LastPageEndpoint": "Endpoint to get the last page", "PreviousPageEndpoint": "Endpoint to get the previous page", "NextPageEndpoint": "Endpoint to get the next page", "FirstIndex": 0, "LastIndex": 99, "TotalCount": 469 }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Request header
Bearer JSON Web Token named Authorization
Acceptable Languages named Accept-Language // Optional
Response data
FilteredRolesControllerModel[] named RoleModelCollection