Get Document Collection
GET/v1/collections/:workspace_id
Get the details of a document collection.
Args
workspace_id (str): The ID of the workspace, collection_id (str): The id of the document collection, repository_collection: DocumentCollectionRepository = Depends(get_repository(DocumentCollectionRepository)), user (TokenData): The token data of the authenticated user,
Returns
DocumentCollectionBase: The details of the document collection.
Raises
HTTP_404: If the document collection is not found in the workspace.
Request
Responses
- 200
- 422
Successful Response
Validation Error