From 4a72acd53e2da2cc92315dd0ab12b79c50120f9f Mon Sep 17 00:00:00 2001 From: Albin Antony Date: Thu, 9 Nov 2023 12:06:07 +0530 Subject: [PATCH] Fix #40 Delete all consent records for an individual change path to /service/individual/record --- openapi/v2023.11.1/bundled.yaml | 37 +++++++++++++++++---------------- openapi/v2023.11.1/index.yaml | 5 +++-- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/openapi/v2023.11.1/bundled.yaml b/openapi/v2023.11.1/bundled.yaml index f147c69..6ae91aa 100644 --- a/openapi/v2023.11.1/bundled.yaml +++ b/openapi/v2023.11.1/bundled.yaml @@ -3583,24 +3583,6 @@ paths: x-specification-pii-or-sensitive: 'True' x-specification-scenario: '1.2' x-specification-usecase: UC-C-PIC-I-002 - delete: - description: 'DELETE - Cascading delete operation for Right To Be Forgotten, deletes all data agreement records that shall not be retained and have a "forgettable" DataAgreement. May also delete an unsigned data agreement record, for instance in cases where the user exits the signing process.' - operationId: serviceDeleteAllRecords - parameters: [] - responses: - '200': - description: '' - '400': - description: bad input parameter - security: - - BearerAuth: [] - summary: DELETE - Delete all consent records for an individual - tags: - - service - x-specification-crudl-model: '' - x-specification-pii-or-sensitive: 'True' - x-specification-scenario: '' - x-specification-usecase: UC-C-PIC-I-003 get: description: LIST - Fetch all current unambiguous data agreement records stored for individual operationId: serviceListIndividualConsentRecordList @@ -3632,6 +3614,25 @@ paths: x-specification-pii-or-sensitive: 'True' x-specification-scenario: '' x-specification-usecase: UC-C-PIC-I-001 + /service/individual/record: + delete: + description: 'DELETE - Cascading delete operation for Right To Be Forgotten, deletes all data agreement records that shall not be retained and have a "forgettable" DataAgreement. May also delete an unsigned data agreement record, for instance in cases where the user exits the signing process.' + operationId: serviceDeleteAllRecords + parameters: [] + responses: + '200': + description: '' + '400': + description: bad input parameter + security: + - BearerAuth: [] + summary: DELETE - Delete all consent records for an individual + tags: + - service + x-specification-crudl-model: '' + x-specification-pii-or-sensitive: 'True' + x-specification-scenario: '' + x-specification-usecase: UC-C-PIC-I-003 '/service/individual/record/consent-record/{consentRecordId}': put: description: UPDATE* - Update a data agreement record. Note that updating a signed data agreement record invalidates its signature. diff --git a/openapi/v2023.11.1/index.yaml b/openapi/v2023.11.1/index.yaml index dc55e5f..602d9f5 100644 --- a/openapi/v2023.11.1/index.yaml +++ b/openapi/v2023.11.1/index.yaml @@ -285,10 +285,11 @@ paths: /service/individual/record/consent-record: post: $ref: ./paths/serviceCreateIndividualConsentRecordAndSignature.yaml - delete: - $ref: ./paths/serviceDeleteAllRecords.yaml get: $ref: ./paths/serviceListIndividualConsentRecordList.yaml + /service/individual/record: + delete: + $ref: ./paths/serviceDeleteAllRecords.yaml /service/individual/record/consent-record/{consentRecordId}: put: