Skip to content

Commit 623e60d

Browse files
committed
Update descriptions, set required
1 parent bec18dc commit 623e60d

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

openapi.yaml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3478,22 +3478,23 @@ paths:
34783478
- url: https://api.linode.com/v4beta
34793479
tags:
34803480
- Images
3481-
summary: Upload Image
3482-
description: >
3481+
summary: Machine Image Upload
3482+
description: |
34833483
Initiates a Machine Image upload.
34843484

34853485
This endpoint creates a new private Image object and returns it, along
3486-
with the URL the image data should be uploaded to. Images must be uploaded
3487-
within 24 hours of creation or the upload will be cancelled. Image uploads
3488-
should be made as an HTTP PUT request to the returned URL, with a
3486+
with the URL the image data should be uploaded to.
3487+
3488+
- Machine Images must be uploaded within 24 hours of creation or the upload will be cancelled.
3489+
3490+
- Machine Image uploads should be made as an HTTP PUT request to the returned URL, with a
34893491
`Content-type: application/octet-stream` header included in the request.
3490-
Uploaded image data should be in gzip format. A maximum file size of
3492+
3493+
- Uploaded image data should be in gzip format. A maximum file size of
34913494
5GB is supported for upload at this time.
34923495

3493-
*NOTE* This endpoint is currently in beta, and is only available to users
3494-
who are a part of the beta. You may see a 404 error returned from this
3495-
endpoint if you are not currently enrolled - open a support ticket to
3496-
sign up to join the beta when space becomes available.
3496+
This endpoint is currently in **alpha** and not publicly accessible. This notice will be updated when this endpoint placed in
3497+
beta.
34973498
x-linode-cli-action: upload
34983499
security:
34993500
- personalAccessToken: []
@@ -3505,18 +3506,21 @@ paths:
35053506
application/json:
35063507
schema:
35073508
type: object
3509+
required:
3510+
- label
3511+
- region
35083512
properties:
35093513
region:
35103514
type: string
35113515
description: The region to upload to.
35123516
example: eu-central
35133517
label:
35143518
type: string
3515-
description: Label for the new image.
3519+
description: Label for the new Machine Image.
35163520
example: my-image-label
35173521
description:
35183522
type: string
3519-
description: Description for the image.
3523+
description: Description for the Machine Image.
35203524
example: This is an example image in the docs.
35213525
responses:
35223526
'200':

0 commit comments

Comments
 (0)