Templates

List one directory of a template version’s file tree

Entries directly inside path (default /), sorted by name bytes, keyset-paginated. The tree covers the whole filesystem (only the contents of /proc, /sys, /dev, /run and /tmp are left out). 409 file_list_unavailable (no file list) or file_list_indexing (retryable); 404 path_not_found; 422 invalid_path.

get/v1/templates/{slug}/versions/{version}/files

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/templates/{slug}/versions/{version}/files
  • Auth: HTTP bearer

Path parameters

slugstring required
versioninteger required

Query parameters

pathstring

Absolute path (/, /home/user, no trailing slash).

limitinteger
cursorstring
owner'platform' | 'organization'

Pick the platform template even when an organization template shadows its slug.

Response

Default Response

pathstring required
next_cursorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.