API reference
List demo pages
Return a paginated list of placeholder documentation pages.
GET
Component
List demo pages
Return a paginated list of placeholder documentation pages.
GET /v1/demo-pages
Generated from
examples/openapi.json. This is a schema reference stub. Live request execution is not enabled.
Parameters
limitinteger queryqueryMaximum number of pages to return.
cursorstring queryqueryPagination cursor from the previous response.
Responses
200HTTP responseA list of demo pages.
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"
]
}
}