You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events are temporary entities that can be associated with a player which usually describe for what a particular player is being used during a speicifc time period.
Creates a new event from the given JSON and returns an Event JSON object representing the created event.
Example input:
{
"name" : name of event,
"player_id" : id of player which will be used for the event,
"start_time" : time the event starts,
"end_time" : time the event ends
"hosts" : JSON array of user id's representing the hosts of the event.
}
Caller must have create even permission for player. Hosts must all have host even permissions. Returns an event id.
/events/event_id/start_time
POST
Changes the event specified by event_id. Takes an Event.