Watch file for changes
documentedSubscribes to changes on a specific file.
POST /drive/v3/files/{fileId}/watchDriveno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.googleapis.com/drive/v3/files/{{$file_id}}/watch" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id": "{{$id}}", "type": "web_hook", "address": "{{$address}}", "token": "{{$token}}", "expiration": "{{$expiration}}", "params": {"ttl": "{{$ttl}}"}, "payload": {{$payload}}}'