≥ 0
Snapshots
Create a consistent snapshot and page through every readable record.
Start an as-of snapshot
Read all snapshot pages before consuming the feed from cursor_after. A connection's oldest open snapshot can be replaced when it starts another one.
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.Bodyobject
snapshotstring · uuidrequiredhintegerrequiredexpires_atstring · date-timerequiredcursor_afterstringrequiredOpaque feed cursor. Preserve verbatim and URL-encode in queries.
restore_noticeRestoreNotice
curl -X POST "https://api.sendtopigeon.com/v1/snapshots" \
-H "Authorization: Bearer $PIGEON_TOKEN"POST https://api.sendtopigeon.com/v1/snapshotsRead a snapshot page
Pass next_page back as page_token until it is null. An expired snapshot or a changed connection view requires a new snapshot.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Snapshot ID. |
Query parameters
| Name | Type | Description |
|---|---|---|
| page_token | string | Previous next_page token. |
| limit | integer | Maximum records to return. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.Bodyobject
next_pagestring | nullrequiredContinuation token, or null after the last page.
curl -X GET "https://api.sendtopigeon.com/v1/snapshots/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/records" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/snapshots/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/records