PUT
/
subscriptions
Update a subscription
curl --request PUT \
  --url https://{FUSION HOST}/api/subscriptions \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "numberOfListenerThreads": 123,
  "maxRetries": 123,
  "initialPosition": "<string>",
  "contextProperties": {}
}'
[
  {
    "resource": "<string>",
    "topic": "<string>",
    "numberOfListenerThreads": 123,
    "maxRetries": 123,
    "initialPosition": "<string>",
    "contextProperties": {},
    "id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

resource
string
required

The subscription resource

topics
string[]

The topics subscribed to by this resource.

context
string

The app to which this object belongs, as app:SomeApp. If the object is not part of this app, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.

Body

application/json

Response

200 - application/json

OK

The response is of type object[].