API reference
Get a demo page
Fetch one placeholder documentation page by ID.
GET
Component
Get a demo page
Fetch one placeholder documentation page by ID.
GET /v1/demo-pages/{pageId}
Generated from
examples/openapi.json. This is a schema reference stub. Live request execution is not enabled.
Parameters
pageIdstring pathpathRequiredUnique demo page ID.
Responses
200HTTP responseThe requested demo page.
404HTTP responseNo demo page exists with that ID.
Schemas
Response example
{
"DemoPage": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"published"
]
}
},
"required": [
"id",
"slug",
"title",
"status"
]
},
"DemoPageCreate": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"body": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"body"
]
}
}