Skip to content

Commit a6ba364

Browse files
authored
Mention API prefix config. in REST API intro.
1 parent 1f2a9fd commit a6ba364

File tree

1 file changed

+4
-0
lines changed
  • docusaurus/docs/dev-docs/api

1 file changed

+4
-0
lines changed

docusaurus/docs/dev-docs/api/rest.md

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ For each Content-Type, the following endpoints are automatically generated:
8585
[Components](/dev-docs/backend-customization/models#components) don't have API endpoints.
8686
:::
8787

88+
:::tip
89+
API endpoints are prefixed with `/api` by default. This can be changed by setting a different value for the `rest.prefix` configuration parameter (see [API calls configuration](/dev-docs/configurations/api)).
90+
:::
91+
8892
## Requests
8993

9094
Requests return a response as an object which usually includes the following keys:

0 commit comments

Comments
 (0)