Fetch data agreement
GET {{cloudagent}}/v1/data-agreements?data_agreement_id={{dataAgreementId}}&publish_flag=true
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
data_agreement_id | string | Data agreement identifier | |
delete_flag | boolean | Query deleted or non-deleted data agreements | |
include_fields | string | Comma separated fields to be included in the response | |
method_of_use | string | Method of use | |
page | number | Page number | |
page_size | number | Page size | |
publish_flag | boolean | Query published or non-published data agreements | |
template_version | number | Data agreement template version |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"data_agreement_id":"3e794d2d-8ef2-4c21-bada-b8ee1fbf7db7","state":"PREPARATION","method_of_use":"data-using-service","data_agreement":{"@context":"https://raw.githubusercontent.com/decentralised-dataexchange/automated-data-agreements/main/interface-specs/data-agreement-schema/v1/data-agreement-schema-context.jsonld","template_id":"3e794d2d-8ef2-4c21-bada-b8ee1fbf7db7","template_version":2,"data_controller_name":"The Retail Company (Germany)","data_controller_url":"https://igrant.io/policy.html","purpose":"Verification of Marketing ad Campaign","purpose_description":"Verification of Marketing ad Campaign","lawful_basis":"consent","method_of_use":"data-using-service","data_policy":{"data_retention_period":6,"policy_URL":"https://igrant.io/policy_default.html","jurisdiction":"London, GB","industry_sector":"Retail","geographic_restriction":"Europe","storage_location":"Europe"},"personal_data":[{"attribute_id":"c714a700-f76d-4392-bd66-8d7d11a5075e","attribute_name":"Customer name","attribute_description":"Customer name"}],"dpia":{"dpia_date":"2023-04-21T06:42:14.703+00:00","dpia_summary_url":"https://privacyant.se/dpia_results.html"}},"publish_flag":true,"delete_flag":false,"schema_id":null,"cred_def_id":null,"presentation_request":{"name":"Verification of Marketing ad Campaign","comment":"Verification of Marketing ad Campaign","version":"2.0.0","requested_attributes":{"additionalProp1":{"name":"Customer name","restrictions":[{"schema_id":"RvdgpPhwrvwPouuX5kJmL2:2:Marketing and campaign:1.0.0","cred_def_id":"RvdgpPhwrvwPouuX5kJmL2:3:CL:200:default"}]}},"requested_predicates":{}},"is_existing_schema":false,"created_at":1682059558,"updated_at":1682059558}],"pagination":{}}