The REST API
此内容尚不支持你的语言。
Introduction
Section titled “Introduction”The StudioCMS REST API is a powerful tool that allows you to interact with your StudioCMS content programmatically. It provides a simple and flexible way to manage and serve your content.
The StudioCMS REST API is powered by Astro Endpoints and offers a RESTful interface for interacting with your StudioCMS content. Below is a breakdown of the StudioCMS REST API and its components.
API Tokens
Section titled “API Tokens”To access the StudioCMS REST API’s protected endpoints, you need to provide an API token in the Authorization header of your requests. You can generate an API token by logging into the StudioCMS Dashboard and navigating to the “API Tokens” section in the user profile.
Endpoints
Section titled “Endpoints”The StudioCMS REST API provides several endpoints that allow you to interact with your StudioCMS content. These endpoints are primarily used internally by StudioCMS but can also be accessed by developers to interact with StudioCMS data. The following are the endpoints provided by the StudioCMS REST API:
For a detailed list of available endpoints and their usage, please refer to the StudioCMS REST API documentation.