Batch Requests
Request format
Batch request example
{
"requests": [
{
"operation_id": "get_popular_events",
"name": "1",
"params": {
"count": "10",
"filters": "sport:eq:Soccer"
}
},
{
"operation_id": "get_trending_events",
"name": "2",
"params": {
"to_offset": "10h",
"count": "5"
}
}
]
}Response format
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
x-vaix-client-idstringRequired
Custom client header, the value should be the name of the group the user belongs to
x-vaix-authentication-methodstringOptional
Authentication method to be used, supported values [vaix, iam]. Defaults to vaix
Body
API response
Responses
200
OK
application/json
API response
statusstring · enumOptionalPossible values:
The status of the request
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
406
Not Acceptable
application/json
413
Request Entity Too Large
application/json
422
Unprocessable Entity
application/json
425
Too Early
application/json
500
Internal Server Error
application/json
post
/api/batchLast updated
Was this helpful?