Endpoint

/v1/files/resolve

POST

Return the full paths for each specified file ID. If a file has more than one path (due to hard links) a canonical path is chosen.

Parameters

Name Description Required
snapshot The snapshot ID that specifies the version of the filesystem to use. If not specified, use the head version. No

Request

Schema

{
  "type": "array",
  "items": {
    "type": "string"
  }
}

Response

Codes

Code Description
200 Return value on success

Schema

{
  "type": "array",
  "items": {
    "description": "fs_api_file_id_path",
    "type": "object",
    "properties": {
      "id": {
        "description": "Unique ID of this file or directory",
        "type": "string"
      },
      "path": {
        "description": "Full path of this file or directory",
        "type": "string"
      }
    }
  }
}