Rollback Translation
Changed onRollback translations to a previous version. This will replace all files with what was available at the previous version.
post/v1/{workspace}/translation/version/{version_no}/rollback/
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.)
version_nointeger required
Version number to rollback to
Response
Details of available translation files after rollback.
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
removed the success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking