Skip to main content
Trust Sources

Refresh trust source

POST/v4/config/ows/trust/sources/{trustSourceId}/refresh

Downloads the list of a list trust source now (Refresh now in the dashboard), in the request, and answers the new state of the list. A failed download keeps the last good copy and sets list.lastError. The wallet also downloads each list on its own schedule: at the next update of the list, and at least once each 24 hours.

A refresh less than 5 minutes after the last download of the list URL is refused with HTTP 429 and a Retry-After header. A trust anchor has no list to download. API key scope: trust-sources:update (the older trust-anchors:update still works for a period).

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:trust-sources:update

Path parameters

  • trustSourceIdstring<uuid>required

    The id of a trust source of the organisation, from List trust sources. A value that is not a UUID gives HTTP 404, as an unknown ID.

    Example:"6d2c0b8e-3f4a-4c1d-9e2b-7a5f1c3d8e90"

Response

application/json

The trust source with the new state of its list.

  • trustSourceobject

    A trust source of the organisation (or of the sandbox organisation): CA certificates that the organisation gives (a trust anchor) or a published list that the wallet downloads. A trusted list check of the issuer, the verifier or the holder reads only the trust sources in the accepted list of its setting.