General APIs with JWT
List a volume's files
Changed onList the files and folders directly under prefix in a volume, without mounting it on a pod. Names are relative to the volume root (/mnt in a pod). Pass next_cursor back as cursor for the next page. Listing reads no file contents, so it bills no egress.
get/volumes/{volume_id}/files
Request
- Base URLhttps://lium.io/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
volume_idstring uuid required
Query parameters
prefixstring
Folder to list, e.g. data/
cursorstring nullable
next_cursor from the previous page
limitinteger
Response
Files and folders under the prefix
Changes
- info
endpoint added
- info