Type Alias ChangesResponse

ChangesResponse: {
    accountId: Id;
    created: Id[];
    destroyed: Id[];
    hasMoreChanges: boolean;
    newState: string;
    oldState: string;
    updated: Id[];
}

RFC 8620 (5.2) - https://datatracker.ietf.org/doc/html/rfc8620#section-5.2 can return error cannotCalculateChanges

Type declaration

  • accountId: Id
  • created: Id[]
  • destroyed: Id[]
  • hasMoreChanges: boolean

    if false is the current server state else client may call /changes again with newState

  • newState: string
  • oldState: string
  • updated: Id[]