List the Kubernetes events of a deployment
The Kubernetes events the operators saw in the deployment's namespace on its clusters, newest first, one per object, reason and type with how often it happened and when it last did. Events not seen for a day are gone. Wardn's own actions are in Activity, and pod churn is on the timelines.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidlimit?integerPage size. Defaults to 50, at most 200.
1 <= value <= 20050cursor?stringOpaque cursor from a previous page's nextCursor.
appId?stringOnly what belongs to this app of the deployment.
uuidtype?string"normal""warning"since?stringOnly events last seen at or after this time (Last sync is the time of the last apply).
date-timeobject?stringOnly events about this object, such as a pod's name.
1 <= length <= 253OK.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/events'{ "items": [ { "id": 0, "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "namespace": "string", "type": "normal", "reason": "string", "object": { "kind": "string", "name": "string" }, "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "appName": "string", "message": "string", "count": 0, "firstSeen": "2019-08-24T14:15:22Z", "lastSeen": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}Stream a pod's logs GET
Server-sent events, one `line` event per log line (`{"time","container","text"}`) and an `end` event when the stream closes. The operator reads the logs as the deployment's service account and relays them over its stream path (a signed logs-open command, then StreamData), the same path exec uses. A
Stream the logs of an app's pods, merged GET
Server-sent events, one `line` event per log line (`{"time","pod","container","text"}`) from every pod of the app (or of the deployment) and an `end` event (`{"reason","message","pods","skipped"}`). Without `follow` the lines are the newest of each pod, sorted by time; with it they arrive as the pod