Get List Documents From Collection
GET/v1/collections/:workspace_id/documents
Get the documents 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)), repository_document_metadata: DocumentMetadataRepository = Depends(get_repository(DocumentMetadataRepository)), user (TokenData): The token data of the authenticated user, page (int): The page number to retrieve. Defaults to 1, size (int): The number of items per page. Defaults to 50.
Returns
\{
"items": List[DocumentMetadataRead],
"total": 68,
"page": 2,
"size": 5,
"pages": 14
\}
Request
Responses
- 200
- 422
Successful Response
Validation Error