Admin Settings: Locales
List locales
Paginated, filterable, sortable list of locales. Returns the standard { data, meta } admin envelope.
get/settings/locales
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Page number (1-based).
per_pageinteger
Example:10
Items per page (default 10, max 50).
idstring
Example:1
Filter by id (exact). Accepts a single id or a comma-separated list, e.g. 1,10,35.
codestring
Example:en
Filter by code (partial match).
namestring
Example:Eng
Filter by name (partial match).
direction'ltr' | 'rtl'
Filter by direction (ltr/rtl).
sort'id' | 'code' | 'name'
Example:id
Sort column.
order'asc' | 'desc'
Example:asc
Sort direction.
Response
Paginated list in the { data, meta } envelope.
Changes
No recorded changes to this operation across all 8 revisions of this API.