You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+101-1Lines changed: 101 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7075,6 +7075,90 @@ paths:
7075
7075
- lang: CLI
7076
7076
source: >
7077
7077
linode-cli longview delete 789
7078
+
/longview/plan:
7079
+
x-linode-cli-command: longview
7080
+
get:
7081
+
tags:
7082
+
- Longview
7083
+
summary: View Longview Plan
7084
+
description: >
7085
+
Returns the Longview subscription plan for this account. You can send a request to the
7086
+
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7087
+
operationId: getLongviewPlan
7088
+
x-linode-cli-action: plan-view
7089
+
security:
7090
+
- personalAccessToken: []
7091
+
- oauth:
7092
+
- longview:read_only
7093
+
responses:
7094
+
'200':
7095
+
description: The Longview Subscription plan for this account.
7096
+
content:
7097
+
application/json:
7098
+
schema:
7099
+
$ref: '#/components/schemas/LongviewPlan'
7100
+
default:
7101
+
$ref: '#/components/responses/ErrorResponse'
7102
+
x-code-samples:
7103
+
- lang: Shell
7104
+
source: >
7105
+
curl -H "Authorization: Bearer $TOKEN" \
7106
+
https://api.linode.com/v4/longview/plan
7107
+
- lang: CLI
7108
+
source: >
7109
+
linode-cli longview plan-view
7110
+
put:
7111
+
tags:
7112
+
- Longview
7113
+
summary: Update Longview Plan
7114
+
description: >
7115
+
Updates the Longview subscription plan for this user. You can send a request to the
7116
+
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7117
+
operationId: updateLongviewPlan
7118
+
x-linode-cli-action: plan-update
7119
+
security:
7120
+
- personalAccessToken: []
7121
+
- oauth:
7122
+
- account:read_write
7123
+
requestBody:
7124
+
description: Update your Longview subscription plan.
7125
+
required: true
7126
+
content:
7127
+
application/json:
7128
+
schema:
7129
+
$ref: '#/components/schemas/LongviewPlan'
7130
+
responses:
7131
+
'200':
7132
+
description: The requested Longview Subscription.
7133
+
content:
7134
+
application/json:
7135
+
schema:
7136
+
properties:
7137
+
longview_subscription:
7138
+
type: string
7139
+
description: >
7140
+
The Longview subscription plan you are currently subscribed to.
7141
+
7142
+
7143
+
7144
+
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
7145
+
The value must be a [Longview Subscription ID](/api/v4/longview-subscriptions) or `null`. Note that a value of `null` will cancel the longview subscription.
description: If true, this User may create Longview clients.
14386
+
description: If true, this User may create Longview clients and view the current plan.
14303
14387
example: true
14304
14388
longview_subscription:
14305
14389
type: boolean
@@ -16174,6 +16258,22 @@ components:
16174
16258
example: 10
16175
16259
readOnly: true
16176
16260
x-linode-cli-display: 3
16261
+
LongviewPlan:
16262
+
type: object
16263
+
description: >
16264
+
Longview Plan object.
16265
+
properties:
16266
+
longview_subscription:
16267
+
type: string
16268
+
description: >
16269
+
The Longview subscription plan you are currently subscribed to.
16270
+
16271
+
16272
+
16273
+
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
16274
+
The value must be a [Longview Subscription ID](/api/v4/longview-subscriptions) or `null`. Note that a value of `null` will cancel the longview subscription.
0 commit comments