at.happyproto.server.getLogs
A page of what one of the caller's own instances wrote, redacted on its host. Customers only.
Details · query
| Kind | query |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Query
query · GETParameters
query stringcursor
stringThe cursor a previous page returned, with the same direction.
deploymentId
stringBound the page to this deployment's window, read from the host it ran on.
direction
stringbackward: the newest lines before until or cursor. forward: the oldest after since or cursor.
default: "backward"knownValues: backward | forward
The instance's UUID.
limit
integerminimum: 1maximum: 1000default: 200
since
string · datetimeNarrows the window; never widens a deployment's.
until
string · datetimeNarrows the window; never widens a deployment's.
Output
application/jsoncursor
stringPass with the same direction for the next page. Absent when there are no lines.
Whether more lines lie beyond this page in its direction.
oldestAvailable
string · datetimeThe oldest line the host still holds, on a page read without a cursor.
Errors
InvalidRequest
An id is not a UUID, or a time, cursor, direction or limit is malformed or out of range.
NotFound
No such instance or deployment, or either is not the caller's. These are indistinguishable.
NotADeployment
The change started no container (a stop, a deletion or a domain-only update), so it has no logs of its own.
LogsUnavailable
The host the logs are on is not answering, or no longer holds the instance.
LogsBusy
Too many log reads are running for this instance or its host. Try again shortly.
LogsTimeout
Reading the logs took too long. Narrow the time range.
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not a HappyProto customer, or the provisioner refused them.
InvalidSlug
Passed through from the provisioner.
SlugTaken
Passed through from the provisioner.
NotEntitled
Passed through from the provisioner.
InstanceLimit
Passed through from the provisioner.
NoCapacity
Passed through from the provisioner.
OperationInProgress
Passed through from the provisioner.
Upstream
The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.
#line
object#window
objectThe deployment's window, when deploymentId was given.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.getLogs
queryThe lines an appview logged, for its operators, oldest first: all of one request's by its trace, or the last of a message, a level or a duration. It takes a service token for this method from one of the accounts it names as its operators, or the session cookie of one logged in to its pages. Kept across restarts, at most 30 days. Each read is itself logged, with who asked.
-
The changes made to one of the caller's own instances, newest first, a page at a time. Customers only.