API reference

Get a demo page

Fetch one placeholder documentation page by ID.

GET

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 pathpathRequired
Unique demo page ID.

Responses

200HTTP response
The requested demo page.
404HTTP response
No demo page exists with that ID.

Schemas

Response example

Component
{
  "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"
    ]
  }
}