Core resources
Administration
Booking flow
Additional pages on a site
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
content
jsonb
Content of the page
description
jsonb
Localized description of the page
slug
jsonb
Slug of the page
status
"draft" | "published"
Publication status of the page
title
jsonb
Localized title of the page
{"id": "00000000-0000-0000-0000-000000000000","site_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T18:25:25.732Z","updated_at": "2024-11-21T18:25:25.732Z","content": {},"description": {},"slug": {},"status": "draft","title": {}}
id
Filter<>
Unique identifier
site_id
Filter<>
Identifier of the site this page is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
content
Filter<>
Content of the page
description
Filter<>
Localized description of the page
slug
Filter<>
Slug of the page
status
Filter<>
Publication status of the page
title
Filter<>
Localized title of the page
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"
Partial<SitePage>
| Array<Partial<SitePage>>
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 '[]'
id
Filter<>
Unique identifier
site_id
Filter<>
Identifier of the site this page is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
content
Filter<>
Content of the page
description
Filter<>
Localized description of the page
slug
Filter<>
Slug of the page
status
Filter<>
Publication status of the page
title
Filter<>
Localized title of the page
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"
id
Filter<>
Unique identifier
site_id
Filter<>
Identifier of the site this page is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
content
Filter<>
Content of the page
description
Filter<>
Localized description of the page
slug
Filter<>
Slug of the page
status
Filter<>
Publication status of the page
title
Filter<>
Localized title of the page
Partial<SitePage>
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 '{}'