メインコンテンツまでスキップ

「policies」タグのついた8記事

全てのタグを見る

Error handling

With Strapi's error handling feature it's easy to send and receive errors in your application.

GraphQL plugin

Use a GraphQL endpoint in your Strapi project to fetch and mutate your content.

GraphQL の高度なポリシー

GraphQL API へのリクエストは、Strapi の ミドルウェア と ポリシー を通ります。リゾルバにポリシーを付けて、複雑な認可ルールを実装できます。

Plugins extension

Existing plugins can be overriden by placing code in /src/extensions or using global register/bootstrap hooks. Instructions in this documentation cover reshaping plugin content-type schemas or server logic — altough upstream updates may break extensions.

Policies

Strapi policies are functions that execute specific logic on each request before it reaches the controller. Policies can be customized according to your needs.

Routes

Strapi routes handle requests to your content and are auto-generated for your content-types. Routes can be customized according to your needs.

Server API for plugins

Overview of the Strapi Server API for plugins, with entry file, lifecycle hooks, routes, controllers, services, policies, middlewares, and configuration.