I have a test endpoint running and when I drop a file into the watched folder I get a request with the header X-Goog-Resource-State: update
, but I don't seem to get an Id for the added file.
- I get
X-Goog-Resource-Id
which I'd thought might be the new file, but I get a 404 if I try toget()
it - I get
X-Goog-Resource-Uri
, but that belongs to the watched folder - I get an
X-Goog-Channel-Id
, but that clearly belongs to the channel not the file - And
X-Request-Id
, but that's just an opaque UUID
Am I required to fetch a complete list of files for the watched folder on every update and compare to a saved list? That doesn't feel right, but I'm at a loss.
Any guidance would be much appreciated.