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
@@ -6995,6 +6995,90 @@ paths:
6995
6995
- lang: CLI
6996
6996
source: >
6997
6997
linode-cli longview delete 789
6998
+
/longview/plan:
6999
+
x-linode-cli-command: longview
7000
+
get:
7001
+
tags:
7002
+
- Longview
7003
+
summary: View Longview Plan
7004
+
description: >
7005
+
Returns the Longview subscription plan for this account. You can send a request to the
7006
+
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7007
+
operationId: getLongviewPlan
7008
+
x-linode-cli-action: plan-view
7009
+
security:
7010
+
- personalAccessToken: []
7011
+
- oauth:
7012
+
- longview:read_only
7013
+
responses:
7014
+
'200':
7015
+
description: The Longview Subscription plan for this account.
7016
+
content:
7017
+
application/json:
7018
+
schema:
7019
+
$ref: '#/components/schemas/LongviewPlan'
7020
+
default:
7021
+
$ref: '#/components/responses/ErrorResponse'
7022
+
x-code-samples:
7023
+
- lang: Shell
7024
+
source: >
7025
+
curl -H "Authorization: Bearer $TOKEN" \
7026
+
https://api.linode.com/v4/longview/plan
7027
+
- lang: CLI
7028
+
source: >
7029
+
linode-cli longview plan-view
7030
+
put:
7031
+
tags:
7032
+
- Longview
7033
+
summary: Update Longview Plan
7034
+
description: >
7035
+
Updates the Longview subscription plan for this user. You can send a request to the
7036
+
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7037
+
operationId: updateLongviewPlan
7038
+
x-linode-cli-action: plan-update
7039
+
security:
7040
+
- personalAccessToken: []
7041
+
- oauth:
7042
+
- account:read_write
7043
+
requestBody:
7044
+
description: Update your Longview subscription plan.
7045
+
required: true
7046
+
content:
7047
+
application/json:
7048
+
schema:
7049
+
$ref: '#/components/schemas/LongviewPlan'
7050
+
responses:
7051
+
'200':
7052
+
description: The requested Longview Subscription.
7053
+
content:
7054
+
application/json:
7055
+
schema:
7056
+
properties:
7057
+
longview_subscription:
7058
+
type: string
7059
+
description: >
7060
+
The Longview subscription plan you are currently subscribed to.
7061
+
7062
+
7063
+
7064
+
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
7065
+
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.
14302
+
description: If true, this User may create Longview clients and view the current plan.
14219
14303
example: true
14220
14304
longview_subscription:
14221
14305
type: boolean
@@ -16077,6 +16161,22 @@ components:
16077
16161
example: 10
16078
16162
readOnly: true
16079
16163
x-linode-cli-display: 3
16164
+
LongviewPlan:
16165
+
type: object
16166
+
description: >
16167
+
Longview Plan object.
16168
+
properties:
16169
+
longview_subscription:
16170
+
type: string
16171
+
description: >
16172
+
The Longview subscription plan you are currently subscribed to.
16173
+
16174
+
16175
+
16176
+
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
16177
+
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