curl --location -g --request GET 'https://api.mpc.dev.placewise.com/v1/management/games/codebreaker?status=published&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 'Authorization: Bearer ' \
--header 'X-Client-Authorization: '
{
"games": [
{
"id": 0,
"name": "string",
"starts_at": "string",
"ends_at": "string",
"status": "draft",
"code_length": 3,
"member_frequency": 100,
"webpage_url": "string",
"codes": [
"string"
]
}
],
"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
}
}