@octokit/openapi 11.0.0 → 11.1.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/generated/api.github.com.deref.json +7867 -1059
- package/generated/api.github.com.json +1150 -152
- package/generated/ghec-diff-to-api.github.com.deref.json +4944 -11
- package/generated/ghec-diff-to-api.github.com.json +92 -1
- package/generated/ghec.deref.json +7870 -1062
- package/generated/ghec.json +1153 -155
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +0 -84
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +292 -4865
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -675
- package/generated/ghes-3.5.deref.json +208 -60
- package/generated/ghes-3.5.json +21 -60
- package/generated/ghes-3.6-anicca-diff-to-ghes-3.7.deref.json +0 -48
- package/generated/ghes-3.6-diff-to-ghes-3.7.deref.json +2 -4739
- package/generated/ghes-3.6-diff-to-ghes-3.7.json +2 -684
- package/generated/ghes-3.6.deref.json +44 -60
- package/generated/ghes-3.6.json +21 -60
- package/generated/ghes-3.7-diff-to-ghes-3.8.deref.json +252 -11
- package/generated/ghes-3.7-diff-to-ghes-3.8.json +1 -1
- package/generated/ghes-3.7.deref.json +282 -63
- package/generated/ghes-3.7.json +133 -63
- package/generated/ghes-3.8-anicca-diff-to-api.github.com.deref.json +17 -38
- package/generated/ghes-3.8-diff-to-api.github.com.deref.json +252 -4758
- package/generated/ghes-3.8-diff-to-api.github.com.json +1 -672
- package/generated/ghes-3.8.deref.json +433 -70
- package/generated/ghes-3.8.json +284 -70
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +17 -84
- package/generated/github.ae-diff-to-api.github.com.deref.json +13247 -12990
- package/generated/github.ae-diff-to-api.github.com.json +1351 -1935
- package/generated/github.ae.deref.json +5201 -73
- package/generated/github.ae.json +424 -73
- package/package.json +1 -1
package/generated/github.ae.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.1.1",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -5616,7 +5616,7 @@
|
|
|
5616
5616
|
"operationId": "gists/update",
|
|
5617
5617
|
"externalDocs": {
|
|
5618
5618
|
"description": "API method documentation",
|
|
5619
|
-
"url": "https://docs.github.com/
|
|
5619
|
+
"url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
|
|
5620
5620
|
},
|
|
5621
5621
|
"parameters": [
|
|
5622
5622
|
{
|
|
@@ -5628,6 +5628,7 @@
|
|
|
5628
5628
|
"content": {
|
|
5629
5629
|
"application/json": {
|
|
5630
5630
|
"schema": {
|
|
5631
|
+
"type": "object",
|
|
5631
5632
|
"properties": {
|
|
5632
5633
|
"description": {
|
|
5633
5634
|
"description": "The description of the gist.",
|
|
@@ -5644,29 +5645,20 @@
|
|
|
5644
5645
|
},
|
|
5645
5646
|
"type": "object",
|
|
5646
5647
|
"additionalProperties": {
|
|
5647
|
-
"
|
|
5648
|
-
"nullable": true,
|
|
5649
|
-
"properties": {
|
|
5650
|
-
"content": {
|
|
5651
|
-
"description": "The new content of the file.",
|
|
5652
|
-
"type": "string"
|
|
5653
|
-
},
|
|
5654
|
-
"filename": {
|
|
5655
|
-
"description": "The new filename for the file.",
|
|
5656
|
-
"type": "string",
|
|
5657
|
-
"nullable": true
|
|
5658
|
-
}
|
|
5659
|
-
},
|
|
5660
|
-
"anyOf": [
|
|
5661
|
-
{
|
|
5662
|
-
"required": [
|
|
5663
|
-
"content"
|
|
5664
|
-
]
|
|
5665
|
-
},
|
|
5648
|
+
"oneOf": [
|
|
5666
5649
|
{
|
|
5667
|
-
"
|
|
5668
|
-
|
|
5669
|
-
|
|
5650
|
+
"type": "object",
|
|
5651
|
+
"properties": {
|
|
5652
|
+
"content": {
|
|
5653
|
+
"description": "The new content of the file.",
|
|
5654
|
+
"type": "string"
|
|
5655
|
+
},
|
|
5656
|
+
"filename": {
|
|
5657
|
+
"description": "The new filename for the file.",
|
|
5658
|
+
"type": "string",
|
|
5659
|
+
"nullable": true
|
|
5660
|
+
}
|
|
5661
|
+
}
|
|
5670
5662
|
},
|
|
5671
5663
|
{
|
|
5672
5664
|
"type": "object",
|
|
@@ -5676,19 +5668,6 @@
|
|
|
5676
5668
|
}
|
|
5677
5669
|
}
|
|
5678
5670
|
},
|
|
5679
|
-
"anyOf": [
|
|
5680
|
-
{
|
|
5681
|
-
"required": [
|
|
5682
|
-
"description"
|
|
5683
|
-
]
|
|
5684
|
-
},
|
|
5685
|
-
{
|
|
5686
|
-
"required": [
|
|
5687
|
-
"files"
|
|
5688
|
-
]
|
|
5689
|
-
}
|
|
5690
|
-
],
|
|
5691
|
-
"type": "object",
|
|
5692
5671
|
"nullable": true
|
|
5693
5672
|
},
|
|
5694
5673
|
"examples": {
|
|
@@ -27936,7 +27915,7 @@
|
|
|
27936
27915
|
"/repos/{owner}/{repo}/events": {
|
|
27937
27916
|
"get": {
|
|
27938
27917
|
"summary": "List repository events",
|
|
27939
|
-
"description": "",
|
|
27918
|
+
"description": "**Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.\n",
|
|
27940
27919
|
"tags": [
|
|
27941
27920
|
"activity"
|
|
27942
27921
|
],
|
|
@@ -36734,14 +36713,14 @@
|
|
|
36734
36713
|
},
|
|
36735
36714
|
"post": {
|
|
36736
36715
|
"summary": "Request reviewers for a pull request",
|
|
36737
|
-
"description": "This endpoint triggers [notifications](https://docs.github.com/github
|
|
36716
|
+
"description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
|
|
36738
36717
|
"tags": [
|
|
36739
36718
|
"pulls"
|
|
36740
36719
|
],
|
|
36741
36720
|
"operationId": "pulls/request-reviewers",
|
|
36742
36721
|
"externalDocs": {
|
|
36743
36722
|
"description": "API method documentation",
|
|
36744
|
-
"url": "https://docs.github.com/
|
|
36723
|
+
"url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
|
|
36745
36724
|
},
|
|
36746
36725
|
"parameters": [
|
|
36747
36726
|
{
|
|
@@ -36775,19 +36754,7 @@
|
|
|
36775
36754
|
"type": "string"
|
|
36776
36755
|
}
|
|
36777
36756
|
}
|
|
36778
|
-
}
|
|
36779
|
-
"anyOf": [
|
|
36780
|
-
{
|
|
36781
|
-
"required": [
|
|
36782
|
-
"reviewers"
|
|
36783
|
-
]
|
|
36784
|
-
},
|
|
36785
|
-
{
|
|
36786
|
-
"required": [
|
|
36787
|
-
"team_reviewers"
|
|
36788
|
-
]
|
|
36789
|
-
}
|
|
36790
|
-
]
|
|
36757
|
+
}
|
|
36791
36758
|
},
|
|
36792
36759
|
"examples": {
|
|
36793
36760
|
"default": {
|
|
@@ -36836,13 +36803,7 @@
|
|
|
36836
36803
|
"category": "pulls",
|
|
36837
36804
|
"subcategory": "review-requests"
|
|
36838
36805
|
},
|
|
36839
|
-
"x-octokit": {
|
|
36840
|
-
"diff": {
|
|
36841
|
-
"api.github.com": {
|
|
36842
|
-
"type": "changed"
|
|
36843
|
-
}
|
|
36844
|
-
}
|
|
36845
|
-
}
|
|
36806
|
+
"x-octokit": {}
|
|
36846
36807
|
},
|
|
36847
36808
|
"delete": {
|
|
36848
36809
|
"summary": "Remove requested reviewers from a pull request",
|
|
@@ -40419,7 +40380,7 @@
|
|
|
40419
40380
|
"/search/code": {
|
|
40420
40381
|
"get": {
|
|
40421
40382
|
"summary": "Search code",
|
|
40422
|
-
"description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\
|
|
40383
|
+
"description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nThis endpoint requires you to authenticate and limits you to 10 requests per minute.",
|
|
40423
40384
|
"tags": [
|
|
40424
40385
|
"search"
|
|
40425
40386
|
],
|
|
@@ -40441,7 +40402,7 @@
|
|
|
40441
40402
|
{
|
|
40442
40403
|
"name": "sort",
|
|
40443
40404
|
"deprecated": true,
|
|
40444
|
-
"description": "**
|
|
40405
|
+
"description": "**This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub AE search infrastructure. Default: [best match](https://docs.github.com/github-ae@latest/rest/reference/search#ranking-search-results)",
|
|
40445
40406
|
"in": "query",
|
|
40446
40407
|
"required": false,
|
|
40447
40408
|
"schema": {
|
|
@@ -40453,7 +40414,7 @@
|
|
|
40453
40414
|
},
|
|
40454
40415
|
{
|
|
40455
40416
|
"name": "order",
|
|
40456
|
-
"description": "**
|
|
40417
|
+
"description": "**This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. ",
|
|
40457
40418
|
"in": "query",
|
|
40458
40419
|
"deprecated": true,
|
|
40459
40420
|
"required": false,
|
|
@@ -50071,6 +50032,28 @@
|
|
|
50071
50032
|
}
|
|
50072
50033
|
}
|
|
50073
50034
|
},
|
|
50035
|
+
"/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": {
|
|
50036
|
+
"post": {
|
|
50037
|
+
"summary": "Review custom deployment protection rules for a workflow run",
|
|
50038
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50039
|
+
"tags": [
|
|
50040
|
+
"actions"
|
|
50041
|
+
],
|
|
50042
|
+
"operationId": "actions/review-custom-gates-for-run",
|
|
50043
|
+
"externalDocs": {
|
|
50044
|
+
"description": "API method documentation",
|
|
50045
|
+
"url": "https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run"
|
|
50046
|
+
},
|
|
50047
|
+
"x-octokit": {
|
|
50048
|
+
"api.github.com": "removed"
|
|
50049
|
+
},
|
|
50050
|
+
"responses": {
|
|
50051
|
+
"501": {
|
|
50052
|
+
"description": "Not Implemented"
|
|
50053
|
+
}
|
|
50054
|
+
}
|
|
50055
|
+
}
|
|
50056
|
+
},
|
|
50074
50057
|
"/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": {
|
|
50075
50058
|
"get": {
|
|
50076
50059
|
"summary": "Get pending deployments for a workflow run",
|
|
@@ -50861,6 +50844,112 @@
|
|
|
50861
50844
|
}
|
|
50862
50845
|
}
|
|
50863
50846
|
},
|
|
50847
|
+
"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": {
|
|
50848
|
+
"get": {
|
|
50849
|
+
"summary": "Get all deployment protection rules for an environment",
|
|
50850
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50851
|
+
"tags": [
|
|
50852
|
+
"repos"
|
|
50853
|
+
],
|
|
50854
|
+
"operationId": "repos/get-all-deployment-protection-rules",
|
|
50855
|
+
"externalDocs": {
|
|
50856
|
+
"description": "API method documentation",
|
|
50857
|
+
"url": "https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules"
|
|
50858
|
+
},
|
|
50859
|
+
"x-octokit": {
|
|
50860
|
+
"api.github.com": "removed"
|
|
50861
|
+
},
|
|
50862
|
+
"responses": {
|
|
50863
|
+
"501": {
|
|
50864
|
+
"description": "Not Implemented"
|
|
50865
|
+
}
|
|
50866
|
+
}
|
|
50867
|
+
},
|
|
50868
|
+
"post": {
|
|
50869
|
+
"summary": "Create a custom deployment protection rule on an environment",
|
|
50870
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50871
|
+
"tags": [
|
|
50872
|
+
"repos"
|
|
50873
|
+
],
|
|
50874
|
+
"operationId": "repos/create-deployment-protection-rule",
|
|
50875
|
+
"externalDocs": {
|
|
50876
|
+
"description": "API method documentation",
|
|
50877
|
+
"url": "https://docs.github.com/rest/deployments/deployment-protection-rules#create-a-deployment-protection-rule"
|
|
50878
|
+
},
|
|
50879
|
+
"x-octokit": {
|
|
50880
|
+
"api.github.com": "removed"
|
|
50881
|
+
},
|
|
50882
|
+
"responses": {
|
|
50883
|
+
"501": {
|
|
50884
|
+
"description": "Not Implemented"
|
|
50885
|
+
}
|
|
50886
|
+
}
|
|
50887
|
+
}
|
|
50888
|
+
},
|
|
50889
|
+
"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": {
|
|
50890
|
+
"get": {
|
|
50891
|
+
"summary": "List custom deployment rule integrations available for an environment",
|
|
50892
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50893
|
+
"tags": [
|
|
50894
|
+
"repos"
|
|
50895
|
+
],
|
|
50896
|
+
"operationId": "repos/list-custom-deployment-rule-integrations",
|
|
50897
|
+
"externalDocs": {
|
|
50898
|
+
"description": "API method documentation",
|
|
50899
|
+
"url": "https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations"
|
|
50900
|
+
},
|
|
50901
|
+
"x-octokit": {
|
|
50902
|
+
"api.github.com": "removed"
|
|
50903
|
+
},
|
|
50904
|
+
"responses": {
|
|
50905
|
+
"501": {
|
|
50906
|
+
"description": "Not Implemented"
|
|
50907
|
+
}
|
|
50908
|
+
}
|
|
50909
|
+
}
|
|
50910
|
+
},
|
|
50911
|
+
"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": {
|
|
50912
|
+
"get": {
|
|
50913
|
+
"summary": "Get a custom deployment protection rule",
|
|
50914
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50915
|
+
"tags": [
|
|
50916
|
+
"repos"
|
|
50917
|
+
],
|
|
50918
|
+
"operationId": "repos/get-custom-deployment-protection-rule",
|
|
50919
|
+
"externalDocs": {
|
|
50920
|
+
"description": "API method documentation",
|
|
50921
|
+
"url": "https://docs.github.com/rest/deployments/protection-rules#get-a-deployment-protection-rule"
|
|
50922
|
+
},
|
|
50923
|
+
"x-octokit": {
|
|
50924
|
+
"api.github.com": "removed"
|
|
50925
|
+
},
|
|
50926
|
+
"responses": {
|
|
50927
|
+
"501": {
|
|
50928
|
+
"description": "Not Implemented"
|
|
50929
|
+
}
|
|
50930
|
+
}
|
|
50931
|
+
},
|
|
50932
|
+
"delete": {
|
|
50933
|
+
"summary": "Disable a custom protection rule for an environment",
|
|
50934
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
50935
|
+
"tags": [
|
|
50936
|
+
"repos"
|
|
50937
|
+
],
|
|
50938
|
+
"operationId": "repos/disable-deployment-protection-rule",
|
|
50939
|
+
"externalDocs": {
|
|
50940
|
+
"description": "API method documentation",
|
|
50941
|
+
"url": "https://docs.github.com/rest/deployments/protection-rules#disable-deployment-protection-rule"
|
|
50942
|
+
},
|
|
50943
|
+
"x-octokit": {
|
|
50944
|
+
"api.github.com": "removed"
|
|
50945
|
+
},
|
|
50946
|
+
"responses": {
|
|
50947
|
+
"501": {
|
|
50948
|
+
"description": "Not Implemented"
|
|
50949
|
+
}
|
|
50950
|
+
}
|
|
50951
|
+
}
|
|
50952
|
+
},
|
|
50864
50953
|
"/repos/{owner}/{repo}/import": {
|
|
50865
50954
|
"get": {
|
|
50866
50955
|
"summary": "Get an import status",
|
|
@@ -51349,6 +51438,28 @@
|
|
|
51349
51438
|
}
|
|
51350
51439
|
}
|
|
51351
51440
|
},
|
|
51441
|
+
"/repos/{owner}/{repo}/security-advisories/reports": {
|
|
51442
|
+
"post": {
|
|
51443
|
+
"summary": "Privately report a security vulnerability",
|
|
51444
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
51445
|
+
"tags": [
|
|
51446
|
+
"security-advisories"
|
|
51447
|
+
],
|
|
51448
|
+
"operationId": "security-advisories/create-private-vulnerability-report",
|
|
51449
|
+
"externalDocs": {
|
|
51450
|
+
"description": "API method documentation",
|
|
51451
|
+
"url": "https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability"
|
|
51452
|
+
},
|
|
51453
|
+
"x-octokit": {
|
|
51454
|
+
"api.github.com": "removed"
|
|
51455
|
+
},
|
|
51456
|
+
"responses": {
|
|
51457
|
+
"501": {
|
|
51458
|
+
"description": "Not Implemented"
|
|
51459
|
+
}
|
|
51460
|
+
}
|
|
51461
|
+
}
|
|
51462
|
+
},
|
|
51352
51463
|
"/repos/{owner}/{repo}/security-advisories/{ghsa_id}": {
|
|
51353
51464
|
"get": {
|
|
51354
51465
|
"summary": "Get a repository security advisory",
|
|
@@ -56207,6 +56318,97 @@
|
|
|
56207
56318
|
}
|
|
56208
56319
|
}
|
|
56209
56320
|
},
|
|
56321
|
+
"deployment-protection-rule-requested": {
|
|
56322
|
+
"post": {
|
|
56323
|
+
"summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/github-ae@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/github-ae@latest/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.",
|
|
56324
|
+
"description": "A deployment protection rule was requested for an environment.",
|
|
56325
|
+
"operationId": "deployment-protection-rule/requested",
|
|
56326
|
+
"externalDocs": {
|
|
56327
|
+
"url": "https://docs.github.com/github-ae@latest/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_protection_rule"
|
|
56328
|
+
},
|
|
56329
|
+
"parameters": [
|
|
56330
|
+
{
|
|
56331
|
+
"name": "User-Agent",
|
|
56332
|
+
"in": "header",
|
|
56333
|
+
"example": "GitHub-Hookshot/123abc",
|
|
56334
|
+
"schema": {
|
|
56335
|
+
"type": "string"
|
|
56336
|
+
}
|
|
56337
|
+
},
|
|
56338
|
+
{
|
|
56339
|
+
"name": "X-Github-Hook-Id",
|
|
56340
|
+
"in": "header",
|
|
56341
|
+
"example": 12312312,
|
|
56342
|
+
"schema": {
|
|
56343
|
+
"type": "string"
|
|
56344
|
+
}
|
|
56345
|
+
},
|
|
56346
|
+
{
|
|
56347
|
+
"name": "X-Github-Event",
|
|
56348
|
+
"in": "header",
|
|
56349
|
+
"example": "issues",
|
|
56350
|
+
"schema": {
|
|
56351
|
+
"type": "string"
|
|
56352
|
+
}
|
|
56353
|
+
},
|
|
56354
|
+
{
|
|
56355
|
+
"name": "X-Github-Hook-Installation-Target-Id",
|
|
56356
|
+
"in": "header",
|
|
56357
|
+
"example": 123123,
|
|
56358
|
+
"schema": {
|
|
56359
|
+
"type": "string"
|
|
56360
|
+
}
|
|
56361
|
+
},
|
|
56362
|
+
{
|
|
56363
|
+
"name": "X-Github-Hook-Installation-Target-Type",
|
|
56364
|
+
"in": "header",
|
|
56365
|
+
"example": "repository",
|
|
56366
|
+
"schema": {
|
|
56367
|
+
"type": "string"
|
|
56368
|
+
}
|
|
56369
|
+
},
|
|
56370
|
+
{
|
|
56371
|
+
"name": "X-GitHub-Delivery",
|
|
56372
|
+
"in": "header",
|
|
56373
|
+
"example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
|
|
56374
|
+
"schema": {
|
|
56375
|
+
"type": "string"
|
|
56376
|
+
}
|
|
56377
|
+
},
|
|
56378
|
+
{
|
|
56379
|
+
"name": "X-Hub-Signature-256",
|
|
56380
|
+
"in": "header",
|
|
56381
|
+
"example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
56382
|
+
"schema": {
|
|
56383
|
+
"type": "string"
|
|
56384
|
+
}
|
|
56385
|
+
}
|
|
56386
|
+
],
|
|
56387
|
+
"requestBody": {
|
|
56388
|
+
"required": true,
|
|
56389
|
+
"content": {
|
|
56390
|
+
"application/json": {
|
|
56391
|
+
"schema": {
|
|
56392
|
+
"$ref": "#/components/schemas/webhook-deployment-protection-rule-requested"
|
|
56393
|
+
}
|
|
56394
|
+
}
|
|
56395
|
+
}
|
|
56396
|
+
},
|
|
56397
|
+
"responses": {
|
|
56398
|
+
"200": {
|
|
56399
|
+
"description": "Return a 200 status to indicate that the data was received successfully"
|
|
56400
|
+
}
|
|
56401
|
+
},
|
|
56402
|
+
"x-github": {
|
|
56403
|
+
"githubCloudOnly": false,
|
|
56404
|
+
"category": "webhooks",
|
|
56405
|
+
"subcategory": "deployment-protection-rule",
|
|
56406
|
+
"supported-webhook-types": [
|
|
56407
|
+
"app"
|
|
56408
|
+
]
|
|
56409
|
+
}
|
|
56410
|
+
}
|
|
56411
|
+
},
|
|
56210
56412
|
"deployment-status-created": {
|
|
56211
56413
|
"post": {
|
|
56212
56414
|
"summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.",
|
|
@@ -104318,6 +104520,52 @@
|
|
|
104318
104520
|
"sender"
|
|
104319
104521
|
]
|
|
104320
104522
|
},
|
|
104523
|
+
"webhook-deployment-protection-rule-requested": {
|
|
104524
|
+
"title": "deployment protection rule requested event",
|
|
104525
|
+
"type": "object",
|
|
104526
|
+
"properties": {
|
|
104527
|
+
"action": {
|
|
104528
|
+
"type": "string",
|
|
104529
|
+
"enum": [
|
|
104530
|
+
"requested"
|
|
104531
|
+
]
|
|
104532
|
+
},
|
|
104533
|
+
"environment": {
|
|
104534
|
+
"description": "The name of the environment that has the deployment protection rule.",
|
|
104535
|
+
"type": "string"
|
|
104536
|
+
},
|
|
104537
|
+
"event": {
|
|
104538
|
+
"description": "The event that triggered the deployment protection rule.",
|
|
104539
|
+
"type": "string"
|
|
104540
|
+
},
|
|
104541
|
+
"deployment_callback_url": {
|
|
104542
|
+
"description": "The URL to review the deployment protection rule.",
|
|
104543
|
+
"type": "string",
|
|
104544
|
+
"format": "uri"
|
|
104545
|
+
},
|
|
104546
|
+
"deployment": {
|
|
104547
|
+
"$ref": "#/components/schemas/deployment"
|
|
104548
|
+
},
|
|
104549
|
+
"pull_requests": {
|
|
104550
|
+
"type": "array",
|
|
104551
|
+
"items": {
|
|
104552
|
+
"$ref": "#/components/schemas/pull-request"
|
|
104553
|
+
}
|
|
104554
|
+
},
|
|
104555
|
+
"repository": {
|
|
104556
|
+
"$ref": "#/components/schemas/repository"
|
|
104557
|
+
},
|
|
104558
|
+
"organization": {
|
|
104559
|
+
"$ref": "#/components/schemas/organization-simple"
|
|
104560
|
+
},
|
|
104561
|
+
"installation": {
|
|
104562
|
+
"$ref": "#/components/schemas/simple-installation"
|
|
104563
|
+
},
|
|
104564
|
+
"sender": {
|
|
104565
|
+
"$ref": "#/components/schemas/simple-user"
|
|
104566
|
+
}
|
|
104567
|
+
}
|
|
104568
|
+
},
|
|
104321
104569
|
"webhook-deployment-status-created": {
|
|
104322
104570
|
"title": "deployment_status created event",
|
|
104323
104571
|
"type": "object",
|
|
@@ -145048,6 +145296,56 @@
|
|
|
145048
145296
|
"sender"
|
|
145049
145297
|
]
|
|
145050
145298
|
},
|
|
145299
|
+
"webhook-rubygems-metadata": {
|
|
145300
|
+
"title": "Ruby Gems metadata",
|
|
145301
|
+
"type": "object",
|
|
145302
|
+
"properties": {
|
|
145303
|
+
"name": {
|
|
145304
|
+
"type": "string"
|
|
145305
|
+
},
|
|
145306
|
+
"description": {
|
|
145307
|
+
"type": "string"
|
|
145308
|
+
},
|
|
145309
|
+
"readme": {
|
|
145310
|
+
"type": "string"
|
|
145311
|
+
},
|
|
145312
|
+
"homepage": {
|
|
145313
|
+
"type": "string"
|
|
145314
|
+
},
|
|
145315
|
+
"version_info": {
|
|
145316
|
+
"type": "object",
|
|
145317
|
+
"properties": {
|
|
145318
|
+
"version": {
|
|
145319
|
+
"type": "string"
|
|
145320
|
+
}
|
|
145321
|
+
}
|
|
145322
|
+
},
|
|
145323
|
+
"platform": {
|
|
145324
|
+
"type": "string"
|
|
145325
|
+
},
|
|
145326
|
+
"metadata": {
|
|
145327
|
+
"type": "object",
|
|
145328
|
+
"additionalProperties": {
|
|
145329
|
+
"type": "string"
|
|
145330
|
+
}
|
|
145331
|
+
},
|
|
145332
|
+
"repo": {
|
|
145333
|
+
"type": "string"
|
|
145334
|
+
},
|
|
145335
|
+
"dependencies": {
|
|
145336
|
+
"type": "array",
|
|
145337
|
+
"items": {
|
|
145338
|
+
"type": "object",
|
|
145339
|
+
"additionalProperties": {
|
|
145340
|
+
"type": "string"
|
|
145341
|
+
}
|
|
145342
|
+
}
|
|
145343
|
+
},
|
|
145344
|
+
"commit_oid": {
|
|
145345
|
+
"type": "string"
|
|
145346
|
+
}
|
|
145347
|
+
}
|
|
145348
|
+
},
|
|
145051
145349
|
"webhook-package-published": {
|
|
145052
145350
|
"title": "package published event",
|
|
145053
145351
|
"type": "object",
|
|
@@ -145332,7 +145630,17 @@
|
|
|
145332
145630
|
},
|
|
145333
145631
|
"docker_metadata": {
|
|
145334
145632
|
"type": "array",
|
|
145335
|
-
"items": {
|
|
145633
|
+
"items": {
|
|
145634
|
+
"type": "object",
|
|
145635
|
+
"properties": {
|
|
145636
|
+
"tags": {
|
|
145637
|
+
"type": "array",
|
|
145638
|
+
"items": {
|
|
145639
|
+
"type": "string"
|
|
145640
|
+
}
|
|
145641
|
+
}
|
|
145642
|
+
}
|
|
145643
|
+
}
|
|
145336
145644
|
},
|
|
145337
145645
|
"draft": {
|
|
145338
145646
|
"type": "boolean"
|
|
@@ -145762,7 +146070,9 @@
|
|
|
145762
146070
|
},
|
|
145763
146071
|
"rubygems_metadata": {
|
|
145764
146072
|
"type": "array",
|
|
145765
|
-
"items": {
|
|
146073
|
+
"items": {
|
|
146074
|
+
"$ref": "#/components/schemas/webhook-rubygems-metadata"
|
|
146075
|
+
}
|
|
145766
146076
|
},
|
|
145767
146077
|
"source_url": {
|
|
145768
146078
|
"type": "string"
|
|
@@ -146111,7 +146421,17 @@
|
|
|
146111
146421
|
},
|
|
146112
146422
|
"docker_metadata": {
|
|
146113
146423
|
"type": "array",
|
|
146114
|
-
"items": {
|
|
146424
|
+
"items": {
|
|
146425
|
+
"type": "object",
|
|
146426
|
+
"properties": {
|
|
146427
|
+
"tags": {
|
|
146428
|
+
"type": "array",
|
|
146429
|
+
"items": {
|
|
146430
|
+
"type": "string"
|
|
146431
|
+
}
|
|
146432
|
+
}
|
|
146433
|
+
}
|
|
146434
|
+
}
|
|
146115
146435
|
},
|
|
146116
146436
|
"draft": {
|
|
146117
146437
|
"type": "boolean"
|
|
@@ -146131,7 +146451,10 @@
|
|
|
146131
146451
|
},
|
|
146132
146452
|
"metadata": {
|
|
146133
146453
|
"type": "array",
|
|
146134
|
-
"items": {
|
|
146454
|
+
"items": {
|
|
146455
|
+
"type": "object",
|
|
146456
|
+
"additionalProperties": true
|
|
146457
|
+
}
|
|
146135
146458
|
},
|
|
146136
146459
|
"name": {
|
|
146137
146460
|
"type": "string"
|
|
@@ -146343,7 +146666,9 @@
|
|
|
146343
146666
|
},
|
|
146344
146667
|
"rubygems_metadata": {
|
|
146345
146668
|
"type": "array",
|
|
146346
|
-
"items": {
|
|
146669
|
+
"items": {
|
|
146670
|
+
"$ref": "#/components/schemas/webhook-rubygems-metadata"
|
|
146671
|
+
}
|
|
146347
146672
|
},
|
|
146348
146673
|
"source_url": {
|
|
146349
146674
|
"type": "string",
|
|
@@ -220905,7 +221230,17 @@
|
|
|
220905
221230
|
},
|
|
220906
221231
|
"docker_metadata": {
|
|
220907
221232
|
"type": "array",
|
|
220908
|
-
"items": {
|
|
221233
|
+
"items": {
|
|
221234
|
+
"type": "object",
|
|
221235
|
+
"properties": {
|
|
221236
|
+
"tags": {
|
|
221237
|
+
"type": "array",
|
|
221238
|
+
"items": {
|
|
221239
|
+
"type": "string"
|
|
221240
|
+
}
|
|
221241
|
+
}
|
|
221242
|
+
}
|
|
221243
|
+
}
|
|
220909
221244
|
},
|
|
220910
221245
|
"draft": {
|
|
220911
221246
|
"type": "boolean"
|
|
@@ -221324,7 +221659,9 @@
|
|
|
221324
221659
|
},
|
|
221325
221660
|
"rubygems_metadata": {
|
|
221326
221661
|
"type": "array",
|
|
221327
|
-
"items": {
|
|
221662
|
+
"items": {
|
|
221663
|
+
"$ref": "#/components/schemas/webhook-rubygems-metadata"
|
|
221664
|
+
}
|
|
221328
221665
|
},
|
|
221329
221666
|
"summary": {
|
|
221330
221667
|
"type": "string"
|
|
@@ -221630,7 +221967,16 @@
|
|
|
221630
221967
|
"docker_metadata": {
|
|
221631
221968
|
"type": "array",
|
|
221632
221969
|
"items": {
|
|
221633
|
-
"
|
|
221970
|
+
"type": "object",
|
|
221971
|
+
"nullable": true,
|
|
221972
|
+
"properties": {
|
|
221973
|
+
"tags": {
|
|
221974
|
+
"type": "array",
|
|
221975
|
+
"items": {
|
|
221976
|
+
"type": "string"
|
|
221977
|
+
}
|
|
221978
|
+
}
|
|
221979
|
+
}
|
|
221634
221980
|
}
|
|
221635
221981
|
},
|
|
221636
221982
|
"draft": {
|
|
@@ -221650,7 +221996,10 @@
|
|
|
221650
221996
|
},
|
|
221651
221997
|
"metadata": {
|
|
221652
221998
|
"type": "array",
|
|
221653
|
-
"items": {
|
|
221999
|
+
"items": {
|
|
222000
|
+
"type": "object",
|
|
222001
|
+
"additionalProperties": true
|
|
222002
|
+
}
|
|
221654
222003
|
},
|
|
221655
222004
|
"name": {
|
|
221656
222005
|
"type": "string"
|
|
@@ -221833,7 +222182,9 @@
|
|
|
221833
222182
|
},
|
|
221834
222183
|
"rubygems_metadata": {
|
|
221835
222184
|
"type": "array",
|
|
221836
|
-
"items": {
|
|
222185
|
+
"items": {
|
|
222186
|
+
"$ref": "#/components/schemas/webhook-rubygems-metadata"
|
|
222187
|
+
}
|
|
221837
222188
|
},
|
|
221838
222189
|
"summary": {
|
|
221839
222190
|
"type": "string"
|