Longview

View Longview Subscription

get
https://api.linode.com/v4/longview/subscriptions/{subscriptionId}

Returns a single LongviewSubscription object. This is a public endpoint and requires no authentication.

Path Parameters

subscriptionId
Required
string

The Longview Subscription to look up.

Request Samples

curl -H "Authorization: Bearer $TOKEN" \
    https://api.linode.com/v4/longview/subscriptions/longview-10

Response Samples

{
  "id": 1234,
  "label": "Longivew Pro 10 pack",
  "price": [
    {
      "hourly": 0.06,
      "monthly": 40
    }
  ],
  "clients_included": 10
}

Responses

200: The requested Longview Subscription.

id
string

The unique ID of this Subscription tier.

label
string

A display name for this Subscription tier.

price
object

Pricing information about this Subscription tier.

hourly
number

The hourly price, in US dollars, for this Subscription tier.

monthly
number

The maximum monthly price in US Dollars for this Subscription tier. You will never be charged more than this amount per month for this subscription.

clients_included
integer

The number of Longview Clients that may be created with this Subscription tier.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.