CARMIN-org / CARMIN-API

Common API for Research Medical Imaging Network
MIT License
6 stars 9 forks source link

Implement execution modification with PATCH #86

Open glatard opened 6 years ago

glatard commented 6 years ago

Execution modification in /executions/<executionId> should be done with PATCH instead of PUT.

PATCH is supported in OpenAPI 3.0: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#path-item-object

Discussed during meeting on 2018-02-14.

axlbonnet commented 5 years ago

I did this using the "JSON Patch" format (RFC 6902) instead of "JSON Merge Patch" (rfc 7396) because :