Skip to content

Commit 3d599aa

Browse files
authored
Merge pull request #686 from linode/release-4.137.0
Release 4.137.0
2 parents f6ed822 + 019b733 commit 3d599aa

File tree

1 file changed

+97
-22
lines changed

1 file changed

+97
-22
lines changed

openapi.yaml

Lines changed: 97 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.136.0
3+
version: 4.137.0
44

55
title: Linode API
66
description: |
@@ -341,39 +341,54 @@ info:
341341

342342
## Rate Limiting
343343

344-
With the Linode API, you can make up to 1,600 general API requests every two minutes per user as
345-
determined by IP address or by OAuth token. Additionally, there are endpoint specific limits defined below.
344+
Rate limits on API requests help maintain the health and stability of the Linode API. Accordingly, every endpoint of the Linode API applies a rate limit on a per user basis as determined by OAuth token for authenticated requests or IP address for public endpoints.
345+
346+
Each rate limit consists of a total number of requests and a time window. For example, if an endpoint has a rate limit of 800 requests per minute, then up to 800 requests over a one minute window are permitted. Subsequent requests to an endpoint after hitting a rate limit return a 429 error. You can successfully remake requests to that endpoint after the rate limit window resets.
347+
348+
### Linode APIv4 Rate Limits
349+
350+
With the Linode API, you can generally make up to 1,600 general API requests every two minutes. Additionally, all endpoints have a rate limit of 800 requests per minute unless otherwise specified below.
346351

347352
**Note:** There may be rate limiting applied at other levels outside of the API, for example, at the load balancer.
348353

349-
Creating Linodes has a dedicated limit of 10 requests per 30 seconds per user.
350-
That endpoint is:
354+
Creating Linodes has a dedicated rate limit of 10 requests per 30 seconds. That endpoint is:
351355

352356
* [Linode Create](/docs/api/linode-instances/#linode-create)
353357

354-
`/stats` endpoints have their own dedicated limits of 100 requests per minute per user.
355-
These endpoints are:
358+
`/stats` endpoints have their own dedicated rate limits of 100 requests per minute. These endpoints are:
356359

357360
* [View Linode Statistics](/docs/api/linode-instances/#linode-statistics-view)
358361
* [View Linode Statistics (year/month)](/docs/api/linode-instances/#statistics-yearmonth-view)
359362
* [View NodeBalancer Statistics](/docs/api/nodebalancers/#nodebalancer-statistics-view)
360363
* [List Managed Stats](/docs/api/managed/#managed-stats-list)
361364

362-
Object Storage endpoints have a dedicated limit of 750 requests per second per user.
363-
The Object Storage endpoints are:
365+
Object Storage endpoints have a dedicated rate limit of 750 requests per second. The Object Storage endpoints are:
364366

365367
* [Object Storage Endpoints](/docs/api/object-storage/)
366368

367-
Opening Support Tickets has a dedicated limit of 2 requests per minute per user.
368-
That endpoint is:
369+
Opening Support Tickets has a dedicated rate limit of 2 requests per minute. That endpoint is:
369370

370371
* [Open Support Ticket](/docs/api/support/#support-ticket-open)
371372

372-
Accepting Service Transfers has a dedicated limit of 2 requests per minute per user.
373-
That endpoint is:
373+
Accepting Service Transfers has a dedicated rate limit of 2 requests per minute. That endpoint is:
374374

375375
* [Service Transfer Accept](/docs/api/account/#service-transfer-accept)
376376

377+
### Rate Limit HTTP Response Headers
378+
379+
The Linode API includes the following HTTP response headers which are designed to help you avoid hitting rate limits that might disrupt your applications:
380+
381+
* **X-RateLimit-Limit**: The maximum number of permitted requests during the rate limit window for this endpoint.
382+
* **X-RateLimit-Remaining**: The remaining number of permitted requests in the current rate limit window.
383+
* **X-RateLimit-Reset**: The time when the current rate limit window rests in UTC epoch seconds.
384+
* **Retry-After**: The remaining time in seconds until the current rate limit window resets.
385+
386+
There are many ways to access header information for your requests, depending on how you are accessing the Linode API. For example, to view HTTP response headers when making requests with `curl`, use the `-i` or `--include` option as follows:
387+
388+
```Shell
389+
curl -i https://api.linode.com/v4/regions
390+
```
391+
377392
## CLI (Command Line Interface)
378393

379394
The <a href="https://github.com/linode/linode-cli" target="_top">Linode CLI</a> allows you to easily
@@ -3218,6 +3233,7 @@ paths:
32183233
- $ref: '#/components/parameters/pageSize'
32193234
description: |
32203235
Display all accessible Managed MongoDB Databases.
3236+
32213237
**Note**: New MongoDB Databases cannot currently be created.
32223238
security:
32233239
- personalAccessToken: []
@@ -3361,6 +3377,7 @@ paths:
33613377
x-linode-grant: read_only
33623378
description: |
33633379
Display information for a single, accessible Managed MongoDB Database.
3380+
33643381
**Note**: New MongoDB Databases cannot currently be created.
33653382
security:
33663383
- personalAccessToken: []
@@ -3395,9 +3412,13 @@ paths:
33953412
x-linode-grant: read_write
33963413
description: |
33973414
Remove a Managed MongoDB Database from your Account.
3415+
33983416
Requires `read_write` access to the Database.
3417+
33993418
The Database must have an `active`, `failed`, or `degraded` status to perform this command.
3419+
34003420
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3421+
34013422
**Note**: New MongoDB Databases cannot currently be created.
34023423
security:
34033424
- personalAccessToken: []
@@ -3433,15 +3454,24 @@ paths:
34333454
x-linode-grant: read_write
34343455
description: |
34353456
Update a Managed MongoDB Database.
3457+
34363458
Requires `read_write` access to the Database.
3459+
34373460
The Database must have an `active` status to perform this command.
3461+
34383462
Updating addresses in the `allow_list` overwrites any existing addresses.
3463+
34393464
* IP addresses on this list can access the Managed Database. All other sources are blocked.
3465+
34403466
* Entering an empty array (`[]`) blocks all connections (both public and private) to the Managed Database.
3467+
34413468
* **Note**: Updates to the `allow_list` may take a short period of time to complete, making this command inappropriate for rapid successive updates to this property.
34423469
All Managed Databases include automatic patch updates, which apply security patches and updates to the underlying operating system of the Managed MongoDB Database. The maintenance window for these updates is configured with the Managed Database's `updates` property.
3470+
34433471
* If your database cluster is configured with a single node, you will experience downtime during this maintenance window when any updates occur. It's recommended that you adjust this window to match a time that will be the least disruptive for your application and users. You may also want to consider upgrading to a high availability plan to avoid any downtime due to maintenance.
3472+
34443473
* **The database software is not updated automatically.** To upgrade to a new database engine version, consider deploying a new Managed Database with your preferred version. You can then migrate your databases from the original Managed Database cluster to the new one.
3474+
34453475
**Note**: New MongoDB Databases cannot currently be created.
34463476
security:
34473477
- personalAccessToken: []
@@ -3526,9 +3556,13 @@ paths:
35263556
- $ref: '#/components/parameters/pageSize'
35273557
description: |
35283558
Display all backups for an accessible Managed MongoDB Database.
3559+
35293560
The Database must not be provisioning to perform this command.
3561+
35303562
Database `auto` type backups are created every 24 hours at 0:00 UTC. Each `auto` backup is retained for 7 days.
3563+
35313564
Database `snapshot` type backups are created by accessing the **Managed MongoDB Database Backup Snapshot Create** ([POST /databases/mongodb/instances/{instanceId}/backups](/docs/api/databases/#managed-mongodb-database-backup-snapshot-create)) command.
3565+
35323566
**Note**: New MongoDB Databases cannot currently be created.
35333567
security:
35343568
- personalAccessToken: []
@@ -3570,9 +3604,13 @@ paths:
35703604
x-linode-grant: read_write
35713605
description: |
35723606
Creates a snapshot backup of a Managed MongoDB Database.
3607+
35733608
Requires `read_write` access to the Database.
3609+
35743610
Backups generated by this command have the type `snapshot`. Snapshot backups may take several minutes to complete, after which they will be accessible to view or restore.
3611+
35753612
The Database must have an `active` status to perform this command.
3613+
35763614
**Note**: New MongoDB Databases cannot currently be created.
35773615
security:
35783616
- personalAccessToken: []
@@ -3657,7 +3695,9 @@ paths:
36573695
x-linode-grant: read_only
36583696
description: |
36593697
Display information for a single backup for an accessible Managed MongoDB Database.
3698+
36603699
The Database must not be provisioning to perform this command.
3700+
36613701
**Note**: New MongoDB Databases cannot currently be created.
36623702
security:
36633703
- personalAccessToken: []
@@ -3692,8 +3732,11 @@ paths:
36923732
x-linode-grant: unrestricted only
36933733
description: |
36943734
Delete a single backup for an accessible Managed MongoDB Database.
3735+
36953736
Requires `read_write` access to the Database.
3737+
36963738
The Database must not be provisioning to perform this command.
3739+
36973740
**Note**: New MongoDB Databases cannot currently be created.
36983741
security:
36993742
- personalAccessToken: []
@@ -3744,10 +3787,15 @@ paths:
37443787
x-linode-grant: read_write
37453788
description: |
37463789
Restore a backup to a Managed MongoDB Database on your Account.
3790+
37473791
Requires `read_write` access to the Database.
3792+
37483793
The Database must have an `active` status to perform this command.
3794+
37493795
**Note**: Restoring from a backup will erase all existing data on the database instance and replace it with backup data.
3796+
37503797
**Note**: Currently, restoring a backup after resetting Managed Database credentials results in a failed cluster. Please contact Customer Support if this occurs.
3798+
37513799
**Note**: New MongoDB Databases cannot currently be created.
37523800
security:
37533801
- personalAccessToken: []
@@ -3791,7 +3839,9 @@ paths:
37913839
x-linode-grant: read_only
37923840
description: |
37933841
Display the root username and password for an accessible Managed MongoDB Database.
3842+
37943843
The Database must have an `active` status to perform this command.
3844+
37953845
**Note**: New MongoDB Databases cannot currently be created.
37963846
security:
37973847
- personalAccessToken: []
@@ -3835,10 +3885,15 @@ paths:
38353885
x-linode-grant: read_write
38363886
description: |
38373887
Reset the root password for a Managed MongoDB Database.
3888+
38383889
Requires `read_write` access to the Database.
3890+
38393891
A new root password is randomly generated and accessible with the **Managed MongoDB Database Credentials View** ([GET /databases/mongodb/instances/{instanceId}/credentials](/docs/api/databases/#managed-mongodb-database-credentials-view)) command.
3892+
38403893
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3894+
38413895
**Note**: Note that it may take several seconds for credentials to reset.
3896+
38423897
**Note**: New MongoDB Databases cannot currently be created.
38433898
security:
38443899
- personalAccessToken: []
@@ -3882,7 +3937,9 @@ paths:
38823937
x-linode-grant: read_only
38833938
description: |
38843939
Display the SSL CA certificate for an accessible Managed MongoDB Database.
3940+
38853941
The Database must have an `active` status to perform this command.
3942+
38863943
**Note**: New MongoDB Databases cannot currently be created.
38873944
security:
38883945
- personalAccessToken: []
@@ -3927,10 +3984,15 @@ paths:
39273984
description: |
39283985
Apply security patches and updates to the underlying operating system of the Managed MongoDB Database. This function runs during regular maintenance windows, which are configurable with the **Managed MongoDB Database Update** ([PUT /databases/mongodb/instances/{instanceId}](/docs/api/databases/#managed-mongodb-database-update)) command.
39293986
Requires `read_write` access to the Database.
3987+
39303988
The Database must have an `active` status to perform this command.
3931-
**Note**
3989+
3990+
**Note**:
3991+
39323992
* If your database cluster is configured with a single node, you will experience downtime during this maintenance. Consider upgrading to a high availability plan to avoid any downtime due to maintenance.
3993+
39333994
* **The database software is not updated automatically.** To upgrade to a new database engine version, consider deploying a new Managed Database with your preferred version. You can then migrate your databases from the original Managed Database cluster to the new one.
3995+
39343996
**Note**: New MongoDB Databases cannot currently be created.
39353997
security:
39363998
- personalAccessToken: []
@@ -20645,18 +20707,17 @@ components:
2064520707
type: string
2064620708
format: ip
2064720709
description: >
20648-
The IP addresses representing the master DNS for this Domain. At least one value is
20649-
required for `type` slave Domains.
20710+
The IP addresses representing the master DNS for this Domain. At least one value is required for `type` slave Domains. The total combined length of all data within this array cannot exceed 1000 characters.
2065020711
example: []
2065120712
axfr_ips:
2065220713
type: array
2065320714
items:
2065420715
type: string
2065520716
format: ip
20656-
description: >
20657-
The list of IPs that may perform a zone transfer for this Domain.
20658-
This is potentially dangerous, and should be set to an empty list
20659-
unless you intend to use it.
20717+
description: |
20718+
The list of IPs that may perform a zone transfer for this Domain. The total combined length of all data within this array cannot exceed 1000 characters.
20719+
20720+
**Note**: This is potentially dangerous, and should be set to an empty list unless you intend to use it.
2066020721
example: []
2066120722
expire_sec:
2066220723
type: integer
@@ -24237,6 +24298,7 @@ components:
2423724298
type: integer
2423824299
minimum: 1
2423924300
maximum: 65535
24301+
default: 80
2424024302
description: >
2424124303
The port this Config is for. These values must be unique across configs
2424224304
on a single NodeBalancer (you can't have two configs for port 80, for
@@ -24252,6 +24314,7 @@ components:
2425224314
- http
2425324315
- https
2425424316
- tcp
24317+
default: http
2425524318
description: >
2425624319
The protocol this port is configured to serve.
2425724320

@@ -24266,6 +24329,7 @@ components:
2426624329
- roundrobin
2426724330
- leastconn
2426824331
- source
24332+
default: roundrobin
2426924333
description: >
2427024334
What algorithm this NodeBalancer should use for routing traffic to backends.
2427124335
example: roundrobin
@@ -24276,6 +24340,7 @@ components:
2427624340
- none
2427724341
- table
2427824342
- http_cookie
24343+
default: none
2427924344
description: >
2428024345
Controls how session stickiness is handled on this port.
2428124346

@@ -24295,6 +24360,7 @@ components:
2429524360
- connection
2429624361
- http
2429724362
- http_body
24363+
default: none
2429824364
description: >
2429924365
The type of check to perform against backends to ensure they are serving
2430024366
requests. This is used to determine if backends are up or down.
@@ -24308,20 +24374,27 @@ components:
2430824374
example: http_body
2430924375
check_interval:
2431024376
type: integer
24311-
description: >
24377+
description: |
2431224378
How often, in seconds, to check that backends are up and serving requests.
24379+
24380+
Must be greater than `check_timeout`.
2431324381
example: 90
24382+
default: 31
2431424383
check_timeout:
2431524384
type: integer
2431624385
minimum: 1
2431724386
maximum: 30
24318-
description: >
24387+
default: 30
24388+
description: |
2431924389
How long, in seconds, to wait for a check attempt before considering it failed.
24390+
24391+
Must be less than `check_interval`.
2432024392
example: 10
2432124393
check_attempts:
2432224394
type: integer
2432324395
minimum: 1
2432424396
maximum: 30
24397+
default: 3
2432524398
description: >
2432624399
How many times to attempt a check before considering a backend to be down.
2432724400
example: 3
@@ -24341,6 +24414,7 @@ components:
2434124414
example: it works
2434224415
check_passive:
2434324416
type: boolean
24417+
default: true
2434424418
description: >
2434524419
If true, any response from this backend with a `5xx` status code will be
2434624420
enough for it to be considered unhealthy and taken out of rotation.
@@ -24372,6 +24446,7 @@ components:
2437224446
enum:
2437324447
- recommended
2437424448
- legacy
24449+
default: recommended
2437524450
description: >
2437624451
What ciphers to use for SSL connections served by this NodeBalancer.
2437724452

0 commit comments

Comments
 (0)