Get files from storage by scope

Syntax for getting directories and files content from storage

Obtain file content from storage by scope

GET https://test-001-node.cloud.nxtfi.org/v2 /_storage/<scope>/<dirName>/<fileName>

If the file was saved without being placed inside a folder-like filename, the <dirname> part can be left out.

If the query call point to a directory, the response will display only files listed in the specified key (directory).

if listing folders as well as files is needed, the query call to the directory must include the query string with the raw option set to true (/_storage/<scope>/<dirName>/?raw=1)

Query Parameters

NameTypeDescription

scope*

String

scope were file or directory was stored

filename*

String

Path to file

dirname

String

folder like prefix name

Another available option

Last updated