Implement incremental CalDAV synchronization using the sync-collection REPORT (RFC 6578)

domain: datatracker.ietf.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send an initial sync-collection REPORT with an empty DAV:sync-token to retrieve all current members of a calendar collection plus a starting sync-token.
  2. Store the opaque sync-token string returned in the response exactly as given — its format has no defined structure and must not be parsed or constructed manually.
  3. On subsequent polls, send sync-collection with the last stored DAV:sync-token to receive only members added, changed, or removed since that token.
  4. Treat responses with a DAV:status of "404 Not Found" for a given href as a deletion signal, and any other response as an addition or update to fetch/refresh.
  5. Confirm the target CalDAV server actually advertises sync-collection support (via a DAV:supported-report-set check) before relying on it, since support is optional and not all servers implement RFC 6578.

Known gotchas

Related routes

Query free/busy availability across a CalDAV calendar collection with the free-busy-query REPORT (RFC 4791)
datatracker.ietf.org · 5 steps · unrated
Build a bandwidth-efficient incremental sync client against the Open Charge Map API using its compact/camelCase/boundingbox modifiers
openchargemap.org · 5 steps · unrated
Implement RESO EntityEvent change-feed replication using the RCP-027 sequence number protocol
transport.reso.org · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans