Upload the resource file and import the file contents into the LingoHub project.
- account (username of project owner)
- project (project url, e.g. “Sample Project” -> “sample-project”)
- auth_token (or user credentials)
- file [raw]
- Specific Import Settings
- path (the path information as stored on Lingohub, if a file with the same filename is imported from different path locations, eg. via repository import)
The “Specific Import Settings” will overwrite your project import settings. Each parameter overwrites a setting of your Import Settings just for this API call and won’t change your saved project import settings.
Parameters starting with “source:” will be used if you upload a file that belongs to the source language of your project. The Parameters that start with “target:” apply if you are uploading a file that belongs to any of your target languages of your project.