Skip to content

Commit

Permalink
Mention API prefix config. in REST API intro.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla authored Jan 15, 2024
1 parent 1f2a9fd commit a6ba364
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docusaurus/docs/dev-docs/api/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

1 comment on commit a6ba364

@vercel
Copy link

@vercel vercel bot commented on a6ba364 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

docs-vercel-v4.strapi.io
documentation-git-main-strapijs.vercel.app
documentation-strapijs.vercel.app

Please sign in to comment.