Skip to content

Commit ed8cea2

Browse files
authored
Merge pull request #732 from bbiggerr/maintenance-beta-done
Account Maintenance List out of beta
2 parents b7f58c1 + e55d039 commit ed8cea2

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

openapi.yaml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,22 +1228,15 @@ paths:
12281228
get:
12291229
x-linode-grant: read_only
12301230
servers:
1231+
- url: https://api.linode.com/v4
12311232
- url: https://api.linode.com/v4beta
12321233
tags:
12331234
- Account
12341235
summary: Maintenance List
1235-
description: >
1236-
Returns a collection of Maintenance objects for any entity
1237-
a user has permissions to view.
1238-
1236+
description: |
1237+
Returns a collection of Maintenance objects for any entity a user has permissions to view. Cancelled Maintenance objects are not returned.
12391238

12401239
Currently, Linodes are the only entities available for viewing.
1241-
1242-
1243-
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
1244-
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
1245-
updates in the future. This notice will be removed when this endpoint is out of
1246-
beta.
12471240
operationId: getMaintenance
12481241
x-linode-cli-action: maintenance-list
12491242
security:
@@ -1273,7 +1266,7 @@ paths:
12731266
- lang: Shell
12741267
source: >
12751268
curl -H "Authorization: Bearer $TOKEN" \
1276-
https://api.linode.com/v4beta/account/maintenance
1269+
https://api.linode.com/v4/account/maintenance
12771270
- lang: CLI
12781271
source: >
12791272
linode-cli account maintenance-list
@@ -18014,6 +18007,7 @@ paths:
1801418007
Arbitrary JSON of your choosing. Overwrites any existing preferences for this user.
1801518008

1801618009
Total length cannot exceed 65,535 characters.
18010+
maxLength: 65535
1801718011
responses:
1801818012
'200':
1801918013
description: Returns an object of user preferences.
@@ -20809,10 +20803,12 @@ components:
2080920803
example:
2081020804
gh_username: linode
2081120805
description: |
20812-
This field is required only if the StackScript being deployed requires input
20813-
data from the User for successful completion. See
20814-
[User Defined Fields (UDFs)](/docs/products/tools/stackscripts/guides/write-a-custom-script/#declare-user-defined-fields-udfs)
20815-
for more details. This field is required to be valid JSON.
20806+
This field is required only if the StackScript being deployed requires input data from the User for successful completion. See [User Defined Fields (UDFs)](/docs/guides/writing-scripts-for-use-with-linode-stackscripts-a-tutorial/#user-defined-fields-udfs) for more details.
20807+
20808+
This field is required to be valid JSON.
20809+
20810+
Total length cannot exceed 65,535 characters.
20811+
maxLength: 65535
2081620812
Domain:
2081720813
type: object
2081820814
description: >
@@ -24036,10 +24032,13 @@ components:
2403624032
x-linode-filterable: true
2403724033
type: string
2403824034
enum:
24035+
- completed
2403924036
- pending
2404024037
- started
24041-
description: >
24038+
description: |
2404224039
The maintenance status.
24040+
24041+
Maintenance progresses in the following sequence: pending, started, then completed.
2404324042
example: started
2404424043
reason:
2404524044
type: string

0 commit comments

Comments
 (0)