- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Introduction
- Website
- Venue Info
- Components
- Pages
- Articles
- Events
- Events Groups
- Job Postings
- Service Messages
- Stores
- Stores Categories
- Promotions
- Press Releases
- Attachments
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Introduction
Website model#
Example#
{
"website": {
"primary_language": "en",
"secondary_languages": ["pl", "no"],
"primary_domain": "placewise.com",
"secondary_domains": ["boostcom.com", "boostcom.no"],
"layout": {
"components": [
"type": "header_1",
// (...)
]
},
"service_pages": {
"home_page": {"id": 100, "url": "" },
"articles_list": {"id": 101, "url": "articles" },
"article_page": {"id": 102, "url": "articles/{id}-{slug}" },
"events_list": {"id": 103, "url": "events" },
"event_page": {"id": 104, "url": "events/{id}-{slug}" },
"promotions_list": {"id": 105, "url": "promotions" },
"promotion_page": {"id": 106, "url": "promotions/{id}" },
"stores_list": {"id": 107, "url": "stores" },
"store_page": {"id": 108, "url": "store/{id}" },
"jobs_list": null,
"job_page": null,
},
"config": {
"foo": "bar"
}
}
}
Definition#
Key | Type | Optional | Description |
---|---|---|---|
primary_language | string | no | |
secondary_languages | object | no (may be empty) | |
primary_domain | object | no | |
secondary_domains | object | no (may be empty) | |
service_name | string | no | |
service_namespeca | string | no | |
layout | object | yes | Describes general layout of the website |
layout.components | object[] | yes | List of components the Layout is built of - see: ComponentsSchema |
service_pages | object[] | no | List of Service Pages |
service_pages[].id | integer | yes | Page ID |
service_pages[].url | string | yes | Page URL |
config | object | yes | Contains arbitrary configuration values for the website |
in Content Management API
Modified at 2024-04-22 22:18:07