Skip to content

Upload file

GET /container/<containerId>/file/<fileId>

Description

Download a file. For file info, see the Query file section.

Path parameters

Param Description
containerId Container Id.
fileId File Id.

Query parameters

none

Body

none

Return codes

Error code Reason
200 Success.
401 Invalid or missing token.
403 Insufficient permissions (required: API+READ).
404 Container or file not found.

Example

Curl request:

curl \
    -X GET 'https://api.infrasonar.com/container/123/file' \
    -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

Returns with the raw file