v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444236171.7 KB

Retrieves version metadata for the specified document.

get/api/v1/documents/{DocumentId}/versions/{VersionId}

Path parameters

DocumentIdstring required

The ID of the document.

VersionIdstring required

The version ID of the document.

Query parameters

fieldsstring

A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.

includeCustomMetadataboolean

Set this to TRUE to include custom metadata in the response.

Headers

Authenticationstring password

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Response

Success

CustomMetadataobject

The custom metadata on the document version.