curl --request GET \
--url https://api.example.com/polls/{poll_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"title": "<string>",
"description": "<string>",
"reward_enabled": true,
"reward_amount_kopeks": 123,
"reward_amount_rubles": 123,
"questions": [
{
"id": 123,
"text": "<string>",
"order": 123,
"options": [
{
"id": 123,
"text": "<string>",
"order": 123
}
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Получение опроса по идентификатору.
curl --request GET \
--url https://api.example.com/polls/{poll_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"title": "<string>",
"description": "<string>",
"reward_enabled": true,
"reward_amount_kopeks": 123,
"reward_amount_rubles": 123,
"questions": [
{
"id": 123,
"text": "<string>",
"order": 123,
"options": [
{
"id": 123,
"text": "<string>",
"order": 123
}
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Successful Response
Show child attributes