Skip to main content
POST
/
v1
/
projects
/
{projectID}
/
disks
/
{diskName}
/
createLink
Create link for file in FileBrowser
curl --request POST \
  --url https://{filebrowser-url}/v1/projects/{projectID}/disks/{diskName}/createLink \
  --header 'Authorization: <api-key>'
{
  "queries": {
    "path": "<string>",
    "type": "<string>",
    "token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

projectID
string
required

The id of your project

diskName
string
required

The name of your disk

Query Parameters

path
string
required

The path of your disk

type
string

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

expire
string

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

Response

Successful operation

queries
object