Skip to main content
Agreements

Read data disclosure agreement

GET/v4/config/consent/data-disclosure-agreement/{dataDisclosureAgreementTemplateId}

Reads a data disclosure agreement template in its current state, draft or published, with its latest revision. For a template that was never published, the revision has an empty id.

Errors: 404 when the template does not exist or is deleted.

Authorizations

  • Authorizationstringheaderrequired

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

    Scope:data-space:read

Path parameters

  • dataDisclosureAgreementTemplateIdstringrequired

    ID of the data disclosure agreement template (@id), 24 hexadecimal characters.

Response

application/json

The template and its latest revision.

  • dataDisclosureAgreementTemplateobject

    The terms under which your organisation, as a data source, offers data to data using services. A data using service signs a data disclosure agreement record against a published template. The data attributes and the OpenAPI specification come from the revision of the data agreement that the template names.

  • revisionobject

    A locked snapshot of a data disclosure agreement template or record. The service makes a revision each time it publishes a template or changes a record. A new revision links to the one before it through predecessorHash, and the one before it gets the successorId of the new revision.