Commit Translation
Changed onCommit all files changes to make them live.
patch/v1/{workspace}/translation/commit/
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
commit_messagestring
Commit message describing the changes
Response
Translations committed successfully
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