File Manager

Read a file from an application

Returns the file at the given path as a JSON object { type: "Buffer", data: number[] } where data is the raw byte array. Clients reconstruct the file by reading the data array.

Requires the workspace Maintainer or Administrator role (or ownership) when called against a workspace-shared application.

get/v2/apps/{appId}/files/content

Path parameters

appIdstring required

Application identifier. Optionally suffixed with -<workspaceId> to act on a workspace-shared application.

Query parameters

pathstring required

Absolute path to the file inside the application.

Response

File content as a byte-array JSON object.

status'success' required

Changes

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