Workspace
Reads a file, base64 encoded
The content travels base64 encoded in JSON, so an image or an archive reads the same way as text. Up to 32 MB; a larger file is refused here and read as it is from …/{path}/content.
get/lambdas/{privateKey}/files/{path}
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/files/{path}
- Auth: none declared
Path parameters
privateKeystring required
The editor key of the lambda. Holding it is what allows the call.
pathstring required
The path within the workspace, sent as one segment with its slashes encoded: logs%2Ftoday.txt
Response
The file, base64 encoded
Changes
No recorded changes to this operation across all 1 revision of this API.