Get Document-Metadata
GET/v1/metadata/:workspace_id/:document/detail
Retrieve the metadata of a specific document.
Args: document (str): The ID or name of the document. repository (DocumentMetadataRepository): The repository for managing document metadata. user (TokenData): The token data of the authenticated user.
Returns
Union[DocumentMetadataRead, HTTPException]: The document metadata if found, otherwise an HTTPException.
Request
Responses
- 200
- 422
Successful Response
Validation Error