From a6ba364cb8e7f9bdf6708e6a0b47e84ee165b84c Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 15 Jan 2024 11:36:29 +0100 Subject: [PATCH] Mention API prefix config. in REST API intro. --- docusaurus/docs/dev-docs/api/rest.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docusaurus/docs/dev-docs/api/rest.md b/docusaurus/docs/dev-docs/api/rest.md index 6a35abae89..922421e3b8 100644 --- a/docusaurus/docs/dev-docs/api/rest.md +++ b/docusaurus/docs/dev-docs/api/rest.md @@ -85,6 +85,10 @@ For each Content-Type, the following endpoints are automatically generated: [Components](/dev-docs/backend-customization/models#components) don't have API endpoints. ::: +:::tip +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)). +::: + ## Requests Requests return a response as an object which usually includes the following keys: