Skip to main content
GET
Download a file or a folder of a snapshot

Authorizations

Authorization
string
header
required

An API key that starts with vms_. Make one in Settings > API keys.

Path Parameters

id
string
required

The ID of the snapshot.

Example:

"snp_06d8k3m7q2v9x4b1n5c0e8f2ja"

Query Parameters

path
string
required

The absolute path of a file or a folder.

Required string length: 1 - 4096
Pattern: ^\/
Example:

"/home/user/app/index.ts"

Response

The content of the file, or a tar of the folder.

The response is of type file.