user
Get RAP for a single user (by user_id
or username
).
Query Param | Type | Required | Description |
---|---|---|---|
mode | string | yes | Use user |
user_id | int | one of | User ID to look up |
username | string | one of | Username to look up (exact match) |
pretty | 0/1 | no | Pretty‑print JSON |
list
List users with username, bio, avatar URL, Cubx, and RAP. Paginated.
Query Param | Type | Required | Description |
---|---|---|---|
mode | string | yes | Use list |
page | int | no | Page number (default 1) |
per_page | int | no | Items per page (default 50, max 250) |
sort | enum | no | rap_desc (default), rap_asc , id_asc , id_desc |
pretty | 0/1 | no | Pretty‑print JSON |
user
— 200 OKlist
— 200 OKReturns items from the catalog with filters and pagination. For limited items, extra fields are included (RAP, original price, stock, current price) and owners are listed from user_inventory
.
Param | Type | Required | Description |
---|---|---|---|
status | enum | no | Filter by item status: limited , featured , normal , all (default all ). |
page | int | no | Page number (default 1 ). |
per_page | int | no | Items per page (default 50 , max 100 ). |
sort | enum | no | created_desc (default), price_desc , price_asc , rap_desc , rap_asc .RAP sorts only apply to limited items; others are ranked last. |
search | string | no | Substring match on item name. |
category | string | no | Exact category match (e.g., hat , glasses ). |
creator_id | int | no | Filter by creator user ID. |
pretty | 0/1 | no | Pretty‑print JSON output. |
limited
= items.is_limited=1
. featured
= is_featured=1 AND is_limited=0
. normal
= neither featured nor limited.rap
, original_price
, stock
(NULL = unlimited, 0 = sold out), and current_price
(from items.price
).user_inventory
(auto‑detects price column among last_sale_price
, price_paid
, purchase_price
, price
).user_inventory
→ users
. Includes owners_count
and an array of { user_id, username }
.rap_*
sorts push non‑limited items to the bottom.