-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George J Padayatti <[email protected]>
- Loading branch information
1 parent
8706db0
commit 3a793dc
Showing
14 changed files
with
410 additions
and
222 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
openapi/v2023.8.2/definitions/DataAgreementRecordHistory.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
required: | ||
- id | ||
- organisationId | ||
- dataAgreementId | ||
- log | ||
- timestamp | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
description: Data agreement record history Id | ||
organisationId: | ||
type: string | ||
description: Organisation Id | ||
dataAgreementId: | ||
type: string | ||
description: Data agreement Id | ||
log: | ||
type: string | ||
description: Log string | ||
timestamp: | ||
type: string | ||
description: Timestamp in ISO 8601 date time format | ||
example: | ||
id: 64e91591e2f6a8000142c665 | ||
organisationId: 603e683c69dd720001c74f93 | ||
dataAgreementId: 61e183127c81650001f97d43 | ||
log: Updated consent value to <Allow> for the purpose <Customer Loyalty Card Issuance> in organization <The Retail Company (Germany)> | ||
timestamp: '2023-08-25T20:56:49Z' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Unique ID of an object | ||
in: query | ||
name: dataAgreementId | ||
schema: | ||
type: string |
5 changes: 5 additions & 0 deletions
5
openapi/v2023.8.2/parameters/dataAgreementRecordIdQueryParam.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Unique ID of an object | ||
in: query | ||
name: dataAgreementRecordId | ||
schema: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Unique ID of an object | ||
in: query | ||
name: individualId | ||
schema: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
description: Unique ID of an object | ||
in: query | ||
name: lawfulBasis | ||
schema: | ||
type: string | ||
description: "Lawful basis of the agreement - consent / legal_obligation / contract / vital_interest / public_task / legitimate_interest" | ||
enum: | ||
- consent | ||
- legal_obligation | ||
- contract | ||
- vital_interest | ||
- public_task | ||
- legitimate_interest |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
description: LIST - Fetch all data agreements stored in the system | ||
operationId: auditDataAgreementList | ||
parameters: | ||
- $ref: "../parameters/offset.yaml" | ||
- $ref: "../parameters/limit.yaml" | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
dataAgreements: | ||
items: | ||
$ref: ../definitions/DataAgreement.yaml | ||
type: array | ||
pagination: | ||
$ref: "../definitions/Pagination.yaml" | ||
description: "" | ||
"400": | ||
description: bad input parameter | ||
security: | ||
- BearerAuth: [] | ||
summary: LIST - Fetch all data agreements stored in the system | ||
tags: | ||
- audit | ||
x-specification-crudl-model: "" | ||
x-specification-pii-or-sensitive: "False" | ||
x-specification-scenario: "" | ||
x-specification-usecase: UC-C-PIC-AT-001, UC-C-PIC-AT-003 |
12 changes: 5 additions & 7 deletions
12
...023.8.2/paths/auditConsentRecordRead.yaml → ...2/paths/auditDataAgreementRecordRead.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
openapi/v2023.8.2/paths/auditDataAgreementRecordsList.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
description: LIST - Fetch all data agreement records | ||
operationId: auditDataAgreementRecordsList | ||
parameters: | ||
- $ref: "../parameters/offset.yaml" | ||
- $ref: "../parameters/limit.yaml" | ||
- $ref: "../parameters/lawfulBasisQueryParam.yaml" | ||
- $ref: "../parameters/individualIdQueryParam.yaml" | ||
- $ref: "../parameters/dataAgreementIdQueryParam.yaml" | ||
- $ref: "../parameters/dataAgreementRecordIdQueryParam.yaml" | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
dataAgreementRecords: | ||
items: | ||
$ref: ../definitions/DataAgreementRecord.yaml | ||
type: array | ||
pagination: | ||
$ref: "../definitions/Pagination.yaml" | ||
description: "" | ||
"400": | ||
description: bad input parameter | ||
security: | ||
- BearerAuth: [] | ||
summary: LIST - Fetch all data agreement records | ||
tags: | ||
- audit | ||
x-specification-crudl-model: "" | ||
x-specification-pii-or-sensitive: "False" | ||
x-specification-scenario: "" | ||
x-specification-usecase: UC-C-PIC-AT-003 |
26 changes: 12 additions & 14 deletions
26
openapi/v2023.8.2/paths/auditReadRecord.yaml → ...023.8.2/paths/auditReadDataAgreement.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
description: READ - Fetch a single data agreement. | ||
operationId: auditReadRecord | ||
parameters: | ||
- description: Unique ID of an object | ||
in: path | ||
name: dataAgreementId | ||
required: true | ||
schema: | ||
type: string | ||
- $ref: "../parameters/dataAgreementId.yaml" | ||
responses: | ||
'200': | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../definitions/DataAgreement.yaml | ||
description: '' | ||
'400': | ||
type: object | ||
properties: | ||
dataAgreement: | ||
$ref: ../definitions/DataAgreement.yaml | ||
description: "" | ||
"400": | ||
description: bad input parameter | ||
security: | ||
- BearerAuth: [] | ||
summary: READ - Fetch a single data agreement. | ||
tags: | ||
- audit | ||
x-specification-crudl-model: '' | ||
x-specification-pii-or-sensitive: 'False' | ||
x-specification-scenario: '' | ||
- audit | ||
x-specification-crudl-model: "" | ||
x-specification-pii-or-sensitive: "False" | ||
x-specification-scenario: "" | ||
x-specification-usecase: UC-C-PIC-AT-001, UC-C-PIC-AT-003 |
23 changes: 23 additions & 0 deletions
23
openapi/v2023.8.2/paths/serviceListDataAgreementRecordHistory.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
operationId: serviceListDataAgreementRecordHistory | ||
tags: | ||
- service | ||
description: LIST - Fetch all data agreement record history | ||
summary: LIST - Fetch all data agreement record history | ||
parameters: | ||
- $ref: "../parameters/offset.yaml" | ||
- $ref: "../parameters/limit.yaml" | ||
responses: | ||
"200": | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
dataAgreementRecordHistory: | ||
$ref: "../definitions/DataAgreementRecordHistory.yaml" | ||
pagination: | ||
$ref: "../definitions/Pagination.yaml" | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |