Disks

Create link for file in FileBrowser

Changed on
post/v1/projects/{projectID}/disks/{diskName}/createLink

Request

  • Base URL
    https://Example
  • URL
    https://Example/v1/projects/{projectID}/disks/{diskName}/createLink
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

projectIDstring required

The id of your project

diskNamestring required

The name of your disk

Query parameters

pathstring required

The path of your disk

typestring

The type of your request. valid values:["preview", "download"]

expirestring

The expire of your link. valid values:["1h", "6h", "1d", "3d", "7d"]

Response

Successful operation

Changes