List menu languages
get
https://api.flactrum.com/v1/languages
These are the codes accepted by ?lang= and by the translations field on write endpoints.
| Required scope | languages.read |
| Panel screen | Menu & products → Languages & translations |
| Success status | 200 |
| Returns | A paginated list of Language objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| default | query | boolean | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| active | query | boolean | Filter by active flag. Omit to get both. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| code | string | — |
| name | string | — |
| is_default | boolean | The default language stores its text on the record itself, not as a translation. |
| is_active | boolean | — |
| sort_order | integer | — |
Examples
No recorded example yet.