curl --request GET \
--url https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content \
--header 'Authorization: <api-key>'
{
"count": 123,
"next": "https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content?offset=20&limit=10",
"previous": "https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content?offset=20&limit=10",
"results": [
{
"id": 123,
"plan_id": "<string>",
"default": true,
"plan_item": {
"id": 123,
"feature_id": 123,
"feature_name": "<string>",
"feature_metrics": [
{
"id": 123,
"ext_name": "<string>",
"int_name": "<string>"
}
],
"erp_sku_id": 123,
"feature_regions": [
{
"id": 123,
"ext_name": "<string>",
"name_en": "<string>",
"int_name": "<string>"
}
],
"product_category_id": 123,
"product_category_name": "CDN",
"calc_rule_id": 123,
"calc_rule_name": "<string>",
"calc_rule_type": "<string>",
"unit_id": 123,
"unit_name": "<string>",
"unit_internal_name": "<string>",
"unit_size": 1073741824,
"price": {
"id": 123,
"currency_id": 123,
"currency_code": "<string>",
"money_value": "<string>",
"price_stages": [
{
"id": 123,
"threshold": "<string>",
"money_value": "<string>"
}
]
},
"default_value": "<string>",
"rounding_rule": {
"id": 123,
"unit_id": 123,
"unit_name": "<string>",
"round_operation": "ceil",
"value": "<string>"
},
"check_threshold": true,
"comment": "<string>"
}
}
]
}
Returns list of plan items.
curl --request GET \
--url https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content \
--header 'Authorization: <api-key>'
{
"count": 123,
"next": "https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content?offset=20&limit=10",
"previous": "https://api.gcore.com/billing/v2/org/plans/{plan_pk}/content?offset=20&limit=10",
"results": [
{
"id": 123,
"plan_id": "<string>",
"default": true,
"plan_item": {
"id": 123,
"feature_id": 123,
"feature_name": "<string>",
"feature_metrics": [
{
"id": 123,
"ext_name": "<string>",
"int_name": "<string>"
}
],
"erp_sku_id": 123,
"feature_regions": [
{
"id": 123,
"ext_name": "<string>",
"name_en": "<string>",
"int_name": "<string>"
}
],
"product_category_id": 123,
"product_category_name": "CDN",
"calc_rule_id": 123,
"calc_rule_name": "<string>",
"calc_rule_type": "<string>",
"unit_id": 123,
"unit_name": "<string>",
"unit_internal_name": "<string>",
"unit_size": 1073741824,
"price": {
"id": 123,
"currency_id": 123,
"currency_code": "<string>",
"money_value": "<string>",
"price_stages": [
{
"id": 123,
"threshold": "<string>",
"money_value": "<string>"
}
]
},
"default_value": "<string>",
"rounding_rule": {
"id": 123,
"unit_id": 123,
"unit_name": "<string>",
"round_operation": "ceil",
"value": "<string>"
},
"check_threshold": true,
"comment": "<string>"
}
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Number of results to return per page.
The initial index from which to return the results.
OK
The response is of type object
.
Was this page helpful?