Pages
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
siteKeystringRequired
Query parameters
limitnumber · nullableOptional
pagenumber · nullableOptional
orderBystringOptional
dirstring · enumOptionalPossible values:
featuredbooleanOptional
tagsany ofOptional
stringOptional
string[]Optional
querystring · nullableOptional
Responses
200
Retrieve a list of Pages
application/json
countnumberRequired
get/api/v2/{siteKey}/public/pages
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",
"type": "CONTENT",
"linkUrl": "text",
"openInNewTab": true,
"parentId": "text",
"siteId": "text",
"image": {
"id": "text",
"siteId": "text",
"uploaded": true,
"inline": true,
"url": "text",
"mimeType": "text",
"size": "text",
"width": 1,
"height": 1,
"duration": 1,
"metadata": {},
"title": "text",
"caption": "text",
"credit": "text",
"altText": "text"
},
"parent": {},
"fullPath": "text",
"roles": [
{
"pageId": "text",
"accessRoleId": "text"
}
],
"custom": [
{
"data": null,
"customSchemaId": "text"
}
],
"tags": [
{
"tagId": "text",
"tag": {
"id": "text",
"siteId": "text",
"title": "text",
"parentTags": [
{
"tagId": "text",
"parentTagId": "text",
"createdAt": "text",
"parentTag": {
"id": "text",
"siteId": "text",
"title": "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",
"tags": [
{
"tagId": "text",
"tag": {
"id": "text",
"siteId": "text",
"title": "text",
"parentTags": [
{
"tagId": "text",
"parentTagId": "text",
"createdAt": "text",
"parentTag": {
"id": "text",
"siteId": "text",
"title": "text"
}
}
]
}
}
],
"image": {
"id": "text",
"siteId": "text",
"uploaded": true,
"inline": true,
"url": "text",
"mimeType": "text",
"size": "text",
"width": 1,
"height": 1,
"duration": 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"
}
]
}
}
]
}
],
"count": 1
}get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
siteKeystringRequired
slugstringRequired
Responses
200
Retrieve a Page
application/json
idstringRequired
orderintegerRequired
slugstringRequired
featuredbooleanRequired
featuredExpirationany ofOptional
stringOptional
stringOptional
any · nullableOptional
dateany ofOptional
stringOptional
stringOptional
any · nullableOptional
typestring · enumRequiredPossible values:
linkUrlstring · nullableOptional
openInNewTabbooleanRequired
parentIdstring · nullableOptional
siteIdstringRequired
parentobjectOptional
fullPathstring · nullableOptional
404
Page not found
get/api/v2/{siteKey}/public/pages/{slug}
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",
"type": "CONTENT",
"linkUrl": "text",
"openInNewTab": true,
"parentId": "text",
"siteId": "text",
"image": {
"id": "text",
"siteId": "text",
"uploaded": true,
"inline": true,
"url": "text",
"mimeType": "text",
"size": "text",
"width": 1,
"height": 1,
"duration": 1,
"metadata": {},
"title": "text",
"caption": "text",
"credit": "text",
"altText": "text"
},
"parent": {},
"fullPath": "text",
"roles": [
{
"pageId": "text",
"accessRoleId": "text"
}
],
"custom": [
{
"data": null,
"customSchemaId": "text"
}
],
"tags": [
{
"tagId": "text",
"tag": {
"id": "text",
"siteId": "text",
"title": "text",
"parentTags": [
{
"tagId": "text",
"parentTagId": "text",
"createdAt": "text",
"parentTag": {
"id": "text",
"siteId": "text",
"title": "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",
"tags": [
{
"tagId": "text",
"tag": {
"id": "text",
"siteId": "text",
"title": "text",
"parentTags": [
{
"tagId": "text",
"parentTagId": "text",
"createdAt": "text",
"parentTag": {
"id": "text",
"siteId": "text",
"title": "text"
}
}
]
}
}
],
"image": {
"id": "text",
"siteId": "text",
"uploaded": true,
"inline": true,
"url": "text",
"mimeType": "text",
"size": "text",
"width": 1,
"height": 1,
"duration": 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"
}
]
}
}
]
}
