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