PigeonDocs

Reconcile

Compare local copies against Pigeon and find what changed.

1 operationhttps://api.sendtopigeon.com
POST/v1/reconcile#

Compare local revision identities with the hub

Returns one status for each input in order without writing the local changes to the hub. Use it before bootstrapping after a restore.

reconcileRecordsOAuth2PersonalAccessTokenPigeonSessionBearerPigeonSessionCookie

Request body required

application/jsonobjectno extra fields
  • recordsarray of objectrequired
    max items 500

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
  • resultsarray of objectrequired
curl -X POST "https://api.sendtopigeon.com/v1/reconcile" \
  -H "Authorization: Bearer $PIGEON_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "records": [
    {
      "id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
      "create_id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
      "revision": 1,
      "revision_op": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11"
    }
  ]
}'
JSONExample body
{
  "records": [
    {
      "id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
      "create_id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
      "revision": 1,
      "revision_op": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11"
    }
  ]
}
POST https://api.sendtopigeon.com/v1/reconcile