LIST - List data policy revisions

GET {{baseUrl}}/config/policy/:policyId/revisions?offset=<integer>&limit=10

This endpoint reads all data policy revisions defined in the consent building block.

Request Params

KeyDatatypeRequiredDescription
offsetstringRequested index for start of resources to be provided in response requested by client
limitnumberNumber of items returned per page. Requested number of resources to be provided in response requested by client

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;policy&quot;:{&quot;thirdPartyDataSharing&quot;:&quot;\u003cbool\u003e&quot;},&quot;revisions&quot;:[{&quot;authorizedByIndividualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;successorId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;authorizedByIndividualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;successorId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;pagination&quot;:{&quot;currentPage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalItems&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;,&quot;limit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;hasPrevious&quot;:&quot;\u003cboolean\u003e&quot;,&quot;hasNext&quot;:&quot;\u003cboolean\u003e&quot;}}