v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444236171.7 KB

Retrieves the document versions for the specified document.

By default, only active versions are returned.

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

Path parameters

DocumentIdstring required

The ID of the document.

Query parameters

markerstring

The marker for the next set of results. (You received this marker from a previous call.)

limitinteger

The maximum number of versions to return with this call.

includestring

A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

fieldsstring

Specify "SOURCE" to include initialized versions and a URL for the source document.

Limitstring

Pagination limit

Markerstring

Pagination token

Headers

Authenticationstring password

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

Response

Success

Markerstring

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.