Streams
List K2 streams
GET/accounts/{account_id}/k2/streams
Get K2 stream
GET/accounts/{account_id}/k2/streams/{stream_id}
Create K2 stream
POST/accounts/{account_id}/k2/streams
Update K2 stream
PATCH/accounts/{account_id}/k2/streams/{stream_id}
Delete K2 stream
DELETE/accounts/{account_id}/k2/streams/{stream_id}
ModelsExpand Collapse
StreamListResponse object { id, created_at, endpoint, 5 more }
StreamListResponse object { id, created_at, endpoint, 5 more }
http: object { enabled, authentication, cors } Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
http: object { enabled, authentication, cors }
Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
StreamGetResponse object { id, created_at, endpoint, 5 more }
StreamGetResponse object { id, created_at, endpoint, 5 more }
http: object { enabled, authentication, cors } Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
http: object { enabled, authentication, cors }
Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
StreamCreateResponse object { id, created_at, endpoint, 5 more }
StreamCreateResponse object { id, created_at, endpoint, 5 more }
http: object { enabled, authentication, cors } Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
http: object { enabled, authentication, cors }
Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
StreamUpdateResponse object { id, created_at, endpoint, 5 more }
StreamUpdateResponse object { id, created_at, endpoint, 5 more }
http: object { enabled, authentication, cors } Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
http: object { enabled, authentication, cors }
Configures the HTTP endpoint. Disabling HTTP keeps authentication and cors, so enabling it again restores them.
StreamsSubscriptions
List K2 stream subscriptions
GET/accounts/{account_id}/k2/streams/{stream_id}/subscriptions
ModelsExpand Collapse
SubscriptionListResponse object { id, created_at, lag, 3 more }
SubscriptionListResponse object { id, created_at, lag, 3 more }
lag: object { records, status }
lag: object { records, status }