Events

Events 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}/events/{event-name} Create a new Event of a Thing
[GET] /spaces/{space}/things/{thing-id}/events/{event-name} List all the Events by event-name of a Thing
[GET] /spaces/{space}/things/{thing-id}/events List all the existing Events of a Thing
[GET] /spaces/{space}/things/{thing-id}/events/{event-name}/{event-id} Get a specific Event by event-name and event-id of a Thing

Check Events API for more details.