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

「Rest API」タグのついた29記事

全てのタグを見る

Back-end customization

All elements of Strapi's back end, like routes, policies, middlewares, controllers, services, models, requests, responses, and webhooks, can be customized.

Content API

Strapi 5 の Content API について説明します

Controllers

Controllers bundle actions that handle business logic for each route within Strapi’s MVC pattern. This documentation demonstrates generating controllers, extending core ones with createCoreController, and delegating heavy logic to services.

Error handling

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

Filters

Strapi の REST API でリクエスト結果をフィルターします。

Interactive Query Builder

querystring ライブラリを使ったインタラクティブツールでクエリ URL を組み立てます。

Locale

Internationalization を REST で使うための `locale` パラメータのリファレンスです。

Middlewares

Middlewares alter the request or response flow at application or API levels. This documentation distinguishes global versus route middlewares and illustrates custom implementations with generation patterns.

Models

Strapi models (i.e. content-types, components, and dynamic zones) define a representation of the content structure.

Parameters

Strapi の REST API クエリを API パラメータで絞り込みます。

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.

Populate and Select

Strapi の REST API でフィールドをポピュレートしたり、表示フィールドを絞り込んだりします。

Relations

REST API でリレーションの順序を管理します。

REST API Guides

REST API の特定トピックを、ユースケースの詳細説明や手順付きガイドで掘り下げます。

REST API reference

Strapi がコンテンツタイプ用に生成する REST API エンドポイントでコンテンツにアクセスします。

Routes

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

Services

Strapi services are a set of reusable functions, useful to simplify controllers logic.

Sort and Pagination

Strapi の REST API でデータをソートまたはページネーションします。

Status

Strapi の REST API でドキュメントの下書き版または公開版を扱います。

Understanding populate

ポピュレートの意味と、REST API クエリで populate パラメータを使ってレスポンスにフィールドを追加する方法です。

Upload files

REST API の `/api/upload` エンドポイントで Strapi にファイルをアップロードする方法です。

Webhooks

Strapi webhooks are user-defined HTTP callbacks used by an application to notify other applications that an event occurred.