Plans
The plans that belong to a page that belongs to the authenticated user.
Get plans
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"count": 3,
"_embedded": {
"plans": [
{
"resource": "plans",
"id": "AUmpLHxzVEU3R57RtFxM",
"name": "Klein petje",
"amount": 3,
"interval": "month",
"intervalLabel": "publicatie",
"rewards": [
{
"id": "6JGhzAiPD7jqlbYkdrg8",
"name": "Dit is een beloning",
"type": "default"
},
{
"id": "8igf2PLGpYjLLJp3NaTB",
"name": "Instagram account",
"type": "instagram"
}
],
"status": "enabled",
"_links": {
"self": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB/plans/AUmpLHxzVEU3R57RtFxM",
"type": "application/hal+json"
},
"page": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB",
"type": "application/hal+json"
},
"rewards": {
"href": "https://api.petje.af/pages/5SaEUOWD2b4dN7tJBKMB/rewards?planId=AUmpLHxzVEU3R57RtFxM",
"type": "application/hal+json"
}
}
},
...
]
},
"_links": {
"self": {
"href": "https://api.petje.af/plans",
"type": "application/hal+json"
},
"next": null
}
}Get plan detail
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated