Surveys
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
onlystringOptionalExample:
Data parameter determine which fields of the survey will be returned
id,namehydratestringOptionalExample:
Data parameter determine which relations of the survey will be returned
translationResponses
200
OK
application/json
get
/surveys200
OK
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringOptional
descriptionstringOptional
base_languagestringOptional
colorstring · nullableOptional
require_approvalbooleanOptional
everyone_can_createbooleanOptional
translationsobjectOptional
Responses
201
Created
application/json
422
Unprocessable Entity
application/json
post
/surveysAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
hydratestringOptionalExample:
Data parameter determine which relations of the survey will be returned
translationsonlystringOptionalExample:
Data parameter determine which fields of the survey will be returned
id,nameResponses
200
OK
application/json
404
Not Found
application/json
get
/surveys/100