List Modes
Retrieves all modes (themes/variations) for a specific tokenset.Endpoint
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
Response
Status:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
modes | array | Array of mode objects |
total | number | Total number of modes |
Mode Object
| Field | Type | Description |
|---|---|---|
id | string | Unique mode identifier |
tokenset_id | string | Parent tokenset ID |
name | string | Mode name (e.g., “Light”, “Dark”) |
is_default | boolean | Whether this is the default mode |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |