curl --location -g --request GET 'https://api.mpc.dev.placewise.com/v1/content/management/events?status=published&locale=en&publication_status=published&store_id[]=&excluded_publication_status=expired&sort_by[]=ends_at&sort_by[]=&sort_directions[]=ASC&sort_directions[]=&tag_ids[]=1&tag_ids[]=2&category_ids[]=1&category_ids[]=2&per_page=&page_no=1&with_archived=false&only_archived=false' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'X-Store-Id;'
ocurrence
starts_at
attribute which attempts to normalize the kinds of occurrence.status
, visible_since
and visible_until
datesper_page
param out of range?{
"events": [
{
"id": 1,
"customer_id": 447,
"locales": [
"en"
],
"products": [
"website"
],
"status": "draft",
"visible_since": "2022-11-09T16:25:58.099512Z",
"visible_until": "2022-11-15T16:25:58.099512Z",
"visible_in_list": true,
"sorting_priority": 0,
"location": {
"en": "Text"
},
"occurrence_description": {
"en": "Text"
},
"occurrence_type": "time_range",
"occurrence": {
"starts_at": "2022-11-09T16:25:58.099512Z",
"ends_at": "2022-11-09T16:25:58.099512Z"
},
"group_id": 1,
"store_id": 1001931,
"title": {
"en": "Text"
},
"slug": {
"en": "Text"
},
"body": {
"en": "Text"
},
"teaser": {
"en": "Text"
},
"headline": {
"en": "Text"
},
"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",
"publication_status": "published",
"us_legacy_data": {},
"tag_ids": [
1
],
"created_at": "2022-11-05T16:25:58.099512Z",
"updated_at": "2022-11-15T16:25:58.099512Z",
"archived_at": "2022-11-15T16:25:58.099512Z",
"category_ids": [
0
]
}
],
"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
}
}