@netlify/open-api 2.28.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/swagger.json +340 -9
- package/package.json +1 -1
package/dist/swagger.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"swagger": "2.0",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.29.0",
|
|
5
5
|
"title": "Netlify's API documentation",
|
|
6
6
|
"description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
|
|
7
7
|
"termsOfService": "https://www.netlify.com/legal/terms-of-use/",
|
|
@@ -5530,6 +5530,64 @@
|
|
|
5530
5530
|
},
|
|
5531
5531
|
"priority": {
|
|
5532
5532
|
"type": "integer"
|
|
5533
|
+
},
|
|
5534
|
+
"traffic_rules": {
|
|
5535
|
+
"type": "object",
|
|
5536
|
+
"properties": {
|
|
5537
|
+
"action": {
|
|
5538
|
+
"type": "object",
|
|
5539
|
+
"properties": {
|
|
5540
|
+
"type": {
|
|
5541
|
+
"type": "string"
|
|
5542
|
+
},
|
|
5543
|
+
"config": {
|
|
5544
|
+
"type": "object",
|
|
5545
|
+
"properties": {
|
|
5546
|
+
"to": {
|
|
5547
|
+
"type": "string"
|
|
5548
|
+
},
|
|
5549
|
+
"rate_limit_config": {
|
|
5550
|
+
"type": "object",
|
|
5551
|
+
"properties": {
|
|
5552
|
+
"algorithm": {
|
|
5553
|
+
"type": "string",
|
|
5554
|
+
"enum": [
|
|
5555
|
+
"sliding_window"
|
|
5556
|
+
]
|
|
5557
|
+
},
|
|
5558
|
+
"window_size": {
|
|
5559
|
+
"type": "integer"
|
|
5560
|
+
},
|
|
5561
|
+
"window_limit": {
|
|
5562
|
+
"type": "integer"
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
},
|
|
5566
|
+
"aggregate": {
|
|
5567
|
+
"type": "object",
|
|
5568
|
+
"properties": {
|
|
5569
|
+
"keys": {
|
|
5570
|
+
"type": "array",
|
|
5571
|
+
"items": {
|
|
5572
|
+
"type": "object",
|
|
5573
|
+
"properties": {
|
|
5574
|
+
"type": {
|
|
5575
|
+
"type": "string",
|
|
5576
|
+
"enum": [
|
|
5577
|
+
"ip",
|
|
5578
|
+
"domain"
|
|
5579
|
+
]
|
|
5580
|
+
}
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
}
|
|
5588
|
+
}
|
|
5589
|
+
}
|
|
5590
|
+
}
|
|
5533
5591
|
}
|
|
5534
5592
|
}
|
|
5535
5593
|
}
|
|
@@ -5949,6 +6007,64 @@
|
|
|
5949
6007
|
},
|
|
5950
6008
|
"priority": {
|
|
5951
6009
|
"type": "integer"
|
|
6010
|
+
},
|
|
6011
|
+
"traffic_rules": {
|
|
6012
|
+
"type": "object",
|
|
6013
|
+
"properties": {
|
|
6014
|
+
"action": {
|
|
6015
|
+
"type": "object",
|
|
6016
|
+
"properties": {
|
|
6017
|
+
"type": {
|
|
6018
|
+
"type": "string"
|
|
6019
|
+
},
|
|
6020
|
+
"config": {
|
|
6021
|
+
"type": "object",
|
|
6022
|
+
"properties": {
|
|
6023
|
+
"to": {
|
|
6024
|
+
"type": "string"
|
|
6025
|
+
},
|
|
6026
|
+
"rate_limit_config": {
|
|
6027
|
+
"type": "object",
|
|
6028
|
+
"properties": {
|
|
6029
|
+
"algorithm": {
|
|
6030
|
+
"type": "string",
|
|
6031
|
+
"enum": [
|
|
6032
|
+
"sliding_window"
|
|
6033
|
+
]
|
|
6034
|
+
},
|
|
6035
|
+
"window_size": {
|
|
6036
|
+
"type": "integer"
|
|
6037
|
+
},
|
|
6038
|
+
"window_limit": {
|
|
6039
|
+
"type": "integer"
|
|
6040
|
+
}
|
|
6041
|
+
}
|
|
6042
|
+
},
|
|
6043
|
+
"aggregate": {
|
|
6044
|
+
"type": "object",
|
|
6045
|
+
"properties": {
|
|
6046
|
+
"keys": {
|
|
6047
|
+
"type": "array",
|
|
6048
|
+
"items": {
|
|
6049
|
+
"type": "object",
|
|
6050
|
+
"properties": {
|
|
6051
|
+
"type": {
|
|
6052
|
+
"type": "string",
|
|
6053
|
+
"enum": [
|
|
6054
|
+
"ip",
|
|
6055
|
+
"domain"
|
|
6056
|
+
]
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
}
|
|
6060
|
+
}
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
6065
|
+
}
|
|
6066
|
+
}
|
|
6067
|
+
}
|
|
5952
6068
|
}
|
|
5953
6069
|
}
|
|
5954
6070
|
}
|
|
@@ -10669,8 +10785,9 @@
|
|
|
10669
10785
|
"type": "string",
|
|
10670
10786
|
"enum": [
|
|
10671
10787
|
"Owner",
|
|
10672
|
-
"
|
|
10673
|
-
"
|
|
10788
|
+
"Developer",
|
|
10789
|
+
"Billing Admin",
|
|
10790
|
+
"Reviewer"
|
|
10674
10791
|
]
|
|
10675
10792
|
},
|
|
10676
10793
|
"email": {
|
|
@@ -10814,8 +10931,9 @@
|
|
|
10814
10931
|
"type": "string",
|
|
10815
10932
|
"enum": [
|
|
10816
10933
|
"Owner",
|
|
10817
|
-
"
|
|
10818
|
-
"
|
|
10934
|
+
"Developer",
|
|
10935
|
+
"Billing Admin",
|
|
10936
|
+
"Reviewer"
|
|
10819
10937
|
]
|
|
10820
10938
|
},
|
|
10821
10939
|
"site_access": {
|
|
@@ -15403,6 +15521,64 @@
|
|
|
15403
15521
|
},
|
|
15404
15522
|
"priority": {
|
|
15405
15523
|
"type": "integer"
|
|
15524
|
+
},
|
|
15525
|
+
"traffic_rules": {
|
|
15526
|
+
"type": "object",
|
|
15527
|
+
"properties": {
|
|
15528
|
+
"action": {
|
|
15529
|
+
"type": "object",
|
|
15530
|
+
"properties": {
|
|
15531
|
+
"type": {
|
|
15532
|
+
"type": "string"
|
|
15533
|
+
},
|
|
15534
|
+
"config": {
|
|
15535
|
+
"type": "object",
|
|
15536
|
+
"properties": {
|
|
15537
|
+
"to": {
|
|
15538
|
+
"type": "string"
|
|
15539
|
+
},
|
|
15540
|
+
"rate_limit_config": {
|
|
15541
|
+
"type": "object",
|
|
15542
|
+
"properties": {
|
|
15543
|
+
"algorithm": {
|
|
15544
|
+
"type": "string",
|
|
15545
|
+
"enum": [
|
|
15546
|
+
"sliding_window"
|
|
15547
|
+
]
|
|
15548
|
+
},
|
|
15549
|
+
"window_size": {
|
|
15550
|
+
"type": "integer"
|
|
15551
|
+
},
|
|
15552
|
+
"window_limit": {
|
|
15553
|
+
"type": "integer"
|
|
15554
|
+
}
|
|
15555
|
+
}
|
|
15556
|
+
},
|
|
15557
|
+
"aggregate": {
|
|
15558
|
+
"type": "object",
|
|
15559
|
+
"properties": {
|
|
15560
|
+
"keys": {
|
|
15561
|
+
"type": "array",
|
|
15562
|
+
"items": {
|
|
15563
|
+
"type": "object",
|
|
15564
|
+
"properties": {
|
|
15565
|
+
"type": {
|
|
15566
|
+
"type": "string",
|
|
15567
|
+
"enum": [
|
|
15568
|
+
"ip",
|
|
15569
|
+
"domain"
|
|
15570
|
+
]
|
|
15571
|
+
}
|
|
15572
|
+
}
|
|
15573
|
+
}
|
|
15574
|
+
}
|
|
15575
|
+
}
|
|
15576
|
+
}
|
|
15577
|
+
}
|
|
15578
|
+
}
|
|
15579
|
+
}
|
|
15580
|
+
}
|
|
15581
|
+
}
|
|
15406
15582
|
}
|
|
15407
15583
|
}
|
|
15408
15584
|
}
|
|
@@ -16301,8 +16477,9 @@
|
|
|
16301
16477
|
"type": "string",
|
|
16302
16478
|
"enum": [
|
|
16303
16479
|
"Owner",
|
|
16304
|
-
"
|
|
16305
|
-
"
|
|
16480
|
+
"Developer",
|
|
16481
|
+
"Billing Admin",
|
|
16482
|
+
"Reviewer"
|
|
16306
16483
|
]
|
|
16307
16484
|
},
|
|
16308
16485
|
"email": {
|
|
@@ -16317,8 +16494,9 @@
|
|
|
16317
16494
|
"type": "string",
|
|
16318
16495
|
"enum": [
|
|
16319
16496
|
"Owner",
|
|
16320
|
-
"
|
|
16321
|
-
"
|
|
16497
|
+
"Developer",
|
|
16498
|
+
"Billing Admin",
|
|
16499
|
+
"Reviewer"
|
|
16322
16500
|
]
|
|
16323
16501
|
},
|
|
16324
16502
|
"site_access": {
|
|
@@ -16664,6 +16842,64 @@
|
|
|
16664
16842
|
},
|
|
16665
16843
|
"priority": {
|
|
16666
16844
|
"type": "integer"
|
|
16845
|
+
},
|
|
16846
|
+
"traffic_rules": {
|
|
16847
|
+
"type": "object",
|
|
16848
|
+
"properties": {
|
|
16849
|
+
"action": {
|
|
16850
|
+
"type": "object",
|
|
16851
|
+
"properties": {
|
|
16852
|
+
"type": {
|
|
16853
|
+
"type": "string"
|
|
16854
|
+
},
|
|
16855
|
+
"config": {
|
|
16856
|
+
"type": "object",
|
|
16857
|
+
"properties": {
|
|
16858
|
+
"to": {
|
|
16859
|
+
"type": "string"
|
|
16860
|
+
},
|
|
16861
|
+
"rate_limit_config": {
|
|
16862
|
+
"type": "object",
|
|
16863
|
+
"properties": {
|
|
16864
|
+
"algorithm": {
|
|
16865
|
+
"type": "string",
|
|
16866
|
+
"enum": [
|
|
16867
|
+
"sliding_window"
|
|
16868
|
+
]
|
|
16869
|
+
},
|
|
16870
|
+
"window_size": {
|
|
16871
|
+
"type": "integer"
|
|
16872
|
+
},
|
|
16873
|
+
"window_limit": {
|
|
16874
|
+
"type": "integer"
|
|
16875
|
+
}
|
|
16876
|
+
}
|
|
16877
|
+
},
|
|
16878
|
+
"aggregate": {
|
|
16879
|
+
"type": "object",
|
|
16880
|
+
"properties": {
|
|
16881
|
+
"keys": {
|
|
16882
|
+
"type": "array",
|
|
16883
|
+
"items": {
|
|
16884
|
+
"type": "object",
|
|
16885
|
+
"properties": {
|
|
16886
|
+
"type": {
|
|
16887
|
+
"type": "string",
|
|
16888
|
+
"enum": [
|
|
16889
|
+
"ip",
|
|
16890
|
+
"domain"
|
|
16891
|
+
]
|
|
16892
|
+
}
|
|
16893
|
+
}
|
|
16894
|
+
}
|
|
16895
|
+
}
|
|
16896
|
+
}
|
|
16897
|
+
}
|
|
16898
|
+
}
|
|
16899
|
+
}
|
|
16900
|
+
}
|
|
16901
|
+
}
|
|
16902
|
+
}
|
|
16667
16903
|
}
|
|
16668
16904
|
}
|
|
16669
16905
|
},
|
|
@@ -16698,6 +16934,101 @@
|
|
|
16698
16934
|
}
|
|
16699
16935
|
}
|
|
16700
16936
|
},
|
|
16937
|
+
"trafficRulesConfig": {
|
|
16938
|
+
"type": "object",
|
|
16939
|
+
"properties": {
|
|
16940
|
+
"action": {
|
|
16941
|
+
"type": "object",
|
|
16942
|
+
"properties": {
|
|
16943
|
+
"type": {
|
|
16944
|
+
"type": "string"
|
|
16945
|
+
},
|
|
16946
|
+
"config": {
|
|
16947
|
+
"type": "object",
|
|
16948
|
+
"properties": {
|
|
16949
|
+
"to": {
|
|
16950
|
+
"type": "string"
|
|
16951
|
+
},
|
|
16952
|
+
"rate_limit_config": {
|
|
16953
|
+
"type": "object",
|
|
16954
|
+
"properties": {
|
|
16955
|
+
"algorithm": {
|
|
16956
|
+
"type": "string",
|
|
16957
|
+
"enum": [
|
|
16958
|
+
"sliding_window"
|
|
16959
|
+
]
|
|
16960
|
+
},
|
|
16961
|
+
"window_size": {
|
|
16962
|
+
"type": "integer"
|
|
16963
|
+
},
|
|
16964
|
+
"window_limit": {
|
|
16965
|
+
"type": "integer"
|
|
16966
|
+
}
|
|
16967
|
+
}
|
|
16968
|
+
},
|
|
16969
|
+
"aggregate": {
|
|
16970
|
+
"type": "object",
|
|
16971
|
+
"properties": {
|
|
16972
|
+
"keys": {
|
|
16973
|
+
"type": "array",
|
|
16974
|
+
"items": {
|
|
16975
|
+
"type": "object",
|
|
16976
|
+
"properties": {
|
|
16977
|
+
"type": {
|
|
16978
|
+
"type": "string",
|
|
16979
|
+
"enum": [
|
|
16980
|
+
"ip",
|
|
16981
|
+
"domain"
|
|
16982
|
+
]
|
|
16983
|
+
}
|
|
16984
|
+
}
|
|
16985
|
+
}
|
|
16986
|
+
}
|
|
16987
|
+
}
|
|
16988
|
+
}
|
|
16989
|
+
}
|
|
16990
|
+
}
|
|
16991
|
+
}
|
|
16992
|
+
}
|
|
16993
|
+
}
|
|
16994
|
+
},
|
|
16995
|
+
"trafficRulesRateLimitConfig": {
|
|
16996
|
+
"type": "object",
|
|
16997
|
+
"properties": {
|
|
16998
|
+
"algorithm": {
|
|
16999
|
+
"type": "string",
|
|
17000
|
+
"enum": [
|
|
17001
|
+
"sliding_window"
|
|
17002
|
+
]
|
|
17003
|
+
},
|
|
17004
|
+
"window_size": {
|
|
17005
|
+
"type": "integer"
|
|
17006
|
+
},
|
|
17007
|
+
"window_limit": {
|
|
17008
|
+
"type": "integer"
|
|
17009
|
+
}
|
|
17010
|
+
}
|
|
17011
|
+
},
|
|
17012
|
+
"trafficRulesAggregateConfig": {
|
|
17013
|
+
"type": "object",
|
|
17014
|
+
"properties": {
|
|
17015
|
+
"keys": {
|
|
17016
|
+
"type": "array",
|
|
17017
|
+
"items": {
|
|
17018
|
+
"type": "object",
|
|
17019
|
+
"properties": {
|
|
17020
|
+
"type": {
|
|
17021
|
+
"type": "string",
|
|
17022
|
+
"enum": [
|
|
17023
|
+
"ip",
|
|
17024
|
+
"domain"
|
|
17025
|
+
]
|
|
17026
|
+
}
|
|
17027
|
+
}
|
|
17028
|
+
}
|
|
17029
|
+
}
|
|
17030
|
+
}
|
|
17031
|
+
},
|
|
16701
17032
|
"siteFunction": {
|
|
16702
17033
|
"type": "object",
|
|
16703
17034
|
"properties": {
|