Publish translations to given environment
Changed onThe endpoint is used for publishing translations for given environment.
- By default, every project has two Translation Hosting environments (_latest and _production) and Translation Editor environment.
- Publication always (if not specified differently in the project settings) happens from the Translation Editor environment to the _latest environment, and then to the _production environment.
- There is no way to change this flow other than creating a custom environment in the project settings.
- In order to publish translations to the Production environment, you need use _production as 'environmentKey' parameter.
- In order to publish translations to the Latest environment, you need use _latest as environmentKey parameter.
- In order to publish translations to the custom environment, you need use your custom environment key as environmentKey parameter.
- Labels can be specified only for the Latest environment.
Request
- Base URLhttps://api.simplelocalize.io
- AuthAPI key in header X-SimpleLocalize-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
OK
Changes
- info
added optional request body
- info
- warning
deleted the
headerrequest parameterX-SimpleLocalize-Token - info
the endpoint scheme security
Project API Keywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning