Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docusaurus/docs/dev-docs/api/document-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ tags:
- Documents
- documentId
- Document Service API
- Query Engine API
---

# Document Service API <BetaBadge />
Expand All @@ -22,6 +21,10 @@ With the Document Service API, you can also [count](#count) documents and, if [D
The Document Service API is meant to replace the Entity Service API used in Strapi v4 ([see Strapi v4 documentation](https://docs.strapi.io/dev-docs/api/entity-service)). Additional information on how to transition away from the Entity Service API to the Document Service API can be found in the related [migration reference](/dev-docs/migration/v4-to-v5/guides/from-entity-service-to-document-service).
:::

:::note
Relations can also be connected, disconnected, and set through the Document Service API just like with the REST API (see the [REST API relations documentation](/dev-docs/api/rest/relations) for examples).
:::

## `findOne()`

Find a document matching the passed `documentId` and parameters.
Expand Down
Loading