List folder contents

files/{folder_id}/list

This call lists the contents of the specified folder.

https://cavatica-api.sbgenomics.com/v2/files/{folder_id}/list

Request

Example request

GET /v2/files/567890abc9b0307bc0414164/list HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
Content-Type: application/json
curl -X GET -H "X-SBG-Auth-Token: 1e43fEXampLEa5523dfd14exAMPle3e5" -H "Content-Type: application/json" "http://cavatica-api.sbgenomics.com/v2/files/567890abc9b0307bc0414164/list"

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your Seven Bridges Platform 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/v2/files/567890abc9b0307bc0414164/list?offset=0&limit=5",
  "items": [
    {
      "href": "https://cavatica-api.sbgenomics.com/v2/files/567890abc8a5639cc6722063",
      "id": "567890abc8a5639cc6722063",
      "name": "folder-name-1",
      "project": "rfranklin/my-project",
      "parent": "567890abc9b0307bc0414164",
      "type": "FOLDER"
    },
    {
      "href": "https://cavatica-api.sbgenomics.com/v2/files/567890abc4f3066bc3750174",
      "id": "567890abc4f3066bc3750174",
      "name": "file-name-1",
      "project": "rfranklin/my-project",
      "parent": "567890abc9b0307bc0414164",
      "type": "FILE"
    },
Language