Meeting hidden-at batches
Hide or unhide many meetings of an event in one request.
POST a list of meeting IDs to hide or unhide them all at once. Hiding works as described in hide or unhide a meeting: the meetings leave the attendee and sponsor apps without other changes, and unhiding restores them.
Path: events/{event_id}/meeting-hidden-at-batches
Method: POST. Nothing is stored, so a collection GET always returns an empty list.
Send the request
{
"meeting_ids": [6001, 6002],
"hidden_at": "now"
}
View the complete cURL example
curl --fail-with-body --silent --show-error --globoff --max-time 30 --request POST \
--url "${BRELLA_API_BASE_URL}"'/api/core/organizations/123/events/456/meeting-hidden-at-batches' \
--header "Accept: application/vnd.brella.v4+json" \
--header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--data-raw '{
"meeting_ids": [
6001,
6002
],
"hidden_at": "now"
}'"hidden_at": "now"hides the meetings.nullor the string"null"unhides them. A meeting that is already hidden keeps its original time.meeting_idstakes up to 5,000 IDs, as numbers or strings.- An invalid request returns 400 and changes nothing: a missing input, an empty
meeting_ids, an item that is not an ID, more than 5,000 IDs, or ahidden_atother than"now",nullor"null".
Read the result
A valid request returns 201, also when some or all IDs are rejected. data.id is null.
{
"data": {
"id": null,
"type": "meeting-hidden-at-batch",
"attributes": {
"updated-meeting-ids": ["6001"],
"errors": [
{ "id": "6002", "code": "meeting_not_found", "title": "Meeting not found" }
]
}
}
}
updated-meeting-idslists every meeting found, as strings, including meetings that already had the requested state.errorshas onemeeting_not_foundentry for each ID that is not a meeting this scope can change, such as a meeting of another event. Those meetings are not changed.- Select
updated_meeting_idsanderrorsin the scope’s write-response fields to receive them.
Scope
This resource has its own scope. A scope on meetings gives no access to it.
- Grant Write with the create action, and map
meeting_idsandhidden_atin the write fields. - To limit a sponsor’s token to its own meetings, set the
sponsorrow restriction on this scope. A restriction on themeetingsscope does not apply here. IDs outside the restriction are reported asmeeting_not_found.
Write inputs
2 inputs. Expand a field for its request type and update behavior. These are the example request keys; your administrator can configure aliases.
meeting_idsArray of scalar IDs
- POST
- Required
- PATCH
- Not supported
Meetings of this event, as numbers or strings. At most 5,000 after duplicates are removed. An empty array or an item that is not an ID returns 400.
hidden_atScalar string or `null`
- POST
- Required
- PATCH
- Not supported
"now" hides the meetings and null or "null" unhides them. A meeting that is already hidden keeps its original time. Any other value returns 400.