HTTP ETags
1 - Client cache
When requesting an object by ID the API will add an ETag (entity tag) header indicating the row version. One could keep this tag associated with media type and ID (or simply the URL called) and use it as an If-None-Match header next time that the same resource is requested. If the entity (row) wasn't change since the last time, ETag will be the same and the server will respond with a 304 Not Modified without a body rather than 200 OK and JSON data. This process is important in order to save network bandwidth and server processor.
2 - Collision detection
As previously seen in update and delete examples, it's extremely recommended the use of header If-Match when using PUT or DELETE methods, filled with the last known ETag version for this object.
In case of collision, that is when the object was modified or deleted since the last time we got it, instead of replacing the changes and returning 200 OK, the server will return a 409 Conflicted status.
If the "If-Match" ETag was not sent, collision detection will be disabled causing potentially unexpected behaviours. Nevertheless, if the row was deleted and we try to update it or delete it again, the collision will be detected even without If-Match and the result shall be a 409 code.