Open source
Reads a file of a published version
Its text, while it is UTF-8 text no longer than a megabyte, and either way where to fetch it as it is (rawPath).
get/sources/{publicKey}/versions/{version}/files/{path}
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/sources/{publicKey}/versions/{version}/files/{path}
- Auth: none declared
Path parameters
publicKeystring required
The public key of the lambda
versioninteger required
The number of the version, counting from 1
pathstring required
Its path below the project's folder, encoded as one segment: docs%2Fproduct.md
Response
The file, with its text where it is text
Changes
No recorded changes to this operation across all 1 revision of this API.