Rewards
The rewards that belong to a page that belongs to the authenticated user
Get page rewards
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"count": 3,
"_embedded": {
"rewards": [
{
"resource": "rewards",
"id": "6JGhzAiPD7jqlbYkdrg8",
"name": "Dit is een beloning",
"description": "Hallo daar!",
"type": "default",
"status": "enabled",
"_links": {
"self": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB/rewards/6JGhzAiPD7jqlbYkdrg8",
"type": "application/hal+json"
},
"page": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB",
"type": "application/hal+json"
},
"plans": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB/plans?rewardId=6JGhzAiPD7jqlbYkdrg8",
"type": "application/hal+json"
}
}
},
...
]
},
"_links": {
"self": {
"href": "https://api.petje.af/rewards",
"type": "application/hal+json"
},
"next": null
}
}Get page reward detail
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated