API Docs / Schemas / ClientDocumentFileDto

ClientDocumentFileDto

The physical file behind a client document — what it is called, what it weighs, where it
lives and how to fetch it. Always present, even for documents whose bytes sit in an external
storage provider rather than our own blob storage.

Properties

Name Type Description
originalFileNamestring

Original file name provided during upload

Original file name provided during upload

contentTypestring

MIME type of the document (e.g., application/pdf)

MIME type of the document (e.g., application/pdf)

fileSizeinteger

File size in bytes

File size in bytes

storageTypeenum

AzureBlob External

AzureBlob External

downloadUrlstring

URL for downloading/viewing the document.
For Azure Blob: a time-limited SAS URL.
For External: a link to the file in the external platform.

URL for downloading/viewing the document.
For Azure Blob: a time-limited SAS URL.
For External: a link to the file in the external platform.

JSON Example

{
  "originalFileName": "string",
  "contentType": "string",
  "fileSize": 0,
  "storageType": "AzureBlob",
  "downloadUrl": "string"
}

Contained in Schemas