Redirecting…

List all Pages

Returns a list of pages from the API key owners account.

Parameters

Name Type Description
api_key string your API key (required)

JSON Example

GET https://api.yikesite.com/api/pages.json?api_key=<api_key>

The response consists of a pages object containing all of the pages including children on the API key owners account.

{
  "pages":[
    {
      "id":"000_1",
      "name":"Home",
      "urlname":"home",
      "body":"<h1>Home</h1><p>Coming Soon.</p>",
      "created_at":"Fri Aug 24 20:59:04 UTC 2007",
      "created_by":"John Doe",
      "updated_at":"Wed Jul 04 20:03:28 UTC 2012",
      "updated_by":"John Doe",
      "parent_id":"0",
      "position":"1",
      "url":"/home",
      "is_hidden":false,
      "description":null,
      "body_format":"",
      "custom_date":"Fri Aug 24 20:59:04 UTC 2007",
      "children":[
        {
          "id":"000_16",
          "name":"News",
          "urlname":"news",
          "body":"<h1>News</h1><p>Coming Soon.</p>",
          "created_at":"Wed Nov 07 22:33:14 UTC 2007",
          "created_by":"John Doe",
          "updated_at":"Wed Jul 04 20:03:28 UTC 2012",
          "updated_by":"John Doe",
          "parent_id":"000_1",
          "position":"1",
          "url":"/home/news",
          "is_hidden":true,
          "description":null,
          "body_format":"",
          "custom_date":"Wed Nov 07 22:33:14 UTC 2007",
          "children":[

          ]
        }
      ]
    },
    {
      "id":"000_9",
      "name":"About",
      "urlname":"about",
      "body":"<h1>About</h1><p>Coming soon...</p>",
      "created_at":"Fri Aug 24 20:59:04 UTC 2007",
      "created_by":"yikesite",
      "updated_at":"Wed Jul 04 20:03:28 UTC 2012",
      "updated_by":"John Doe",
      "parent_id":"0",
      "position":"2",
      "url":"/about",
      "is_hidden":false,
      "description":null,
      "body_format":"",
      "custom_date":"Fri Aug 24 20:59:04 UTC 2007",
      "children":[

      ]
    },
    {
      "id":"000_8",
      "name":"Services",
      "urlname":"services",
      "body":"<h1>Services</h1><p>Coming soon...</p>",
      "created_at":"Fri Aug 24 20:59:04 UTC 2007",
      "created_by":"John Doe",
      "updated_at":"Wed Jul 04 20:03:28 UTC 2012",
      "updated_by":"John Doe",
      "parent_id":"0",
      "position":"3",
      "url":"/services",
      "is_hidden":false,
      "description":null,
      "body_format":"",
      "custom_date":"Fri Aug 24 20:59:04 UTC 2007",
      "children":[

      ]
    },
    {
      "id":"000_15",
      "name":"YikeSite",
      "urlname":"yikesite",
      "body":"<h1>YikeSite</h1><p>Coming soon...</p>",
      "created_at":"Mon Nov 05 17:29:21 UTC 2007",
      "created_by":"John Doe",
      "updated_at":"Wed Jul 04 20:03:28 UTC 2012",
      "updated_by":"John Doe",
      "parent_id":"0",
      "position":"4",
      "url":"/yikesite",
      "is_hidden":false,
      "description":null,
      "body_format":"",
      "custom_date":"Mon Nov 05 17:29:21 UTC 2007",
      "children":[

      ]
    }
  ]
}