v1

latestOpenAPI 3.0.12026-08-064517.0 KB
Upload API

Upload translations for a language

post/v1/projects/{project_id}/files/upload

Path parameters

project_idstring required

Project ID - Can be found on 'My projects' page

Query parameters

branchstring

Name of the branch to upload file into. Only in case of activated branching feature.

lang_codestring required

Language to upload, specified as language code. e.g. en, en_GB or en-GB

overwriteboolean

If translation in given language should be overwritten with modified translation from uploading file.

reviewedboolean

If uploading translations, that are added, should be marked as Reviewed. For uploading translations that are only modified it will have effect only if overwrite is set to true.

tag_addedstring[]

Optional list of tags to add to new translations from uploading file. <br><br>Multiple tags can be defined in a following way: &tag_added_keys=NEW&tag_added_keys=NEW_SPRINT05

tag_updatedstring[]

Optional list of tags to add to updated translations from uploading file. <br><br>Multiple tags can be defined in a following way: &tag_updated_keys=UPDATED&tag_updated_keys=UPDATED_SPRINT05

tag_removedstring[]

Optional list of tags to add to removed translations from uploading file. <br><br>Multiple tags can be defined in a following way: &tag_removed_keys=REMOVED&tag_removed_keys=REMOVED_SPRINT05

Response

OK, file uploaded

All 4 operations