Xsolla-logoXsolla Developers
or
To Publisher Account

Get list of catalog filter rulesServer-sideAdmin

get/v2/project/{project_id}/admin/user/attribute/rule

Gets all rules applying to user attributes.

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

Limit for the number of elements on the page.

Example: limit=50
offset
integer

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

Example: offset=0
is_enabled
integer

Filter elements by is_enabled flag.

Responses
200

Rules were successfully received.

401

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

403

Authorization header not sent.

Request samples
curl -i -X GET \
  -u <merchant_id_or_project_id>:<api_key> \
  'https://store.xsolla.com/api/v2/project/{project_id}/admin/user/attribute/rule?limit=50&offset=0&is_enabled=0'
Response samples
application/json
{
  • "items": [
    ],
  • "total_items_count": 20,
  • "has_more": true
}