List Acceptance Documents By Group

Retrieve a list of acceptance documents for one or more document groups. For each group, the response includes the group name, a list of documents included in the group, and details for each document version.

Endpoint

GET /v1/acceptances/documents/groups/details

Authorization Header

Authorization: Bearer <access_token>

Query Parameters

docGroups

array of strings

Acceptance document groups to retrieve.

onlyCurrentVersion

boolean

Whether to retrieve the latest version of the acceptance document only.

Request Body

None

Returns

Returns an array of Acceptance Document Group objects. This object includes the group name, a list of documents included in the group, and details for each document version.

SAMPLE RESPONSE

				
					[
  {
    "documentGroup": "rocketkor",
    "documentGroupTitle": "Rocketkor document group",
    "documents": [
      {
        "id": "rkor-privacy-policy",
        "title": "Privacy policy",
        "versions": [
          {
            "version": "1",
            "createdAt": "2024-01-07T16:26:22.514Z",
            "isCurrentVersion": true,
            "isRequiredMinimumVersion": true
          }
        ]
      }
    ]
  },
  {...},
  {...}
]
				
			
Exit mobile version