API Documentation
Create API Document
Publish a new document attached to an API.
All configuration options may be provided in the frontmatter section of content. If you set values in both the POST request and in the frontmatter, the values in the POST request will take precedence.
post/v3/apis/{apiId}/documents
Request body
Example request
{
"id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
"title": "API Document",
"slug": "api-document",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Response
API document
Example response
{
"id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
"title": "API Document",
"slug": "api-document",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}