Xsolla-logo

Get list of catalog filter rules

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.

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 <username>:<password> \
  '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
}