curl https://api.getversive.com/api/v1/studies/9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b/question-quotas \
-H "Authorization: Bearer $VERSIVE_API_KEY"
[
{
"question_id": "3f1c2a9e-8d4b-4c7a-9e21-5b6d7c8e9f01",
"buckets": [
{ "kind": "choice", "match": "equals", "value": "iPhone", "limit": 25 },
{ "kind": "choice", "match": "equals", "value": "Android", "limit": 25 }
]
}
]
Quotas
List question quotas
Every question in a study that has quota buckets
GET
/
studies
/
{id}
/
question-quotas
curl https://api.getversive.com/api/v1/studies/9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b/question-quotas \
-H "Authorization: Bearer $VERSIVE_API_KEY"
[
{
"question_id": "3f1c2a9e-8d4b-4c7a-9e21-5b6d7c8e9f01",
"buckets": [
{ "kind": "choice", "match": "equals", "value": "iPhone", "limit": 25 },
{ "kind": "choice", "match": "equals", "value": "Android", "limit": 25 }
]
}
]
Lists the question quotas of a study, grouped by question. Questions without quotas are omitted. To read one question, use
GET /studies/{id}/questions/{question_id}/quotas, which returns a single entry (with an empty buckets list when the question has none).
string
required
The study ID.
Response
An array of:string
The Multiple Choice question.
array
The question’s quota buckets, each
{ kind, match, value, limit }. kind is always choice; match is equals or includes; value is the option text in the study’s default language.curl https://api.getversive.com/api/v1/studies/9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b/question-quotas \
-H "Authorization: Bearer $VERSIVE_API_KEY"
[
{
"question_id": "3f1c2a9e-8d4b-4c7a-9e21-5b6d7c8e9f01",
"buckets": [
{ "kind": "choice", "match": "equals", "value": "iPhone", "limit": 25 },
{ "kind": "choice", "match": "equals", "value": "Android", "limit": 25 }
]
}
]