notification/consumer
| Step | Summary |
|---|---|
notification/consumer/discover_assets |
Discover notification assets in a provider catalog. |
notification/consumer/send |
Send a notification through the dataspace. |
notification/consumer/discover_assets
Discover notification assets in a provider catalog.
Inputs
| Parameter | Type | Required | Default | Also accepts | Description |
|---|---|---|---|---|---|
counter_party_address |
string | no | '' |
— | DSP endpoint of the counter-party connector; defaults to the bound SUT connector's 'dsp_url'. |
counter_party_id |
string | no | '' |
— | Dataspace identity of the counter-party; defaults to the bound SUT connector's 'participant_id'. |
timeout |
number | no | 60 |
— | Discovery timeout in seconds. |
Output — the value assertions and returns: read
The notification datasets found in the provider's catalog.
Type: any
notification/consumer/send
Send a notification through the dataspace.
Supports two modes: - Dataplane-direct mode: dataplane_url, edr_token, endpoint_path, notification - SDK mode: notification, counter_party_id, counter_party_address
Inputs
| Parameter | Type | Required | Default | Also accepts | Description |
|---|---|---|---|---|---|
counter_party_address |
string | no | '' |
— | DSP endpoint of the counter-party connector; defaults to the bound SUT connector's 'dsp_url'. |
counter_party_id |
string | no | '' |
— | Dataspace identity of the counter-party; defaults to the bound SUT connector's 'participant_id'. |
notification |
object | no | None |
— | The notification document to send. |
endpoint_path |
string | no | '' |
— | Notification API path appended to the endpoint. |
dataplane_url |
string | no | None |
— | Direct mode: data-plane URL to POST to; its presence selects that mode. |
edr_token |
string | no | '' |
— | Direct mode: authorization token for that data-plane URL. |
content |
object | no | None |
— | Older spelling of 'notification' — the document to send. |
timeout |
number | no | 30 |
— | Request timeout in seconds. |
Output — the value assertions and returns: read
Output contract of notification/consumer/send.
| Field | Type | Description |
|---|---|---|
status_code |
integer | Status code the receiver answered with. |
response_body |
any | Body the receiver answered with. |
response_headers |
object | Headers the receiver answered with. |
Additional keys sent by the counterpart are passed through unchanged.