This section provides details on different operations over resources in the APS infrastructure.
Resources are fundamental objects operated by the APS controller, APS applications, and UI scripts. Every resource managed by the APS controller is based on a certain APS type. The APS controller keeps track of resources, types, and applications that manage those resources. Resources are represented by JSON structures. Resources may be linked with each other following the constraints and requirements defined by Relationship.
Resource collection allows the following operations:
Methods of this collection are presented in the table.
Method |
Path |
Description |
---|---|---|
POST |
/aps/2/resources |
|
GET |
/aps/2/resources |
|
GET |
/aps/2/resources/{resource-id} |
|
PUT |
/aps/2/resources/{resource-id} |
|
DELETE |
/aps/2/resources/{resource-id} |
|
POST |
/aps/2/resources/{resource-id}/{relation} |
|
POST |
/aps/2/resources/{resource-id}/{relation} |
|
GET |
/aps/2/resources/{resource-id}/aps/links |
|
GET |
/aps/2/resources/{resource-id}/{relation} |
|
GET |
/aps/2/resources/{resource-id}/{relation}/{resource-id2} |
|
DELETE |
/aps/2/resources/{resource-id1}/{relation}/{resource-id2} |
|
POST |
/aps/2/resources/{resource-id}/{relation} + aps.id |
|
<any> |
/aps/2/resources/{resource-id}/… |
In the next sections, you will find explanations of resource statuses, standard CRUD (create, read, update, and delete) operations with resources and their links, and custom operations.