# REST API 指南

> Source: https://strapi.nodejs.cn/cms/api/rest/guides/intro

🌐 REST API Guides

探索关于特定 REST API 主题的详细指南和逐步说明，包括访问创作者字段的 populate 参数和自定义控制器。

🌐 Explore detailed guides and step-by-step instructions on specific REST API topics, including populate parameters and custom controllers for accessing creator fields.

[REST API 参考](/cms/api/rest) 文档旨在为所有可用的端点和参数提供快速参考。

🌐 The [REST API reference](/cms/api/rest) documentation is meant to provide a quick reference for all the endpoints and parameters available.

## 指南 {#guides}

🌐 Guides

以下指南由 Strapi 文档团队官方维护，涵盖专门主题并为某些用例提供详细说明（用 🧠 表示的指南）或分步说明（用 🛠️ 表示的指南）：

🌐 The following guides, officially maintained by the Strapi Documentation team, cover dedicated topics and provide detailed explanations (guides indicated with 🧠) or step-by-step instructions (guides indicated with 🛠️) for some use cases:

- [理解填充](/cms/api/rest/guides/understanding-populate): 了解填充（populating）是什么意思，以及如何在你的 REST API 查询中使用 populate 参数向响应中添加额外字段。
- [如何填写创建者字段](/cms/api/rest/guides/populate-creator-fields): 阅读逐步说明，了解如何构建一个自定义控制器，该控制器利用 populate 参数将 

## 附加资源 {#additional-resources}

🌐 Additional resources

:::strapi Want to help other users?

本节中列出的一些附加资源是为 Strapi v4 创建的，可能无法完全适用于 Strapi 5。如果你想将以下文章中的某一篇更新为适用于 Strapi 5，请随时 [propose an article](https://strapi.io/write-for-the-community) 加入社区写作计划。

:::

其他教程和指南可以在以下博客文章中找到：

🌐 Additional tutorials and guides can be found in the following blog posts:

- [什么是 REST API？初学者指南 + 使用 Strapi 的示例](https://strapi.io/blog/what-is-a-rest-api-beginners-guide-examples-using-strapi): 了解 REST API 的基本原则以及如何使用 Strapi REST API。

- [使用 REST API 进行请求身份验证](https://strapi.io/blog/guide-on-authenticating-requests-with-the-rest-api): 了解如何使用 JSON Web 令牌和 API 令牌验证你的 REST API 查询。

- [使用 Fetch 调用 Strapi 的内容 API](https://strapi.io/blog/mastering-api-requests-using-fetch-with-strapi-content-api): 探索如何使用 Fetch API 的 fetch() 方法与 Strapi 的内容 API 进行交互。

- [在内容分发网络（CDN）后请求 Strapi 的 REST API](https://strapi.io/blog/request-strapi-s-rest-api-behind-a-content-delivery-network-cdn): 了解如何通过使用 CDN 和 Strapi 的 REST API，在请求大量媒体资源时克服网络延迟问题。
