curl --request GET \
--url https://api.example.com/contests/referral/{contest_id}/events \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"contest_id": 123,
"referrer": {
"id": 123,
"telegram_id": 123,
"username": "<string>",
"full_name": "<string>"
},
"referral": {
"id": 123,
"telegram_id": 123,
"username": "<string>",
"full_name": "<string>"
},
"event_type": "<string>",
"amount_kopeks": 123,
"amount_rubles": 123,
"occurred_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Получение списка событий реферального конкурса.
curl --request GET \
--url https://api.example.com/contests/referral/{contest_id}/events \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"contest_id": 123,
"referrer": {
"id": 123,
"telegram_id": 123,
"username": "<string>",
"full_name": "<string>"
},
"referral": {
"id": 123,
"telegram_id": 123,
"username": "<string>",
"full_name": "<string>"
},
"event_type": "<string>",
"amount_kopeks": 123,
"amount_rubles": 123,
"occurred_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}1 <= x <= 200x >= 0