Skip to content

Commit 28bb307

Browse files
authored
Merge pull request #373 from linode/release-4.82.0
Release v4.82.0
2 parents cf30ffc + 5c5c318 commit 28bb307

File tree

5 files changed

+69
-34
lines changed

5 files changed

+69
-34
lines changed

.github/workflows/test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Python package
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Python
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: '3.7.x'
14+
architecture: 'x64'
15+
- name: Cache pip
16+
uses: actions/cache@v2
17+
with:
18+
path: ~/.cache/pip
19+
# Look to see if there is a cache hit for the corresponding requirements file
20+
key: ${{ runner.os }}-pip-${{ hashFiles('./ci/requirements.txt') }}
21+
restore-keys: |
22+
${{ runner.os }}-pip-
23+
${{ runner.os }}-
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install openapi3
28+
- name: openapi linter
29+
run: |
30+
python -m openapi3 openapi.yaml

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ pip install -r requirements.txt
1717

1818
## Development
1919

20-
The spec can be linted using the `./bin/lint` helper.
20+
The spec can be linted using the `openapi3` module.
2121

2222
```
23-
python3 ./bin/lint openapi.yaml
23+
python -m openapi3 openapi.yaml
2424
```
2525

2626
### Versioning

openapi.yaml

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.81.0
3+
version: 4.82.0
44

55
title: Linode API
66
description: |
@@ -934,6 +934,12 @@ paths:
934934
type: array
935935
items:
936936
$ref: '#/components/schemas/Login'
937+
page:
938+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
939+
pages:
940+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
941+
results:
942+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
937943
default:
938944
$ref: '#/components/responses/ErrorResponse'
939945
x-code-samples:
@@ -9159,7 +9165,7 @@ paths:
91599165

91609166

91619167
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9162-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9168+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
91639169
* Please make sure to prepend all requests with
91649170
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
91659171
updates in the future. This notice will be removed when this endpoint is out of
@@ -9220,7 +9226,7 @@ paths:
92209226

92219227

92229228
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9223-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9229+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
92249230
* Please make sure to prepend all requests with
92259231
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
92269232
updates in the future. This notice will be removed when this endpoint is out of
@@ -9369,7 +9375,7 @@ paths:
93699375

93709376

93719377
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9372-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9378+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
93739379
* Please make sure to prepend all requests with
93749380
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
93759381
updates in the future. This notice will be removed when this endpoint is out of
@@ -9424,7 +9430,7 @@ paths:
94249430

94259431

94269432
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9427-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9433+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
94289434
* Please make sure to prepend all requests with
94299435
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
94309436
updates in the future. This notice will be removed when this endpoint is out of
@@ -9493,7 +9499,7 @@ paths:
94939499

94949500

94959501
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9496-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9502+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
94979503
* Please make sure to prepend all requests with
94989504
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
94999505
updates in the future. This notice will be removed when this endpoint is out of
@@ -9546,7 +9552,7 @@ paths:
95469552

95479553

95489554
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9549-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9555+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
95509556
* Please make sure to prepend all requests with
95519557
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
95529558
updates in the future. This notice will be removed when this endpoint is out of
@@ -9611,7 +9617,7 @@ paths:
96119617

96129618

96139619
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9614-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9620+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
96159621
* Please make sure to prepend all requests with
96169622
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
96179623
updates in the future. This notice will be removed when this endpoint is out of
@@ -9689,7 +9695,7 @@ paths:
96899695

96909696

96919697
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9692-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9698+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
96939699
* Please make sure to prepend all requests with
96949700
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
96959701
updates in the future. This notice will be removed when this endpoint is out of
@@ -9743,7 +9749,7 @@ paths:
97439749

97449750

97459751
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9746-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9752+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
97479753
* Please make sure to prepend all requests with
97489754
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
97499755
updates in the future. This notice will be removed when this endpoint is out of
@@ -9791,7 +9797,7 @@ paths:
97919797

97929798

97939799
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9794-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9800+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
97959801
* Please make sure to prepend all requests with
97969802
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
97979803
updates in the future. This notice will be removed when this endpoint is out of
@@ -9834,7 +9840,7 @@ paths:
98349840

98359841

98369842
* Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form).
9837-
* During the beta, Cloud Firewall is only available in the [Sydney data center region](/docs/api/regions).
9843+
* During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/).
98389844
* Please make sure to prepend all requests with
98399845
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
98409846
updates in the future. This notice will be removed when this endpoint is out of
@@ -11346,21 +11352,14 @@ paths:
1134611352
- personalAccessToken: []
1134711353
- oauth:
1134811354
- object_storage:read_write
11349-
parameters:
11350-
- name: name
11351-
in: query
11352-
required: true
11353-
description: >
11354-
The `name` of the object for which to update its Access Control List (ACL).
11355-
Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11356-
endpoint to access all object names in a bucket.
11357-
schema:
11358-
type: string
1135911355
requestBody:
1136011356
description: The changes to make to this Object's access controls.
1136111357
content:
1136211358
application/json:
1136311359
schema:
11360+
required:
11361+
- acl
11362+
- name
1136411363
properties:
1136511364
acl:
1136611365
type: string
@@ -11374,6 +11373,12 @@ paths:
1137411373
The Access Control Level of the bucket, as a canned ACL string.
1137511374
For more fine-grained control of ACLs, use the S3 API directly.
1137611375
example: public-read
11376+
name:
11377+
type: string
11378+
description: >
11379+
The `name` of the object for which to update its Access Control List (ACL).
11380+
Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11381+
endpoint to access all object names in a bucket.
1137711382
responses:
1137811383
'200':
1137911384
description: The Object's canned ACL and policy.
@@ -11407,9 +11412,10 @@ paths:
1140711412
curl -H "Content-Type: application/json" \
1140811413
-H "Authorization: Bearer $TOKEN" \
1140911414
-X PUT -d '{
11410-
"acl": "public-read"
11415+
"acl": "public-read",
11416+
"name": "example.txt"
1141111417
}' \
11412-
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl?name=example.txt
11418+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl
1141311419
/object-storage/buckets/{clusterId}/{bucket}/object-list:
1141411420
parameters:
1141511421
- name: clusterId
@@ -12771,6 +12777,12 @@ paths:
1277112777
type: array
1277212778
items:
1277312779
$ref: '#/components/schemas/Login'
12780+
page:
12781+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
12782+
pages:
12783+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
12784+
results:
12785+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
1277412786
default:
1277512787
$ref: '#/components/responses/ErrorResponse'
1277612788
x-code-samples:
@@ -15924,7 +15936,7 @@ components:
1592415936
of single ports and port ranges. A space is permitted following each comma.
1592515937
- A range of ports is inclusive of the start and end values for the range. The
1592615938
end value of the range must be greater than the start value.
15927-
- Ports must be within 1 and 65535.
15939+
- Ports must be within 1 and 65535, and may not contain any leading zeroes. For example, port "080" is not allowed.
1592815940
- Ports may not be specified if a rule's protocol is `ICMP`. At least one port
1592915941
must be specified if a rule's protocol is `TCP` or `UDP`.
1593015942
- The ports string can have up to 15 *pieces*, where a single port is treated

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)