This call will return the details of an import job.
Note that when you import a file from your volume on your cloud storage provider (Amazon Web Services or Google Cloud Storage), you are creating an alias on the Platform which points to the file in your cloud storage bucket. Aliases appear as files on the Platform and can be copied, executed, and modified as such. They refer back to the respective file on the given volume.
Learn more about using the Volumes API for Amazon S3 and for Google Cloud Storage.
If you are using Seven Bridges Platform EU, please use the following endpoint:
https://eu-api.sbgenomics.com/v2/storage/imports/{import_id}
Response
Response body
The response object contains information about the status of the import job. The information is structured using the following key-value pairs:
Key | Data type of value | Description of value |
---|---|---|
id | String | ID of this import job |
state | String | The state of this import job. Possible values are:PENDING : the import is queued;RUNNING : the import is running;COMPLETED : the import has completed successfully;FAILED : the import has failed. |
source | Object | Import source, as passed when this job was started by the call to start an import job. |
destination | Object | Import destination, as passed when this job was started by the call to start an import job. |
result | Object | File object that was imported. |
error | Object | In case of error in the import job, standard API error is returned here. |