List data attributes
GET/service/data-agreement/:dataAgreementId/data-attributes
This endpoint is used to read the data attributes defined in a particular data agreement revision.
Request
Path Parameters
Unique ID of an object
Query Parameters
Default value: 0
Number of records to skip for pagination. A negative or unreadable value falls back to 0.
Default value: 10
Maximum number of records to return per page.
An object with ID revisionId
Responses
- 200
- 400
- 401
- 500
Data attributes for data agreement listed successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
dataAttributes object[]
Data attribute ID
Name of the attribute, for instance "name" or "age"
Description of the attribute
Sensitivity of data attribute
Category of data attribute
Scope required for data attribute
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
{
"dataAttributes": [
{
"id": "65471222e8c7c3bb3c2c8501",
"name": "Name",
"description": "Full name of the individual",
"sensitivity": false,
"category": "Personal",
"scope": "read"
}
],
"pagination": {
"currentPage": 1,
"totalItems": 25,
"totalPages": 3,
"limit": 10,
"hasPrevious": false,
"hasNext": true
}
}
bad input parameter
Response Headers
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}