Documents

Get a Document's Contents

Get a presigned URL valid for fifteen minutes. You can fetch the file from it directly.

get/documents/{documentId}/content

Request

  • Base URL: https://api.xcures.com/v3
  • URL: https://api.xcures.com/v3/documents/{documentId}/content
  • Auth: HTTP bearer

Path parameters

documentIdstring uuid required

The document's id.

Headers

ProjectIdstring required

The project the document belongs to.

Response

Where to download the document's file.

urlstring required

A presigned download address, valid for fifteen minutes from when it was issued.

fileNamestring required

The file's name.

contentTypestring nullable

The file's media type; null when none was recorded.

Changes

No recorded changes to this operation across all 1 revision of this API.