1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hi,
Retrieving a document download url always requires a version Id.
If you don’t have it, you can find it with below call::
- Call /documents/<document_id>, https://docs.aws.amazon.com/workdocs/latest/APIReference/API_GetDocument.html
Above call returns a Metadata object which contains the version is (https://docs.aws.amazon.com/workdocs/latest/APIReference/API_DocumentMetadata.html)
Finally use the versionId to download the document. See below example for sdk:
https://docs.aws.amazon.com/workdocs/latest/developerguide/download-documents.html
Hope it helps!