curl --request GET \
--url https://api.example.com/polls \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"title": "<string>",
"description": "<string>",
"reward_enabled": true,
"reward_amount_kopeks": 123,
"reward_amount_rubles": 123,
"questions_count": 123,
"responses_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Получение списка опросов.
curl --request GET \
--url https://api.example.com/polls \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"title": "<string>",
"description": "<string>",
"reward_enabled": true,
"reward_amount_kopeks": 123,
"reward_amount_rubles": 123,
"questions_count": 123,
"responses_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}1 <= x <= 200x >= 0