@@ -818,7 +818,7 @@ events_requested
818818> **Receiver-Supplied**, An array of URIs identifying the set of events that
819819 the Receiver requested. A Receiver SHOULD request only the events that it
820820 understands and it can act on. This is configurable by the Receiver. A
821- Transmitter MUST ignore any array values that it does not understand.
821+ Transmitter MUST ignore any array values that it does not understand. This MUST not be an empty list.
822822
823823events_delivered
824824
@@ -878,7 +878,7 @@ the Event Transmitter responds with a "201 Created" response containing a
878878The HTTP POST request MAY contain the Receiver-Supplied values of the Stream
879879Configuration ({{stream-config}}) object :
880880
881- * `events_requested`
881+ * `events_requested` : This MUST not be an empty list
882882* `delivery` : Note that in the case of the POLL method, the `endpoint_url` value is
883883 supplied by the Transmitter.
884884* `format`
@@ -1154,7 +1154,7 @@ HTTP PATCH request to the Configuration Endpoint. The PATCH body contains a
11541154[JSON][RFC7159] representation of the stream configuration properties to change. On
11551155receiving a valid request the Event Transmitter responds with a "200 OK"
11561156response containing a [JSON][RFC7159] representation of the entire updated stream
1157- configuration in the body.
1157+ configuration in the body. An event receiver MUST not PATCH `events_requested` to an empty list.
11581158
11591159The stream_id property MUST be present in the request. Other properties
11601160MAY be present in the request. Any Receiver-Supplied property present in the
@@ -1244,7 +1244,7 @@ JSON {{RFC7159}} representation of the updated stream configuration in the body.
12441244The stream_id and the full set of Receiver-Supplied properties MUST be present
12451245in the PUT body, not only the ones that are specifically intended to be changed.
12461246Missing Receiver-Supplied properties MUST be interpreted as requested to be
1247- deleted. Event Receivers MAY read the configuration first, modify the JSON
1247+ deleted. Event receiver MUST not request `events_requested` to be an empty array. Event Receivers MAY read the configuration first, modify the JSON
12481248{{RFC7159}} representation, then make a replacement request.
12491249
12501250Transmitter-Supplied properties besides the stream_id MAY be present,
0 commit comments