Pular para o conteúdo principal

Get Url To Download Document

GET 

/v1/:workspace_id/file/:file_id/download/url

Get a pre-signed download url for a document with the specified file id.

Args: workspace_id (str): The id of the workspace. file_id (str): The id of the file or artifact to be downloaded. repository (DocumentRepository): The repository for managing documents. metadata_repository (DocumentMetadataRepository): The repository for managing document metadata. user (TokenData): The token data of the authenticated user.

Returns

str: The pre-signed download url.

Raises

HTTP_404: If no file with the specified id is found.

Request

Responses

Successful Response