Xsolla-logoXsolla Developers
or
To Publisher Account

Get list of daily rewardsServer-sideAdmin

get/v2/project/{project_id}/admin/daily_chain

Gets a list of daily rewards for administration.

Notice

A method returns a paginated list of items. The maximum and default value is 50 items per response. To get more items from the list, use the `limit` and `offset` parameters and fetch more pages. For example, when calling a method with `limit = 25` and `offset = 100`, the response returns 25 items starting from the 101st item in the overall list.
SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
query Parameters
limit
integer >= 1

Limit for the number of elements on the page.

Example: limit=50
offset
integer >= 0

Number of the element from which the list is generated (the count starts from 0).

Example: offset=0
enabled
integer

Filter elements by is_enabled flag.

is_expired
integer

Filter daily rewards to show only expired ones.

Responses
200

The list of daily rewards was successfully retrieved.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

Request samples
Response samples
application/json
{
  • "has_more": false,
  • "total_items_count": 3,
  • "items": [
    ]
}