Rewards
The rewards that belong to a page that belongs to the authenticated user
Get page rewards
GET
https://api.petje.af/v1/page/:pageId/rewards
This endpoint allows you to get the rewards that belongs to the selected page.
Scope: pages.read
Path Parameters
Name
Type
Description
pageId
string
The page ID
Query Parameters
Name
Type
Description
planId
string
Filter the results by this Plan ID
limit
integer
The number of rewards to return
from
boolean
Offset the results to after the reward with this ID
Headers
Name
Type
Description
Authorization
string
Access token using the Bearer
method
Get page reward detail
GET
https://api.petje.af/v1/pages/:pageId/rewards/:id
Scope: pages.read
Path Parameters
Name
Type
Description
pageId
string
The page ID
id
string
The reward ID
Headers
Name
Type
Description
Authorization
string
Access token using the Bearer
method
Last updated