Events: Global and Per-Instance
We'll need events under specific instances as well.
API Examples
Global
// GET /events
{
"event-1": {
//...
},
// List of events by ID.
}
Under a specific Instance
// GET /instances/instance-name/events
{
"event-1": {
//...
},
// List of events by ID.
}
Temporary Workaround
Until we have instances under events -- as a workaround, I can give event IDs an instance prefix, like instance-1_event-1
.
Edited by Travis