I am trying to find a way to get the document revision ID but I can’t see any way to access it using spring data. Do I need to drop back to the java SDK to do that?
I need it in order to post a series of attachments to the object via Sync Gateway attachments PUT. I’ve tried adding a If-Match
header with no luck (it doesn’t seem to be working for me?" and looking into the viability of using the revision ID.
Given the revision will change every time I post a file, I assume I need to re-fetch it each time I send a file?