Hatch

Files changed since a revision

On this page

Only files you can read are listed. When epoch differs from the last one you saw, what you can read changed: list again from 0.

GET/api/sync/vaults/{vault}/changes

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • vault string (required)

Query parameters

  • since integer: The last revision this device has. 0 for everything
  • client integer: The sync protocol the client speaks. 2 and up understands folder rules

Response

200: It worked

  • rev number (required)
  • more boolean (required): There are more: ask again from rev
  • changes array<object> (required)

    • path string: At most 1000 characters
    • hash string: At most 64 characters
    • size number
    • rev number
    • deleted boolean
  • epoch number: Changes whenever the vault’s folder rules do

Other answers:

  • 4XX: Refused, with a message to show the person