For the complete documentation index, see llms.txt. This page is also available as Markdown.

Files

File actions

List files or download as zip file

get

List or download files from Environment or Enclave

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

Query parameters
nameanyOptional

Set to provide custom zip file name

Responses
200Success
statusCodeintegerOptionalExample: 500
successbooleanOptionalExample: false
messageanyOptionalExample: List failure
eventstring · enumOptionalPossible values:
itemsarrayOptional
get/v1/transfer/resources/{id}

Copy files

post

Copy files between Environments and Enclaves

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

Body
actionstring · enumOptional

Type of transfer

Possible values:
sourceIdstringOptional

The source Resource Id

sourceNamestringOptional

The source Resource Id

sourceTypestring · enumOptional

The source Resource Type

Possible values:
targetIdstringOptional

The target Resource Id

targetTypestring · enumOptional

The target Resource Type

Possible values:
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Copy success
eventstring · enumOptionalPossible values:
itemsarrayOptional
post/v1/transfer/resources/{id}

Delete all files

delete

Delete an Environment or Enclave file

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Files delete success
eventstring · enumOptionalPossible values:
itemsarrayOptional
delete/v1/transfer/resources/{id}

Download file

get

Download a file from Environment or Enclave

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

nameanyRequired

The Resource name

Responses
200

Stream file content. Sets response Content-Disposition to attachment and MIME type from file.

No content

get/v1/transfer/resources/{id}/{name}

No content

Upload a file

put

Upload a file to an Environment or Enclave

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

nameanyRequired

The Resource name

Body
filesizestringRequired

File content size

filetypestringRequired

File MIME type

filestorestring · enumOptional

File storage Type

Possible values:
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: File upload success
eventstring · enumOptionalPossible values:
itemsarrayOptional
put/v1/transfer/resources/{id}/{name}

Delete a file

delete

Delete an Environment or Enclave file

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idanyRequired

The Resource Id

nameanyRequired

The Resource name

Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: File delete success
eventstring · enumOptionalPossible values:
itemsarrayOptional
delete/v1/transfer/resources/{id}/{name}

Last updated

Was this helpful?