Survey aggregation
GET
/manage/events/:eventId/question-aggregationReturn aggregated answer counts for choice questions. Requires the questionsRead permission.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Response
| Field | Type | Description |
|---|---|---|
aggregations | object[] | Aggregation result per question. |
Request
curl https://api.4s.link/manage/events/EVENT_ID/question-aggregation \-H "Authorization: Bearer 4s_at_..."
Example response
{"aggregations": [{"questionId": "q2b3c4d5-...","title": "どこで知りましたか","counts": [{ "optionId": "o1", "label": "SNS", "count": 42 }]}]}