Repo Syncs
Export to code repository
Export translations from Phrase Strings to repository provider according to the .phrase.yml file within the code repository.
Export is done asynchronously and may take several seconds depending on the project size.
post/accounts/{account_id}/repo_syncs/{id}/export
Request
- Base URLhttps://eu.phrase.com/control-hub
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Account ID
idstring required
ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"pr_branch": "my-feature-branch",
"branch": "my-strings-branch"
}Response
OK
Example response
{
"type": "import",
"created_at": "2015-01-28T09:52:53Z",
"status": "failure",
"auto_import": true,
"errors": [
"Error message 1",
"Error message 2"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.