Session ratings
Session ratings: available fields, filters, associations, and API operations.
Path: events/{event_id}/session-ratings
Methods: GET collection/record, POST, PATCH. There is no DELETE operation.
GET
- Fields:
event-id,session-id,registrant-id,score,comment,skipped,created-at,updated-at. - Filters:
simple_rateable_id(the session ID),registrant_id,score,created_from,created_to. - Associations: none.
GET .../session-ratings?simple_rateable_id=5501
POST inputs: simple_rateable_id, registrant_id, score, comment.
{
"simple_rateable_id": 5501,
"registrant_id": 1201,
"score": 4,
"comment": "Good session"
}
The session and registrant must belong to the event, and the registrant must have an associated Brella user. POST is an upsert for the session and registrant pair. A score of 0 means skipped. PATCH accepts score and comment; the session and registrant cannot be changed.