Is there a way to represent a property as generally readOnly, but allow the property to be written during a POST or PUT (i.e. a create or replace) action?
In other words, when creating the resource, I'd like the property to be writable. But once the resource is created, I'd like to keep it immutable. Can a property be POSTable/PUTable, but not PATCHable?
Example:
# OK example.
/AwesomeResource POST
{"owner": "ownerID123"}
vs
# Bad Request example.
/AwesomeResource/456 PATCH
{"owner": "ownerID789"}