Retrieve answers for a question
Retrieve answers for a question
Path Parameters
- id number required
Responses
- 200
Returns an array of answers.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id number
- questionId number
- answerText string
- correct number
- ]
[
{
"id": 0,
"questionId": 0,
"answerText": "string",
"correct": 0
}
]
GET /api/v1/answer/question/:id
Authorization
name: Authorizationtype: apiKeyin: headerdescription: The API-Key value needs to prefixed with "Api-Key" and a space. Example: "Api-Key 1234567890"
Request
Request
curl / cURL
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
csharp / RestSharp
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://app.quizolai.de/api/v1/answer/question/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'