- 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
List Articles
GET
https://api.mpc.dev.placewise.com/v1/content/articles
API Permit:Cms:Api:Articles:Index
API Context:Loyalty Club
Authorizations:UserToken
Request
Query Params
per_page
integerÂ
optional
sort_directions[]
enum<string>Â
optional
Allowed values:
ASCDESC
Default:
DESC
Examples:
ASCDESC
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
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 -g --request GET 'https://api.mpc.dev.placewise.com/v1/content/articles?per_page=&page_no=1&sort_by[]=id&sort_directions[]=DESC' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'X-Locale: pl'
Responses
🟢200OK
application/json
Body
articles
array[object (Article) {9}]Â
required
id
integer <uint64>
read-onlyrequired
Example:
1
published_at
string <date-time>
required
Example:
2022-11-09T16:25:58.099512Z
image
object (File)  | nullÂ
read-onlyrequired
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
{
"articles": [
{
"id": 1,
"title": "Title",
"slug": "slug",
"teaser": "Teaser",
"body": "Body",
"headline": "Headline",
"published_at": "2022-11-09T16: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
}
},
"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 2024-05-07 15:27:08