Pages

get
Authorizations
Path parameters
siteKeystringRequired
Query parameters
limitnumber | nullableOptional
pagenumber | nullableOptional
orderBystringOptional
dirstring · enumOptionalPossible values:
featuredboolean | nullableOptional
Responses
200

Retrieve a list of Pages

application/json
get
GET /api/v2/{siteKey}/public/pages HTTP/1.1
Host: app.venuecms.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Retrieve a list of Pages

{
  "records": [
    {
      "id": "text",
      "order": 1,
      "slug": "text",
      "featured": true,
      "featuredExpiration": "text",
      "date": "text",
      "parentId": "text",
      "siteId": "text",
      "image": {
        "siteId": "text",
        "uploaded": true,
        "inline": true,
        "url": "text",
        "mimeType": "text",
        "size": 1,
        "metadata": {},
        "title": "text",
        "caption": "text",
        "credit": "text",
        "altText": "text"
      },
      "parent": {},
      "fullPath": "text",
      "roles": [
        {
          "pageId": "text",
          "accessRoleId": "text",
          "accessRole": {
            "id": "text",
            "siteId": "text",
            "createdAt": "text",
            "updatedAt": "text",
            "name": "text",
            "description": "text"
          }
        }
      ],
      "custom": [
        {
          "data": null,
          "customSchemaId": "text"
        }
      ],
      "localizedContent": [
        {
          "siteId": "text",
          "locale": "text",
          "title": "text",
          "content": "text",
          "shortContent": "text",
          "extraContent": "text",
          "excerpt": "text",
          "metaTitle": "text",
          "metaDescription": "text",
          "keywords": "text",
          "contentJSON": {}
        }
      ],
      "artists": [
        {
          "profile": {
            "siteId": "text",
            "slug": "text",
            "image": {
              "siteId": "text",
              "uploaded": true,
              "inline": true,
              "url": "text",
              "mimeType": "text",
              "size": 1,
              "metadata": {},
              "title": "text",
              "caption": "text",
              "credit": "text",
              "altText": "text"
            },
            "localizedContent": [
              {
                "siteId": "text",
                "locale": "text",
                "title": "text",
                "content": "text",
                "shortContent": "text",
                "extraContent": "text",
                "excerpt": "text",
                "metaTitle": "text",
                "metaDescription": "text",
                "keywords": "text",
                "contentJSON": {}
              }
            ],
            "custom": [
              {
                "data": null,
                "customSchemaId": "text"
              }
            ]
          }
        }
      ]
    }
  ]
}
get
Authorizations
Path parameters
siteKeystringRequired
slugstringRequired
Responses
200

Retrieve a Page

application/json
Responseall of
get
GET /api/v2/{siteKey}/public/pages/{slug} HTTP/1.1
Host: app.venuecms.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "order": 1,
  "slug": "text",
  "featured": true,
  "featuredExpiration": "text",
  "date": "text",
  "parentId": "text",
  "siteId": "text",
  "image": {
    "siteId": "text",
    "uploaded": true,
    "inline": true,
    "url": "text",
    "mimeType": "text",
    "size": 1,
    "metadata": {},
    "title": "text",
    "caption": "text",
    "credit": "text",
    "altText": "text"
  },
  "parent": {},
  "fullPath": "text",
  "roles": [
    {
      "pageId": "text",
      "accessRoleId": "text",
      "accessRole": {
        "id": "text",
        "siteId": "text",
        "createdAt": "text",
        "updatedAt": "text",
        "name": "text",
        "description": "text"
      }
    }
  ],
  "custom": [
    {
      "data": null,
      "customSchemaId": "text"
    }
  ],
  "localizedContent": [
    {
      "siteId": "text",
      "locale": "text",
      "title": "text",
      "content": "text",
      "shortContent": "text",
      "extraContent": "text",
      "excerpt": "text",
      "metaTitle": "text",
      "metaDescription": "text",
      "keywords": "text",
      "contentJSON": {}
    }
  ],
  "artists": [
    {
      "profile": {
        "siteId": "text",
        "slug": "text",
        "image": {
          "siteId": "text",
          "uploaded": true,
          "inline": true,
          "url": "text",
          "mimeType": "text",
          "size": 1,
          "metadata": {},
          "title": "text",
          "caption": "text",
          "credit": "text",
          "altText": "text"
        },
        "localizedContent": [
          {
            "siteId": "text",
            "locale": "text",
            "title": "text",
            "content": "text",
            "shortContent": "text",
            "extraContent": "text",
            "excerpt": "text",
            "metaTitle": "text",
            "metaDescription": "text",
            "keywords": "text",
            "contentJSON": {}
          }
        ],
        "custom": [
          {
            "data": null,
            "customSchemaId": "text"
          }
        ]
      }
    }
  ]
}