{"openapi":"3.1.0","info":{"title":"Glissandoo Public API","version":"1.0.0","description":"API for Glissandoo members and administrators. Reads use any credential; changes (creating, editing and cancelling events) need an API key created with changes allowed or an OAuth connection with the public-api:write scope, and the same permissions as the Dashboard.","license":{"name":"Proprietary","identifier":"LicenseRef-Proprietary"}},"servers":[{"url":".","description":"Current v1 endpoint"}],"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:read"]},{"BearerAuth":[]}],"paths":{"/health":{"get":{"operationId":"health","summary":"Check API availability","security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApiDocument","summary":"Get the OpenAPI description","security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/groups":{"get":{"operationId":"listMyGroups","summary":"List groups for the authenticated member","description":"Returns every group the authenticated member belongs to. No group permission required.","tags":["Me"],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["admin","member","guest"]}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["displayName","joinedAt","role"],"default":"displayName"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"asc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/events":{"get":{"operationId":"listMyEvents","summary":"List events for the authenticated member","description":"Returns the events the authenticated member takes part in, with the member's own participation (forecast, roll-call attendance, decline reason, note and question answers) and the event roster. No group permission required.","tags":["Me","Events"],"parameters":[{"name":"startDate","in":"query","required":true,"description":"Range start. Values older than one year are clamped to one year ago, and ranges cannot exceed 366 days.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"rollcall","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"selected","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["datetime","displayName","type"],"default":"datetime"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}},{"name":"groupId","in":"query","required":false,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MyMemberEvent"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}":{"get":{"operationId":"getGroup","summary":"Get a group","description":"Requires group membership. Member custom field definitions are only included with Owner or Members permission.","tags":["Groups"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/GroupDetail"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/events":{"get":{"operationId":"listGroupEvents","summary":"List group events","description":"Requires Owner or Events permission in the group. Each event includes its participant roster with forecast, roll-call attendance, selection and decline reason (why the participant is not attending). Full question answers are only in the event detail.","tags":["Groups","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":true,"description":"Range start. Values older than one year are clamped to one year ago, and ranges cannot exceed 366 days.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"rollcall","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"selected","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["datetime","displayName","type"],"default":"datetime"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}},{"name":"memberId","in":"query","required":false,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GroupEvent"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createGroupEvent","summary":"Create a group event","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Events permission in the group. Creates a rehearsal, concert or other event, or a series of up to 50 (repeat). Invited members are notified unless notify is false. Dates are ISO 8601; without an offset they are local times of timezone. Send an Idempotency-Key to retry safely. With dryRun the event is checked but not created.","tags":["Groups","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Unique key per change (e.g. a UUID): a retry with the same key and body returns the first response instead of creating again. Kept 24 hours.","schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","enum":["practice","performance","other"]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"description":{"description":"Plain text","anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"online":{"type":"boolean"},"videoURL":{"anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"locality":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},{"type":"null"}]},"responseDeadline":{"type":"object","properties":{"option":{"type":"string","enum":["BeforeEvent","OneHourBefore","OneDayBefore","OneWeekBefore","Custom"]},"customAt":{"default":null,"anyOf":[{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},{"type":"null"}]}},"required":["option"]},"reminders":{"maxItems":10,"type":"array","items":{"type":"string","enum":["1-hours","3-hours","12-hours","1-days","3-days","1-weeks","2-weeks","custom"]}},"questions":{"description":"Questions asked to members who confirm and who decline","type":"object","properties":{"confirmed":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"description":"Keep the current id when editing; without it, the current question with the same title keeps its members' answers","type":"string","minLength":1,"maxLength":128},"title":{"type":"string","minLength":1,"maxLength":200},"answers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["text"]}},"allowNotes":{"default":false,"type":"boolean"},"multiselect":{"default":false,"type":"boolean"}},"required":["title"]}},"declined":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"description":"Keep the current id when editing; without it, the current question with the same title keeps its members' answers","type":"string","minLength":1,"maxLength":128},"title":{"type":"string","minLength":1,"maxLength":200},"answers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["text"]}},"allowNotes":{"default":false,"type":"boolean"},"multiselect":{"default":false,"type":"boolean"}},"required":["title"]}}}},"maxAttendance":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"startsAt":{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},"endsAt":{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},"timezone":{"type":"string","minLength":1,"maxLength":64},"repeat":{"description":"Repeat the event until a date; at most 50 events","type":"object","properties":{"period":{"type":"string","enum":["weekly","biweekly","monthly"]},"until":{"anyOf":[{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}]}},"required":["period","until"]},"selectionMode":{"anyOf":[{"type":"string","enum":["open","closed"]},{"type":"null"}]},"members":{"description":"Members to invite. Reinforcements (guests) join only by invitation link.","type":"object","properties":{"all":{"description":"Every member of the group","type":"boolean"},"ids":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}}},"repertoire":{"description":"Pieces in order; linked folders bring all their pieces","type":"object","properties":{"pieceIds":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"folderIds":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}}},"notify":{"description":"Notify the invited members","default":true,"type":"boolean"}},"required":["type","startsAt","endsAt","timezone"],"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"201":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/EventWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with the same Idempotency-Key is still running","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/attendance":{"get":{"operationId":"listGroupMemberAttendance","summary":"List the attendance of every group member","description":"Requires Owner, Members or Events permission in the group. One item per member called to at least one event of the range, with forecast and roll-call totals and percentages; sorted by attendance (a ranking) by default. Use it for the most or least assiduous members.","tags":["Groups","Members","Events","Metrics"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":true,"description":"Range start. Values older than one year are clamped to one year ago, and ranges cannot exceed 366 days.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end. Use the current date and time so upcoming events (roll call not taken yet) are not counted.","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}},{"name":"sort","in":"query","required":false,"description":"attendance: by roll-call attendance percentage; absences: by number of roll-call absences.","schema":{"type":"string","enum":["attendance","absences","displayName"],"default":"attendance"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"names","in":"query","required":false,"description":"Only these members: names separated by commas (each one can be part of the name, accents and case ignored). Use it to rank or compare specific members in one call. Names that match nobody are returned in unmatchedNames.","schema":{"type":"string","minLength":1,"maxLength":2000}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberAttendanceItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/members/{memberId}/events/metrics":{"get":{"operationId":"getGroupMemberEventMetrics","summary":"Get attendance metrics for a group member","description":"Requires Owner, Members or Events permission in the group, except when the authenticated member reads their own data (memberId = their own id). Returns forecast and roll-call totals and percentages, overall and by event type.","tags":["Groups","Members","Events","Metrics"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":true,"description":"Range start. Any date: one member's history is not limited, so for their whole history use an early date such as 2000-01-01.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/MemberEventMetrics"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/members/{memberId}/events/{eventId}":{"get":{"operationId":"getGroupMemberEvent","summary":"Get a member participation in an event","description":"Requires Owner, Members or Events permission in the group. Returns the event with the member participation: forecast, roll-call attendance and method, decline reason, remarks, note and question answers.","tags":["Groups","Members","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/MemberEventDetail"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/members":{"get":{"operationId":"listGroupMembers","summary":"List group members","description":"Requires Owner or Members permission in the group.","tags":["Groups","Members"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"username","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"email","in":"query","required":false,"schema":{"type":"string","format":"email","maxLength":320}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["admin","member","guest"]}},{"name":"mainInstrumentId","in":"query","required":false,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"customFields","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":4096}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["displayName","joinedAt","role","mainInstrumentId","name","lastname","email"],"default":"displayName"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"asc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination","totals"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"totals":{"$ref":"#/components/schemas/MemberTotals"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/members/{memberId}":{"get":{"operationId":"getGroupMember","summary":"Get a group member","description":"Requires Owner or Members permission in the group.","tags":["Groups","Members"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Member"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/members/{memberId}/events":{"get":{"operationId":"listGroupMemberEvents","summary":"List events for a group member","description":"Requires Owner, Members or Events permission in the group, except when the authenticated member reads their own data (memberId = their own id). Each event includes the member forecast, roll-call attendance, selection and decline reason (why the member is not attending).","tags":["Groups","Members","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":true,"description":"Range start. Any date: one member's history is not limited, so for their whole history use an early date such as 2000-01-01.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"rollcall","in":"query","required":false,"schema":{"type":"string","enum":["confirmed","declined","pending"]}},{"name":"selected","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["datetime","displayName","type"],"default":"datetime"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberEventListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/repertoire":{"get":{"operationId":"listGroupRepertoire","summary":"List group repertoire metadata","description":"Requires Owner or Repertoire permission in the group.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"tag","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"eventId","in":"query","required":false,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"visibility","in":"query","required":false,"schema":{"type":"string","enum":["always","byEvent"]}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["createdAt","title","composer","lastEventDatetime","votesCount"],"default":"createdAt"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RepertoireListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createGroupRepertoire","summary":"Create a repertoire piece","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Repertoire permission in the group. Creates the piece with its title, composer, tags, visibility, YouTube video and folders. Sheet music and audio files are uploaded from the Dashboard or the app. Send an Idempotency-Key to retry safely. With dryRun nothing is created.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Unique key per change (e.g. a UUID): a retry with the same key and body returns the first response instead of creating again. Kept 24 hours.","schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"composer":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"tags":{"description":"Tags, as text; they replace the current ones","maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":50}},"visibility":{"description":"byEvent: members see it when it is in an upcoming event they are called to (default); always: members always see it","type":"string","enum":["always","byEvent"]},"youtubeUrl":{"description":"Link to a YouTube video of the piece; null removes it","anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"folderIds":{"description":"Folders the piece is in; they replace the current ones","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["title"],"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"201":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RepertoireWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with the same Idempotency-Key is still running","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/repertoire/folders":{"get":{"operationId":"listGroupRepertoireFolders","summary":"List repertoire folders","description":"Requires group membership. Owners and members with the Repertoire permission see every folder; the rest only the folders available to members now. Use the folder ids to link folders to events or pieces.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RepertoireFolder"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/repertoire/{repertoireId}":{"get":{"operationId":"getRepertoireItem","summary":"Get repertoire item metadata","description":"Requires Owner or Repertoire permission in the group.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"repertoireId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Repertoire"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateGroupRepertoire","summary":"Edit a repertoire piece","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Repertoire permission in the group. Changes only the fields sent; tags and folders replace the current ones and youtubeUrl null removes the video. The files of the piece are kept. Events with the piece show the new title and composer. With dryRun nothing is changed.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"repertoireId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"composer":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"tags":{"description":"Tags, as text; they replace the current ones","maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":50}},"visibility":{"description":"byEvent: members see it when it is in an upcoming event they are called to (default); always: members always see it","type":"string","enum":["always","byEvent"]},"youtubeUrl":{"description":"Link to a YouTube video of the piece; null removes it","anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"folderIds":{"description":"Folders the piece is in; they replace the current ones","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RepertoireWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteGroupRepertoire","summary":"Delete a repertoire piece","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Repertoire permission in the group. Deletes the piece for good: it leaves every event and folder and its files are deleted. It cannot be undone. With dryRun nothing is deleted and the preview tells how many events (and upcoming ones), files and folders it has.","tags":["Groups","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"repertoireId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}}],"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RepertoireWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/events/metrics":{"get":{"operationId":"getGroupEventMetrics","summary":"Get group-wide event attendance metrics","description":"Requires Owner or Events permission in the group. Returns, per event, forecast and roll-call totals and percentages.","tags":["Groups","Events","Metrics"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":true,"description":"Range start. Values older than one year are clamped to one year ago.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":true,"description":"Range end","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["practice","performance","other"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GroupEventMetricsItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/events/{eventId}":{"get":{"operationId":"getGroupEvent","summary":"Get a group event","description":"Requires Owner or Events permission in the group. Returns the event with its participant roster (forecast, roll-call attendance, selection, decline reason, remarks and question answers) and the event question definitions.","tags":["Groups","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/GroupEventDetail"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateGroupEvent","summary":"Edit a group event","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Events permission in the group. Changes only the fields sent, for this event or for its series (relations). In a series, other events keep their date and take the new time. The type, selection mode and repetition cannot change. Members are notified only with notify true. With dryRun nothing is changed.","tags":["Groups","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"description":{"description":"Plain text","anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"online":{"type":"boolean"},"videoURL":{"anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"locality":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"location":{"anyOf":[{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},{"type":"null"}]},"responseDeadline":{"type":"object","properties":{"option":{"type":"string","enum":["BeforeEvent","OneHourBefore","OneDayBefore","OneWeekBefore","Custom"]},"customAt":{"default":null,"anyOf":[{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},{"type":"null"}]}},"required":["option"]},"reminders":{"maxItems":10,"type":"array","items":{"type":"string","enum":["1-hours","3-hours","12-hours","1-days","3-days","1-weeks","2-weeks","custom"]}},"questions":{"description":"Questions asked to members who confirm and who decline","type":"object","properties":{"confirmed":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"description":"Keep the current id when editing; without it, the current question with the same title keeps its members' answers","type":"string","minLength":1,"maxLength":128},"title":{"type":"string","minLength":1,"maxLength":200},"answers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["text"]}},"allowNotes":{"default":false,"type":"boolean"},"multiselect":{"default":false,"type":"boolean"}},"required":["title"]}},"declined":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"description":"Keep the current id when editing; without it, the current question with the same title keeps its members' answers","type":"string","minLength":1,"maxLength":128},"title":{"type":"string","minLength":1,"maxLength":200},"answers":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1,"maxLength":200}},"required":["text"]}},"allowNotes":{"default":false,"type":"boolean"},"multiselect":{"default":false,"type":"boolean"}},"required":["title"]}}}},"maxAttendance":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"startsAt":{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},"endsAt":{"description":"Local date and time of timezone without offset, e.g. 2026-11-20T19:30:00 (an offset or Z is also accepted)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})?$"},"timezone":{"description":"The event's time zone when missing","type":"string","minLength":1,"maxLength":64},"relations":{"description":"Events of the series to change: this one, this and the following ones, or all","default":"single","type":"string","enum":["single","future","all"]},"notify":{"description":"Notify the invited members of the change","default":false,"type":"boolean"}},"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/EventWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteGroupEvent","summary":"Cancel a group event","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Events permission in the group. Cancels (deletes) the event, or this and the following ones or the whole series (relations). Invited members are notified unless notify is false. It cannot be undone. With dryRun nothing is changed.","tags":["Groups","Events"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}},{"name":"relations","in":"query","required":false,"description":"Events of the series to cancel: this one (default), this and the following ones, or all","schema":{"type":"string","enum":["single","future","all"]}},{"name":"notify","in":"query","required":false,"description":"Notify the cancellation (true by default)","schema":{"type":"boolean"}}],"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/EventWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/inventory":{"get":{"operationId":"listGroupInventory","summary":"List group inventory items","description":"Requires group membership. With Owner or Inventory permission returns every item of the group inventory (instruments, uniforms, material...); otherwise only the items assigned to the authenticated member.","tags":["Groups","Inventory"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"description":"Text contained in the item title.","schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"status","in":"query","required":false,"description":"Item status.","schema":{"type":"string","enum":["available","assigned","onHold","retired"]}},{"name":"typeId","in":"query","required":false,"description":"Inventory category identifier.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"query","required":false,"description":"Only items currently assigned to this member.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["createdAt","updatedAt","title"],"default":"createdAt"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InventoryItemListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/inventory/{itemId}":{"get":{"operationId":"getInventoryItem","summary":"Get an inventory item","description":"Requires group membership. Returns the item with its category fields. Without Owner or Inventory permission only items assigned to the authenticated member are visible, and the assignment history is omitted.","tags":["Groups","Inventory"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"itemId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InventoryItem"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/payments/summary":{"get":{"operationId":"getGroupPaymentSummary","summary":"Get group payment totals","description":"Requires group membership. Returns counts and amounts by currency, type (income/expense) and status (pending/paid/cancelled) for the payments matching the filters. With Owner or Billing permission it covers every group payment; otherwise only the payments of the authenticated member.","tags":["Groups","Payments"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":false,"description":"Only payments created at or after this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":false,"description":"Only payments created at or before this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"description":"Payment type.","schema":{"type":"string","enum":["income","expense"]}},{"name":"status","in":"query","required":false,"description":"Payment status.","schema":{"type":"string","enum":["pending","paid","cancelled"]}},{"name":"eventId","in":"query","required":false,"description":"Only payments linked to this event.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"query","required":false,"description":"Only payments generated for or assigned to this member.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"description":"Text contained in the payment concept.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PaymentSummary"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/payments":{"get":{"operationId":"listGroupPayments","summary":"List group payments","description":"Requires group membership. Group incomes and expenses (event payouts, dues, suppliers...). With Owner or Billing permission returns every group payment; otherwise only the payments of the authenticated member.","tags":["Groups","Payments"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":false,"description":"Only payments created at or after this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":false,"description":"Only payments created at or before this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","required":false,"description":"Payment type.","schema":{"type":"string","enum":["income","expense"]}},{"name":"status","in":"query","required":false,"description":"Payment status.","schema":{"type":"string","enum":["pending","paid","cancelled"]}},{"name":"eventId","in":"query","required":false,"description":"Only payments linked to this event.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"memberId","in":"query","required":false,"description":"Only payments generated for or assigned to this member.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"description":"Text contained in the payment concept.","schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["createdAt","paidAt","totalAmount"],"default":"createdAt"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/offers":{"get":{"operationId":"listGroupOffers","summary":"List group vacancies","description":"Requires group membership. Vacancies (musician job offers) published by the group, with their status and number of applicants.","tags":["Groups","Offers"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"status","in":"query","required":false,"description":"open: accepting applications (selection not closed and deadline not passed); closed: the rest.","schema":{"type":"string","enum":["open","closed"]}},{"name":"instrumentId","in":"query","required":false,"description":"Instrument identifier requested by the vacancy.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"query","required":false,"description":"Only vacancies for this event.","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"q","in":"query","required":false,"description":"Text contained in the vacancy title.","schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["createdAt","deadlineAt"],"default":"createdAt"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OfferListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/offers/{offerId}":{"get":{"operationId":"getGroupOffer","summary":"Get a group vacancy","description":"Requires group membership. Returns the vacancy and the authenticated member application. The applicant list is only included with Owner or Offers permission.","tags":["Groups","Offers"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"offerId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Offer"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/communications":{"get":{"operationId":"listGroupCommunications","summary":"List group announcements","description":"Requires group membership. Announcements and surveys published in the group, newest first. With Owner or Communications permission returns every announcement; otherwise only the ones the authenticated member received.","tags":["Groups","Communications"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"startDate","in":"query","required":false,"description":"Only announcements published at or after this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","required":false,"description":"Only announcements published at or before this date-time.","schema":{"type":"string","format":"date-time"}},{"name":"format","in":"query","required":false,"description":"post (plain announcement) or survey.","schema":{"type":"string","enum":["post","survey"]}},{"name":"q","in":"query","required":false,"description":"Text contained in the announcement title.","schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data","pagination"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CommunicationListItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/communications/{communicationId}":{"get":{"operationId":"getGroupCommunication","summary":"Get a group announcement","description":"Requires group membership. Returns the announcement text and, for surveys, the questions with the authenticated member answers. Vote counts need Owner or Communications permission unless results are public; reach statistics need Owner or Communications permission.","tags":["Groups","Communications"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"communicationId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Communication"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/events/{eventId}/players":{"patch":{"operationId":"updateGroupEventPlayers","summary":"Invite or remove members of a group event","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Events permission in the group. Adds and removes members in each event of the change (relations). Only active members can be added; reinforcements (guests) join by invitation link. With dryRun nothing is changed.","tags":["Groups","Events","Members"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"add":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"remove":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"relations":{"description":"Events of the series to change: this one, this and the following ones, or all","default":"single","type":"string","enum":["single","future","all"]},"notify":{"description":"Notify the members added (invitation) and removed","default":true,"type":"boolean"}},"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/EventWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/groups/{groupId}/events/{eventId}/repertoire":{"put":{"operationId":"setGroupEventRepertoire","summary":"Set the repertoire of a group event","description":"Requires an API key that allows changes (or an OAuth connection with public-api:write) and Owner or Events permission in the group. Replaces the pieces of the event, in order, for this event or its series (relations). Linked folders bring all their pieces. With dryRun nothing is changed.","tags":["Groups","Events","Repertoire"],"parameters":[{"name":"groupId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"eventId","in":"path","required":true,"description":"Glissandoo resource identifier","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"dryRun","in":"query","required":false,"description":"Check the change and describe it without applying it","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pieceIds":{"description":"Every piece of the event, in its order","maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"folderIds":{"description":"Linked folders; the current links when missing","maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"relations":{"description":"Events of the series to change: this one, this and the following ones, or all","default":"single","type":"string","enum":["single","future","all"]},"notify":{"default":false,"type":"boolean"}},"required":["pieceIds"],"additionalProperties":false}}}},"security":[{"ApiKeyAuth":[]},{"OAuth2":["public-api:write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Change applied (200 for a dry run)","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/EventWriteResult"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Insufficient permissions, or a read-only credential for a change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found or not accessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The change breaks a rule (series limit, plan payments, member not in the group, reused Idempotency-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"User API key. Public API v1 accepts requests from every browser origin."},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"OAuth 2.1 access token or Glissandoo API key","description":"OAuth 2.1 access token, or a user API key for backwards-compatible technical integrations."},"OAuth2":{"type":"oauth2","description":"Delegated access for browser and MCP clients: reading, and changes to events when the user allows them.","flows":{"authorizationCode":{"authorizationUrl":"https://auth.glissandoo.com/oauth/authorize","tokenUrl":"https://auth.glissandoo.com/oauth/token","scopes":{"public-api:read":"Read data visible to the authenticated user","public-api:write":"Create, edit and cancel events, with the same permissions as the Dashboard"}}}}},"schemas":{"Health":{"type":"object","required":["status","version"],"properties":{"status":{"type":"string","enum":["ok"],"description":"Service status."},"version":{"type":"string","enum":["v1"],"description":"API version."}}},"Pagination":{"type":"object","required":["hasMore","nextCursor"],"properties":{"hasMore":{"type":"boolean","description":"true when more pages are available."},"nextCursor":{"type":["string","null"],"description":"Cursor to request the next page. null on the last page."}}},"MemberTotals":{"type":"object","required":["total","byMainInstrument"],"description":"Totals over every member matching the filters, not only this page.","properties":{"total":{"type":"integer","description":"Members matching the filters."},"byMainInstrument":{"type":"object","additionalProperties":{"type":"integer"},"description":"Members per main instrument id (\"none\" for members without one)."}}},"Membership":{"type":"object","required":["id","role","permissions","instrumentIds"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"role":{"type":"string","enum":["admin","member","guest"],"description":"Membership role in the group."},"permissions":{"type":"array","items":{"type":"string"},"description":"Admin permissions the member holds in the group."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the member main instrument. null when not set."},"instrumentIds":{"type":"array","items":{"type":"string"},"description":"Identifiers of the member instruments."},"joinedAt":{"type":["string","null"],"format":"date-time","description":"When the member joined the group, ISO 8601. null when unknown."}}},"Group":{"type":"object","required":["id","displayName","username"],"properties":{"id":{"type":"string","description":"Unique group identifier."},"displayName":{"type":"string","description":"Group display name."},"username":{"type":"string","description":"Group public username."},"photoURL":{"type":["string","null"],"description":"Group photo URL. null when not set."},"musicStyle":{"type":["string","null"],"description":"Group music style. null when not set."},"locality":{"type":["string","null"],"description":"Group locality or city. null when not set."},"country":{"type":["string","null"],"description":"Group country. null when not set."},"membership":{"$ref":"#/components/schemas/Membership","description":"Your membership in the group."}}},"GroupMemberField":{"type":"object","description":"Definition of a member custom field configured for the group.","required":["id","label","type","memberAccess","options","order"],"properties":{"id":{"type":"string","description":"Custom field identifier."},"label":{"type":"string","description":"Field label shown to members."},"type":{"type":"string","enum":["text","number","date","select","email","phone","link","paragraph"],"description":"Field input type."},"memberAccess":{"type":"string","enum":["private","readOnly","editable","required"],"description":"Member access level: private (admins only), readOnly (member sees it), editable (member can edit) or required (member must fill it on join)."},"placeholder":{"type":["string","null"],"description":"Placeholder text. null when not set."},"options":{"type":"array","description":"Selectable options, for select-type fields.","items":{"type":"object","required":["id","value"],"properties":{"id":{"type":"string","description":"Option identifier."},"value":{"type":"string","description":"Option text."}}}},"order":{"type":"integer","description":"Display order."}}},"GroupDetail":{"type":"object","description":"A group, including member custom field definitions for member managers.","required":[],"properties":{"memberFields":{"type":"array","description":"Member custom field definitions. Only present with Owner or Members permission; otherwise omitted.","items":{"$ref":"#/components/schemas/GroupMemberField"}}},"allOf":[{"$ref":"#/components/schemas/Group"}]},"Event":{"type":"object","required":["id","type","datetime","datetimeEnd","timezone","createdAt","online","group","repertoire"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"description":{"type":["string","null"],"description":"Event description text. null when it has no description."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"createdAt":{"type":"string","format":"date-time","description":"When the event was created, ISO 8601."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"online":{"type":"boolean","description":"true when the event takes place online."},"group":{"type":"object","description":"The group that promotes the event.","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Group identifier."},"displayName":{"type":"string","description":"Group display name."}}},"repertoire":{"type":"array","description":"Repertoire pieces linked to the event, ordered as in the event.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Repertoire item title."}}}}}},"GroupEventPlayer":{"type":"object","description":"Event participant with their forecast, roll-call attendance, selection, remarks and question answers.","required":["id","displayName","forecast","attended","selected","declineReason","remarks","answers"],"properties":{"id":{"type":"string","description":"User identifier of the participant."},"displayName":{"type":"string","description":"Participant display name."},"username":{"type":["string","null"],"description":"Participant public username. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the participant main instrument. null when not set."},"forecast":{"type":["string","null"],"enum":["confirmed","declined",null],"description":"Forecast response of the participant; null when not answered."},"attended":{"type":["boolean","null"],"description":"Actual roll-call attendance: true confirmed, false declined, null when roll call was not taken."},"selected":{"type":["boolean","null"],"description":"Whether the participant was selected to attend."},"declineReason":{"oneOf":[{"$ref":"#/components/schemas/DeclineReason"},{"type":"null"}],"description":"Why the participant declined. null unless forecast is declined and the reasons question was answered."},"remarks":{"type":["string","null"],"description":"Private roll-call remark for this participant. null when none."},"answers":{"type":"array","description":"Questions the participant answered, with their titles and selected options.","items":{"type":"object","required":["id","title","note","answers"],"properties":{"id":{"type":"string","description":"Identifier of the event question."},"title":{"type":"string","description":"Question title."},"note":{"type":["string","null"],"description":"Free-text note the participant attached to this question. null when none."},"answers":{"type":"array","description":"Options the participant selected for this question.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Answer option identifier."},"title":{"type":"string","description":"Answer option text."}}}}}}}}},"DeclineReason":{"type":"object","description":"Answer to the group built-in decline question (id `reasons`): the reasons the member gave for not attending.","required":["answers","other","note"],"properties":{"answers":{"type":"array","description":"Predefined reasons the member selected.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Reason option identifier."},"title":{"type":"string","description":"Reason option text."}}}},"other":{"type":"boolean","description":"true when the member chose \"other\"; the explanation is in note."},"note":{"type":["string","null"],"description":"Free-text explanation written by the member. null when none."}}},"EventQuestion":{"type":"object","description":"A question configured for the event, with its answer options.","required":["id","title","status","multiselect","allowNotes","answers"],"properties":{"id":{"type":"string","description":"Question identifier."},"title":{"type":"string","description":"Question text."},"status":{"type":"string","enum":["confirmed","declined"],"description":"Response status the question is asked for."},"multiselect":{"type":"boolean","description":"true when more than one answer option can be selected."},"allowNotes":{"type":"boolean","description":"true when the member can attach a free-text note."},"answers":{"type":"array","description":"Available answer options.","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","description":"Answer option identifier."},"text":{"type":"string","description":"Answer option text."}}}}}},"GroupEventDetail":{"type":"object","description":"A group event including its participant roster and question definitions.","required":["id","type","datetime","datetimeEnd","timezone","responseDeadlineAt","online","selectionMode","createdAt","createdBy","repertoire","players","questions"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"description":{"type":["string","null"],"description":"Event description text. null when it has no description."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"responseDeadlineAt":{"type":"string","format":"date-time","description":"Deadline for members to respond to the event, ISO 8601."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"online":{"type":"boolean","description":"true when the event takes place online."},"selectionMode":{"type":["string","null"],"enum":["open","closed",null],"description":"Participant selection mode: open (members opt in) or closed (managers select). null when not applicable."},"createdAt":{"type":"string","format":"date-time","description":"When the event was created, ISO 8601."},"createdBy":{"type":["string","null"],"description":"User identifier of the event creator. null when not set."},"repertoire":{"type":"array","description":"Repertoire pieces linked to the event, ordered as in the event.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Repertoire item title."}}}},"players":{"type":"array","description":"Participant roster with forecast, roll-call attendance, selection, remarks and answers.","items":{"$ref":"#/components/schemas/GroupEventPlayer"}},"questions":{"type":"array","description":"Question definitions configured for the event.","items":{"$ref":"#/components/schemas/EventQuestion"}}}},"GroupEventListPlayer":{"type":"object","description":"Event participant with their forecast, roll-call attendance and selection.","required":["id","displayName","forecast","attended","selected","declineReason"],"properties":{"id":{"type":"string","description":"User identifier of the participant."},"displayName":{"type":"string","description":"Participant display name."},"username":{"type":["string","null"],"description":"Participant public username. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the participant main instrument. null when not set."},"forecast":{"type":["string","null"],"enum":["confirmed","declined",null],"description":"Forecast response of the participant; null when not answered."},"attended":{"type":["boolean","null"],"description":"Actual roll-call attendance: true confirmed, false declined, null when roll call was not taken."},"selected":{"type":["boolean","null"],"description":"Whether the participant was selected to attend."},"declineReason":{"oneOf":[{"$ref":"#/components/schemas/DeclineReason"},{"type":"null"}],"description":"Why the participant declined. null unless forecast is declined and the reasons question was answered."}}},"GroupEventBase":{"type":"object","description":"Core group event fields, shared by the event list and detail.","required":["id","type","datetime","datetimeEnd","timezone","online","repertoire"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"description":{"type":["string","null"],"description":"Event description text. null when it has no description."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"online":{"type":"boolean","description":"true when the event takes place online."},"repertoire":{"type":"array","description":"Repertoire pieces linked to the event, ordered as in the event.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Repertoire item title."}}}}}},"GroupEvent":{"type":"object","description":"A group event with its participant roster.","required":["players"],"properties":{"players":{"type":"array","description":"Participant roster with forecast, roll-call attendance and selection.","items":{"$ref":"#/components/schemas/GroupEventListPlayer"}}},"allOf":[{"$ref":"#/components/schemas/GroupEventBase"}]},"MemberEventParticipation":{"type":"object","description":"The member relation with the event. forecast is the response the member gave in advance; attended is the actual roll-call attendance. Personal response details are returned to that member.","required":["memberId","invited","forecast","attended","selected","isGuest"],"properties":{"memberId":{"type":"string","description":"User identifier of the member this participation belongs to."},"invited":{"type":"boolean","enum":[true],"description":"Always true; the member is invited to the event."},"forecast":{"type":["string","null"],"enum":["confirmed","declined",null],"description":"Forecast response given by the member (confirmed/declined). null when not answered."},"attended":{"type":["boolean","null"],"description":"Actual roll-call attendance: true confirmed, false declined, null when roll call was not taken."},"selected":{"type":["boolean","null"],"description":"Whether the member was selected to attend. null when selection does not apply."},"declineReason":{"oneOf":[{"$ref":"#/components/schemas/DeclineReason"},{"type":"null"}],"description":"Why the participant declined. null unless forecast is declined and the reasons question was answered."},"note":{"type":["string","null"],"description":"Private note left by the member. null when none."},"isGuest":{"type":"boolean","description":"true when the member participates as a guest."},"questions":{"type":"array","description":"Questions the member answered, with their titles and selected options.","items":{"type":"object","required":["id","title","note","answers"],"properties":{"id":{"type":"string","description":"Identifier of the event question."},"title":{"type":"string","description":"Question title."},"note":{"type":["string","null"],"description":"Free-text note the member attached to this question. null when none."},"answers":{"type":"array","description":"Options the member selected for this question.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Answer option identifier."},"title":{"type":"string","description":"Answer option text."}}}}}}}}},"MemberEventListItem":{"type":"object","description":"Basic event info with the member participation merged into the same object.","required":["id","type","datetime","datetimeEnd","timezone","forecast","attended","selected","isGuest","declineReason"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"forecast":{"type":["string","null"],"enum":["confirmed","declined",null],"description":"Forecast response given by the member (confirmed/declined). null when not answered."},"attended":{"type":["boolean","null"],"description":"Actual roll-call attendance: true confirmed, false declined, null when roll call was not taken."},"selected":{"type":["boolean","null"],"description":"Whether the member was selected to attend. null when selection does not apply."},"declineReason":{"oneOf":[{"$ref":"#/components/schemas/DeclineReason"},{"type":"null"}],"description":"Why the participant declined. null unless forecast is declined and the reasons question was answered."},"isGuest":{"type":"boolean","description":"true when the member participates as a guest."}}},"MemberEventDetail":{"type":"object","description":"Basic event info plus the member participation, merged into one object.","required":["id","type","datetime","datetimeEnd","timezone","online","repertoire","forecast","attended","selected","isGuest","declineReason","attendedAt","attendedVia","remarks","note","questions"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"description":{"type":["string","null"],"description":"Event description text. null when it has no description."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"online":{"type":"boolean","description":"true when the event takes place online."},"repertoire":{"type":"array","description":"Repertoire pieces linked to the event, ordered as in the event.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Repertoire item title."}}}},"forecast":{"type":["string","null"],"enum":["confirmed","declined",null],"description":"Forecast response given by the member (confirmed/declined). null when not answered."},"attended":{"type":["boolean","null"],"description":"Actual roll-call attendance: true confirmed, false declined, null when roll call was not taken."},"selected":{"type":["boolean","null"],"description":"Whether the member was selected to attend. null when selection does not apply."},"declineReason":{"oneOf":[{"$ref":"#/components/schemas/DeclineReason"},{"type":"null"}],"description":"Why the participant declined. null unless forecast is declined and the reasons question was answered."},"isGuest":{"type":"boolean","description":"true when the member participates as a guest."},"attendedAt":{"type":["string","null"],"format":"date-time","description":"When roll call was taken for this member, ISO 8601. null when not taken."},"attendedVia":{"type":["string","null"],"enum":["QR","GeoLoc","Admin",null],"description":"How roll call was taken (QR, GeoLoc, Admin). null when not taken."},"remarks":{"type":["string","null"],"description":"Private roll-call remark for this member. null when none."},"note":{"type":["string","null"],"description":"Administrative note about the member participation. null when none."},"questions":{"type":"array","description":"Questions the member answered, with their titles and selected options.","items":{"type":"object","required":["id","title","note","answers"],"properties":{"id":{"type":"string","description":"Identifier of the event question."},"title":{"type":"string","description":"Question title."},"note":{"type":["string","null"],"description":"Free-text note the member attached to this question. null when none."},"answers":{"type":"array","description":"Options the member selected for this question.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Answer option identifier."},"title":{"type":"string","description":"Answer option text."}}}}}}}}},"EventPlayerSummary":{"type":"object","description":"Lightweight participant identity, without attendance data.","required":["id","displayName"],"properties":{"id":{"type":"string","description":"User identifier of the participant."},"displayName":{"type":"string","description":"Participant display name."},"username":{"type":["string","null"],"description":"Participant public username. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the participant main instrument. null when not set."}}},"EventWithRoster":{"type":"object","description":"Event including a lightweight roster of participants (identity only, no attendance).","required":["players"],"properties":{"players":{"type":"array","items":{"$ref":"#/components/schemas/EventPlayerSummary"},"description":"Participants of the event (identity only)."}},"allOf":[{"$ref":"#/components/schemas/Event"}]},"MyMemberEvent":{"type":"object","required":["event","participation"],"properties":{"event":{"$ref":"#/components/schemas/EventWithRoster"},"participation":{"$ref":"#/components/schemas/MemberEventParticipation"}}},"AttendanceStatusBreakdown":{"type":"object","required":["confirmed","declined","pending","confirmedPercentage","declinedPercentage","pendingPercentage"],"properties":{"confirmed":{"type":"integer","minimum":0,"description":"Number of confirmed entries."},"declined":{"type":"integer","minimum":0,"description":"Number of declined entries."},"pending":{"type":"integer","minimum":0,"description":"Number of pending entries (no response)."},"confirmedPercentage":{"type":["integer","null"],"minimum":0,"maximum":100,"description":"Confirmed share as a percentage. null when there is no data."},"declinedPercentage":{"type":["integer","null"],"minimum":0,"maximum":100,"description":"Declined share as a percentage. null when there is no data."},"pendingPercentage":{"type":["integer","null"],"minimum":0,"maximum":100,"description":"Pending share as a percentage. null when there is no data."}}},"AttendanceMetricsBucket":{"type":"object","required":["total","forecast","attendance"],"properties":{"total":{"type":"integer","minimum":0,"description":"Total entries counted in this bucket."},"forecast":{"$ref":"#/components/schemas/AttendanceStatusBreakdown","description":"Breakdown by forecast response."},"attendance":{"$ref":"#/components/schemas/AttendanceStatusBreakdown","description":"Breakdown by actual roll-call attendance."}}},"MemberEventMetrics":{"type":"object","description":"Attendance metrics using the same denominator and rounding as the dashboard member attendance view.","required":["groupId","memberId","range","type","overall","byType"],"properties":{"groupId":{"type":"string","description":"Group identifier."},"memberId":{"type":"string","description":"Member identifier."},"range":{"type":"object","description":"Date range the metrics cover.","required":["startDate","endDate"],"properties":{"startDate":{"type":"string","format":"date-time","description":"Range start, ISO 8601."},"endDate":{"type":"string","format":"date-time","description":"Range end, ISO 8601."}}},"type":{"type":["string","null"],"enum":["practice","performance","other",null],"description":"Event type the metrics are filtered by, or null for all types."},"overall":{"$ref":"#/components/schemas/AttendanceMetricsBucket","description":"Metrics across all event types."},"byType":{"type":"object","description":"Metrics split by event type.","required":["practice","performance","other"],"properties":{"practice":{"$ref":"#/components/schemas/AttendanceMetricsBucket"},"performance":{"$ref":"#/components/schemas/AttendanceMetricsBucket"},"other":{"$ref":"#/components/schemas/AttendanceMetricsBucket"}}}}},"GroupEventMetricsItem":{"type":"object","description":"A group event with its attendance metrics.","required":["id","type","datetime","datetimeEnd","timezone","metrics"],"properties":{"id":{"type":"string","description":"Unique event identifier."},"title":{"type":["string","null"],"description":"Event title. null when it has no title."},"type":{"type":"string","enum":["practice","performance","other"],"description":"Event category (rehearsal, concert, etc.)."},"datetime":{"type":"string","format":"date-time","description":"Event start, ISO 8601."},"datetimeEnd":{"type":"string","format":"date-time","description":"Event end, ISO 8601."},"timezone":{"type":"string","description":"IANA timezone the event is scheduled in."},"locality":{"type":["string","null"],"description":"Human-readable place or city. null when not set."},"location":{"type":["object","null"],"description":"Venue coordinates. null when the event has no coordinates.","required":["latitude","longitude"],"properties":{"latitude":{"type":["number","null"],"description":"Latitude in decimal degrees."},"longitude":{"type":["number","null"],"description":"Longitude in decimal degrees."}}},"metrics":{"$ref":"#/components/schemas/AttendanceMetricsBucket","description":"Attendance metrics for this event (total participants, forecast and roll-call breakdown)."}}},"MemberAttendanceItem":{"type":"object","description":"Attendance of one member in the events of the range they were called to, with the same denominator as the member metrics.","required":["member","total","forecast","attendance"],"properties":{"member":{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"displayName":{"type":"string","description":"Display name."},"username":{"type":["string","null"],"description":"Public username."},"photoURL":{"type":["string","null"],"description":"Photo URL."},"mainInstrumentId":{"type":["string","null"],"description":"Main instrument id."}}},"total":{"type":"integer","minimum":0,"description":"Events of the range the member was called to."},"forecast":{"$ref":"#/components/schemas/AttendanceStatusBreakdown","description":"Breakdown by forecast response."},"attendance":{"$ref":"#/components/schemas/AttendanceStatusBreakdown","description":"Breakdown by roll call: confirmed = attended, declined = absent, pending = roll call not taken."}}},"MemberListItem":{"type":"object","description":"Group member directory entry.","required":["id","displayName","registered","instrumentIds","role","joinedAt"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"username":{"type":["string","null"],"description":"Public username. null when not set."},"displayName":{"type":"string","description":"Display name."},"photoURL":{"type":["string","null"],"description":"Photo URL. null when not set."},"registered":{"type":"boolean","description":"false when this is a placeholder member without a registered account."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the main instrument. null when not set."},"instrumentIds":{"type":"array","items":{"type":"string"},"description":"Identifiers of the member instruments."},"role":{"type":"string","description":"Membership role in the group."},"joinedAt":{"type":["string","null"],"format":"date-time","description":"When the member joined, ISO 8601. null when unknown."}}},"Member":{"type":"object","description":"Full group member profile, including personal and administrative fields.","required":["id","displayName","registered","instrumentIds","role","joinedAt","permissions","additionalInfo","fields"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"username":{"type":["string","null"],"description":"Public username. null when not set."},"displayName":{"type":"string","description":"Display name."},"photoURL":{"type":["string","null"],"description":"Photo URL. null when not set."},"registered":{"type":"boolean","description":"false when this is a placeholder member without a registered account."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the main instrument. null when not set."},"instrumentIds":{"type":"array","items":{"type":"string"},"description":"Identifiers of the member instruments."},"role":{"type":"string","description":"Membership role in the group."},"joinedAt":{"type":["string","null"],"format":"date-time","description":"When the member joined, ISO 8601. null when unknown."},"name":{"type":["string","null"],"description":"First name. null when not set."},"lastname":{"type":["string","null"],"description":"Last name. null when not set."},"email":{"type":["string","null"],"format":"email","description":"Email. null when not set."},"locality":{"type":["string","null"],"description":"Locality or city. null when not set."},"birthDate":{"type":["string","null"],"format":"date-time","description":"Birth date, ISO 8601. null when not set."},"permissions":{"type":"array","items":{"type":"string"},"description":"Admin permissions in the group."},"additionalInfo":{"type":"array","items":{},"description":"Administrative additional info."},"fields":{"type":"array","description":"Values the member filled in for the group custom fields.","items":{"type":"object","required":["id","name","value"],"properties":{"id":{"type":"string","description":"Custom field identifier."},"name":{"type":"string","description":"Field title from the group definition."},"value":{"type":["string","number","boolean","array","null"],"items":{"type":"string"},"description":"Value the member set. For select fields, an array of the selected option labels. null when empty."}}}}}},"RepertoireListItem":{"type":"object","description":"Repertoire piece summary.","required":["id","title","tags"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Piece title."},"composer":{"type":["string","null"],"description":"Composer. null when not set."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags attached to the piece."},"rating":{"type":"number","nullable":true,"description":"Average of the members' ratings, from 1 (dislike) to 4 (love), two decimals. null without votes. Rating fields are only returned to owners and members with the Repertoire permission."},"votesCount":{"type":"integer","description":"Number of members who rated the piece."},"votesByValue":{"type":"object","description":"Number of votes for each option. Who voted what is never exposed.","required":["love","like","neutral","dislike"],"properties":{"love":{"type":"integer","description":"Votes \"love\" (4)."},"like":{"type":"integer","description":"Votes \"like\" (3)."},"neutral":{"type":"integer","description":"Votes \"not sure\" (2)."},"dislike":{"type":"integer","description":"Votes \"dislike\" (1)."}}}}},"Repertoire":{"type":"object","description":"Repertoire piece detail.","required":["id","title","tags","createdAt","createdBy","visibility","eventIds"],"properties":{"id":{"type":"string","description":"Repertoire item identifier."},"title":{"type":"string","description":"Piece title."},"composer":{"type":["string","null"],"description":"Composer. null when not set."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags attached to the piece."},"rating":{"type":"number","nullable":true,"description":"Average of the members' ratings, from 1 (dislike) to 4 (love), two decimals. null without votes. Rating fields are only returned to owners and members with the Repertoire permission."},"votesCount":{"type":"integer","description":"Number of members who rated the piece."},"votesByValue":{"type":"object","description":"Number of votes for each option. Who voted what is never exposed.","required":["love","like","neutral","dislike"],"properties":{"love":{"type":"integer","description":"Votes \"love\" (4)."},"like":{"type":"integer","description":"Votes \"like\" (3)."},"neutral":{"type":"integer","description":"Votes \"not sure\" (2)."},"dislike":{"type":"integer","description":"Votes \"dislike\" (1)."}}},"createdAt":{"type":"string","format":"date-time","description":"When the item was created, ISO 8601."},"createdBy":{"type":["string","null"],"description":"User identifier of the item creator. null when not set."},"visibility":{"type":"string","enum":["always","byEvent"],"description":"Visibility setting: always (visible to members) or byEvent (visible only through its events)."},"eventIds":{"type":"array","items":{"type":"string"},"description":"Identifiers of events using this piece."}}},"InventoryItemListItem":{"type":"object","description":"Inventory item summary.","required":["id","title","typeId","status","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Inventory item identifier."},"title":{"type":"string","description":"Item title."},"typeId":{"type":"string","description":"Inventory category identifier."},"typeName":{"type":["string","null"],"description":"Inventory category name."},"status":{"type":"string","enum":["available","assigned","onHold","retired"],"description":"available, assigned, onHold (reserved or under repair) or retired."},"assignedTo":{"type":["object","null"],"description":"Current holder. null when the item is not assigned.","properties":{"kind":{"type":"string","enum":["member","other"],"description":"member (a group member) or other (free-text holder)."},"memberId":{"type":["string","null"],"description":"Member user identifier."},"member":{"type":["object","null"],"description":"Identity of the member (name and photo). null when it is not a member of the group.","required":["id","displayName"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"displayName":{"type":"string","description":"Display name."},"username":{"type":["string","null"],"description":"Public username. null when not set."},"photoURL":{"type":["string","null"],"description":"Photo URL. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the member main instrument. null when not set."}}},"label":{"type":["string","null"],"description":"Free-text holder for kind other."},"assignedAt":{"type":["string","null"],"format":"date-time","description":"When it was assigned."}}},"createdAt":{"type":"string","format":"date-time","description":"Creation date."},"updatedAt":{"type":"string","format":"date-time","description":"Last update date."},"fields":{"type":"array","description":"Category custom fields that have a value, in display order, without images, documents or the assignable field.","items":{"type":"object","required":["label","value"],"properties":{"label":{"type":"string","description":"Field label."},"value":{"type":["string","number","boolean","array"],"items":{"type":"string"},"description":"Field value. Dates as ISO 8601, select fields as an array of option labels."}}}}}},"InventoryItem":{"type":"object","description":"Inventory item detail with its category fields and assignment history.","required":["id","title","typeId","status","fields","assignmentHistory"],"properties":{"id":{"type":"string","description":"Inventory item identifier."},"title":{"type":"string","description":"Item title."},"typeId":{"type":"string","description":"Inventory category identifier."},"typeName":{"type":["string","null"],"description":"Inventory category name."},"status":{"type":"string","enum":["available","assigned","onHold","retired"]},"assignedTo":{"type":["object","null"],"description":"Current holder. null when the item is not assigned."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"fields":{"type":"array","description":"Category custom fields with the item values, in display order.","items":{"type":"object","required":["id","label","type","value"],"properties":{"id":{"type":"string","description":"Field identifier."},"label":{"type":"string","description":"Field label."},"type":{"type":"string","enum":["text","number","date","select","link","paragraph","assignable","images","document"]},"value":{"type":["string","number","boolean","array","null"],"items":{"type":"string"},"description":"Field value. Dates as ISO 8601, select fields as an array of option labels, null when empty."}}}},"assignmentHistory":{"type":"array","description":"Past and current assignments, newest first. Only with Owner or Inventory permission; empty otherwise.","items":{"type":"object","properties":{"memberId":{"type":["string","null"]},"member":{"type":["object","null"],"description":"Identity of the member (name and photo). null when it is not a member of the group.","required":["id","displayName"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"displayName":{"type":"string","description":"Display name."},"username":{"type":["string","null"],"description":"Public username. null when not set."},"photoURL":{"type":["string","null"],"description":"Photo URL. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the member main instrument. null when not set."}}},"label":{"type":["string","null"]},"assignedAt":{"type":["string","null"],"format":"date-time"},"returnedAt":{"type":["string","null"],"format":"date-time","description":"When it was returned. null for the current assignment."}}}}}},"Payment":{"type":"object","description":"Group payment (income or expense).","required":["id","type","status","concept","currency","assignedTo","createdAt"],"properties":{"id":{"type":"string","description":"Payment identifier."},"type":{"type":"string","enum":["income","expense"]},"status":{"type":"string","enum":["pending","paid","cancelled"]},"concept":{"type":"string","description":"Payment concept."},"amount":{"type":["number","null"],"description":"Positive total amount; the sign is given by type. null while a pending payout amount is still to be determined."},"baseAmount":{"type":["number","null"],"description":"Amount before event payout rules were applied."},"currency":{"type":"string","description":"ISO 4217 currency code."},"method":{"type":["string","null"],"enum":["cash","transfer",null]},"assignedTo":{"type":"string","description":"Who the payment is for: a member user identifier, the group identifier, or a free-text name (e.g. a supplier)."},"memberId":{"type":["string","null"],"description":"Member the payment was generated for from an event roll-call."},"member":{"type":["object","null"],"description":"Member the payment is for (memberId, or assignedTo when it is a member). null otherwise.","required":["id","displayName"],"properties":{"id":{"type":"string","description":"User identifier of the member."},"displayName":{"type":"string","description":"Display name."},"username":{"type":["string","null"],"description":"Public username. null when not set."},"photoURL":{"type":["string","null"],"description":"Photo URL. null when not set."},"mainInstrumentId":{"type":["string","null"],"description":"Identifier of the member main instrument. null when not set."}}},"eventId":{"type":["string","null"],"description":"Linked event identifier."},"note":{"type":["string","null"],"description":"Internal note. Only with Owner or Billing permission."},"createdAt":{"type":"string","format":"date-time"},"paidAt":{"type":["string","null"],"format":"date-time","description":"When it was marked as paid."},"updatedAt":{"type":"string","format":"date-time"}}},"PaymentSummary":{"type":"object","description":"Payment totals grouped by currency, type and status.","required":["count","currencies"],"properties":{"count":{"type":"integer","description":"Number of matching payments."},"currencies":{"type":"array","items":{"type":"object","required":["currency","totals"],"properties":{"currency":{"type":"string"},"totals":{"type":"array","items":{"type":"object","required":["type","status","count","amount","unknownAmountCount"],"properties":{"type":{"type":"string","enum":["income","expense"]},"status":{"type":"string","enum":["pending","paid","cancelled"]},"count":{"type":"integer"},"amount":{"type":"number","description":"Sum of the known amounts."},"unknownAmountCount":{"type":"integer","description":"Payments whose amount is still to be determined (not included in amount)."}}}}}}}}},"OfferListItem":{"type":"object","description":"Vacancy summary.","required":["id","title","type","instrumentId","status","applicantsCount","createdAt"],"properties":{"id":{"type":"string","description":"Vacancy identifier."},"title":{"type":"string","description":"Vacancy title."},"type":{"type":"string","enum":["group","event"],"description":"group (join the group) or event (play in a specific event)."},"instrumentId":{"type":"string","description":"Requested instrument identifier."},"eventId":{"type":["string","null"],"description":"Event identifier for event vacancies."},"locality":{"type":"string"},"country":{"type":"string"},"status":{"type":"string","enum":["open","closed"]},"deadlineAt":{"type":["string","null"],"format":"date-time","description":"Application deadline."},"selectionClosedAt":{"type":["string","null"],"format":"date-time","description":"When the group closed the selection."},"applicantsCount":{"type":"integer","description":"Number of applicants."},"createdAt":{"type":"string","format":"date-time"}}},"Offer":{"type":"object","description":"Vacancy detail.","required":["id","title","description","status","applicantsCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","description":"Plain-text description."},"status":{"type":"string","enum":["open","closed"]},"timezone":{"type":"string"},"applicantsCount":{"type":"integer"},"myApplication":{"type":["object","null"],"description":"The authenticated member's own application, if any."},"applicants":{"type":"array","description":"Applicants, oldest first. Only with Owner or Offers permission.","items":{"type":"object","properties":{"userId":{"type":"string"},"displayName":{"type":["string","null"]},"message":{"type":["string","null"]},"appliedAt":{"type":["string","null"],"format":"date-time"},"viewedAt":{"type":["string","null"],"format":"date-time"},"selectedAt":{"type":["string","null"],"format":"date-time"},"discardedAt":{"type":["string","null"],"format":"date-time"}}}}}},"CommunicationListItem":{"type":"object","description":"Announcement summary.","required":["id","title","format","createdAt","commentsCount","recipientsCount"],"properties":{"id":{"type":"string","description":"Announcement identifier."},"title":{"type":"string"},"format":{"type":"string","enum":["post","survey"]},"createdAt":{"type":"string","format":"date-time","description":"Publication date."},"createdBy":{"type":"string","description":"Author user (or group) identifier."},"editedAt":{"type":["string","null"],"format":"date-time"},"commentsCount":{"type":"integer"},"recipientsCount":{"type":"integer"},"surveyClosesAt":{"type":["string","null"],"format":"date-time","description":"Survey closing date."}}},"Communication":{"type":"object","description":"Announcement detail with its text and survey.","required":["id","title","format","createdAt"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"format":{"type":"string","enum":["post","survey"]},"message":{"type":["string","null"],"description":"Plain-text body."},"survey":{"type":["object","null"],"description":"Survey questions with the authenticated member's answers. Vote counts per answer only with Owner or Communications permission or when results are visible to everyone.","properties":{"anonymous":{"type":"boolean"},"resultsVisibility":{"type":"string","enum":["admins","everyone"]},"closed":{"type":"boolean"},"responsesCount":{"type":"integer"}}},"stats":{"type":"object","description":"Reach statistics. Only with Owner or Communications permission.","properties":{"recipientsCount":{"type":"integer"},"viewedCount":{"type":"integer"},"reactionsCount":{"type":"integer"}}}}},"RepertoireFolder":{"type":"object","description":"Repertoire folder.","required":["id","title","pieceCount","availability"],"properties":{"id":{"type":"string","description":"Folder identifier."},"title":{"type":"string","description":"Folder name."},"description":{"type":["string","null"],"description":"Folder description."},"pieceCount":{"type":"integer","description":"Number of pieces in the folder."},"availability":{"type":"string","description":"Whether members can see the folder: always, never or in a period."},"availableFrom":{"type":["string","null"],"format":"date-time","description":"Start of the period."},"availableUntil":{"type":["string","null"],"format":"date-time","description":"End of the period."}}},"RepertoireWriteResult":{"type":"object","required":[],"properties":{"repertoireIds":{"type":"array","items":{"type":"string"},"description":"Pieces created, changed or deleted"},"dryRun":{"type":"boolean","description":"True when nothing was applied"},"preview":{"type":"object","additionalProperties":true,"description":"What the change would do (dry run only); deleting tells the events, files and folders of the piece"}}},"EventWriteResult":{"type":"object","required":[],"properties":{"eventIds":{"type":"array","items":{"type":"string"},"description":"Events changed (several for a series)"},"addedIds":{"type":"array","items":{"type":"string"},"description":"Members added to some event"},"removedIds":{"type":"array","items":{"type":"string"},"description":"Members removed from some event"},"dryRun":{"type":"boolean","description":"True when nothing was applied"},"preview":{"type":"object","additionalProperties":true,"description":"What the change would do (dry run only)"}}},"Error":{"type":"object","description":"Standard error envelope returned for any non-2xx response.","required":["error","requestId"],"properties":{"error":{"type":"object","description":"Error details.","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code."},"message":{"type":"string","description":"Human-readable error message."},"details":{"description":"Optional additional error context."}}},"requestId":{"type":"string","description":"Request identifier, useful for support and tracing."}}}}}}