Skip to main content
GET
/
billing
/
org
/
v1
/
plans
/
contents
List PlanContents
curl --request GET \
  --url https://api.gcore.com/billing/org/v1/plans/contents \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "results": [
    {
      "id": 123,
      "plan_id": 123,
      "default": true,
      "feature": {
        "id": 123,
        "name": "<string>",
        "erp_sku_id": "<string>"
      },
      "metric_ext_name": "<string>",
      "regions": [
        {
          "id": 123,
          "name": "<string>",
          "external_name": "<string>"
        }
      ],
      "product_category": {
        "id": 123,
        "name": "<string>"
      },
      "product": {
        "id": 123,
        "name": "<string>",
        "internal_name": "<string>"
      },
      "calc_rule_type": "<string>",
      "unit": {
        "id": 2,
        "name": "<string>",
        "internal_name": "<string>"
      },
      "unit_size": "<string>",
      "price": {
        "currency": {
          "id": 123,
          "char_code": "<string>",
          "symbol": "<string>"
        },
        "money_value": "<string>",
        "price_stages": [
          {
            "threshold": "<string>",
            "money_value": "<string>"
          }
        ]
      },
      "default_value": "<string>",
      "rounding_rule": {
        "unit": {
          "id": 2,
          "name": "<string>",
          "internal_name": "<string>"
        },
        "value": "<string>",
        "round_operation": "ceil"
      },
      "comment": "<string>"
    }
  ],
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

limit
integer

Number of results to return per page. Maximum is 100.

offset
integer

The initial index from which to return the results.

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"