@activitypods/events
v2.0.0-alpha.11
Published
ActivityPods app for events
Downloads
52
Readme
Events App
An ActivityPods app to handle events.
Services
Dependencies
Containers
/events
with the events created by the user or to whom he has been invited
Collections
Attached to all events:
/announces
with the list of actors who have been invited to the event/announcers
with the list of actors who are allowed to invite to the event/attendees
with the list of actors who are attending the event (including the organizer)
Ontology
- The ActivityStreams ontology should be used to describe the events.
- The Dublin Core Metadata ontology's
creator
predicate is used to find who is the creator of the event.
Handled activities
Join event
{
"type": "Join",
"object": {
"type": "Event"
}
}
Emitter's side effects
- None
Recipients' side effects
- The recipients are added to the
/attendees
collection - A notification is sent to the organizer
Leave event
{
"type": "Leave",
"object": {
"type": "Event"
}
}
Emitter's side effects
- None
Recipients' side effects
- The recipients are removed from the
/attendees
collection - A notification is sent to the organizer