Skip to main content
POST
Record Sidecar Session Events

Headers

hoop-sidecar-token
string

The token returned when the sidecar was created. Omit it when sending hoop-sidecar-identity.

hoop-sidecar-identity
string

A Kubernetes or Google service account JWT, raw, that a sidecar service account mapping allows. Omit it when sending hoop-sidecar-token.

Body

application/json

The request body resource

events
object[]

The events, in the order the sidecar numbered them. At most 500, and the body at most 4 MiB; above either the answer is 413

Response

OK

accepted
integer

Events applied by this request, the ignored kinds included

Example:

42

duplicates
integer

Events at or below their session's last applied seq, ignored

Example:

0