RocketKOR

Download an Acceptance Document

Download a new acceptance document, such as a privacy policy or a terms and conditions agreement.

Endpoint

GET /api/download/v1/documents/acceptance/{documentId}

Authorization Header

Authorization: Bearer <access_token>

Path Parameters

documentId  REQUIRED

string

Semantic ID of the document

Request Body

None

Returns

Returns a binary response with the content of the acceptance document. The following headers are returned.

Content-Length

integer

Contains the file size in bytes. Example: 93014

Digest

string

Contains a file checksum value that can be used for integrity validation of the downloaded file. The value of the header starts with the prefix sha-256= and is followed by a sha-256 hashed value which is then encoded using base64 algorithm. Example: sha-256=1L06ApP3053bktcGegdzE2K0Gxo5c9MbP8xNfT1+yME=

Kor-Document-Version

string

Contains the semantic version of the requested document. Example: v1.2-4b