GET/spaces/api/v1/spaces/{spaceID}/pages.json

Get all pages under the given space

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

SpaceContents
{
  "pages": {
    "pages": {
      "trash": [
        {
          "childPages": [
            {
              "id": 0,
              "slug": "string",
              "title": "string",
              "updatedAt": "2024-04-12T16:21:59.318Z"
            }
          ],
          "id": 0,
          "slug": "string",
          "title": "string",
          "updatedAt": "2024-04-12T16:21:59.318Z"
        }
      ]
    },
    "private": [
      {
        "trash": [
          {
            "childPages": [
              {
                "id": 0,
                "slug": "string",
                "title": "string",
                "updatedAt": "2024-04-12T16:21:59.318Z"
              }
            ],
            "id": 0,
            "slug": "string",
            "title": "string",
            "updatedAt": "2024-04-12T16:21:59.318Z"
          }
        ]
      }
    ]
  }
}