Documents

Get a single document release with full snapshot

GET
/organizations/{organizationId}/documents/{documentId}/releases/{releaseId}

Gets a single document release with its full snapshot.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
documentId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
releaseId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/releases/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "version": 1,  "publishedAt": 0,  "publishedBy": "string",  "releaseNotes": "string",  "snapshot": {    "name": "string",    "description": "string",    "type": "policy",    "policyType": "string",    "accessLevel": "public",    "assets": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "format": "html",        "language": "string",        "body": "string",        "file": {          "bucket": "string",          "key": "string",          "size": 0,          "fileName": "string",          "contentType": "string",          "etag": "string",          "sha256": "string"        },        "version": 0,        "dateCreated": 0,        "dateUpdated": 0      }    ],    "quiz": {      "items": [        {}      ],      "passPercent": 1    },    "videoUrl": "http://example.com"  },  "dateCreated": 0,  "dateUpdated": 0}