PigeonDocs

record-patch@1

Download

Request schema: validates a write request body.

Request schema: validates a write request body.

$idhttps://docs.sendtopigeon.com/schemas/record-patch@1.schema.json

Fields

Bodyany of 5no extra fields
  • actionconst "patch"required
  • idstring · uuidrequired
    pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-…
  • baseobjectrequired
    no extra fields
  • fieldsobject
  • part_opsarray of one of 4
    max items 1000
  • resetarray of any of 3

    Return owner-edited addresses to the source before applying fields and part operations. Requires the current base. Omit part for a root field or list. Use only part for a whole part, or only part: $root for the whole record.

    min items 1max items 1000
  • stateobject

    Per-account state. A supplied map replaces caller-owned keys and preserves omitted server-owned keys. Omission leaves existing state untouched.

  • state_patcharray of any of 11

    Addressed edits to caller-owned keys in current account state. Exclusive with state.

    min items 1max items 1000
  • conflictconst "strict"
  • Option 1object
  • Option 2object
  • Option 3object
  • Option 4object
  • Option 5object

Raw JSON Schema