Closed mrandi closed 5 years ago
Whats the reasoning here? Why ist POST immutable and PUT is not?
Yes, please keep PUT (idempotent) and make sure that a repeated PUT works if the content is the same and will throw an error if the content is different (immutability).
PUT idempotent is perfect!
Thought POST as a create but you are right PUT idempotent is better.
@sarnowski because right now the PUT also do an update and remove all approvals.
Yes, that was actually the initial idea. If you change something in the version information, all previous approvals are invalid are are removed.
so we have not an immutable version, and that is the point. Or?
hmm, it should be immutable!
Versions were removed.
Change PUT method to a PUT idempotent as the application version must be immutable