Features
Reads the log of a feature's preview
Its requests, what its code printed, and what the server said while serving it - kept apart from the lambda's own log, and read the same way (GET /lambdas/{privateKey}/logs): oldest first, followed with since.
get/lambdas/{privateKey}/features/{feature}/logs
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/logs
- Auth: none declared
Path parameters
privateKeystring required
The editor key of the lambda. Holding it is what allows the call.
featurestring required
The key of the feature, as key in the answer that started it
Query parameters
sinceinteger
The cursor of the previous answer: only what came after it. Left out, the last 500 lines.
levelstring
The lowest level to answer with: debug, info (the default), warn or error
limitinteger
At most this many lines, up to 2000; by default 500, or 1000 with since
Response
The lines, and where to carry on from
Changes
No recorded changes to this operation across all 1 revision of this API.