cs3org / OCM-API

OpenCloudMesh API
38 stars 11 forks source link

Improved spec for notifications #77

Closed glpatcern closed 9 months ago

glpatcern commented 1 year ago

This PR clarifies how notifications are actually used by implementations, in particular Nextcloud.

To be noted that the response HTTP code in case of success was/is 201 CREATED. It is debatable why such a response was chosen and whether a standard 200 OK or even 202 ACCEPTED (cf https://github.com/cs3org/OCM-API/issues/31) would be more appropriate, but this is left outside this PR as it would be a breaking change.

glpatcern commented 9 months ago

I'm moving forward and merging this to avoid leaving stuff behind. As explained, this is just adding comments and fixing the spec according to how it was actually implemented.