Skip to content

Commit a8129ad

Browse files
author
Ryan Syracuse
committed
Revert "[New] View Longview Plan and Update Longview Plan (linode#270)"
This reverts commit 315a1b3.
1 parent 6043e13 commit a8129ad

File tree

1 file changed

+1
-101
lines changed

1 file changed

+1
-101
lines changed

openapi.yaml

Lines changed: 1 addition & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -6995,90 +6995,6 @@ paths:
69956995
- lang: CLI
69966996
source: >
69976997
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.
7066-
example: longview-10
7067-
x-linode-cli-display: 1
7068-
default:
7069-
$ref: '#/components/responses/ErrorResponse'
7070-
x-code-samples:
7071-
- lang: Shell
7072-
source: >
7073-
curl -H "Content-Type: application/json" \
7074-
-H "Authorization: Bearer $TOKEN" \
7075-
-X PUT -d '{
7076-
"longview_subscription": "longview-10"
7077-
}' \
7078-
https://api.linode.com/v4/longview/plan
7079-
- lang: CLI
7080-
source: >
7081-
linode-cli longview plan-update --longview_subscription longview-10
70826998
/longview/subscriptions:
70836999
x-linode-cli-command: longview
70847000
get:
@@ -14299,7 +14215,7 @@ components:
1429914215
example: true
1430014216
add_longview:
1430114217
type: boolean
14302-
description: If true, this User may create Longview clients and view the current plan.
14218+
description: If true, this User may create Longview clients.
1430314219
example: true
1430414220
longview_subscription:
1430514221
type: boolean
@@ -16161,22 +16077,6 @@ components:
1616116077
example: 10
1616216078
readOnly: true
1616316079
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.
16178-
example: longview-30
16179-
x-linode-cli-display: 1
1618016080
ManagedContact:
1618116081
type: object
1618216082
description: >

0 commit comments

Comments
 (0)