Demo data
Reference demo
Preview dummy API reference content, request examples, response examples, and generated spec pages.
Use this page to inspect reference-style documentation. It includes hand-authored API fields and links to generated OpenAPI and AsyncAPI stub pages.
Example endpoint
POST POST /v1/demo-pages
Create a sample documentation page in a placeholder project.
Parameters
Authorizationstring headerheaderRequiredBearer token for your own API. This is dummy data.
workspaceIdstring pathpathRequiredThe example workspace that owns the page.
dryRunboolean queryqueryOptionalPreview the change without saving it.
Request body
titlestringRequiredHuman-readable page title.
bodystringRequiredMarkdown or MDX content for the page.
tagsstring[]OptionalLabels used for filtering or search.
Request example
{
"title": "Install the CLI",
"body": "Run npm install -g example-cli.",
"tags": ["setup", "cli"]
}Responses
201HTTP responseThe page was created.
400HTTP responseThe request body was missing a required field.
Response example
{
"id": "page_123",
"slug": "install-the-cli",
"title": "Install the CLI",
"status": "published"
}Generated spec pages
The starter also has dummy OpenAPI and AsyncAPI files under examples/. They generate extra pages in the API reference navigation group.
Generated from examples/openapi.json.
Generated from examples/asyncapi.yaml.
Next step: Deploy to Vercel