Add subscription to subscriber​
Add a specific subscription to a subscriber.
Path Parameters
- subscriber_id string required
The identifier of the subscriber
- event_type string required
The action event type.
Query Parameters
- timeout number
Default value:
60
This is the duration in seconds this subscriber has time to execute the action. After this time the sender assumes a failure and rejects the result of this actor.
- wait_for_completion boolean
Default value:
true
If an action is sent to this subscriber, the event sender should wait until this subscriber has processed the message and send a done message. This is the expected behaviour of every actor and defaults to true.
Responses
- 200
The subscriber
- application/json
- Schema
- Example (from schema)
Schema
- id string
The identifier of this subscriber
subscriptions object
The dictionary of subscriptions, where the key is the message type
property name*
object
{
"id": "string",
"subscriptions": {}
}
Loading...