Server log

Reads the log, oldest first

To follow it, pass the cursor of each answer as since of the next. Arriving without one reads only the tail, not the whole ring.

get/logs/

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/logs/
  • Auth: none declared. Required headers: X-Admin-Token

Query parameters

sinceinteger

The cursor of the previous answer: only what came after it. Left out, the last 1000 lines.

lambdastring

Only the lines of the lambda of this public key

levelstring

The lowest level to answer with: trace, debug, info (the default), warn, error or critical

clientstring

Only the lines about the caller of this address

limitinteger

At most this many lines; by default 1000, or 2000 with since

Headers

X-Admin-Tokenstring required

The administration token of the installation (LAMBDA_ADMIN_TOKEN)

Response

The lines, and where to carry on from

Cursorinteger

The newest sequence held; pass it as since to read what comes after

Missedinteger

Lines that were dropped before the reader got to them, because the ring went round or more matched than were asked for

Capacityinteger

How many lines the ring holds in all

Writteninteger

How many lines were written since the server came up

Capturingboolean

Whether what lambdas print is kept

Addressesboolean

Whether the address a request came from is recorded

Changes

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