Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1.63 KB

README.md

File metadata and controls

76 lines (50 loc) · 1.63 KB

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

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