AMWA-TV / is-06

AMWA IS-06 NMOS Network Control Specification (Deprecated)
https://specs.amwa.tv/is-06
Apache License 2.0
14 stars 10 forks source link

Removing optional properties in PATCH requests? #47

Open garethsb opened 4 years ago

garethsb commented 4 years ago

Related to #46...

E.g. can a client PATCH an Endpoint or a Network Flow to remove their "label" or other optional properties (e.g. Endpoint "max_bandwidth")?

This hasn't come up in e.g. IS-05 because there are no optional "transport_params", they just may support null.

We could support patching null to remove an optional property, because optional properties that also allow null are unlikely. This would also actually be more in line with RFC 7386 JSON Merge Patch.

garethsb commented 4 years ago

Another option is to do this in v1.1 by making these properties required but allowing null.