githubEdit

File

Get details about a file

get
Path parameters
idintegerRequired

File ID

Responses
get
/file/{id}

Get all deals that have been made for a file

get
Path parameters
idintegerRequired

File ID

Responses
get
/file/{id}/deals

prepare job for a given item

post
Path parameters
idintegerRequired

File ID

Responses
post
/file/{id}/prepare_to_pack

Get content of a file

get
Path parameters
idintegerRequired

File ID

Header parameters
RangestringOptional

HTTP Range Header

Responses
get
/file/{id}/retrieve

Push a file to be queued

post

Tells Singularity that something is ready to be grabbed for data preparation

Path parameters
idstringRequired

Preparation ID or name

namestringRequired

Source storage ID or name

Body
pathstringOptional

Path to the new file, relative to the source

Responses
post
/preparation/{id}/source/{name}/file

Last updated

Was this helpful?