PigeonDocs

Feed

Follow the ordered change feed with a cursor.

1 operationhttps://api.sendtopigeon.com
GET/v1/feed#

Read operations after a cursor

Start with a snapshot cursor. Apply each operation atomically in order. Persist next_cursor even when ops is empty. Continue while has_more is true. After cursor_expired or rebootstrap_required, take a new snapshot. After cursor_reset, reconcile and then bootstrap again.

getFeedOAuth2PersonalAccessTokenPigeonSessionBearerPigeonSessionCookie

Query parameters

NameTypeDescription
cursorrequiredstringSnapshot cursor_after or the last committed next_cursor.
limitintegerTarget number of changes. The server can return a larger first operation to preserve atomicity.

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
  • opsarray of objectrequired
  • next_cursorstringrequired

    Opaque feed cursor. Preserve verbatim and URL-encode in queries.

  • has_morebooleanrequired
  • restore_noticeRestoreNotice
curl -X GET "https://api.sendtopigeon.com/v1/feed" \
  -H "Authorization: Bearer $PIGEON_TOKEN"
GET https://api.sendtopigeon.com/v1/feed