Skip to content

Commit

Permalink
Upd: Rename terms
Browse files Browse the repository at this point in the history
* purposeId to dataAgreementId
* templateId to dataAttributeId

Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Sep 21, 2023
1 parent 7bad4b5 commit 1564d09
Show file tree
Hide file tree
Showing 24 changed files with 102 additions and 102 deletions.
50 changes: 25 additions & 25 deletions openapi/v2023.8.1/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}':
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}':
get:
tags:
- service
Expand All @@ -118,7 +118,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
description: Consent agreement ID
required: true
Expand Down Expand Up @@ -194,7 +194,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}/status':
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}/status':
post:
tags:
- service
Expand All @@ -215,7 +215,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand All @@ -236,7 +236,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}/attributes/{attributeId}':
'/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}/attributes/{attributeId}':
patch:
tags:
- service
Expand All @@ -257,7 +257,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand Down Expand Up @@ -2256,7 +2256,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/data-agreements/{purposeId}':
'/v1/organisations/{orgId}/config/data-agreements/{dataAgreementId}':
delete:
tags:
- config
Expand All @@ -2267,7 +2267,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand Down Expand Up @@ -2313,7 +2313,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand Down Expand Up @@ -2350,7 +2350,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand All @@ -2375,7 +2375,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/templates':
'/v1/organisations/{orgId}/data-attributes':
post:
tags:
- config
Expand All @@ -2391,10 +2391,10 @@ paths:
application/json:
schema:
required:
- templates
- data-attributes
type: object
properties:
templates:
data-attributes:
type: array
items:
$ref: '#/components/schemas/DataAttribute'
Expand Down Expand Up @@ -2444,7 +2444,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/data-agreements/{purposeId}/templates':
'/v1/organisations/{orgId}/config/data-agreements/{dataAgreementId}/data-attributes':
delete:
tags:
- config
Expand All @@ -2455,7 +2455,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand All @@ -2475,7 +2475,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/templates/{templateID}':
'/v1/organisations/{orgId}/data-attributes/{dataAttributeId}':
get:
tags:
- config
Expand All @@ -2486,7 +2486,7 @@ paths:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down Expand Up @@ -2519,7 +2519,7 @@ paths:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down Expand Up @@ -2565,7 +2565,7 @@ paths:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down Expand Up @@ -3205,7 +3205,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/data-agreements/{purposeID}/attributes/{attributeID}/consented/users':
'/v1/organisations/{orgId}/data-agreements/{dataAgreementId}/attributes/{attributeID}/consented/users':
get:
tags:
- onboard
Expand All @@ -3216,7 +3216,7 @@ paths:
required: true
schema:
type: string
- name: purposeID
- name: dataAgreementId
in: path
required: true
schema:
Expand Down Expand Up @@ -3260,7 +3260,7 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organisations/{orgId}/data-agreements/{purposeId}/consented/users':
'/v1/organisations/{orgId}/data-agreements/{dataAgreementId}/consented/users':
get:
tags:
- onboard
Expand All @@ -3271,7 +3271,7 @@ paths:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand Down Expand Up @@ -3999,7 +3999,7 @@ paths:
- consentID
- days
- organisationID
- purposeID
- dataAgreementId
- timestamp
- userID
type: object
Expand All @@ -4015,7 +4015,7 @@ paths:
format: int32
organisationID:
type: string
purposeID:
dataAgreementId:
type: string
timestamp:
type: string
Expand Down
18 changes: 9 additions & 9 deletions openapi/v2023.8.1/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ paths:
$ref: "./paths/audit/getOrgLogs.yaml"
/v1/users/{userId}/consenthistory:
$ref: "./paths/service/getConsentHistory.yaml"
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}:
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}:
$ref: "./paths/service/getConsentsByConsentAgreementId.yaml"
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}:
$ref: "./paths/service/getConsentsForAllConsentAgreements.yaml"
/v1/organisations/{orgId}/users/{userId}/consents:
$ref: "./paths/service/getConsents.yaml"
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}/status:
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}/status:
$ref: "./paths/service/updateConsentForConsentAgreement.yaml"
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{purposeId}/attributes/{attributeId}:
/v1/organisations/{orgId}/users/{userId}/consents/{consentId}/data-agreements/{dataAgreementId}/attributes/{attributeId}:
$ref: "./paths/service/updateConsentForDataAttribute.yaml"
/v1/user/organisations/{orgId}/data-status:
$ref: "./paths/service/dataRequests/listAllDataRequests.yaml"
Expand Down Expand Up @@ -145,13 +145,13 @@ paths:
$ref: "./paths/config/dataAgreements/globalPolicyConfigurations/getAndUpdateGlobalPolicyConfiguration.yaml"
/v1/organisations/{orgId}/data-agreements:
$ref: "./paths/config/dataAgreements/getAndAddConsentAgreements.yaml"
/v1/organisations/{orgId}/data-agreements/{purposeId}:
/v1/organisations/{orgId}/config/data-agreements/{dataAgreementId}:
$ref: "./paths/config/dataAgreements/getDeleteUpdateConsentAgreementByID.yaml"
/v1/organisations/{orgId}/templates:
/v1/organisations/{orgId}/data-attributes:
$ref: "./paths/config/dataAttributes/getAndAddDataAttributes.yaml"
/v1/organisations/{orgId}/data-agreements/{purposeId}/templates:
/v1/organisations/{orgId}/config/data-agreements/{dataAgreementId}/data-attributes:
$ref: "./paths/config/dataAttributes/deleteMultipleDataAttributes.yaml"
/v1/organisations/{orgId}/templates/{templateID}:
/v1/organisations/{orgId}/data-attributes/{dataAttributeId}:
$ref: "./paths/config/dataAttributes/getUpdateAndDeleteDataAttributeByID.yaml"
/v1/organisations/{orgId}/idp/open-id:
$ref: "./paths/onboard/manageIndividuals/subscription/addGetUpdateAndDeleteIdentityProvider.yaml"
Expand All @@ -175,9 +175,9 @@ paths:
$ref: "./paths/onboard/manageIndividuals/addAndGetOrganisationUsers.yaml"
/v1/organisations/{orgId}/users/{userId}:
$ref: "./paths/onboard/manageIndividuals/deleteUserFromOrganisation.yaml"
/v1/organisations/{orgId}/data-agreements/{purposeID}/attributes/{attributeID}/consented/users:
/v1/organisations/{orgId}/data-agreements/{dataAgreementId}/attributes/{attributeID}/consented/users:
$ref: "./paths/onboard/manageIndividuals/consentAgreementRecords/getAllUsersConsentedToDataAttribute.yaml"
/v1/organisations/{orgId}/data-agreements/{purposeId}/consented/users:
/v1/organisations/{orgId}/data-agreements/{dataAgreementId}/consented/users:
$ref: "./paths/onboard/manageIndividuals/consentAgreementRecords/getAllUsersConsentedToDataAgreement.yaml"
/v1/organisations/data-requests:
$ref: "./paths/onboard/dataRequests/getAvailableDataRequestStatuses.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ delete:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand Down Expand Up @@ -54,7 +54,7 @@ put:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand Down Expand Up @@ -91,7 +91,7 @@ get:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
style: simple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ delete:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ post:
application/json:
schema:
required:
- templates
- data-attributes
type: object
properties:
templates:
data-attributes:
type: array
items:
$ref: "../../../definitions/config/DataAttribute.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down Expand Up @@ -41,7 +41,7 @@ put:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down Expand Up @@ -87,7 +87,7 @@ delete:
required: true
schema:
type: string
- name: templateID
- name: dataAttributeId
in: path
required: true
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ get:
- consentID
- days
- organisationID
- purposeID
- dataAgreementId
- timestamp
- userID
type: object
Expand All @@ -101,7 +101,7 @@ get:
format: int32
organisationID:
type: string
purposeID:
dataAgreementId:
type: string
timestamp:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
required: true
schema:
type: string
- name: purposeID
- name: dataAgreementId
in: path
required: true
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ get:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
description: "Consent agreement ID"
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ post:
required: true
schema:
type: string
- name: purposeId
- name: dataAgreementId
in: path
required: true
schema:
Expand Down
Loading

0 comments on commit 1564d09

Please sign in to comment.