- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- 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
Search Mixed Content
POST
https://api.mpc.dev.placewise.com/v1/content/management/mixed_content/search
API Permit:Cms:Api:Management:MixedContent:Search
API Context:Customer
Authorizations:TokenUser
Request
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Body Params application/json
mixed_content
objectÂ
required
publication_status
enum<string>Â
optional
Allowed values:
publishedscheduled
types
array[string]
optional
Allowed values:
articleeventpromotion
Default:
eventarticlepromotion
per_page
integerÂ
optional
Default:
100
search
stringÂ
optional
references
array [object {2}]Â
optional
tag_ids
arrayÂ
optional
Example
{
"mixed_content": {
"publication_status": "published",
"types": [
"event",
"article"
],
"page_no": 2,
"per_page": 10,
"sort_by": [
"visible_since"
],
"sort_directions": [
"DESC"
],
"tag_ids": [
1,
2,
3
]
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/content/management/mixed_content/search' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"mixed_content": {
"publication_status": "published",
"types": ["event", "article"],
"page_no": 2,
"per_page": 10,
"sort_by": ["visible_since"],
"sort_directions": ["DESC"],
"tag_ids": [1,2,3]
}
}'
Responses
🟢200Success
application/json
Body
items
array [object {12}]Â
required
id
integer <uint64>
read-onlyrequired
Example:
1
type
enum<string>Â
required
Allowed values:
articleeventpromotion
customer_id
integer <uint64>
read-onlyrequired
Example:
447
title
object (LocalizedContent)  | nullÂ
required
Example:
{"en":"Text"}
headline
object (LocalizedContent)  | nullÂ
required
Example:
{"en":"Text"}
visible_since
required
visible_until
required
created_at
string <date-time>
read-onlyrequired
Example:
2022-11-05T16:25:58.099512Z
updated_at
string <date-time>
read-onlyrequired
Example:
2022-11-15T16:25:58.099512Z
image
required
publication_status
enum<string>Â
read-onlyrequired
status
, visible_since
and visible_until
datesAllowed values:
publisheddraftexpiredscheduled
Example:
published
url
stringÂ
required
Example:
path/to/:id
pagination_info
object (PaginationInfo)  | nullÂ
read-onlyrequired
count
integerÂ
read-onlyrequired
Example:
1000
total_count
integerÂ
required
>= 1
Example:
2050
per_page
integerÂ
read-onlyrequired
Example:
1000
total_pages
integerÂ
read-onlyrequired
Example:
3
current_page
integerÂ
read-onlyrequired
Example:
1
next_page
integer  | nullÂ
read-onlyrequired
Example:
2
prev_page
integer  | nullÂ
read-onlyrequired
Example:
null
is_first_page
booleanÂ
read-onlyrequired
Example:
true
is_last_page
booleanÂ
read-onlyrequired
Example:
false
is_out_of_range
booleanÂ
read-onlyrequired
per_page
param out of range?Example:
false
offset
integerÂ
read-onlyrequired
Example:
0
Example
{
"items": [
{
"id": 1,
"type": "article",
"customer_id": 447,
"title": {
"en": "Text"
},
"headline": {
"en": "Text"
},
"visible_since": "2022-11-09T16:25:58.099512Z",
"visible_until": "2022-11-15T16:25:58.099512Z",
"created_at": "2022-11-05T16:25:58.099512Z",
"updated_at": "2022-11-15T16:25:58.099512Z",
"image": {
"url": "https://example.com/image.png",
"identifier": "1",
"mime_type": "image/jpeg",
"created_at": "2022-11-09T15:46:00.252860Z",
"updated_at": "2022-11-09T15:46:00.252860Z",
"image_details": {
"width": 1,
"height": 1
}
},
"publication_status": "published",
"url": "path/to/:id"
}
],
"pagination_info": {
"count": 1000,
"total_count": 2050,
"per_page": 1000,
"total_pages": 3,
"current_page": 1,
"next_page": 2,
"prev_page": null,
"is_first_page": true,
"is_last_page": false,
"is_out_of_range": false,
"offset": 0
}
}
Modified at 2025-02-07 08:41:14