@netlify/open-api 2.50.0 → 2.52.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 +21 -1
- package/dist/swagger.json +76 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1795,6 +1795,7 @@ export interface components {
|
|
|
1795
1795
|
excluded_routes?: components["schemas"]["excludedFunctionRoute"][];
|
|
1796
1796
|
priority?: number;
|
|
1797
1797
|
traffic_rules?: components["schemas"]["trafficRulesConfig"];
|
|
1798
|
+
event_subscriptions?: string[];
|
|
1798
1799
|
};
|
|
1799
1800
|
functionRoute: {
|
|
1800
1801
|
pattern?: string;
|
|
@@ -3554,14 +3555,33 @@ export interface operations {
|
|
|
3554
3555
|
};
|
|
3555
3556
|
};
|
|
3556
3557
|
responses: {
|
|
3557
|
-
/**
|
|
3558
|
+
/** Created */
|
|
3558
3559
|
201: {
|
|
3559
3560
|
content: {
|
|
3560
3561
|
"application/json": components["schemas"]["ticket"];
|
|
3561
3562
|
};
|
|
3562
3563
|
};
|
|
3564
|
+
/** OAuth application not found */
|
|
3565
|
+
401: {
|
|
3566
|
+
content: {
|
|
3567
|
+
"application/json": components["schemas"]["error"];
|
|
3568
|
+
};
|
|
3569
|
+
};
|
|
3570
|
+
/** Validation error */
|
|
3571
|
+
422: {
|
|
3572
|
+
content: {
|
|
3573
|
+
"application/json": components["schemas"]["error"];
|
|
3574
|
+
};
|
|
3575
|
+
};
|
|
3563
3576
|
default: components["responses"]["error"];
|
|
3564
3577
|
};
|
|
3578
|
+
requestBody: {
|
|
3579
|
+
content: {
|
|
3580
|
+
"application/json": {
|
|
3581
|
+
message?: string;
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
};
|
|
3565
3585
|
};
|
|
3566
3586
|
/** API Reference: {@link https://open-api.netlify.com/#tag/ticket/operation/showTicket | `showTicket`} */
|
|
3567
3587
|
showTicket: {
|
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.52.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/",
|
|
@@ -5779,6 +5779,12 @@
|
|
|
5779
5779
|
}
|
|
5780
5780
|
}
|
|
5781
5781
|
}
|
|
5782
|
+
},
|
|
5783
|
+
"event_subscriptions": {
|
|
5784
|
+
"type": "array",
|
|
5785
|
+
"items": {
|
|
5786
|
+
"type": "string"
|
|
5787
|
+
}
|
|
5782
5788
|
}
|
|
5783
5789
|
}
|
|
5784
5790
|
}
|
|
@@ -6327,6 +6333,12 @@
|
|
|
6327
6333
|
}
|
|
6328
6334
|
}
|
|
6329
6335
|
}
|
|
6336
|
+
},
|
|
6337
|
+
"event_subscriptions": {
|
|
6338
|
+
"type": "array",
|
|
6339
|
+
"items": {
|
|
6340
|
+
"type": "string"
|
|
6341
|
+
}
|
|
6330
6342
|
}
|
|
6331
6343
|
}
|
|
6332
6344
|
}
|
|
@@ -9841,11 +9853,23 @@
|
|
|
9841
9853
|
"type": "string",
|
|
9842
9854
|
"in": "query",
|
|
9843
9855
|
"required": true
|
|
9856
|
+
},
|
|
9857
|
+
{
|
|
9858
|
+
"name": "body",
|
|
9859
|
+
"in": "body",
|
|
9860
|
+
"schema": {
|
|
9861
|
+
"type": "object",
|
|
9862
|
+
"properties": {
|
|
9863
|
+
"message": {
|
|
9864
|
+
"type": "string"
|
|
9865
|
+
}
|
|
9866
|
+
}
|
|
9867
|
+
}
|
|
9844
9868
|
}
|
|
9845
9869
|
],
|
|
9846
9870
|
"responses": {
|
|
9847
9871
|
"201": {
|
|
9848
|
-
"description": "
|
|
9872
|
+
"description": "Created",
|
|
9849
9873
|
"schema": {
|
|
9850
9874
|
"type": "object",
|
|
9851
9875
|
"properties": {
|
|
@@ -9865,6 +9889,44 @@
|
|
|
9865
9889
|
}
|
|
9866
9890
|
}
|
|
9867
9891
|
},
|
|
9892
|
+
"401": {
|
|
9893
|
+
"description": "OAuth application not found",
|
|
9894
|
+
"schema": {
|
|
9895
|
+
"type": "object",
|
|
9896
|
+
"required": [
|
|
9897
|
+
"message"
|
|
9898
|
+
],
|
|
9899
|
+
"properties": {
|
|
9900
|
+
"code": {
|
|
9901
|
+
"type": "integer",
|
|
9902
|
+
"format": "int64"
|
|
9903
|
+
},
|
|
9904
|
+
"message": {
|
|
9905
|
+
"type": "string",
|
|
9906
|
+
"x-nullable": false
|
|
9907
|
+
}
|
|
9908
|
+
}
|
|
9909
|
+
}
|
|
9910
|
+
},
|
|
9911
|
+
"422": {
|
|
9912
|
+
"description": "Validation error",
|
|
9913
|
+
"schema": {
|
|
9914
|
+
"type": "object",
|
|
9915
|
+
"required": [
|
|
9916
|
+
"message"
|
|
9917
|
+
],
|
|
9918
|
+
"properties": {
|
|
9919
|
+
"code": {
|
|
9920
|
+
"type": "integer",
|
|
9921
|
+
"format": "int64"
|
|
9922
|
+
},
|
|
9923
|
+
"message": {
|
|
9924
|
+
"type": "string",
|
|
9925
|
+
"x-nullable": false
|
|
9926
|
+
}
|
|
9927
|
+
}
|
|
9928
|
+
}
|
|
9929
|
+
},
|
|
9868
9930
|
"default": {
|
|
9869
9931
|
"description": "error",
|
|
9870
9932
|
"schema": {
|
|
@@ -19629,6 +19691,12 @@
|
|
|
19629
19691
|
}
|
|
19630
19692
|
}
|
|
19631
19693
|
}
|
|
19694
|
+
},
|
|
19695
|
+
"event_subscriptions": {
|
|
19696
|
+
"type": "array",
|
|
19697
|
+
"items": {
|
|
19698
|
+
"type": "string"
|
|
19699
|
+
}
|
|
19632
19700
|
}
|
|
19633
19701
|
}
|
|
19634
19702
|
}
|
|
@@ -21259,6 +21327,12 @@
|
|
|
21259
21327
|
}
|
|
21260
21328
|
}
|
|
21261
21329
|
}
|
|
21330
|
+
},
|
|
21331
|
+
"event_subscriptions": {
|
|
21332
|
+
"type": "array",
|
|
21333
|
+
"items": {
|
|
21334
|
+
"type": "string"
|
|
21335
|
+
}
|
|
21262
21336
|
}
|
|
21263
21337
|
}
|
|
21264
21338
|
},
|