GraphQL API Changes 8.0.2 to 8.1.0
The GraphQL API has been improved and extended in numerous ways. Here, we mainly highlight the changes that could potential be breaking for existing API integrations.
The minor version bump to version 8.1.0 means that there are only absolutely minimal potentially breaking changes (see below). Instead, the main change in this version is the backwards-compatible introduction of filterable APIs in numerous queries.
New Filtering Support
Numerous APIs have gained a flexible (and optional) filter
parameter with
which to filter results. Please consult the documentation on the
filter API and filter in the GUI
for more information.
New Sorting Support
Numerous APIs have gained a flexible (and optional) sortOrder
parameter with
which to sort results. Please consult the documentation on the
sorting API and sorting in the GUI for
more information.
Changed Sort Order of Archived Transactions
In previous releases, the autod { txDetails }
query would return transactions
ordered by descending finalisation date if and only if ARCHIVED
was passed as
a status
argument. Now, transactions are always ordered by descending creation
date by default. Sorting by finalisation date can be achieved by passing a
sortOrder: [{ property: FINALIZED_AT, order: DESCENDING }]
argument (see
immediately preceding section for more information).
Removal of deprecated items
- The previously deprecated
updateChainalysisRisk
mutation on theAopdMutation
type was removed. Please use thesetProviderRiskScore
mutation instead. - The
isSanctioned
field was removed from theTrpdOriginator
type. This was never used.
Renames
- The previously misspelled
AOPD_RETIRGGER_RISK_SCORE
variant onAutodAuditEvent
has been corrected toAOPD_RETRIGGER_RISK_SCORE
.
New Deprecations
The following items have been deprecated and will be removed in a future release. Please consult the deprecation field for instructions on how to upgrade.
- The following
aopd
queries:proof
,proofAsXlsx
,proofForAddress
,proofForXpub
andproofsForCustomer
. - The following queries in
autod
:txDetail
,txAsXlsx
andtxsWithTxId
. - The
vasp
query inemail
. - The
status
argument to the followingautod
queries:txDetails
,txDetailsCount
andtxsAsXlsx
. - The
msg
input field in objectAopdExpectedAoppProofInput
.