Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

fix(docs): add search query in get documents endpoint doc

Luke Milby4b77e4124227
diff --git a/apps/docs/src/content/docs/04-resources/03-api-endpoints.mdx b/apps/docs/src/content/docs/04-resources/03-api-endpoints.mdx
index 680a5ffd..4b4b40ac 100644
--- a/apps/docs/src/content/docs/04-resources/03-api-endpoints.mdx
+++ b/apps/docs/src/content/docs/04-resources/03-api-endpoints.mdx
@@ -155,7 +155,7 @@ List all documents in the organization.
- Query parameters
- `pageIndex`: (optional, default: 0) The page index to start from.
- `pageSize`: (optional, default: 100) The number of documents to return.
- - `tags`: (optional) The tags IDs to filter by.
+ - `searchQuery`: (optional) Search query, can reference [Filters](https://docs.papra.app/guides/advanced-search/#filters) for a more defined search
- Response (JSON)
- `documents`: The list of documents.
- `documentsCount`: The total number of documents.