Core resources


Administration


Booking flow

Site pages

Additional pages on a site

The site page object

Attributes

iduuid

Unique identifier

site_iduuid
sites.id

Identifier of the site this page is defined in

created_attimestamp with time zone

Creation timestamp

updated_attimestamp with time zone

Last modification timestamp

contentjsonb

Content of the page

descriptionjsonb

Localized description of the page

slugjsonb

Slug of the page

status"draft" | "published"

Publication status of the page

titlejsonb

Localized title of the page

The site page object
{
"id": "00000000-0000-0000-0000-000000000000",
"site_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-10-18T05:37:48.790Z",
"updated_at": "2024-10-18T05:37:48.790Z",
"content": {},
"description": {},
"slug": {},
"status": "draft",
"title": {}
}

List site pages

Filters

idFilter<>

Unique identifier

site_idFilter<>

Identifier of the site this page is defined in

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

contentFilter<>

Content of the page

descriptionFilter<>

Localized description of the page

slugFilter<>

Slug of the page

statusFilter<>

Publication status of the page

titleFilter<>

Localized title of the page

Responses

200

A list of site pages with the selected columns

206

Partial Content

GET/site_pages
curl -X GET "https://api.bookingmood.com/v1/site_pages?select=*" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create site pages

Body

Partial<SitePage>
| Array<Partial<SitePage>>

Responses

201

The newly created site pages with the selected columns

POST/site_pages
curl -X POST "https://api.bookingmood.com/v1/site_pages" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '[]'

Delete site pages

Filters

idFilter<>

Unique identifier

site_idFilter<>

Identifier of the site this page is defined in

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

contentFilter<>

Content of the page

descriptionFilter<>

Localized description of the page

slugFilter<>

Slug of the page

statusFilter<>

Publication status of the page

titleFilter<>

Localized title of the page

Responses

204

The deleted site pages with the selected columns

DELETE/site_pages
curl -X DELETE "https://api.bookingmood.com/v1/site_pages" \
  -H "Authorization: Bearer YOUR_API_KEY"

Update site pages

Filters

idFilter<>

Unique identifier

site_idFilter<>

Identifier of the site this page is defined in

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

contentFilter<>

Content of the page

descriptionFilter<>

Localized description of the page

slugFilter<>

Slug of the page

statusFilter<>

Publication status of the page

titleFilter<>

Localized title of the page

Body

Partial<SitePage>

Responses

204

The updated site pages with the selected columns

PATCH/site_pages
curl -X PATCH "https://api.bookingmood.com/v1/site_pages" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'