Re-import remote file targets to selected jobs
Re-imports the target file of the selected jobs from the connector/online-repository they originally came from.
Jobs are silently skipped and omitted from the response in any of these cases:
- The job was not sourced from a connector/online-repository (no remote file).
- The job’s connector type does not support target reimport — currently only
PHRASE. Jobs sourced from other connector types (e.g. GitHub, GitLab, Sitecore, WordPress, Git) are always skipped. - The job was never exported to the online repository — a prior successful export is required before its target can be re-imported.
Response: jobs contains only the subset of the requested jobs that were actually re-imported —
it is not an echo of the request. Jobs skipped for any of the reasons above are omitted without any error
being raised.
Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Path Parameters
Body
Jobs to re-import the target file for. Must be UIDs of jobs already sourced from a
configured connector/online-repository, previously exported to it, and whose connector type supports target
reimport (currently only PHRASE). Jobs from other connector types, or jobs never exported, are silently
omitted from the response. 1 to 1000 jobs.
1 - 1000 elementsResponse
successful operation
References to the jobs that were actually re-imported — the subset of the requested jobs that succeeded, not an echo of the request. Jobs with no connector/online-repository source are omitted here without any error being raised.