List import jobs

This call lists export jobs initiated by particular user.

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.

https://cavatica-api.sbgenomics.com/v2/storage/imports

Request

Example request

GET /v2/storage/imports HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
Content-type: application/json
curl -s -H "X-SBG-Auth-Token: 7942f56901534434a054dafc3813bc96" -H "Content-Type: application/json" -X GET "https://cavatica-api.sbgenomics.com/v2/storage/imports"

Header Fields

KeyDescription of value
X-SBG-Auth-Token
required
Your CAVATICA authentication token.
Content-type
required
application/json

Response

See a list of CAVATICA-specific response codes that may be contained in the body of the response.

Example response body

{
  "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports?offset=0&limit=25",
  "items": [
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/yrand0mrmxx4Zjr1u781HJaBGOhx02sd",
      "id": "yrand0mrmxx4Zjr1u781HJaBGOhx02sd",
      "state": "FAILED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/5rand0mXYcDQ3xtSHrKuK2jXNDtJhMBN",
      "id": "5rand0mXYcDQ3xtSHrKuK2jXNDtJhMBN",
      "state": "FAILED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/Urand0mpTzbRnFvf1X7AtTYgQgky9029",
      "id": "Urand0mpTzbRnFvf1X7AtTYgQgky9029",
      "state": "COMPLETED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/prand0mBrcK8tVRZJeQXs87mh6sH43tM",
      "id": "prand0mBrcK8tVRZJeQXs87mh6sH43tM",
      "state": "FAILED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/trand0mgPWZbeXxtADETWtFkrE87JBSd",
      "id": "trand0mgPWZbeXxtADETWtFkrE87JBSd",
      "state": "FAILED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/prand0mBrcK8tVRZJeQXs87mh6sH43tM",
      "id": "CBp8fcTwdtIgFV4zPFcoWEmpBBd2A6h3",
      "state": "COMPLETED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/crand0mKvetGpxIjo088DnMXEg0t6srX",
      "id": "crand0mKvetGpxIjo088DnMXEg0t6srX",
      "state": "COMPLETED"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com.sbgenomics.com/v2/storage/imports/arand0mgUhk2SpByRg5SPZqTLOEYqG8o",
      "id": "arand0mgUhk2SpByRg5SPZqTLOEYqG8o",
      "state": "FAILED"
    }
  ],
  "links": []
}
Language