Skip to content

Commit f47b63b

Browse files
authored
Merge pull request #306 from linode/release-4.72.0
Release 4.72.0
2 parents be45b7a + d62e723 commit f47b63b

File tree

1 file changed

+70
-36
lines changed

1 file changed

+70
-36
lines changed

openapi.yaml

Lines changed: 70 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.70.0
3+
version: 4.72.0
44

55
title: Linode API
66
description: |
@@ -1634,6 +1634,9 @@ paths:
16341634
summary: Update Account Settings
16351635
description: >
16361636
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).
16371640
operationId: updateAccountSettings
16381641
x-linode-cli-action: settings-update
16391642
security:
@@ -1663,13 +1666,11 @@ paths:
16631666
-H "Authorization: Bearer $TOKEN" \
16641667
-X PUT -d '{
16651668
"network_helper": true,
1666-
"longview_subscription": "longview-10"
16671669
}' \
16681670
https://api.linode.com/v4/account/settings
16691671
- lang: CLI
16701672
source: >
16711673
linode-cli account settings-update \
1672-
--longview_subscription longview-30 \
16731674
--network_helper false
16741675
/account/settings/managed-enable:
16751676
x-linode-cli-command: account
@@ -7184,8 +7185,20 @@ paths:
71847185
- Longview
71857186
summary: View Longview Plan
71867187
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).
71897202
operationId: getLongviewPlan
71907203
x-linode-cli-action: plan-view
71917204
security:
@@ -7194,11 +7207,11 @@ paths:
71947207
- longview:read_only
71957208
responses:
71967209
'200':
7197-
description: The Longview Subscription plan for this account.
7210+
description: The Longview plan details for this account.
71987211
content:
71997212
application/json:
72007213
schema:
7201-
$ref: '#/components/schemas/LongviewPlan'
7214+
$ref: '#/components/schemas/LongviewSubscription'
72027215
default:
72037216
$ref: '#/components/responses/ErrorResponse'
72047217
x-code-samples:
@@ -7214,14 +7227,22 @@ paths:
72147227
- Longview
72157228
summary: Update Longview Plan
72167229
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.
72197240
operationId: updateLongviewPlan
72207241
x-linode-cli-action: plan-update
72217242
security:
72227243
- personalAccessToken: []
72237244
- oauth:
7224-
- account:read_write
7245+
- longview:read_write
72257246
requestBody:
72267247
description: Update your Longview subscription plan.
72277248
required: true
@@ -7231,22 +7252,11 @@ paths:
72317252
$ref: '#/components/schemas/LongviewPlan'
72327253
responses:
72337254
'200':
7234-
description: The requested Longview Subscription.
7255+
description: The updated Longview plan details for this account.
72357256
content:
72367257
application/json:
72377258
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'
72507260
default:
72517261
$ref: '#/components/responses/ErrorResponse'
72527262
x-code-samples:
@@ -7317,13 +7327,13 @@ paths:
73177327
- Longview
73187328
summary: View Longview Subscription
73197329
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.
73227332
operationId: getLongviewSubscription
73237333
x-linode-cli-action: subscription-view
73247334
responses:
73257335
'200':
7326-
description: The requested Longview Subscription.
7336+
description: The requested Longview Subscription details.
73277337
content:
73287338
application/json:
73297339
schema:
@@ -13426,11 +13436,12 @@ components:
1342613436
x-linode-cli-display: 3
1342713437
longview_subscription:
1342813438
type: string
13439+
readOnly: true
1342913440
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
1343113442
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
1343413445
x-linode-cli-display: 2
1343513446
network_helper:
1343613447
type: boolean
@@ -16319,11 +16330,12 @@ components:
1631916330
LongviewSubscription:
1632016331
type: object
1632116332
description: >
16322-
A Longview Subscriptions represents a tier of Longview service you
16333+
A Longview Subscription represents a tier of Longview service you
1632316334
can subscribe to.
1632416335
properties:
1632516336
id:
1632616337
type: string
16338+
enum: ['longview-3', 'longview-10', 'longview-40', 'longview-100']
1632716339
description: >
1632816340
The unique ID of this Subscription tier.
1632916341
example: longview-10
@@ -16354,7 +16366,7 @@ components:
1635416366
type: string
1635516367
description: >
1635616368
A display name for this Subscription tier.
16357-
example: Longivew Pro 10 pack
16369+
example: Longview Pro 10 pack
1635816370
readOnly: true
1635916371
x-linode-cli-display: 2
1636016372
clients_included:
@@ -16371,14 +16383,15 @@ components:
1637116383
properties:
1637216384
longview_subscription:
1637316385
type: string
16386+
enum: ['longview-3', 'longview-10', 'longview-40', 'longview-100']
16387+
nullable: True
1637416388
description: >
16375-
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.
1637616390

1637716391

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
1638216395
x-linode-cli-display: 1
1638316396
ManagedContact:
1638416397
type: object
@@ -17431,6 +17444,10 @@ components:
1743117444
The hostname where this bucket can be accessed. This hostname
1743217445
can be accessed through a browser if the bucket is made public.
1743317446
example: example-bucket.us-east-1.linodeobjects.com
17447+
size:
17448+
type: integer
17449+
description: The size of the bucket in bytes.
17450+
example: 188318981
1743417451
ObjectStorageObject:
1743517452
type: object
1743617453
description: >
@@ -17910,6 +17927,23 @@ components:
1791017927
- outage
1791117928
readOnly: true
1791217929
x-linode-cli-display: 4
17930+
resolvers:
17931+
type: object
17932+
readOnly: true
17933+
x-linode-cli-display: 5
17934+
properties:
17935+
ipv4:
17936+
type: string
17937+
description: >
17938+
The IPv4 addresses for this region's DNS resolvers, separated by commas.
17939+
example: "192.0.2.0,192.0.2.1"
17940+
readOnly: true
17941+
ipv6:
17942+
type: string
17943+
description: >
17944+
The IPv6 addresses for this region's DNS resolvers, separated by commas.
17945+
example: "2001:0db8::,2001:0db8::1"
17946+
readOnly: true
1791317947
RescueDevices:
1791417948
type: object
1791517949
properties:

0 commit comments

Comments
 (0)