@netlify/open-api 2.36.0 → 2.38.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/index.d.ts +35 -1
- package/dist/swagger.json +238 -78
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -774,10 +774,39 @@ export interface paths {
|
|
|
774
774
|
};
|
|
775
775
|
};
|
|
776
776
|
};
|
|
777
|
+
"/ai-gateway/providers": {
|
|
778
|
+
get: {
|
|
779
|
+
responses: {
|
|
780
|
+
/** The mapping of providers and supported models */
|
|
781
|
+
200: {
|
|
782
|
+
content: {
|
|
783
|
+
"application/json": {
|
|
784
|
+
providers?: {
|
|
785
|
+
[key: string]: components["schemas"]["providerDefinition"];
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
};
|
|
777
793
|
}
|
|
778
794
|
|
|
779
795
|
export interface components {
|
|
780
796
|
schemas: {
|
|
797
|
+
DeployValidationsReport: {
|
|
798
|
+
/** @description The id of the deploy validations report */
|
|
799
|
+
id?: string;
|
|
800
|
+
/** @description The id of the deploy */
|
|
801
|
+
deploy_id?: string;
|
|
802
|
+
secret_scan_result?: components["schemas"]["DeployValidationsReport_SecretScanResult"];
|
|
803
|
+
};
|
|
804
|
+
DeployValidationsReport_SecretScanResult: {
|
|
805
|
+
/** @description The number of files scanned */
|
|
806
|
+
scannedFilesCount?: number;
|
|
807
|
+
/** @description The list of secrets scan matches */
|
|
808
|
+
secretsScanMatches?: string[];
|
|
809
|
+
};
|
|
781
810
|
splitTestSetup: {
|
|
782
811
|
branch_tests?: { [key: string]: unknown };
|
|
783
812
|
};
|
|
@@ -1480,6 +1509,11 @@ export interface components {
|
|
|
1480
1509
|
/** @enum {string} */
|
|
1481
1510
|
type?: "new_dev_server" | "content_refresh";
|
|
1482
1511
|
};
|
|
1512
|
+
providerDefinition: {
|
|
1513
|
+
token_env_var?: string;
|
|
1514
|
+
url_env_var?: string;
|
|
1515
|
+
models?: string[];
|
|
1516
|
+
};
|
|
1483
1517
|
};
|
|
1484
1518
|
responses: {
|
|
1485
1519
|
/** error */
|
|
@@ -3350,7 +3384,7 @@ export interface operations {
|
|
|
3350
3384
|
/** OK */
|
|
3351
3385
|
200: {
|
|
3352
3386
|
content: {
|
|
3353
|
-
"application/json": components["schemas"]["accountMembership"]
|
|
3387
|
+
"application/json": components["schemas"]["accountMembership"];
|
|
3354
3388
|
};
|
|
3355
3389
|
};
|
|
3356
3390
|
default: components["responses"]["error"];
|
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.38.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/",
|
|
@@ -8036,6 +8036,74 @@
|
|
|
8036
8036
|
}
|
|
8037
8037
|
}
|
|
8038
8038
|
},
|
|
8039
|
+
"/deploys/{deploy_id}/validations_report": {
|
|
8040
|
+
"patch": {
|
|
8041
|
+
"operationId": "updateDeployValidations",
|
|
8042
|
+
"tags": [
|
|
8043
|
+
"deploy"
|
|
8044
|
+
],
|
|
8045
|
+
"description": "Updates the deploy validations report for a deploy.",
|
|
8046
|
+
"x-internal": true,
|
|
8047
|
+
"x-controller": "api/v1/deploys",
|
|
8048
|
+
"x-action": "validations_report",
|
|
8049
|
+
"parameters": [
|
|
8050
|
+
{
|
|
8051
|
+
"name": "deploy_id",
|
|
8052
|
+
"description": "The ID of the deploy",
|
|
8053
|
+
"type": "string",
|
|
8054
|
+
"in": "path",
|
|
8055
|
+
"required": true
|
|
8056
|
+
},
|
|
8057
|
+
{
|
|
8058
|
+
"name": "report",
|
|
8059
|
+
"in": "body",
|
|
8060
|
+
"required": true,
|
|
8061
|
+
"schema": {
|
|
8062
|
+
"type": "object",
|
|
8063
|
+
"properties": {
|
|
8064
|
+
"secrets_scan": {
|
|
8065
|
+
"type": "object"
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
}
|
|
8069
|
+
}
|
|
8070
|
+
],
|
|
8071
|
+
"responses": {
|
|
8072
|
+
"200": {
|
|
8073
|
+
"description": "OK",
|
|
8074
|
+
"schema": {
|
|
8075
|
+
"type": "object",
|
|
8076
|
+
"properties": {
|
|
8077
|
+
"id": {
|
|
8078
|
+
"type": "string",
|
|
8079
|
+
"description": "The id of the deploy validations report"
|
|
8080
|
+
},
|
|
8081
|
+
"deploy_id": {
|
|
8082
|
+
"type": "string",
|
|
8083
|
+
"description": "The id of the deploy"
|
|
8084
|
+
},
|
|
8085
|
+
"secret_scan_result": {
|
|
8086
|
+
"type": "object",
|
|
8087
|
+
"properties": {
|
|
8088
|
+
"scannedFilesCount": {
|
|
8089
|
+
"type": "integer",
|
|
8090
|
+
"description": "The number of files scanned"
|
|
8091
|
+
},
|
|
8092
|
+
"secretsScanMatches": {
|
|
8093
|
+
"type": "array",
|
|
8094
|
+
"items": {
|
|
8095
|
+
"type": "string"
|
|
8096
|
+
},
|
|
8097
|
+
"description": "The list of secrets scan matches"
|
|
8098
|
+
}
|
|
8099
|
+
}
|
|
8100
|
+
}
|
|
8101
|
+
}
|
|
8102
|
+
}
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
}
|
|
8106
|
+
},
|
|
8039
8107
|
"/deploys/{deploy_id}/lock": {
|
|
8040
8108
|
"post": {
|
|
8041
8109
|
"operationId": "lockDeploy",
|
|
@@ -11596,90 +11664,87 @@
|
|
|
11596
11664
|
"200": {
|
|
11597
11665
|
"description": "OK",
|
|
11598
11666
|
"schema": {
|
|
11599
|
-
"type": "
|
|
11600
|
-
"
|
|
11601
|
-
"
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
"
|
|
11616
|
-
"
|
|
11617
|
-
|
|
11618
|
-
"
|
|
11619
|
-
"
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
"used": {
|
|
11625
|
-
"type": "integer"
|
|
11626
|
-
}
|
|
11667
|
+
"type": "object",
|
|
11668
|
+
"properties": {
|
|
11669
|
+
"id": {
|
|
11670
|
+
"type": "string"
|
|
11671
|
+
},
|
|
11672
|
+
"name": {
|
|
11673
|
+
"type": "string"
|
|
11674
|
+
},
|
|
11675
|
+
"slug": {
|
|
11676
|
+
"type": "string"
|
|
11677
|
+
},
|
|
11678
|
+
"type": {
|
|
11679
|
+
"type": "string"
|
|
11680
|
+
},
|
|
11681
|
+
"capabilities": {
|
|
11682
|
+
"type": "object",
|
|
11683
|
+
"properties": {
|
|
11684
|
+
"sites": {
|
|
11685
|
+
"type": "object",
|
|
11686
|
+
"properties": {
|
|
11687
|
+
"included": {
|
|
11688
|
+
"type": "integer"
|
|
11689
|
+
},
|
|
11690
|
+
"used": {
|
|
11691
|
+
"type": "integer"
|
|
11627
11692
|
}
|
|
11628
|
-
}
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11693
|
+
}
|
|
11694
|
+
},
|
|
11695
|
+
"collaborators": {
|
|
11696
|
+
"type": "object",
|
|
11697
|
+
"properties": {
|
|
11698
|
+
"included": {
|
|
11699
|
+
"type": "integer"
|
|
11700
|
+
},
|
|
11701
|
+
"used": {
|
|
11702
|
+
"type": "integer"
|
|
11638
11703
|
}
|
|
11639
11704
|
}
|
|
11640
11705
|
}
|
|
11641
|
-
}
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11706
|
+
}
|
|
11707
|
+
},
|
|
11708
|
+
"billing_name": {
|
|
11709
|
+
"type": "string"
|
|
11710
|
+
},
|
|
11711
|
+
"billing_email": {
|
|
11712
|
+
"type": "string"
|
|
11713
|
+
},
|
|
11714
|
+
"billing_details": {
|
|
11715
|
+
"type": "string"
|
|
11716
|
+
},
|
|
11717
|
+
"billing_period": {
|
|
11718
|
+
"type": "string"
|
|
11719
|
+
},
|
|
11720
|
+
"payment_method_id": {
|
|
11721
|
+
"type": "string"
|
|
11722
|
+
},
|
|
11723
|
+
"type_name": {
|
|
11724
|
+
"type": "string"
|
|
11725
|
+
},
|
|
11726
|
+
"type_id": {
|
|
11727
|
+
"type": "string"
|
|
11728
|
+
},
|
|
11729
|
+
"owner_ids": {
|
|
11730
|
+
"type": "array",
|
|
11731
|
+
"items": {
|
|
11658
11732
|
"type": "string"
|
|
11659
|
-
}
|
|
11660
|
-
|
|
11733
|
+
}
|
|
11734
|
+
},
|
|
11735
|
+
"roles_allowed": {
|
|
11736
|
+
"type": "array",
|
|
11737
|
+
"items": {
|
|
11661
11738
|
"type": "string"
|
|
11662
|
-
},
|
|
11663
|
-
"owner_ids": {
|
|
11664
|
-
"type": "array",
|
|
11665
|
-
"items": {
|
|
11666
|
-
"type": "string"
|
|
11667
|
-
}
|
|
11668
|
-
},
|
|
11669
|
-
"roles_allowed": {
|
|
11670
|
-
"type": "array",
|
|
11671
|
-
"items": {
|
|
11672
|
-
"type": "string"
|
|
11673
|
-
}
|
|
11674
|
-
},
|
|
11675
|
-
"created_at": {
|
|
11676
|
-
"type": "string",
|
|
11677
|
-
"format": "dateTime"
|
|
11678
|
-
},
|
|
11679
|
-
"updated_at": {
|
|
11680
|
-
"type": "string",
|
|
11681
|
-
"format": "dateTime"
|
|
11682
11739
|
}
|
|
11740
|
+
},
|
|
11741
|
+
"created_at": {
|
|
11742
|
+
"type": "string",
|
|
11743
|
+
"format": "dateTime"
|
|
11744
|
+
},
|
|
11745
|
+
"updated_at": {
|
|
11746
|
+
"type": "string",
|
|
11747
|
+
"format": "dateTime"
|
|
11683
11748
|
}
|
|
11684
11749
|
}
|
|
11685
11750
|
}
|
|
@@ -14856,9 +14921,87 @@
|
|
|
14856
14921
|
}
|
|
14857
14922
|
}
|
|
14858
14923
|
}
|
|
14924
|
+
},
|
|
14925
|
+
"/ai-gateway/providers": {
|
|
14926
|
+
"get": {
|
|
14927
|
+
"responses": {
|
|
14928
|
+
"200": {
|
|
14929
|
+
"description": "The mapping of providers and supported models",
|
|
14930
|
+
"schema": {
|
|
14931
|
+
"type": "object",
|
|
14932
|
+
"properties": {
|
|
14933
|
+
"providers": {
|
|
14934
|
+
"additionalProperties": {
|
|
14935
|
+
"type": "object",
|
|
14936
|
+
"properties": {
|
|
14937
|
+
"token_env_var": {
|
|
14938
|
+
"type": "string"
|
|
14939
|
+
},
|
|
14940
|
+
"url_env_var": {
|
|
14941
|
+
"type": "string"
|
|
14942
|
+
},
|
|
14943
|
+
"models": {
|
|
14944
|
+
"type": "array",
|
|
14945
|
+
"items": {
|
|
14946
|
+
"type": "string"
|
|
14947
|
+
}
|
|
14948
|
+
}
|
|
14949
|
+
}
|
|
14950
|
+
}
|
|
14951
|
+
}
|
|
14952
|
+
}
|
|
14953
|
+
}
|
|
14954
|
+
}
|
|
14955
|
+
}
|
|
14956
|
+
}
|
|
14859
14957
|
}
|
|
14860
14958
|
},
|
|
14861
14959
|
"definitions": {
|
|
14960
|
+
"DeployValidationsReport": {
|
|
14961
|
+
"type": "object",
|
|
14962
|
+
"properties": {
|
|
14963
|
+
"id": {
|
|
14964
|
+
"type": "string",
|
|
14965
|
+
"description": "The id of the deploy validations report"
|
|
14966
|
+
},
|
|
14967
|
+
"deploy_id": {
|
|
14968
|
+
"type": "string",
|
|
14969
|
+
"description": "The id of the deploy"
|
|
14970
|
+
},
|
|
14971
|
+
"secret_scan_result": {
|
|
14972
|
+
"type": "object",
|
|
14973
|
+
"properties": {
|
|
14974
|
+
"scannedFilesCount": {
|
|
14975
|
+
"type": "integer",
|
|
14976
|
+
"description": "The number of files scanned"
|
|
14977
|
+
},
|
|
14978
|
+
"secretsScanMatches": {
|
|
14979
|
+
"type": "array",
|
|
14980
|
+
"items": {
|
|
14981
|
+
"type": "string"
|
|
14982
|
+
},
|
|
14983
|
+
"description": "The list of secrets scan matches"
|
|
14984
|
+
}
|
|
14985
|
+
}
|
|
14986
|
+
}
|
|
14987
|
+
}
|
|
14988
|
+
},
|
|
14989
|
+
"DeployValidationsReport_SecretScanResult": {
|
|
14990
|
+
"type": "object",
|
|
14991
|
+
"properties": {
|
|
14992
|
+
"scannedFilesCount": {
|
|
14993
|
+
"type": "integer",
|
|
14994
|
+
"description": "The number of files scanned"
|
|
14995
|
+
},
|
|
14996
|
+
"secretsScanMatches": {
|
|
14997
|
+
"type": "array",
|
|
14998
|
+
"items": {
|
|
14999
|
+
"type": "string"
|
|
15000
|
+
},
|
|
15001
|
+
"description": "The list of secrets scan matches"
|
|
15002
|
+
}
|
|
15003
|
+
}
|
|
15004
|
+
},
|
|
14862
15005
|
"splitTestSetup": {
|
|
14863
15006
|
"type": "object",
|
|
14864
15007
|
"properties": {
|
|
@@ -18001,6 +18144,23 @@
|
|
|
18001
18144
|
]
|
|
18002
18145
|
}
|
|
18003
18146
|
}
|
|
18147
|
+
},
|
|
18148
|
+
"providerDefinition": {
|
|
18149
|
+
"type": "object",
|
|
18150
|
+
"properties": {
|
|
18151
|
+
"token_env_var": {
|
|
18152
|
+
"type": "string"
|
|
18153
|
+
},
|
|
18154
|
+
"url_env_var": {
|
|
18155
|
+
"type": "string"
|
|
18156
|
+
},
|
|
18157
|
+
"models": {
|
|
18158
|
+
"type": "array",
|
|
18159
|
+
"items": {
|
|
18160
|
+
"type": "string"
|
|
18161
|
+
}
|
|
18162
|
+
}
|
|
18163
|
+
}
|
|
18004
18164
|
}
|
|
18005
18165
|
},
|
|
18006
18166
|
"parameters": {
|