The minimalistic document archiving platform.
fix(docs): proper API body type to update document (#978)
Luke Milby2ca5634166fb
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.mdxindex e89bf749..680a5ffd 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@@ -236,7 +236,7 @@ Get the statistics (number of documents and total size) of the documents in theChange the name or content (for search purposes) of a document.- Required API key permissions: `documents:update`-- Body (form-data)+- Body (JSON)- `name`: (optional) The document name.- `content`: (optional) The document content.- Response (JSON)