K2
K2Streams
List K2 streams
client.K2.Streams.List(ctx, params) (*V4PagePaginationArray[StreamListResponse], error)
GET/accounts/{account_id}/k2/streams
Get K2 stream
client.K2.Streams.Get(ctx, streamID, query) (*StreamGetResponse, error)
GET/accounts/{account_id}/k2/streams/{stream_id}
Create K2 stream
client.K2.Streams.New(ctx, params) (*StreamNewResponse, error)
POST/accounts/{account_id}/k2/streams
Update K2 stream
client.K2.Streams.Update(ctx, streamID, params) (*StreamUpdateResponse, error)
PATCH/accounts/{account_id}/k2/streams/{stream_id}
Delete K2 stream
client.K2.Streams.Delete(ctx, streamID, body) (*StreamDeleteResponse, error)
DELETE/accounts/{account_id}/k2/streams/{stream_id}
K2StreamsSubscriptions
List K2 stream subscriptions
client.K2.Streams.Subscriptions.List(ctx, streamID, query) (*SinglePage[StreamSubscriptionListResponse], error)
GET/accounts/{account_id}/k2/streams/{stream_id}/subscriptions