Allows the creation of a streaming events subscription
POST/subscriptions
Creates a subscription to a stream so you can consume its events. If a matching subscription already exists, that subscription is returned instead of creating a duplicate. Use the returned subscription identifier to consume events, commit cursors, query stats, and delete the subscription when you no longer need it.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 422
Subscription already exists. Returns subscription object that already existed.
Subscription was successfully created. Returns subscription object that was created.
Bad Request
Unauthorized
Forbidden
Unprocessable Entity