List Validate Access Records
GET/config/data-space/validate-access-records
Lists Validate Access Records which show every time an access token was checked at the token verification and authorisation endpoint (validate access).
Request
Query Parameters
Requested index for start of resources to be provided in response requested by client
Default value: 10
Number of items returned per page. Requested number of resources to be provided in response requested by client.
Responses
- 200
Validate Access Records listed
Response Headers
Content-Type json
Content-Type header
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- ]
validateAccessRecords object[]
Unique identifier for the validation record
ID of the Data Disclosure Agreement Record connected to the access token
Possible values: [pii
, anonymous
]
Data classification requested (e.g., "pii", "anonymous") in the access token
Type of external ID requested (only for PII classification)
External ID value requested (only for PII classification)
connectedAgreementIds objectrequired
Holds the specific revision ID for the record connected to the access token, as well as the connected Data Disclosure Agreement Template Revision ID and the underlying Data Agreement Revision ID.
ID of the specific Data Disclosure Agreement Record Revision the token was released for
ID of the specific Data Disclosure Agreement Template Revision that the record was signed for
ID of the underlying Data Agreement Revision that defines the data to be shared between the Data Source and Data Using Service
request objectrequired
The original validation request
The JWT Access Token that was validated
The HTTP method that was requested
The API path that was requested
response object required
The validation response (success or failure)
Possible values: [true
]
Whether the access token was verified and authorized
Possible values: [pii
, anonymous
]
Data classification of the validated access
List of individuals associated with this access
decodedClaims objectrequired
The decoded JWT claims. The fields listed below will be present; additional claims are allowed.
The audience of the JWT
Possible values: [anonymous
, pii
]
The data classification of the requested resource
The ID of the Data Disclosure Agreement Record associated with this token
The expiration time of the JWT
The issued at time of the JWT
The issuer of the JWT
The unique identifier for the JWT
The decoded JWT claims. The fields listed below will be present; additional claims are allowed.
Possible values: [false
]
Whether the access token was verified and authorized
The reason why validation failed
Unix timestamp when the validation occurred
pagination object
Current page number
Total number of items available
Total number of pages based on limit
Number of items per page
Indicates if there's a previous page
Indicates if there's a next page
{
"validateAccessRecords": [
{
"id": "string",
"requestedDataDisclosureAgreementRecordId": "string",
"requestedDataClassification": "pii",
"requestedExternalIdType": "string",
"requestedExternalId": "string",
"connectedAgreementIds": {
"dataDisclosureAgreementRecordRevisionId": "string",
"dataDisclosureAgreementTemplateRevisionId": "string",
"dataAgreementRevisionId": "string"
},
"request": {
"accessToken": "string",
"httpMethod": "string",
"path": "string"
},
"response": {},
"timestamp": 0
}
],
"pagination": {
"currentPage": 0,
"totalItems": 0,
"totalPages": 0,
"limit": 0,
"hasPrevious": true,
"hasNext": true
}
}