@netlify/open-api 2.25.0 → 2.26.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 +104 -1
- 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.26.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/",
|
|
@@ -3621,6 +3621,82 @@
|
|
|
3621
3621
|
"description": "Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href=\"https://docs.netlify.com/environment-variables/classic-experience/\">classic environment variables experience</a>. Migrate now with the Netlify UI."
|
|
3622
3622
|
}
|
|
3623
3623
|
},
|
|
3624
|
+
"/sites/{site_id}/functions": {
|
|
3625
|
+
"get": {
|
|
3626
|
+
"operationId": "searchSiteFunctions",
|
|
3627
|
+
"tags": [
|
|
3628
|
+
"function"
|
|
3629
|
+
],
|
|
3630
|
+
"parameters": [
|
|
3631
|
+
{
|
|
3632
|
+
"name": "site_id",
|
|
3633
|
+
"type": "string",
|
|
3634
|
+
"in": "path",
|
|
3635
|
+
"required": true
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"name": "filter",
|
|
3639
|
+
"type": "string",
|
|
3640
|
+
"in": "query",
|
|
3641
|
+
"required": false
|
|
3642
|
+
}
|
|
3643
|
+
],
|
|
3644
|
+
"responses": {
|
|
3645
|
+
"200": {
|
|
3646
|
+
"description": "OK",
|
|
3647
|
+
"schema": {
|
|
3648
|
+
"type": "array",
|
|
3649
|
+
"items": {
|
|
3650
|
+
"type": "object",
|
|
3651
|
+
"properties": {
|
|
3652
|
+
"branch": {
|
|
3653
|
+
"type": "string"
|
|
3654
|
+
},
|
|
3655
|
+
"created_at": {
|
|
3656
|
+
"type": "string",
|
|
3657
|
+
"format": "dateTime"
|
|
3658
|
+
},
|
|
3659
|
+
"functions": {
|
|
3660
|
+
"type": "array",
|
|
3661
|
+
"items": {
|
|
3662
|
+
"type": "object"
|
|
3663
|
+
}
|
|
3664
|
+
},
|
|
3665
|
+
"id": {
|
|
3666
|
+
"type": "string"
|
|
3667
|
+
},
|
|
3668
|
+
"log_type": {
|
|
3669
|
+
"type": "string"
|
|
3670
|
+
},
|
|
3671
|
+
"provider": {
|
|
3672
|
+
"type": "string"
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
},
|
|
3678
|
+
"default": {
|
|
3679
|
+
"description": "error",
|
|
3680
|
+
"schema": {
|
|
3681
|
+
"type": "object",
|
|
3682
|
+
"required": [
|
|
3683
|
+
"message"
|
|
3684
|
+
],
|
|
3685
|
+
"properties": {
|
|
3686
|
+
"code": {
|
|
3687
|
+
"type": "integer",
|
|
3688
|
+
"format": "int64"
|
|
3689
|
+
},
|
|
3690
|
+
"message": {
|
|
3691
|
+
"type": "string",
|
|
3692
|
+
"x-nullable": false
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
},
|
|
3624
3700
|
"/sites/{site_id}/forms": {
|
|
3625
3701
|
"get": {
|
|
3626
3702
|
"operationId": "listSiteForms",
|
|
@@ -16785,6 +16861,33 @@
|
|
|
16785
16861
|
"type": "boolean"
|
|
16786
16862
|
}
|
|
16787
16863
|
}
|
|
16864
|
+
},
|
|
16865
|
+
"siteFunction": {
|
|
16866
|
+
"type": "object",
|
|
16867
|
+
"properties": {
|
|
16868
|
+
"branch": {
|
|
16869
|
+
"type": "string"
|
|
16870
|
+
},
|
|
16871
|
+
"created_at": {
|
|
16872
|
+
"type": "string",
|
|
16873
|
+
"format": "dateTime"
|
|
16874
|
+
},
|
|
16875
|
+
"functions": {
|
|
16876
|
+
"type": "array",
|
|
16877
|
+
"items": {
|
|
16878
|
+
"type": "object"
|
|
16879
|
+
}
|
|
16880
|
+
},
|
|
16881
|
+
"id": {
|
|
16882
|
+
"type": "string"
|
|
16883
|
+
},
|
|
16884
|
+
"log_type": {
|
|
16885
|
+
"type": "string"
|
|
16886
|
+
},
|
|
16887
|
+
"provider": {
|
|
16888
|
+
"type": "string"
|
|
16889
|
+
}
|
|
16890
|
+
}
|
|
16788
16891
|
}
|
|
16789
16892
|
},
|
|
16790
16893
|
"parameters": {
|