Adds a member to an event.
This can be used by registered users to add themselves to events within the vhosts their user is in. This requires the user to be logged in. In this case both "uid" and "memberType" should be left as their defaults.
This may also be used by privileged users (those with the events.addMember permission) to add other users within the event's vhost to a read more »
Use this method to create an event and have the new event ID returned.
read more »Returns a list of events for a specific vhost.
Pagination may be controlled via the "startPage" and "pageSize" parameters
The optional "sort" argument is a string that can be used to specify one field to sort the returned events by.The sort parameter can also include a sort direction ("ASC" or "DESC").
All events returned will have a last resort sort applied based on the read more »
Checks whether a media item is in an event.
A simple boolean will be returned, 1 if the media item is in the event, 0 otherwise.
read more »Checks whether a user is in an event.
A simple boolean will be returned, true if the user is in the event, false otherwise.
If includeChildren is true then this function will return true if the user is in the event specified or any of its descendants (its descendants can be both groups and events).
read more »Removes a member from an event.
This can be used by registered users to remove themselves from a group they're a member of. In this case the "uid" parameter should be left as its default.
This may also be used by privileged users (those with the events.removeMember permission) to remove other users within the event's vhost from an event.
read more »Updates a member's status in an event.
This can be used to promote a member to admin, or demotion.
The possible member types are 1 = invited, 2 = member and 9 = admin.
read more »