Expand description
REST client for the relay’s legacy HTTP+JSON endpoints.
Targets the same routes the Go CLI uses today: POST /clips,
POST /clips/binary, GET /clips/latest, GET /devices,
POST /auth/device-code, GET /auth/device-code/poll,
POST /auth/device/revoke, POST /auth/key-bundle/retry.
The legacy /auth/pair and /auth/pair-token/new routes were
retired in the OAuth-only migration.
Retry: 3 attempts with exponential backoff (1s, 2s) matching
cinch/cmd/push.go:188-203.
Structs§
- List
Clips Filter - Filter shape for
RestClient::list_clips. Mirrors the relay’sListFilter. - Rest
Client