Puzzles
The ID of the puzzle to retrieve.
Successful response
GET /partner-api/v2/admin/puzzles/{puzzle_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
Successful response
{
"puzzle": {
"id": "text",
"program_id": 1,
"name": "text",
"description": "text",
"earn_instructions": "text",
"image_url": "text",
"status": "text",
"archived_at": 1,
"published_at": 1,
"rewards": [
"text"
]
}
}
Name/title of the Puzzle object.
Description of the Puzzle object.
URL of the image file.
Array of reward IDs that are associated with the puzzle. Example [1] or [1,2,3].
Array of loot box IDs that are associated with the puzzle. Example ['ca338290-0a9b-447e-bef7-943f81a90a28'] or ['ca338290-0a9b-447e-bef7-943f81a90a28','a25a2468-180c-4e7d-953c-99fff4f9484f'].
Instructions for earning the puzzle.
Successful response
PATCH /partner-api/v2/admin/puzzles/{puzzle_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 116
"name='text'&description='text'&image_url='text'&reward_ids=[]&loot_box_ids=[]&earn_instructions='text'"
Successful response
{
"puzzle": {
"id": "text",
"program_id": 1,
"name": "text",
"description": "text",
"earn_instructions": "text",
"image_url": "text",
"status": "text",
"archived_at": 1,
"published_at": 1,
"rewards": [
"text"
]
}
}
URL of the image file.
Description of the Puzzle object.
Name/title of the Puzzle object.
Array of reward IDs that are associated with the puzzle. Example [1] or [1,2,3].
Array of loot box IDs that are associated with the puzzle. Example ['ca338290-0a9b-447e-bef7-943f81a90a28'] or ['ca338290-0a9b-447e-bef7-943f81a90a28','a25a2468-180c-4e7d-953c-99fff4f9484f'].
Instructions for earning the puzzle.
Successful response
POST /partner-api/v2/admin/puzzles HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 116
"image_url='text'&description='text'&name='text'&reward_ids=[]&loot_box_ids=[]&earn_instructions='text'"
Successful response
{
"puzzle": {
"id": "text",
"program_id": 1,
"name": "text",
"description": "text",
"earn_instructions": "text",
"image_url": "text",
"status": "text",
"archived_at": 1,
"published_at": 1,
"rewards": [
"text"
]
}
}