List chatmessages
The messages kept in a chat, including those held for moderation (state pending) and system messages. Every message is returned whichever group conversation it belongs to, so this is a moderator's view: it requires chat/moderate on the activity. A message has no edit time, so updated_at is the time it was sent, and messages older than the chat's retention are removed by the chat itself. Filter by activity_id, course_id, group_id or user_id. Reactions and flags are not served. Hard deletions have no feed.
Quire permissions
Required capability: chat/moderate.
Credential scopes: submissions:read.
The acting subject must also be allowed to perform this action in the organisation.
https://your-organisation.quirelms.com/api/v1/chat_messagesAuthorisation
Query parameters
- updated_sinceoptionalstring
Only rows changed at or after this instant, sorted by updated_at then id. At most 90 days ago; a sync older than that has to start again from the beginning.
format: date-time, pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Header parameters
Returns
401
The credential is missing, malformed, expired or revoked.
403
The credential lacks the scope this operation requires, or the acting subject lacks the capability.
422
The request was understood and its content is not valid. errors names each field.
429
A rate limit or a concurrency cap was reached. Retry-After says when to try again.
500
Something failed at our end. Quote request_id when reporting it.