Actions

Actions have the same behaviour as in the old AnythingDB.

In addition to the existing endpoints, new ones have been added. These endpoints are used to access a Thing regardless of the Category.

Endpoint Description
[POST] /spaces/{space}/things/{thing-id}/actions/{action-name} Create a new Action of a Thing
[GET] /spaces/{space}/things/{thing-id}/actions/{action-name} List all the Actions by action-name of a Thing
[GET] /spaces/{space}/things/{thing-id}/actions List all the existing Actions of a Thing
[GET] /spaces/{space}/things/{thing-id}/actions/{action-name}/{action-id} Get a specific Action by action-name and action-id of a Thing
[PUT] /spaces/{space}/things/{thing-id}/actions/{action-name}/{action-id} Update a specific Action by action-name and action-id of a Thing
[DELETE] /spaces/{space}/things/{thing-id}/actions/{action-name}/{action-id} Delete a specific Action by action-name and action-id of a Thing

Check Actions API for more details.