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
updateChainalysisRiskmutation on theAopdMutationtype was removed. Please use thesetProviderRiskScoremutation instead. - The
isSanctionedfield was removed from theTrpdOriginatortype. This was never used.
Renames
- The previously misspelled
AOPD_RETIRGGER_RISK_SCOREvariant onAutodAuditEventhas 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
aopdqueries:proof,proofAsXlsx,proofForAddress,proofForXpubandproofsForCustomer. - The following queries in
autod:txDetail,txAsXlsxandtxsWithTxId. - The
vaspquery inemail. - The
statusargument to the followingautodqueries:txDetails,txDetailsCountandtxsAsXlsx. - The
msginput field in objectAopdExpectedAoppProofInput.