Endpoints to Download and Modify Files

post

Returns an asset's file list.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

Body
pathstringOptional

Returns the list of files in this path. Use either this key or "filters", but not both together.

Example: /documentation
filtersobjectOptional

Possible filters that can be applied to the request. Use either this key or "path", but not both together.

Example: '{'and' : [{'size' :{'>' : 0}}, {'fileExt' : '.txt'}]}'
Responses
chevron-right
200

OK

application/json
post
/files/{assetId}
get

Returns the specified file. If filePath does not represent a file, it returns the list of files at that location.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

Path of the desired file, it includes the file name.

Example: /rawData/aggr_2m/123_124.npz
Responses
chevron-right
200

OK

application/octect-stream
Responsestring · binary
get
/files/{assetId}/{filePath}
put

Updates the specified file. If it doesn't exists, it creates it.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

Path of the desired file, it includes the file name.

Example: /rawData/aggr_2m/123_124.npz
Body
objectOptional
Responses
put
/files/{assetId}/{filePath}
delete

Deletes the specified file.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

Path of the desired file, it includes the file name.

Example: /rawData/aggr_2m/123_124.npz
Responses
delete
/files/{assetId}/{filePath}

No content

post

Returns the list of all configuration files both globals and specific for every project asset.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Query parameters
filterstringOptional

Filtro basato sui campi supportati.

orderbooleanOptional

Sort based on supported fields - see order syntax for more details. (name, path, type, size, timestamp, created, updated)

Body
pathstringOptional

Returns the list of files in this path. Use either this key or "filters", but not both together.

Example: /documentation
filtersobjectOptional

Possible filters that can be applied to the request. Use either this key or "path", but not both together.

Example: '{'and' : [{'size' :{'>' : 0}}, {'fileExt' : '.txt'}]}'
Responses
chevron-right
200

OK

application/json
post
/configs/globals
get

Returns the specified configuration file.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
filePathstringRequired

Path of the desired file, it includes the file name.

Example: /rawData/aggr_2m/123_124.npz
Responses
chevron-right
200

OK

application/json
Responseany of
objectOptional
or
arrayOptional
get
/configs/globals/{filePath}
200

OK

post

This resource returns the list of all configuration files for the specified asset. Global configuration files are not included.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

Query parameters
filterstringOptional

Filtro basato sui campi supportati.

orderbooleanOptional

Sort based on supported fields - see order syntax for more details. (name, path, type, size, timestamp, created, updated)

Body
pathstringOptional

Returns the list of files in this path. Use either this key or "filters", but not both together.

Example: /documentation
filtersobjectOptional

Possible filters that can be applied to the request. Use either this key or "path", but not both together.

Example: '{'and' : [{'size' :{'>' : 0}}, {'fileExt' : '.txt'}]}'
Responses
chevron-right
200

OK

application/json
post
/configs/{assetId}
get

Returns the specified configuration file.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

Path of the desired file, it includes the file name.

Example: /rawData/aggr_2m/123_124.npz
Responses
chevron-right
200

OK

application/json
get
/configs/{assetId}/{filePath}
200

OK

post

Returns the list of shared files

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

Body
pathstringOptional

Returns the list of files in this path. Use either this key or "filters", but not both together.

Example: /documentation
filtersobjectOptional

Possible filters that can be applied to the request. Use either this key or "path", but not both together.

Example: '{'and' : [{'size' :{'>' : 0}}, {'fileExt' : '.txt'}]}'
Responses
chevron-right
200

success

application/json
post
/sharedFiles/{assetId}
get

Returns the content of the file found at the specified filepath.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

In this case, filepath can be a composition of levels, e.g. /something/somethingelse/filename.ext .

Example: /rawData/aggr_2m/123_124.npz
Responses
chevron-right
200

Success

application/json
get
/sharedFiles/{assetId}/{filePath}
200

Success

put

Updates the specified file.

Authorizations
AuthorizationstringRequired

The identity provider authentication token.

Path parameters
assetIdstringRequired

Asset instance ID.

filePathstringRequired

In this case, filepath can be a composition of levels, e.g. /something/somethingelse/filename.ext .

Example: /rawData/aggr_2m/123_124.npz
Body
objectOptional
Responses
chevron-right
200

Success

application/json
put
/sharedFiles/{assetId}/{filePath}
200

Success

Last updated