Skip to main content

undoGroupPreview

The rows of one undo group, newest first, and whether each can go back. Empty when the group is unknown, expired or not the caller's.

Throws an error with code:

  • BAD_REQUEST if EventsAir refuses the request. The error's extensions.message field gives the reason.
  • BAD_USER_INPUT if the correlationId argument is not a GUID.
  • NOT_FOUND if the event specified by the eventId argument does not exist.
undoGroupPreview(
correlationId: ID!
eventId: ID!
): UndoGroupPreview!

Arguments​

undoGroupPreview.correlationId ● ID! non-null scalar​

The GUID the changes were recorded under, as sent in the X-Undo-Correlation-Id header.

undoGroupPreview.eventId ● ID! non-null scalar​

The unique identifier of the event the undo group belongs to.

Type​

UndoGroupPreview object​

The rows of one undo group and whether each can go back.