List Translations
Changed onRetrieve a list of translation files in a workspace. By default, returns draft translations. Use the mode query parameter to filter by draft or live translations.
get/v1/{workspace}/translation/
Request
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Workspace slug (staging, production, etc.)
Query parameters
mode'draft' | 'live'
Mode to filter translations (draft or live). By default, draft translations are returned.
limitinteger
Maximum number of results per page
Example:10
offsetinteger
Number of results to skip
Response
Successfully retrieved list of translations
Example response
{
"results": [
{
"filename": "en.json",
"locale": "en",
"locale_name": "English",
"namespace": "task",
"action": "added"
}
]
}Changes
- breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response404
- breaking