Upload resource file

Uploads a single resource file to the specified project. The file's language is detected automatically from the file name, or can be explicitly set via the iso2_slug/iso2_code parameter. Import behavior for source and target languages (create new segments, update existing, deactivate missing) can be controlled through optional parameters. If the upload might cause a file name collision, set force=true to proceed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

workspaceUrl

string
required

projectUrl

Query Params
string

Path the resource container (file) will be uploaded to

string

The iso code of the resource file locale. Overrides the language information that might be given in the path. Alias of 'iso2_code'.

string

The iso code of the resource file locale. Overrides the language information that might be given in the path. Alias of 'iso2_slug'.

boolean

If this file belongs to the source language: If new segments should be created

boolean

If this file belongs to the source language: If changed segments should be updated

boolean

If this file belongs to the source language: If removed segments should be deactivated

boolean

If this file belongs to the target language: If new segments should be created

boolean

If this file belongs to the target language: If changed segments should be updated

boolean

If this file belongs to the target language: If removed segments should be deactivated

boolean
Defaults to false

Force the upload. Override potential security measures, eg. a collision between file names

Body Params
file
required

File that will be uploaded

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json