curl --request GET \
--url http://localhost:8000/api/v1/subscriptions/plans/{plan_id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"price": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"image_url": "<string>",
"modules": [
{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"is_autopilot_enabled": false
}
]
}curl --request GET \
--url http://localhost:8000/api/v1/subscriptions/plans/{plan_id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"price": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"image_url": "<string>",
"modules": [
{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"is_autopilot_enabled": false
}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Schema for reading SubscriptionPlan with modules.