Core resources


Administration


Booking flow

Site views

Logs of each pageview for a site

The site view object

Attributes

idinteger

Unique identifier

site_iduuid
sites.id

Identifier of the site this view is related to

created_attimestamp with time zone

Creation timestamp

countrytext | null

Country of the view

pathnametext

Pathname of the page

referertext | null

Referer of the view

sessionuuid

Session identifier

The site view object
{
"id": 0,
"site_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-05-11T18:49:26.184Z",
"country": "",
"pathname": "",
"referer": "",
"session": "00000000-0000-0000-0000-000000000000"
}

List site views

Filters

idFilter<integer>

Unique identifier

site_idFilter<uuid>

Identifier of the site this view is related to

created_atFilter<timestamp with time zone>

Creation timestamp

countryFilter<text>

Country of the view

pathnameFilter<text>

Pathname of the page

refererFilter<text>

Referer of the view

sessionFilter<uuid>

Session identifier

Responses

200

A list of site views with the selected columns

206

Partial Content

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