curl --request GET \
--url http://localhost:8000/api/v1/subscriptions/plans/{plan_id}/modules \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"subscription_plan_id": 123,
"plan_module_id": 123,
"date_added": "2023-11-07T05:31:56Z"
}
]List all modules linked to a subscription plan. Superuser only.
curl --request GET \
--url http://localhost:8000/api/v1/subscriptions/plans/{plan_id}/modules \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"subscription_plan_id": 123,
"plan_module_id": 123,
"date_added": "2023-11-07T05:31:56Z"
}
]The access token received from the authorization server in the OAuth 2.0 flow.