@netlify/open-api 2.55.0 → 2.56.1
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 +36 -0
- package/dist/swagger.json +443 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -898,6 +898,21 @@ export interface paths {
|
|
|
898
898
|
};
|
|
899
899
|
};
|
|
900
900
|
};
|
|
901
|
+
"/sites/{site_id}/agent_runner_hooks": {
|
|
902
|
+
parameters: {
|
|
903
|
+
path: {
|
|
904
|
+
site_id: string;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
"/sites/{site_id}/agent_runner_hooks/{id}": {
|
|
909
|
+
parameters: {
|
|
910
|
+
path: {
|
|
911
|
+
site_id: string;
|
|
912
|
+
id: string;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
901
916
|
"/ai-gateway/providers": {
|
|
902
917
|
/** API Reference: {@link https://open-api.netlify.com/#tag/aiGateway/operation/getAIGatewayProviders | `getAIGatewayProviders`} */
|
|
903
918
|
get: operations["getAIGatewayProviders"];
|
|
@@ -2096,6 +2111,27 @@ export interface components {
|
|
|
2096
2111
|
email?: string;
|
|
2097
2112
|
avatar_url?: string;
|
|
2098
2113
|
};
|
|
2114
|
+
agentRunnerHook: {
|
|
2115
|
+
id?: string;
|
|
2116
|
+
site_id?: string;
|
|
2117
|
+
title?: string;
|
|
2118
|
+
branch?: string;
|
|
2119
|
+
prompt?: string;
|
|
2120
|
+
agent?: string;
|
|
2121
|
+
url?: string;
|
|
2122
|
+
msg?: string;
|
|
2123
|
+
/** Format: dateTime */
|
|
2124
|
+
created_at?: string;
|
|
2125
|
+
};
|
|
2126
|
+
agentRunnerHookSetup: {
|
|
2127
|
+
title?: string;
|
|
2128
|
+
branch?: string;
|
|
2129
|
+
prompt?: string;
|
|
2130
|
+
agent?: string;
|
|
2131
|
+
};
|
|
2132
|
+
agentRunnerHookCreated: components["schemas"]["agentRunnerHook"] & {
|
|
2133
|
+
secret?: string;
|
|
2134
|
+
};
|
|
2099
2135
|
accountUsageCapability: {
|
|
2100
2136
|
included?: number;
|
|
2101
2137
|
used?: number;
|
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.56.1",
|
|
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/",
|
|
@@ -17505,6 +17505,354 @@
|
|
|
17505
17505
|
}
|
|
17506
17506
|
}
|
|
17507
17507
|
},
|
|
17508
|
+
"/sites/{site_id}/agent_runner_hooks": {
|
|
17509
|
+
"parameters": [
|
|
17510
|
+
{
|
|
17511
|
+
"name": "site_id",
|
|
17512
|
+
"type": "string",
|
|
17513
|
+
"in": "path",
|
|
17514
|
+
"required": true
|
|
17515
|
+
}
|
|
17516
|
+
],
|
|
17517
|
+
"get": {
|
|
17518
|
+
"x-internal": true,
|
|
17519
|
+
"operationId": "listSiteAgentRunnerHooks",
|
|
17520
|
+
"tags": [
|
|
17521
|
+
"agentRunnerHook"
|
|
17522
|
+
],
|
|
17523
|
+
"responses": {
|
|
17524
|
+
"200": {
|
|
17525
|
+
"description": "OK",
|
|
17526
|
+
"schema": {
|
|
17527
|
+
"type": "array",
|
|
17528
|
+
"items": {
|
|
17529
|
+
"type": "object",
|
|
17530
|
+
"properties": {
|
|
17531
|
+
"id": {
|
|
17532
|
+
"type": "string"
|
|
17533
|
+
},
|
|
17534
|
+
"site_id": {
|
|
17535
|
+
"type": "string"
|
|
17536
|
+
},
|
|
17537
|
+
"title": {
|
|
17538
|
+
"type": "string"
|
|
17539
|
+
},
|
|
17540
|
+
"branch": {
|
|
17541
|
+
"type": "string"
|
|
17542
|
+
},
|
|
17543
|
+
"prompt": {
|
|
17544
|
+
"type": "string"
|
|
17545
|
+
},
|
|
17546
|
+
"agent": {
|
|
17547
|
+
"type": "string"
|
|
17548
|
+
},
|
|
17549
|
+
"url": {
|
|
17550
|
+
"type": "string"
|
|
17551
|
+
},
|
|
17552
|
+
"msg": {
|
|
17553
|
+
"type": "string"
|
|
17554
|
+
},
|
|
17555
|
+
"created_at": {
|
|
17556
|
+
"type": "string",
|
|
17557
|
+
"format": "dateTime"
|
|
17558
|
+
}
|
|
17559
|
+
}
|
|
17560
|
+
}
|
|
17561
|
+
}
|
|
17562
|
+
},
|
|
17563
|
+
"default": {
|
|
17564
|
+
"description": "error",
|
|
17565
|
+
"schema": {
|
|
17566
|
+
"type": "object",
|
|
17567
|
+
"required": [
|
|
17568
|
+
"message"
|
|
17569
|
+
],
|
|
17570
|
+
"properties": {
|
|
17571
|
+
"code": {
|
|
17572
|
+
"type": "integer",
|
|
17573
|
+
"format": "int64"
|
|
17574
|
+
},
|
|
17575
|
+
"message": {
|
|
17576
|
+
"type": "string",
|
|
17577
|
+
"x-nullable": false
|
|
17578
|
+
}
|
|
17579
|
+
}
|
|
17580
|
+
}
|
|
17581
|
+
}
|
|
17582
|
+
}
|
|
17583
|
+
},
|
|
17584
|
+
"post": {
|
|
17585
|
+
"x-internal": true,
|
|
17586
|
+
"operationId": "createSiteAgentRunnerHook",
|
|
17587
|
+
"tags": [
|
|
17588
|
+
"agentRunnerHook"
|
|
17589
|
+
],
|
|
17590
|
+
"consumes": [
|
|
17591
|
+
"application/json"
|
|
17592
|
+
],
|
|
17593
|
+
"parameters": [
|
|
17594
|
+
{
|
|
17595
|
+
"name": "agentRunnerHook",
|
|
17596
|
+
"in": "body",
|
|
17597
|
+
"schema": {
|
|
17598
|
+
"type": "object",
|
|
17599
|
+
"properties": {
|
|
17600
|
+
"title": {
|
|
17601
|
+
"type": "string"
|
|
17602
|
+
},
|
|
17603
|
+
"branch": {
|
|
17604
|
+
"type": "string"
|
|
17605
|
+
},
|
|
17606
|
+
"prompt": {
|
|
17607
|
+
"type": "string"
|
|
17608
|
+
},
|
|
17609
|
+
"agent": {
|
|
17610
|
+
"type": "string"
|
|
17611
|
+
}
|
|
17612
|
+
}
|
|
17613
|
+
},
|
|
17614
|
+
"required": true
|
|
17615
|
+
}
|
|
17616
|
+
],
|
|
17617
|
+
"responses": {
|
|
17618
|
+
"201": {
|
|
17619
|
+
"description": "Created",
|
|
17620
|
+
"schema": {
|
|
17621
|
+
"allOf": [
|
|
17622
|
+
{
|
|
17623
|
+
"type": "object",
|
|
17624
|
+
"properties": {
|
|
17625
|
+
"id": {
|
|
17626
|
+
"type": "string"
|
|
17627
|
+
},
|
|
17628
|
+
"site_id": {
|
|
17629
|
+
"type": "string"
|
|
17630
|
+
},
|
|
17631
|
+
"title": {
|
|
17632
|
+
"type": "string"
|
|
17633
|
+
},
|
|
17634
|
+
"branch": {
|
|
17635
|
+
"type": "string"
|
|
17636
|
+
},
|
|
17637
|
+
"prompt": {
|
|
17638
|
+
"type": "string"
|
|
17639
|
+
},
|
|
17640
|
+
"agent": {
|
|
17641
|
+
"type": "string"
|
|
17642
|
+
},
|
|
17643
|
+
"url": {
|
|
17644
|
+
"type": "string"
|
|
17645
|
+
},
|
|
17646
|
+
"msg": {
|
|
17647
|
+
"type": "string"
|
|
17648
|
+
},
|
|
17649
|
+
"created_at": {
|
|
17650
|
+
"type": "string",
|
|
17651
|
+
"format": "dateTime"
|
|
17652
|
+
}
|
|
17653
|
+
}
|
|
17654
|
+
},
|
|
17655
|
+
{
|
|
17656
|
+
"properties": {
|
|
17657
|
+
"secret": {
|
|
17658
|
+
"type": "string"
|
|
17659
|
+
}
|
|
17660
|
+
}
|
|
17661
|
+
}
|
|
17662
|
+
]
|
|
17663
|
+
}
|
|
17664
|
+
},
|
|
17665
|
+
"default": {
|
|
17666
|
+
"description": "error",
|
|
17667
|
+
"schema": {
|
|
17668
|
+
"type": "object",
|
|
17669
|
+
"required": [
|
|
17670
|
+
"message"
|
|
17671
|
+
],
|
|
17672
|
+
"properties": {
|
|
17673
|
+
"code": {
|
|
17674
|
+
"type": "integer",
|
|
17675
|
+
"format": "int64"
|
|
17676
|
+
},
|
|
17677
|
+
"message": {
|
|
17678
|
+
"type": "string",
|
|
17679
|
+
"x-nullable": false
|
|
17680
|
+
}
|
|
17681
|
+
}
|
|
17682
|
+
}
|
|
17683
|
+
}
|
|
17684
|
+
}
|
|
17685
|
+
}
|
|
17686
|
+
},
|
|
17687
|
+
"/sites/{site_id}/agent_runner_hooks/{id}": {
|
|
17688
|
+
"parameters": [
|
|
17689
|
+
{
|
|
17690
|
+
"name": "site_id",
|
|
17691
|
+
"type": "string",
|
|
17692
|
+
"in": "path",
|
|
17693
|
+
"required": true
|
|
17694
|
+
},
|
|
17695
|
+
{
|
|
17696
|
+
"name": "id",
|
|
17697
|
+
"type": "string",
|
|
17698
|
+
"in": "path",
|
|
17699
|
+
"required": true
|
|
17700
|
+
}
|
|
17701
|
+
],
|
|
17702
|
+
"get": {
|
|
17703
|
+
"x-internal": true,
|
|
17704
|
+
"operationId": "getSiteAgentRunnerHook",
|
|
17705
|
+
"tags": [
|
|
17706
|
+
"agentRunnerHook"
|
|
17707
|
+
],
|
|
17708
|
+
"responses": {
|
|
17709
|
+
"200": {
|
|
17710
|
+
"description": "OK",
|
|
17711
|
+
"schema": {
|
|
17712
|
+
"type": "object",
|
|
17713
|
+
"properties": {
|
|
17714
|
+
"id": {
|
|
17715
|
+
"type": "string"
|
|
17716
|
+
},
|
|
17717
|
+
"site_id": {
|
|
17718
|
+
"type": "string"
|
|
17719
|
+
},
|
|
17720
|
+
"title": {
|
|
17721
|
+
"type": "string"
|
|
17722
|
+
},
|
|
17723
|
+
"branch": {
|
|
17724
|
+
"type": "string"
|
|
17725
|
+
},
|
|
17726
|
+
"prompt": {
|
|
17727
|
+
"type": "string"
|
|
17728
|
+
},
|
|
17729
|
+
"agent": {
|
|
17730
|
+
"type": "string"
|
|
17731
|
+
},
|
|
17732
|
+
"url": {
|
|
17733
|
+
"type": "string"
|
|
17734
|
+
},
|
|
17735
|
+
"msg": {
|
|
17736
|
+
"type": "string"
|
|
17737
|
+
},
|
|
17738
|
+
"created_at": {
|
|
17739
|
+
"type": "string",
|
|
17740
|
+
"format": "dateTime"
|
|
17741
|
+
}
|
|
17742
|
+
}
|
|
17743
|
+
}
|
|
17744
|
+
},
|
|
17745
|
+
"default": {
|
|
17746
|
+
"description": "error",
|
|
17747
|
+
"schema": {
|
|
17748
|
+
"type": "object",
|
|
17749
|
+
"required": [
|
|
17750
|
+
"message"
|
|
17751
|
+
],
|
|
17752
|
+
"properties": {
|
|
17753
|
+
"code": {
|
|
17754
|
+
"type": "integer",
|
|
17755
|
+
"format": "int64"
|
|
17756
|
+
},
|
|
17757
|
+
"message": {
|
|
17758
|
+
"type": "string",
|
|
17759
|
+
"x-nullable": false
|
|
17760
|
+
}
|
|
17761
|
+
}
|
|
17762
|
+
}
|
|
17763
|
+
}
|
|
17764
|
+
}
|
|
17765
|
+
},
|
|
17766
|
+
"put": {
|
|
17767
|
+
"x-internal": true,
|
|
17768
|
+
"operationId": "updateSiteAgentRunnerHook",
|
|
17769
|
+
"tags": [
|
|
17770
|
+
"agentRunnerHook"
|
|
17771
|
+
],
|
|
17772
|
+
"consumes": [
|
|
17773
|
+
"application/json"
|
|
17774
|
+
],
|
|
17775
|
+
"parameters": [
|
|
17776
|
+
{
|
|
17777
|
+
"name": "agentRunnerHook",
|
|
17778
|
+
"in": "body",
|
|
17779
|
+
"schema": {
|
|
17780
|
+
"type": "object",
|
|
17781
|
+
"properties": {
|
|
17782
|
+
"title": {
|
|
17783
|
+
"type": "string"
|
|
17784
|
+
},
|
|
17785
|
+
"branch": {
|
|
17786
|
+
"type": "string"
|
|
17787
|
+
},
|
|
17788
|
+
"prompt": {
|
|
17789
|
+
"type": "string"
|
|
17790
|
+
},
|
|
17791
|
+
"agent": {
|
|
17792
|
+
"type": "string"
|
|
17793
|
+
}
|
|
17794
|
+
}
|
|
17795
|
+
},
|
|
17796
|
+
"required": true
|
|
17797
|
+
}
|
|
17798
|
+
],
|
|
17799
|
+
"responses": {
|
|
17800
|
+
"204": {
|
|
17801
|
+
"description": "No content"
|
|
17802
|
+
},
|
|
17803
|
+
"default": {
|
|
17804
|
+
"description": "error",
|
|
17805
|
+
"schema": {
|
|
17806
|
+
"type": "object",
|
|
17807
|
+
"required": [
|
|
17808
|
+
"message"
|
|
17809
|
+
],
|
|
17810
|
+
"properties": {
|
|
17811
|
+
"code": {
|
|
17812
|
+
"type": "integer",
|
|
17813
|
+
"format": "int64"
|
|
17814
|
+
},
|
|
17815
|
+
"message": {
|
|
17816
|
+
"type": "string",
|
|
17817
|
+
"x-nullable": false
|
|
17818
|
+
}
|
|
17819
|
+
}
|
|
17820
|
+
}
|
|
17821
|
+
}
|
|
17822
|
+
}
|
|
17823
|
+
},
|
|
17824
|
+
"delete": {
|
|
17825
|
+
"x-internal": true,
|
|
17826
|
+
"operationId": "deleteSiteAgentRunnerHook",
|
|
17827
|
+
"tags": [
|
|
17828
|
+
"agentRunnerHook"
|
|
17829
|
+
],
|
|
17830
|
+
"responses": {
|
|
17831
|
+
"204": {
|
|
17832
|
+
"description": "No content"
|
|
17833
|
+
},
|
|
17834
|
+
"default": {
|
|
17835
|
+
"description": "error",
|
|
17836
|
+
"schema": {
|
|
17837
|
+
"type": "object",
|
|
17838
|
+
"required": [
|
|
17839
|
+
"message"
|
|
17840
|
+
],
|
|
17841
|
+
"properties": {
|
|
17842
|
+
"code": {
|
|
17843
|
+
"type": "integer",
|
|
17844
|
+
"format": "int64"
|
|
17845
|
+
},
|
|
17846
|
+
"message": {
|
|
17847
|
+
"type": "string",
|
|
17848
|
+
"x-nullable": false
|
|
17849
|
+
}
|
|
17850
|
+
}
|
|
17851
|
+
}
|
|
17852
|
+
}
|
|
17853
|
+
}
|
|
17854
|
+
}
|
|
17855
|
+
},
|
|
17508
17856
|
"/ai-gateway/providers": {
|
|
17509
17857
|
"get": {
|
|
17510
17858
|
"operationId": "getAIGatewayProviders",
|
|
@@ -22898,6 +23246,100 @@
|
|
|
22898
23246
|
}
|
|
22899
23247
|
}
|
|
22900
23248
|
},
|
|
23249
|
+
"agentRunnerHook": {
|
|
23250
|
+
"type": "object",
|
|
23251
|
+
"properties": {
|
|
23252
|
+
"id": {
|
|
23253
|
+
"type": "string"
|
|
23254
|
+
},
|
|
23255
|
+
"site_id": {
|
|
23256
|
+
"type": "string"
|
|
23257
|
+
},
|
|
23258
|
+
"title": {
|
|
23259
|
+
"type": "string"
|
|
23260
|
+
},
|
|
23261
|
+
"branch": {
|
|
23262
|
+
"type": "string"
|
|
23263
|
+
},
|
|
23264
|
+
"prompt": {
|
|
23265
|
+
"type": "string"
|
|
23266
|
+
},
|
|
23267
|
+
"agent": {
|
|
23268
|
+
"type": "string"
|
|
23269
|
+
},
|
|
23270
|
+
"url": {
|
|
23271
|
+
"type": "string"
|
|
23272
|
+
},
|
|
23273
|
+
"msg": {
|
|
23274
|
+
"type": "string"
|
|
23275
|
+
},
|
|
23276
|
+
"created_at": {
|
|
23277
|
+
"type": "string",
|
|
23278
|
+
"format": "dateTime"
|
|
23279
|
+
}
|
|
23280
|
+
}
|
|
23281
|
+
},
|
|
23282
|
+
"agentRunnerHookSetup": {
|
|
23283
|
+
"type": "object",
|
|
23284
|
+
"properties": {
|
|
23285
|
+
"title": {
|
|
23286
|
+
"type": "string"
|
|
23287
|
+
},
|
|
23288
|
+
"branch": {
|
|
23289
|
+
"type": "string"
|
|
23290
|
+
},
|
|
23291
|
+
"prompt": {
|
|
23292
|
+
"type": "string"
|
|
23293
|
+
},
|
|
23294
|
+
"agent": {
|
|
23295
|
+
"type": "string"
|
|
23296
|
+
}
|
|
23297
|
+
}
|
|
23298
|
+
},
|
|
23299
|
+
"agentRunnerHookCreated": {
|
|
23300
|
+
"allOf": [
|
|
23301
|
+
{
|
|
23302
|
+
"type": "object",
|
|
23303
|
+
"properties": {
|
|
23304
|
+
"id": {
|
|
23305
|
+
"type": "string"
|
|
23306
|
+
},
|
|
23307
|
+
"site_id": {
|
|
23308
|
+
"type": "string"
|
|
23309
|
+
},
|
|
23310
|
+
"title": {
|
|
23311
|
+
"type": "string"
|
|
23312
|
+
},
|
|
23313
|
+
"branch": {
|
|
23314
|
+
"type": "string"
|
|
23315
|
+
},
|
|
23316
|
+
"prompt": {
|
|
23317
|
+
"type": "string"
|
|
23318
|
+
},
|
|
23319
|
+
"agent": {
|
|
23320
|
+
"type": "string"
|
|
23321
|
+
},
|
|
23322
|
+
"url": {
|
|
23323
|
+
"type": "string"
|
|
23324
|
+
},
|
|
23325
|
+
"msg": {
|
|
23326
|
+
"type": "string"
|
|
23327
|
+
},
|
|
23328
|
+
"created_at": {
|
|
23329
|
+
"type": "string",
|
|
23330
|
+
"format": "dateTime"
|
|
23331
|
+
}
|
|
23332
|
+
}
|
|
23333
|
+
},
|
|
23334
|
+
{
|
|
23335
|
+
"properties": {
|
|
23336
|
+
"secret": {
|
|
23337
|
+
"type": "string"
|
|
23338
|
+
}
|
|
23339
|
+
}
|
|
23340
|
+
}
|
|
23341
|
+
]
|
|
23342
|
+
},
|
|
22901
23343
|
"accountUsageCapability": {
|
|
22902
23344
|
"type": "object",
|
|
22903
23345
|
"properties": {
|