Meeting attendees
Information on attendees for a meeting
Accept header for requests to Meeting attendees
application/vnd.procurios.meeting2+json; version=1
All attendees for meeting
GET /l/meeting2_api/meetings/42/attendees
Get the list of all attendees for the given meeting
Examples
[]
200
{ "attendees": [ { "relation_id": 123, "relation_name": "Firstname Lastname", "relation_first_name": "Firstname van Lastname", "relation_insertion": "van", "relation_last_name": "Firstname van Lastname", "relation_initials": "F", "presence": 1, "activitiesSignedUp": [ 12, 13, 127 ], "organization_name": "Organization", "registration_status": 1 } ] }
Attendee schema for meeting
GET /l/meeting2_api/meetings/42/attendees/schema
Get a JSON schema for an attendee, given the specified meeting
Examples
[]
200
{ "$schema": "http:\/\/json-schema.org\/draft-07\/schema#", "title": "Attendee", "type": "object", "properties": { "relation_id": { "title": "Relation ID", "description": "The unique ID for the relation that is attending", "type": "integer" }, "relation_name": { "title": "Relation name", "description": "The formatted full name of the relation that is attending", "type": "string" }, "relation_first_name": { "title": "Relation first name", "type": [ "string", "null" ] }, "relation_insertion": { "title": "Relation insertion", "type": [ "string", "null" ] }, "relation_last_name": { "title": "Relation last name", "type": "string" }, "relation_initials": { "title": "Relation initials", "type": [ "string", "null" ] }, "presence": { "title": "Presence status for this attendee", "description": "0 = absent, 1 = present, 2 = unknown", "type": "integer", "enum": [ 0, 1, 2 ] }, "activitiesSignedUp": { "title": "Activities", "description": "An activity id for each activity the attendee is going to attend.", "type": "array", "items": { "type": "number" } }, "organization_name": { "title": "Name of organization if any", "type": [ "string", "null" ] }, "registration_status": { "title": "Registration status for this attendee", "type": "int", "enum": [ 0, 1, 2, 3, 4 ], "enumNames": [ "No reaction", "Registered", "Opted out", "Reserve list", "Cancelled" ] } }, "required": [ "relation_id", "relation_name", "presence", "activitiesSignedUp" ] }
Update presence
PUT /l/meeting2_api/meetings/42/attendees/1978/presence
Update the presence of an attendee (relation ID 1978) of a meeting (meeting ID 42); Scope needed: meeting2/presence/write
Examples
{ "presence": 1 }
200
[]
Schema for updating presence
GET /l/meeting2_api/meetings/attendees/schema/presence/put
Get a JSON schema for updating the presence of an attendee for the the specified meeting; Scope needed: meeting2/presence/write
Examples
[]
200
{ "$schema": "http:\/\/json-schema.org\/draft-07\/schema#", "title": "Attendee presence schema (PUT)", "type": "object", "properties": { "presence": { "title": "Presence", "type": "integer", "enum": [ 1, 0 ], "enumNames": { "1": "Yes, present", "0": "No, absent" } } }, "required": [ "presence" ] }