Skip to main content
Data Agreement

List data agreement revisions

GET/v4/config/consent/data-agreement/{dataAgreementId}/revisions

Lists the revisions of a data agreement, newest first, one page at a time. Each publication or change of a published data agreement adds a revision. A draft has no revisions. Use a revision to see exactly what an individual consented to: a consent record points to the revision in dataAgreementRevisionId.

Authorizations

  • Authorizationstringheaderrequired

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

    Scope:data-agreements:read

Path parameters

  • dataAgreementIdstringrequired

    Data agreement ID.

    Example:"6af080eb2d6fb7b6ac6efc57"

Query parameters

  • offsetinteger

    Number of records to skip for pagination. A negative or unreadable value falls back to 0.

    At least 0.

    Default:0

  • limitinteger

    Maximum number of records to return per page.

    Default:10

Response

application/json

The current data agreement and one page of its revisions.

  • dataAgreementobject

    A data agreement describes one purpose for which the organisation processes personal data (ISO/IEC TS 27560). Many individuals can consent to the same data agreement: each consent is a consent record.

  • revisionsobject[]
  • paginationobject