Skip to content

Commit 5079c91

Browse files
authored
Merge pull request #337 from linode/master
Hotfix 4.76.1 (merge Master into Development)
2 parents c90aa98 + c1cd7a8 commit 5079c91

File tree

1 file changed

+171
-1
lines changed

1 file changed

+171
-1
lines changed

openapi.yaml

Lines changed: 171 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.76.0
3+
version: 4.76.1
44

55
title: Linode API
66
description: |
@@ -11717,6 +11717,139 @@ paths:
1171711717
- lang: CLI
1171811718
source: >
1171911719
linode-cli object-storage cancel
11720+
/object-storage/buckets/{clusterId}/{bucket}/ssl:
11721+
x-linode-cli-command: object-storage
11722+
parameters:
11723+
- name: clusterId
11724+
in: path
11725+
description: The ID of the cluster this bucket exists in.
11726+
required: true
11727+
schema:
11728+
type: string
11729+
- name: bucket
11730+
in: path
11731+
description: The bucket name.
11732+
required: true
11733+
schema:
11734+
type: string
11735+
get:
11736+
operationId: getObjectStorageSSL
11737+
x-linode-cli-action: ssl-view
11738+
servers:
11739+
- url: https://api.linode.com/v4
11740+
summary: View Object Storage TLS/SSL Cert
11741+
description: |
11742+
Returns a boolean value indicating if this bucket has a corresponding TLS/SSL certificate that was
11743+
uploaded by an Account user.
11744+
tags:
11745+
- Object Storage
11746+
security:
11747+
- personalAccessToken: []
11748+
- oauth:
11749+
- object_storage:read_only
11750+
responses:
11751+
'200':
11752+
description: >
11753+
Returns a boolean value indicating if this bucket has a corresponding TLS/SSL certificate that was
11754+
uploaded by an Account user.
11755+
content:
11756+
application/json:
11757+
schema:
11758+
$ref: '#/components/schemas/ObjectStorageSSLResponse'
11759+
default:
11760+
$ref: '#/components/responses/ErrorResponse'
11761+
x-code-samples:
11762+
- lang: Shell
11763+
source: >
11764+
curl -H "Authorization: Bearer $TOKEN" \
11765+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/ssl
11766+
- lang: CLI
11767+
source: >
11768+
linode-cli object-storage ssl-view \
11769+
us-east-1 example-bucket
11770+
post:
11771+
operationId: createObjectStorageSSL
11772+
x-linode-cli-action: ssl-upload
11773+
servers:
11774+
- url: https://api.linode.com/v4
11775+
summary: Upload Object Storage TLS/SSL Cert
11776+
description: |
11777+
Upload a TLS/SSL certificate and private key to be served when you visit your Object Storage bucket via HTTPS.
11778+
Your TLS/SSL certificate and private key are stored encrypted at rest.
11779+
11780+
11781+
To replace an expired certificate, [delete your current certificate](/api/v4/object-storage-buckets-cluster-id-bucket-ssl/#delete)
11782+
and upload a new one.
11783+
tags:
11784+
- Object Storage
11785+
security:
11786+
- personalAccessToken: []
11787+
- oauth:
11788+
- object_storage:read_write
11789+
requestBody:
11790+
description: Upload this TLS/SSL certificate with its corresponding secret key.
11791+
content:
11792+
application/json:
11793+
schema:
11794+
$ref: '#/components/schemas/ObjectStorageSSL'
11795+
responses:
11796+
'200':
11797+
description: Returns whether this bucket has a corresponding TLS/SSL certificate that was uploaded by a user.
11798+
content:
11799+
application/json:
11800+
schema:
11801+
$ref: '#/components/schemas/ObjectStorageSSLResponse'
11802+
default:
11803+
$ref: '#/components/responses/ErrorResponse'
11804+
x-code-samples:
11805+
- lang: Shell
11806+
source: >
11807+
curl -H "Content-Type: application/json" \
11808+
-H "Authorization: Bearer $TOKEN" \
11809+
-X POST -d ‘{
11810+
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDbDCCAlQCCQCl\n-----END CERTIFICATE-----",
11811+
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADIAQCQI\n-----END PRIVATE KEY-----"
11812+
}’ \
11813+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/ssl
11814+
- lang: CLI
11815+
source: >
11816+
linode-cli object-storage ssl-upload \
11817+
us-east-1 example-bucket \
11818+
--certificate "-----BEGIN CERTIFICATE-----\nMIIDbDCCAlQCCQCl\n-----END CERTIFICATE-----" \
11819+
--private_key "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADIAQCQI\n-----END PRIVATE KEY-----"
11820+
delete:
11821+
operationId: getObjectStorageSSL
11822+
x-linode-cli-action: ssl-delete
11823+
servers:
11824+
- url: https://api.linode.com/v4
11825+
summary: Delete Object Storage TLS/SSL Cert
11826+
description: |
11827+
Deletes this Object Storage bucket's user uploaded TLS/SSL certificate and private key.
11828+
tags:
11829+
- Object Storage
11830+
security:
11831+
- personalAccessToken: []
11832+
- oauth:
11833+
- object_storage:read_write
11834+
responses:
11835+
'200':
11836+
description: Deletes this Object Storage bucket's user uploaded TLS/SSL certificate and private key.
11837+
content:
11838+
application/json:
11839+
schema:
11840+
type: object
11841+
default:
11842+
$ref: '#/components/responses/ErrorResponse'
11843+
x-code-samples:
11844+
- lang: Shell
11845+
source: >
11846+
curl -H "Authorization: Bearer $TOKEN" \
11847+
-X DELETE \
11848+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/ssl
11849+
- lang: CLI
11850+
source: >
11851+
linode-cli object-storage ssl-delete \
11852+
us-east-1 example-bucket
1172011853
/profile:
1172111854
x-linode-cli-command: profile
1172211855
get:
@@ -18838,6 +18971,43 @@ components:
1883818971
- read_only
1883918972
description: This Limited Access Key's permissions for the selected bucket.
1884018973
example: read_only
18974+
ObjectStorageSSL:
18975+
type: object
18976+
required:
18977+
- certificate
18978+
- private_key
18979+
description: >
18980+
Upload a TLS/SSL certificate and private key to be served when you visit your Object Storage bucket via HTTPS.
18981+
properties:
18982+
certificate:
18983+
type: string
18984+
description: >
18985+
Your Base64 encoded and PEM formatted SSL certificate.
18986+
example: >
18987+
"-----BEGIN CERTIFICATE-----
18988+
MIIFTTCCAzWgAwIBAgIURwtqMl
18989+
...
18990+
-----END CERTIFICATE-----"
18991+
private_key:
18992+
type: string
18993+
description: >
18994+
The private key associated with this TLS/SSL certificate.
18995+
example: >
18996+
"-----BEGIN PRIVATE KEY-----
18997+
MIIEvgIBADANBgkqhkiG9w0BAQE
18998+
...
18999+
-----END PRIVATE KEY-----"
19000+
ObjectStorageSSLResponse:
19001+
type: object
19002+
description: >
19003+
If this Object Storage bucket has a corresponding TLS/SSL Certificate.
19004+
properties:
19005+
ssl:
19006+
type: boolean
19007+
description: >
19008+
A boolean indicating if this Bucket has a corresponding TLS/SSL certificate that was uploaded by an Account user.
19009+
example: true
19010+
readOnly: true
1884119011
PaginationEnvelope:
1884219012
type: object
1884319013
description: >

0 commit comments

Comments
 (0)