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
+70-36Lines changed: 70 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
openapi: 3.0.1
2
2
info:
3
-
version: 4.70.0
3
+
version: 4.72.0
4
4
5
5
title: Linode API
6
6
description: |
@@ -1634,6 +1634,9 @@ paths:
1634
1634
summary: Update Account Settings
1635
1635
description: >
1636
1636
Updates your Account settings.
1637
+
1638
+
1639
+
To update your Longview subscription plan, send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
1637
1640
operationId: updateAccountSettings
1638
1641
x-linode-cli-action: settings-update
1639
1642
security:
@@ -1663,13 +1666,11 @@ paths:
1663
1666
-H "Authorization: Bearer $TOKEN" \
1664
1667
-X PUT -d '{
1665
1668
"network_helper": true,
1666
-
"longview_subscription": "longview-10"
1667
1669
}' \
1668
1670
https://api.linode.com/v4/account/settings
1669
1671
- lang: CLI
1670
1672
source: >
1671
1673
linode-cli account settings-update \
1672
-
--longview_subscription longview-30 \
1673
1674
--network_helper false
1674
1675
/account/settings/managed-enable:
1675
1676
x-linode-cli-command: account
@@ -7184,8 +7185,20 @@ paths:
7184
7185
- Longview
7185
7186
summary: View Longview Plan
7186
7187
description: >
7187
-
Returns the Longview subscription plan for this account. You can send a request to the
7188
-
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7188
+
Get the details of your current Longview plan. This returns a `LongviewSubscription` object
7189
+
for your current Longview Pro plan, or an empty set `{}` if your current plan is Longview Free.
7190
+
7191
+
7192
+
You must have at least one of the following `global` [User Grants](/api/v4/account-users-username-grants/)
7193
+
in order to access this endpoint:
7194
+
7195
+
- `"account_access": read_write`
7196
+
- `"account_access": read_only`
7197
+
- `"longview_subscription": true`
7198
+
- `"add_longview": true`
7199
+
7200
+
7201
+
To update your subscription plan, send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
7189
7202
operationId: getLongviewPlan
7190
7203
x-linode-cli-action: plan-view
7191
7204
security:
@@ -7194,11 +7207,11 @@ paths:
7194
7207
- longview:read_only
7195
7208
responses:
7196
7209
'200':
7197
-
description: The Longview Subscription plan for this account.
7210
+
description: The Longview plan details for this account.
7198
7211
content:
7199
7212
application/json:
7200
7213
schema:
7201
-
$ref: '#/components/schemas/LongviewPlan'
7214
+
$ref: '#/components/schemas/LongviewSubscription'
7202
7215
default:
7203
7216
$ref: '#/components/responses/ErrorResponse'
7204
7217
x-code-samples:
@@ -7214,14 +7227,22 @@ paths:
7214
7227
- Longview
7215
7228
summary: Update Longview Plan
7216
7229
description: >
7217
-
Updates the Longview subscription plan for this account. You can send a request to the
7218
-
[View Longview Subscription](/api/v4/longview-subscriptions-subscription-id) endpoint for details on each particular subscription plan.
7230
+
Update your Longview plan to that of the given subcription ID. This returns a `LongviewSubscription` object for
7231
+
the updated Longview Pro plan, or an empty set `{}` if the updated plan is Longview Free.
7232
+
7233
+
7234
+
You must have `"longview_subscription": true` configured as a `global`
7235
+
[User Grant](/api/v4/account-users-username-grants/) in order to access this endpoint.
7236
+
7237
+
7238
+
You can send a request to the [List Longview Subscriptions](/api/v4/longview-subscriptions/)
7239
+
endpoint to receive the details, including `id`'s, of each plan.
7219
7240
operationId: updateLongviewPlan
7220
7241
x-linode-cli-action: plan-update
7221
7242
security:
7222
7243
- personalAccessToken: []
7223
7244
- oauth:
7224
-
- account:read_write
7245
+
- longview:read_write
7225
7246
requestBody:
7226
7247
description: Update your Longview subscription plan.
7227
7248
required: true
@@ -7231,22 +7252,11 @@ paths:
7231
7252
$ref: '#/components/schemas/LongviewPlan'
7232
7253
responses:
7233
7254
'200':
7234
-
description: The requested Longview Subscription.
7255
+
description: The updated Longview plan details for this account.
7235
7256
content:
7236
7257
application/json:
7237
7258
schema:
7238
-
properties:
7239
-
longview_subscription:
7240
-
type: string
7241
-
description: >
7242
-
The Longview subscription plan you are currently subscribed to.
7243
-
7244
-
7245
-
7246
-
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
7247
-
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.
7248
-
example: longview-10
7249
-
x-linode-cli-display: 1
7259
+
$ref: '#/components/schemas/LongviewSubscription'
7250
7260
default:
7251
7261
$ref: '#/components/responses/ErrorResponse'
7252
7262
x-code-samples:
@@ -7317,13 +7327,13 @@ paths:
7317
7327
- Longview
7318
7328
summary: View Longview Subscription
7319
7329
description: >
7320
-
Returns a single LongviewSubscription object. This is a public
7321
-
endpoint and requires no authentication.
7330
+
Get the Longview plan details as a single `LongviewSubscription` object for the provided subscription ID. This is a public endpoint
7331
+
and requires no authentication.
7322
7332
operationId: getLongviewSubscription
7323
7333
x-linode-cli-action: subscription-view
7324
7334
responses:
7325
7335
'200':
7326
-
description: The requested Longview Subscription.
7336
+
description: The requested Longview Subscription details.
7327
7337
content:
7328
7338
application/json:
7329
7339
schema:
@@ -13426,11 +13436,12 @@ components:
13426
13436
x-linode-cli-display: 3
13427
13437
longview_subscription:
13428
13438
type: string
13439
+
readOnly: true
13429
13440
description: >
13430
-
The Longview Pro tier you are currently subscribed to. The value must
13441
+
The Longview Pro tier you are currently subscribed to. The value must be
13431
13442
a [Longview Subscription](/api/v4/longview-subscriptions)
13432
-
ID or `null`.
13433
-
example: longview-30
13443
+
ID or `null` for Longview Free.
13444
+
example: longview-3
13434
13445
x-linode-cli-display: 2
13435
13446
network_helper:
13436
13447
type: boolean
@@ -16319,11 +16330,12 @@ components:
16319
16330
LongviewSubscription:
16320
16331
type: object
16321
16332
description: >
16322
-
A Longview Subscriptions represents a tier of Longview service you
16333
+
A Longview Subscription represents a tier of Longview service you
The Longview subscription plan you are currently subscribed to.
16389
+
The subscription ID for a particular Longview plan. A value of `null` corresponds to Longview Free.
16376
16390
16377
16391
16378
-
16379
-
To update your subscription plan send a request to [Update Longview Plan](/api/v4/longview-plan/#put).
16380
-
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.
16381
-
example: longview-30
16392
+
You can send a request to the [List Longview Subscriptions](/api/v4/longview-subscriptions/)
16393
+
endpoint to receive the details of each plan.
16394
+
example: longview-10
16382
16395
x-linode-cli-display: 1
16383
16396
ManagedContact:
16384
16397
type: object
@@ -17431,6 +17444,10 @@ components:
17431
17444
The hostname where this bucket can be accessed. This hostname
17432
17445
can be accessed through a browser if the bucket is made public.
0 commit comments