You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/auth.v1.yaml
+29-25Lines changed: 29 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -692,7 +692,7 @@ paths:
692
692
schema:
693
693
$ref: ./auth/models/consent/consents.v1.yaml
694
694
operationId: ListConsents
695
-
description: Retrieves the list of all different consent types and their content. By default returns only the latest version for each consent type. This can be override by setting the `version` query parameter to `all`
695
+
description: Retrieves the list of all different consent types and their content. By default returns only the latest version for each consent type. This can be overriden by setting the `version` query parameter to `all`
696
696
requestBody:
697
697
content: {}
698
698
parameters:
@@ -706,13 +706,9 @@ paths:
706
706
name: version
707
707
description: Whether to return all versions or only the most recent one.
708
708
parameters: []
709
-
'/v1/consents/{type}':
709
+
'/v1/consents/{consentType}':
710
710
parameters:
711
-
- schema:
712
-
type: string
713
-
name: type
714
-
in: path
715
-
required: true
711
+
- $ref: '#/components/parameters/consentType'
716
712
get:
717
713
summary: Get Latest Consent By Type
718
714
tags: []
@@ -725,13 +721,9 @@ paths:
725
721
$ref: ./auth/models/consent/consent.v1.yaml
726
722
operationId: GetLatestConsentByType
727
723
description: Returns the latest consent version for the given type
728
-
'/v1/consent/{type}/versions':
724
+
'/v1/consent/{consentType}/versions':
729
725
parameters:
730
-
- schema:
731
-
type: string
732
-
name: type
733
-
in: path
734
-
required: true
726
+
- $ref: '#/components/parameters/consentType'
735
727
get:
736
728
summary: Get Consent Versions
737
729
tags: []
@@ -742,15 +734,11 @@ paths:
742
734
application/json:
743
735
schema:
744
736
$ref: ./auth/models/consent/consents.v1.yaml
745
-
operationId: GetConentVersions
737
+
operationId: GetConsentVersions
746
738
description: Returns a list of all consent versions for a given type
747
739
'/v1/users/{userId}/consents':
748
740
parameters:
749
-
- schema:
750
-
type: string
751
-
name: userId
752
-
in: path
753
-
required: true
741
+
- $ref: '#/components/parameters/userId'
754
742
get:
755
743
summary: Get User Consent Records
756
744
tags: []
@@ -795,11 +783,7 @@ paths:
795
783
$ref: ./auth/models/consent/recordcreate.v1.yaml
796
784
'/v1/users/{userId}/consents/{recordId}':
797
785
parameters:
798
-
- schema:
799
-
type: string
800
-
name: userId
801
-
in: path
802
-
required: true
786
+
- $ref: '#/components/parameters/userId'
803
787
- schema:
804
788
type: string
805
789
name: recordId
@@ -818,7 +802,7 @@ paths:
818
802
operationId: GetUserConsentRecord
819
803
description: Retrieves a consent record by ID for a given user.
0 commit comments