@octokit/openapi 7.5.0 → 7.8.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/generated/api.github.com.deref.json +2249 -268
- package/generated/api.github.com.json +1222 -129
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +386 -28
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +43 -17
- package/generated/ghes-3.2.deref.json +778 -256
- package/generated/ghes-3.2.json +588 -40
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +205 -225
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +445 -12
- package/generated/ghes-3.3.deref.json +785 -257
- package/generated/ghes-3.3.json +595 -41
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +153 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +13 -1
- package/generated/ghes-3.4.deref.json +816 -243
- package/generated/ghes-3.4.json +603 -43
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +462 -42
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +304 -18
- package/generated/ghes-3.5.deref.json +829 -243
- package/generated/ghes-3.5.json +603 -43
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +519 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18071 -6614
- package/generated/ghes-3.6-diff-to-api.github.com.json +6665 -4290
- package/generated/ghes-3.6.deref.json +1048 -256
- package/generated/ghes-3.6.json +826 -56
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +347 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +11634 -3854
- package/generated/github.ae-diff-to-api.github.com.json +1185 -40
- package/generated/github.ae.deref.json +1087 -178
- package/generated/github.ae.json +865 -50
- package/package.json +1 -1
package/generated/ghes-3.5.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.8.0",
|
|
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": {
|
|
@@ -9594,7 +9594,7 @@
|
|
|
9594
9594
|
"/organizations/{organization_id}/custom_roles": {
|
|
9595
9595
|
"get": {
|
|
9596
9596
|
"summary": "List custom repository roles in an organization",
|
|
9597
|
-
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
9597
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
9598
9598
|
"tags": [
|
|
9599
9599
|
"orgs"
|
|
9600
9600
|
],
|
|
@@ -14117,17 +14117,6 @@
|
|
|
14117
14117
|
}
|
|
14118
14118
|
}
|
|
14119
14119
|
},
|
|
14120
|
-
"302": {
|
|
14121
|
-
"description": "Response if requester is not an organization member",
|
|
14122
|
-
"headers": {
|
|
14123
|
-
"Location": {
|
|
14124
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
14125
|
-
"schema": {
|
|
14126
|
-
"type": "string"
|
|
14127
|
-
}
|
|
14128
|
-
}
|
|
14129
|
-
}
|
|
14130
|
-
},
|
|
14131
14120
|
"422": {
|
|
14132
14121
|
"$ref": "#/components/responses/validation_failed"
|
|
14133
14122
|
}
|
|
@@ -23382,6 +23371,11 @@
|
|
|
23382
23371
|
"url_template": {
|
|
23383
23372
|
"type": "string",
|
|
23384
23373
|
"description": "The URL must contain `<num>` for the reference number."
|
|
23374
|
+
},
|
|
23375
|
+
"is_alphanumeric": {
|
|
23376
|
+
"type": "boolean",
|
|
23377
|
+
"default": "true",
|
|
23378
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
|
|
23385
23379
|
}
|
|
23386
23380
|
},
|
|
23387
23381
|
"required": [
|
|
@@ -23393,7 +23387,8 @@
|
|
|
23393
23387
|
"default": {
|
|
23394
23388
|
"value": {
|
|
23395
23389
|
"key_prefix": "TICKET-",
|
|
23396
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23390
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
23391
|
+
"is_alphanumeric": true
|
|
23397
23392
|
}
|
|
23398
23393
|
}
|
|
23399
23394
|
}
|
|
@@ -23629,6 +23624,11 @@
|
|
|
23629
23624
|
"application/json": {
|
|
23630
23625
|
"schema": {
|
|
23631
23626
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
23627
|
+
},
|
|
23628
|
+
"examples": {
|
|
23629
|
+
"default": {
|
|
23630
|
+
"$ref": "#/components/examples/branch-get"
|
|
23631
|
+
}
|
|
23632
23632
|
}
|
|
23633
23633
|
}
|
|
23634
23634
|
}
|
|
@@ -23971,6 +23971,11 @@
|
|
|
23971
23971
|
"application/json": {
|
|
23972
23972
|
"schema": {
|
|
23973
23973
|
"$ref": "#/components/schemas/protected-branch"
|
|
23974
|
+
},
|
|
23975
|
+
"examples": {
|
|
23976
|
+
"default": {
|
|
23977
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
23978
|
+
}
|
|
23974
23979
|
}
|
|
23975
23980
|
}
|
|
23976
23981
|
}
|
|
@@ -24845,7 +24850,7 @@
|
|
|
24845
24850
|
"properties": {
|
|
24846
24851
|
"contexts": {
|
|
24847
24852
|
"type": "array",
|
|
24848
|
-
"description": "
|
|
24853
|
+
"description": "The name of the status checks",
|
|
24849
24854
|
"items": {
|
|
24850
24855
|
"type": "string"
|
|
24851
24856
|
}
|
|
@@ -24861,6 +24866,17 @@
|
|
|
24861
24866
|
}
|
|
24862
24867
|
}
|
|
24863
24868
|
]
|
|
24869
|
+
},
|
|
24870
|
+
"examples": {
|
|
24871
|
+
"default": {
|
|
24872
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
24873
|
+
"value": {
|
|
24874
|
+
"contexts": [
|
|
24875
|
+
"continuous-integration/travis-ci",
|
|
24876
|
+
"continuous-integration/jenkins"
|
|
24877
|
+
]
|
|
24878
|
+
}
|
|
24879
|
+
}
|
|
24864
24880
|
}
|
|
24865
24881
|
}
|
|
24866
24882
|
}
|
|
@@ -24939,7 +24955,7 @@
|
|
|
24939
24955
|
"properties": {
|
|
24940
24956
|
"contexts": {
|
|
24941
24957
|
"type": "array",
|
|
24942
|
-
"description": "
|
|
24958
|
+
"description": "The name of the status checks",
|
|
24943
24959
|
"items": {
|
|
24944
24960
|
"type": "string"
|
|
24945
24961
|
}
|
|
@@ -24955,6 +24971,16 @@
|
|
|
24955
24971
|
}
|
|
24956
24972
|
}
|
|
24957
24973
|
]
|
|
24974
|
+
},
|
|
24975
|
+
"examples": {
|
|
24976
|
+
"default": {
|
|
24977
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
24978
|
+
"value": {
|
|
24979
|
+
"contexts": [
|
|
24980
|
+
"continuous-integration/travis-ci"
|
|
24981
|
+
]
|
|
24982
|
+
}
|
|
24983
|
+
}
|
|
24958
24984
|
}
|
|
24959
24985
|
}
|
|
24960
24986
|
}
|
|
@@ -25028,7 +25054,7 @@
|
|
|
25028
25054
|
"properties": {
|
|
25029
25055
|
"contexts": {
|
|
25030
25056
|
"type": "array",
|
|
25031
|
-
"description": "
|
|
25057
|
+
"description": "The name of the status checks",
|
|
25032
25058
|
"items": {
|
|
25033
25059
|
"type": "string"
|
|
25034
25060
|
}
|
|
@@ -25044,6 +25070,16 @@
|
|
|
25044
25070
|
}
|
|
25045
25071
|
}
|
|
25046
25072
|
]
|
|
25073
|
+
},
|
|
25074
|
+
"examples": {
|
|
25075
|
+
"default": {
|
|
25076
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
25077
|
+
"value": {
|
|
25078
|
+
"contexts": [
|
|
25079
|
+
"continuous-integration/travis-ci"
|
|
25080
|
+
]
|
|
25081
|
+
}
|
|
25082
|
+
}
|
|
25047
25083
|
}
|
|
25048
25084
|
}
|
|
25049
25085
|
}
|
|
@@ -25569,7 +25605,7 @@
|
|
|
25569
25605
|
"properties": {
|
|
25570
25606
|
"teams": {
|
|
25571
25607
|
"type": "array",
|
|
25572
|
-
"description": "teams
|
|
25608
|
+
"description": "The slug values for teams",
|
|
25573
25609
|
"items": {
|
|
25574
25610
|
"type": "string"
|
|
25575
25611
|
}
|
|
@@ -25585,6 +25621,16 @@
|
|
|
25585
25621
|
}
|
|
25586
25622
|
}
|
|
25587
25623
|
]
|
|
25624
|
+
},
|
|
25625
|
+
"examples": {
|
|
25626
|
+
"default": {
|
|
25627
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
25628
|
+
"value": {
|
|
25629
|
+
"teams": [
|
|
25630
|
+
"justice-league"
|
|
25631
|
+
]
|
|
25632
|
+
}
|
|
25633
|
+
}
|
|
25588
25634
|
}
|
|
25589
25635
|
}
|
|
25590
25636
|
}
|
|
@@ -25654,7 +25700,7 @@
|
|
|
25654
25700
|
"properties": {
|
|
25655
25701
|
"teams": {
|
|
25656
25702
|
"type": "array",
|
|
25657
|
-
"description": "teams
|
|
25703
|
+
"description": "The slug values for teams",
|
|
25658
25704
|
"items": {
|
|
25659
25705
|
"type": "string"
|
|
25660
25706
|
}
|
|
@@ -25665,11 +25711,21 @@
|
|
|
25665
25711
|
],
|
|
25666
25712
|
"example": {
|
|
25667
25713
|
"teams": [
|
|
25668
|
-
"
|
|
25714
|
+
"justice-league"
|
|
25669
25715
|
]
|
|
25670
25716
|
}
|
|
25671
25717
|
}
|
|
25672
25718
|
]
|
|
25719
|
+
},
|
|
25720
|
+
"examples": {
|
|
25721
|
+
"default": {
|
|
25722
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
25723
|
+
"value": {
|
|
25724
|
+
"teams": [
|
|
25725
|
+
"justice-league"
|
|
25726
|
+
]
|
|
25727
|
+
}
|
|
25728
|
+
}
|
|
25673
25729
|
}
|
|
25674
25730
|
}
|
|
25675
25731
|
}
|
|
@@ -25738,7 +25794,7 @@
|
|
|
25738
25794
|
"properties": {
|
|
25739
25795
|
"teams": {
|
|
25740
25796
|
"type": "array",
|
|
25741
|
-
"description": "teams
|
|
25797
|
+
"description": "The slug values for teams",
|
|
25742
25798
|
"items": {
|
|
25743
25799
|
"type": "string"
|
|
25744
25800
|
}
|
|
@@ -25754,6 +25810,16 @@
|
|
|
25754
25810
|
}
|
|
25755
25811
|
}
|
|
25756
25812
|
]
|
|
25813
|
+
},
|
|
25814
|
+
"examples": {
|
|
25815
|
+
"default": {
|
|
25816
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
25817
|
+
"value": {
|
|
25818
|
+
"teams": [
|
|
25819
|
+
"justice-league"
|
|
25820
|
+
]
|
|
25821
|
+
}
|
|
25822
|
+
}
|
|
25757
25823
|
}
|
|
25758
25824
|
}
|
|
25759
25825
|
}
|
|
@@ -25878,7 +25944,7 @@
|
|
|
25878
25944
|
"properties": {
|
|
25879
25945
|
"users": {
|
|
25880
25946
|
"type": "array",
|
|
25881
|
-
"description": "users
|
|
25947
|
+
"description": "The username for users",
|
|
25882
25948
|
"items": {
|
|
25883
25949
|
"type": "string"
|
|
25884
25950
|
}
|
|
@@ -25894,6 +25960,16 @@
|
|
|
25894
25960
|
}
|
|
25895
25961
|
}
|
|
25896
25962
|
]
|
|
25963
|
+
},
|
|
25964
|
+
"examples": {
|
|
25965
|
+
"default": {
|
|
25966
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
25967
|
+
"value": {
|
|
25968
|
+
"users": [
|
|
25969
|
+
"octocat"
|
|
25970
|
+
]
|
|
25971
|
+
}
|
|
25972
|
+
}
|
|
25897
25973
|
}
|
|
25898
25974
|
}
|
|
25899
25975
|
}
|
|
@@ -25963,7 +26039,7 @@
|
|
|
25963
26039
|
"properties": {
|
|
25964
26040
|
"users": {
|
|
25965
26041
|
"type": "array",
|
|
25966
|
-
"description": "users
|
|
26042
|
+
"description": "The username for users",
|
|
25967
26043
|
"items": {
|
|
25968
26044
|
"type": "string"
|
|
25969
26045
|
}
|
|
@@ -25979,6 +26055,16 @@
|
|
|
25979
26055
|
}
|
|
25980
26056
|
}
|
|
25981
26057
|
]
|
|
26058
|
+
},
|
|
26059
|
+
"examples": {
|
|
26060
|
+
"default": {
|
|
26061
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
26062
|
+
"value": {
|
|
26063
|
+
"users": [
|
|
26064
|
+
"octocat"
|
|
26065
|
+
]
|
|
26066
|
+
}
|
|
26067
|
+
}
|
|
25982
26068
|
}
|
|
25983
26069
|
}
|
|
25984
26070
|
}
|
|
@@ -26047,7 +26133,7 @@
|
|
|
26047
26133
|
"properties": {
|
|
26048
26134
|
"users": {
|
|
26049
26135
|
"type": "array",
|
|
26050
|
-
"description": "users
|
|
26136
|
+
"description": "The username for users",
|
|
26051
26137
|
"items": {
|
|
26052
26138
|
"type": "string"
|
|
26053
26139
|
}
|
|
@@ -26063,6 +26149,16 @@
|
|
|
26063
26149
|
}
|
|
26064
26150
|
}
|
|
26065
26151
|
]
|
|
26152
|
+
},
|
|
26153
|
+
"examples": {
|
|
26154
|
+
"default": {
|
|
26155
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
26156
|
+
"value": {
|
|
26157
|
+
"users": [
|
|
26158
|
+
"octocat"
|
|
26159
|
+
]
|
|
26160
|
+
}
|
|
26161
|
+
}
|
|
26066
26162
|
}
|
|
26067
26163
|
}
|
|
26068
26164
|
}
|
|
@@ -27918,7 +28014,7 @@
|
|
|
27918
28014
|
},
|
|
27919
28015
|
"delete": {
|
|
27920
28016
|
"summary": "Delete a code scanning analysis from a repository",
|
|
27921
|
-
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `
|
|
28017
|
+
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `category`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
|
|
27922
28018
|
"operationId": "code-scanning/delete-analysis",
|
|
27923
28019
|
"tags": [
|
|
27924
28020
|
"code-scanning"
|
|
@@ -29422,6 +29518,9 @@
|
|
|
29422
29518
|
},
|
|
29423
29519
|
"500": {
|
|
29424
29520
|
"$ref": "#/components/responses/internal_error"
|
|
29521
|
+
},
|
|
29522
|
+
"503": {
|
|
29523
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
29425
29524
|
}
|
|
29426
29525
|
},
|
|
29427
29526
|
"x-github": {
|
|
@@ -29843,6 +29942,9 @@
|
|
|
29843
29942
|
},
|
|
29844
29943
|
"500": {
|
|
29845
29944
|
"$ref": "#/components/responses/internal_error"
|
|
29945
|
+
},
|
|
29946
|
+
"503": {
|
|
29947
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
29846
29948
|
}
|
|
29847
29949
|
},
|
|
29848
29950
|
"x-github": {
|
|
@@ -29856,7 +29958,7 @@
|
|
|
29856
29958
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
29857
29959
|
"get": {
|
|
29858
29960
|
"summary": "Get repository content",
|
|
29859
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
29961
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.5/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
29860
29962
|
"tags": [
|
|
29861
29963
|
"repos"
|
|
29862
29964
|
],
|
|
@@ -34194,6 +34296,14 @@
|
|
|
34194
34296
|
]
|
|
34195
34297
|
}
|
|
34196
34298
|
}
|
|
34299
|
+
},
|
|
34300
|
+
"examples": {
|
|
34301
|
+
"default": {
|
|
34302
|
+
"summary": "Example request body",
|
|
34303
|
+
"value": {
|
|
34304
|
+
"permissions": "write"
|
|
34305
|
+
}
|
|
34306
|
+
}
|
|
34197
34307
|
}
|
|
34198
34308
|
}
|
|
34199
34309
|
}
|
|
@@ -35325,6 +35435,12 @@
|
|
|
35325
35435
|
"closed"
|
|
35326
35436
|
]
|
|
35327
35437
|
},
|
|
35438
|
+
"state_reason": {
|
|
35439
|
+
"type": "string",
|
|
35440
|
+
"nullable": true,
|
|
35441
|
+
"description": "The reason for the current state",
|
|
35442
|
+
"example": "not_planned"
|
|
35443
|
+
},
|
|
35328
35444
|
"milestone": {
|
|
35329
35445
|
"oneOf": [
|
|
35330
35446
|
{
|
|
@@ -39907,6 +40023,9 @@
|
|
|
39907
40023
|
},
|
|
39908
40024
|
"500": {
|
|
39909
40025
|
"$ref": "#/components/responses/internal_error"
|
|
40026
|
+
},
|
|
40027
|
+
"503": {
|
|
40028
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
39910
40029
|
}
|
|
39911
40030
|
},
|
|
39912
40031
|
"x-github": {
|
|
@@ -40466,6 +40585,9 @@
|
|
|
40466
40585
|
},
|
|
40467
40586
|
"500": {
|
|
40468
40587
|
"$ref": "#/components/responses/internal_error"
|
|
40588
|
+
},
|
|
40589
|
+
"503": {
|
|
40590
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
40469
40591
|
}
|
|
40470
40592
|
},
|
|
40471
40593
|
"x-github": {
|
|
@@ -44616,7 +44738,7 @@
|
|
|
44616
44738
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
44617
44739
|
"post": {
|
|
44618
44740
|
"summary": "Create a repository using a template",
|
|
44619
|
-
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template.
|
|
44741
|
+
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
|
|
44620
44742
|
"tags": [
|
|
44621
44743
|
"repos"
|
|
44622
44744
|
],
|
|
@@ -54534,14 +54656,6 @@
|
|
|
54534
54656
|
"write"
|
|
54535
54657
|
]
|
|
54536
54658
|
},
|
|
54537
|
-
"organization_custom_roles": {
|
|
54538
|
-
"type": "string",
|
|
54539
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
54540
|
-
"enum": [
|
|
54541
|
-
"read",
|
|
54542
|
-
"write"
|
|
54543
|
-
]
|
|
54544
|
-
},
|
|
54545
54659
|
"deployments": {
|
|
54546
54660
|
"type": "string",
|
|
54547
54661
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -56545,6 +56659,10 @@
|
|
|
56545
56659
|
"starred_at": {
|
|
56546
56660
|
"type": "string",
|
|
56547
56661
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
56662
|
+
},
|
|
56663
|
+
"anonymous_access_enabled": {
|
|
56664
|
+
"type": "boolean",
|
|
56665
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
56548
56666
|
}
|
|
56549
56667
|
},
|
|
56550
56668
|
"required": [
|
|
@@ -60510,6 +60628,10 @@
|
|
|
60510
60628
|
"starred_at": {
|
|
60511
60629
|
"type": "string",
|
|
60512
60630
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
60631
|
+
},
|
|
60632
|
+
"anonymous_access_enabled": {
|
|
60633
|
+
"type": "boolean",
|
|
60634
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
60513
60635
|
}
|
|
60514
60636
|
},
|
|
60515
60637
|
"required": [
|
|
@@ -61751,6 +61873,11 @@
|
|
|
61751
61873
|
"nullable": true,
|
|
61752
61874
|
"type": "string",
|
|
61753
61875
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
61876
|
+
},
|
|
61877
|
+
"help_uri": {
|
|
61878
|
+
"nullable": true,
|
|
61879
|
+
"type": "string",
|
|
61880
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
61754
61881
|
}
|
|
61755
61882
|
}
|
|
61756
61883
|
},
|
|
@@ -62520,6 +62647,263 @@
|
|
|
62520
62647
|
"parent"
|
|
62521
62648
|
]
|
|
62522
62649
|
},
|
|
62650
|
+
"team-organization": {
|
|
62651
|
+
"title": "Team Organization",
|
|
62652
|
+
"description": "Team Organization",
|
|
62653
|
+
"type": "object",
|
|
62654
|
+
"properties": {
|
|
62655
|
+
"login": {
|
|
62656
|
+
"type": "string",
|
|
62657
|
+
"example": "github"
|
|
62658
|
+
},
|
|
62659
|
+
"id": {
|
|
62660
|
+
"type": "integer",
|
|
62661
|
+
"example": 1
|
|
62662
|
+
},
|
|
62663
|
+
"node_id": {
|
|
62664
|
+
"type": "string",
|
|
62665
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
62666
|
+
},
|
|
62667
|
+
"url": {
|
|
62668
|
+
"type": "string",
|
|
62669
|
+
"format": "uri",
|
|
62670
|
+
"example": "https://api.github.com/orgs/github"
|
|
62671
|
+
},
|
|
62672
|
+
"repos_url": {
|
|
62673
|
+
"type": "string",
|
|
62674
|
+
"format": "uri",
|
|
62675
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
62676
|
+
},
|
|
62677
|
+
"events_url": {
|
|
62678
|
+
"type": "string",
|
|
62679
|
+
"format": "uri",
|
|
62680
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
62681
|
+
},
|
|
62682
|
+
"hooks_url": {
|
|
62683
|
+
"type": "string",
|
|
62684
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
62685
|
+
},
|
|
62686
|
+
"issues_url": {
|
|
62687
|
+
"type": "string",
|
|
62688
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
62689
|
+
},
|
|
62690
|
+
"members_url": {
|
|
62691
|
+
"type": "string",
|
|
62692
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
62693
|
+
},
|
|
62694
|
+
"public_members_url": {
|
|
62695
|
+
"type": "string",
|
|
62696
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
62697
|
+
},
|
|
62698
|
+
"avatar_url": {
|
|
62699
|
+
"type": "string",
|
|
62700
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
62701
|
+
},
|
|
62702
|
+
"description": {
|
|
62703
|
+
"type": "string",
|
|
62704
|
+
"example": "A great organization",
|
|
62705
|
+
"nullable": true
|
|
62706
|
+
},
|
|
62707
|
+
"name": {
|
|
62708
|
+
"type": "string",
|
|
62709
|
+
"example": "github"
|
|
62710
|
+
},
|
|
62711
|
+
"company": {
|
|
62712
|
+
"type": "string",
|
|
62713
|
+
"example": "GitHub"
|
|
62714
|
+
},
|
|
62715
|
+
"blog": {
|
|
62716
|
+
"type": "string",
|
|
62717
|
+
"format": "uri",
|
|
62718
|
+
"example": "https://github.com/blog"
|
|
62719
|
+
},
|
|
62720
|
+
"location": {
|
|
62721
|
+
"type": "string",
|
|
62722
|
+
"example": "San Francisco"
|
|
62723
|
+
},
|
|
62724
|
+
"email": {
|
|
62725
|
+
"type": "string",
|
|
62726
|
+
"format": "email",
|
|
62727
|
+
"example": "octocat@github.com"
|
|
62728
|
+
},
|
|
62729
|
+
"twitter_username": {
|
|
62730
|
+
"type": "string",
|
|
62731
|
+
"example": "github",
|
|
62732
|
+
"nullable": true
|
|
62733
|
+
},
|
|
62734
|
+
"is_verified": {
|
|
62735
|
+
"type": "boolean",
|
|
62736
|
+
"example": true
|
|
62737
|
+
},
|
|
62738
|
+
"has_organization_projects": {
|
|
62739
|
+
"type": "boolean",
|
|
62740
|
+
"example": true
|
|
62741
|
+
},
|
|
62742
|
+
"has_repository_projects": {
|
|
62743
|
+
"type": "boolean",
|
|
62744
|
+
"example": true
|
|
62745
|
+
},
|
|
62746
|
+
"public_repos": {
|
|
62747
|
+
"type": "integer",
|
|
62748
|
+
"example": 2
|
|
62749
|
+
},
|
|
62750
|
+
"public_gists": {
|
|
62751
|
+
"type": "integer",
|
|
62752
|
+
"example": 1
|
|
62753
|
+
},
|
|
62754
|
+
"followers": {
|
|
62755
|
+
"type": "integer",
|
|
62756
|
+
"example": 20
|
|
62757
|
+
},
|
|
62758
|
+
"following": {
|
|
62759
|
+
"type": "integer",
|
|
62760
|
+
"example": 0
|
|
62761
|
+
},
|
|
62762
|
+
"html_url": {
|
|
62763
|
+
"type": "string",
|
|
62764
|
+
"format": "uri",
|
|
62765
|
+
"example": "https://github.com/octocat"
|
|
62766
|
+
},
|
|
62767
|
+
"created_at": {
|
|
62768
|
+
"type": "string",
|
|
62769
|
+
"format": "date-time",
|
|
62770
|
+
"example": "2008-01-14T04:33:35Z"
|
|
62771
|
+
},
|
|
62772
|
+
"type": {
|
|
62773
|
+
"type": "string",
|
|
62774
|
+
"example": "Organization"
|
|
62775
|
+
},
|
|
62776
|
+
"total_private_repos": {
|
|
62777
|
+
"type": "integer",
|
|
62778
|
+
"example": 100
|
|
62779
|
+
},
|
|
62780
|
+
"owned_private_repos": {
|
|
62781
|
+
"type": "integer",
|
|
62782
|
+
"example": 100
|
|
62783
|
+
},
|
|
62784
|
+
"private_gists": {
|
|
62785
|
+
"type": "integer",
|
|
62786
|
+
"example": 81,
|
|
62787
|
+
"nullable": true
|
|
62788
|
+
},
|
|
62789
|
+
"disk_usage": {
|
|
62790
|
+
"type": "integer",
|
|
62791
|
+
"example": 10000,
|
|
62792
|
+
"nullable": true
|
|
62793
|
+
},
|
|
62794
|
+
"collaborators": {
|
|
62795
|
+
"type": "integer",
|
|
62796
|
+
"example": 8,
|
|
62797
|
+
"nullable": true
|
|
62798
|
+
},
|
|
62799
|
+
"billing_email": {
|
|
62800
|
+
"type": "string",
|
|
62801
|
+
"format": "email",
|
|
62802
|
+
"example": "org@example.com",
|
|
62803
|
+
"nullable": true
|
|
62804
|
+
},
|
|
62805
|
+
"plan": {
|
|
62806
|
+
"type": "object",
|
|
62807
|
+
"properties": {
|
|
62808
|
+
"name": {
|
|
62809
|
+
"type": "string"
|
|
62810
|
+
},
|
|
62811
|
+
"space": {
|
|
62812
|
+
"type": "integer"
|
|
62813
|
+
},
|
|
62814
|
+
"private_repos": {
|
|
62815
|
+
"type": "integer"
|
|
62816
|
+
},
|
|
62817
|
+
"filled_seats": {
|
|
62818
|
+
"type": "integer"
|
|
62819
|
+
},
|
|
62820
|
+
"seats": {
|
|
62821
|
+
"type": "integer"
|
|
62822
|
+
}
|
|
62823
|
+
},
|
|
62824
|
+
"required": [
|
|
62825
|
+
"name",
|
|
62826
|
+
"space",
|
|
62827
|
+
"private_repos"
|
|
62828
|
+
]
|
|
62829
|
+
},
|
|
62830
|
+
"default_repository_permission": {
|
|
62831
|
+
"type": "string",
|
|
62832
|
+
"nullable": true
|
|
62833
|
+
},
|
|
62834
|
+
"members_can_create_repositories": {
|
|
62835
|
+
"type": "boolean",
|
|
62836
|
+
"example": true,
|
|
62837
|
+
"nullable": true
|
|
62838
|
+
},
|
|
62839
|
+
"two_factor_requirement_enabled": {
|
|
62840
|
+
"type": "boolean",
|
|
62841
|
+
"example": true,
|
|
62842
|
+
"nullable": true
|
|
62843
|
+
},
|
|
62844
|
+
"members_allowed_repository_creation_type": {
|
|
62845
|
+
"type": "string",
|
|
62846
|
+
"example": "all"
|
|
62847
|
+
},
|
|
62848
|
+
"members_can_create_public_repositories": {
|
|
62849
|
+
"type": "boolean",
|
|
62850
|
+
"example": true
|
|
62851
|
+
},
|
|
62852
|
+
"members_can_create_private_repositories": {
|
|
62853
|
+
"type": "boolean",
|
|
62854
|
+
"example": true
|
|
62855
|
+
},
|
|
62856
|
+
"members_can_create_internal_repositories": {
|
|
62857
|
+
"type": "boolean",
|
|
62858
|
+
"example": true
|
|
62859
|
+
},
|
|
62860
|
+
"members_can_create_pages": {
|
|
62861
|
+
"type": "boolean",
|
|
62862
|
+
"example": true
|
|
62863
|
+
},
|
|
62864
|
+
"members_can_create_public_pages": {
|
|
62865
|
+
"type": "boolean",
|
|
62866
|
+
"example": true
|
|
62867
|
+
},
|
|
62868
|
+
"members_can_create_private_pages": {
|
|
62869
|
+
"type": "boolean",
|
|
62870
|
+
"example": true
|
|
62871
|
+
},
|
|
62872
|
+
"members_can_fork_private_repositories": {
|
|
62873
|
+
"type": "boolean",
|
|
62874
|
+
"example": false,
|
|
62875
|
+
"nullable": true
|
|
62876
|
+
},
|
|
62877
|
+
"updated_at": {
|
|
62878
|
+
"type": "string",
|
|
62879
|
+
"format": "date-time"
|
|
62880
|
+
}
|
|
62881
|
+
},
|
|
62882
|
+
"required": [
|
|
62883
|
+
"login",
|
|
62884
|
+
"url",
|
|
62885
|
+
"id",
|
|
62886
|
+
"node_id",
|
|
62887
|
+
"repos_url",
|
|
62888
|
+
"events_url",
|
|
62889
|
+
"hooks_url",
|
|
62890
|
+
"issues_url",
|
|
62891
|
+
"members_url",
|
|
62892
|
+
"public_members_url",
|
|
62893
|
+
"avatar_url",
|
|
62894
|
+
"description",
|
|
62895
|
+
"html_url",
|
|
62896
|
+
"has_organization_projects",
|
|
62897
|
+
"has_repository_projects",
|
|
62898
|
+
"public_repos",
|
|
62899
|
+
"public_gists",
|
|
62900
|
+
"followers",
|
|
62901
|
+
"following",
|
|
62902
|
+
"type",
|
|
62903
|
+
"created_at",
|
|
62904
|
+
"updated_at"
|
|
62905
|
+
]
|
|
62906
|
+
},
|
|
62523
62907
|
"team-full": {
|
|
62524
62908
|
"title": "Full Team",
|
|
62525
62909
|
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
@@ -62604,7 +62988,7 @@
|
|
|
62604
62988
|
"example": "2017-08-17T12:37:15Z"
|
|
62605
62989
|
},
|
|
62606
62990
|
"organization": {
|
|
62607
|
-
"$ref": "#/components/schemas/organization
|
|
62991
|
+
"$ref": "#/components/schemas/team-organization"
|
|
62608
62992
|
},
|
|
62609
62993
|
"ldap_dn": {
|
|
62610
62994
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -87911,6 +88295,109 @@
|
|
|
87911
88295
|
}
|
|
87912
88296
|
]
|
|
87913
88297
|
},
|
|
88298
|
+
"branch-get": {
|
|
88299
|
+
"value": {
|
|
88300
|
+
"name": "main",
|
|
88301
|
+
"commit": {
|
|
88302
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
88303
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
88304
|
+
"commit": {
|
|
88305
|
+
"author": {
|
|
88306
|
+
"name": "The Octocat",
|
|
88307
|
+
"email": "octocat@nowhere.com",
|
|
88308
|
+
"date": "2012-03-06T23:06:50Z"
|
|
88309
|
+
},
|
|
88310
|
+
"committer": {
|
|
88311
|
+
"name": "The Octocat",
|
|
88312
|
+
"email": "octocat@nowhere.com",
|
|
88313
|
+
"date": "2012-03-06T23:06:50Z"
|
|
88314
|
+
},
|
|
88315
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
88316
|
+
"tree": {
|
|
88317
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
88318
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
88319
|
+
},
|
|
88320
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
88321
|
+
"comment_count": 77,
|
|
88322
|
+
"verification": {
|
|
88323
|
+
"verified": false,
|
|
88324
|
+
"reason": "unsigned",
|
|
88325
|
+
"signature": null,
|
|
88326
|
+
"payload": null
|
|
88327
|
+
}
|
|
88328
|
+
},
|
|
88329
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
88330
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
88331
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
88332
|
+
"author": {
|
|
88333
|
+
"login": "octocat",
|
|
88334
|
+
"id": 583231,
|
|
88335
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
88336
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
88337
|
+
"gravatar_id": "",
|
|
88338
|
+
"url": "https://api.github.com/users/octocat",
|
|
88339
|
+
"html_url": "https://github.com/octocat",
|
|
88340
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
88341
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
88342
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
88343
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
88344
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
88345
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
88346
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
88347
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
88348
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
88349
|
+
"type": "User",
|
|
88350
|
+
"site_admin": false
|
|
88351
|
+
},
|
|
88352
|
+
"committer": {
|
|
88353
|
+
"login": "octocat",
|
|
88354
|
+
"id": 583231,
|
|
88355
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
88356
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
88357
|
+
"gravatar_id": "",
|
|
88358
|
+
"url": "https://api.github.com/users/octocat",
|
|
88359
|
+
"html_url": "https://github.com/octocat",
|
|
88360
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
88361
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
88362
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
88363
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
88364
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
88365
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
88366
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
88367
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
88368
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
88369
|
+
"type": "User",
|
|
88370
|
+
"site_admin": false
|
|
88371
|
+
},
|
|
88372
|
+
"parents": [
|
|
88373
|
+
{
|
|
88374
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
88375
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
88376
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
88377
|
+
},
|
|
88378
|
+
{
|
|
88379
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
88380
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
88381
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
88382
|
+
}
|
|
88383
|
+
]
|
|
88384
|
+
},
|
|
88385
|
+
"_links": {
|
|
88386
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
88387
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
88388
|
+
},
|
|
88389
|
+
"protected": false,
|
|
88390
|
+
"protection": {
|
|
88391
|
+
"enabled": false,
|
|
88392
|
+
"required_status_checks": {
|
|
88393
|
+
"enforcement_level": "off",
|
|
88394
|
+
"contexts": [],
|
|
88395
|
+
"checks": []
|
|
88396
|
+
}
|
|
88397
|
+
},
|
|
88398
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
88399
|
+
}
|
|
88400
|
+
},
|
|
87914
88401
|
"branch-protection": {
|
|
87915
88402
|
"value": {
|
|
87916
88403
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -88107,6 +88594,71 @@
|
|
|
88107
88594
|
}
|
|
88108
88595
|
}
|
|
88109
88596
|
},
|
|
88597
|
+
"branch-protection-update": {
|
|
88598
|
+
"value": {
|
|
88599
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
88600
|
+
"required_status_checks": {
|
|
88601
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
88602
|
+
"strict": true,
|
|
88603
|
+
"contexts": [
|
|
88604
|
+
"continuous-integration/travis-ci"
|
|
88605
|
+
],
|
|
88606
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
88607
|
+
"checks": [
|
|
88608
|
+
{
|
|
88609
|
+
"context": "continuous-integration/travis-ci",
|
|
88610
|
+
"app_id": null
|
|
88611
|
+
}
|
|
88612
|
+
]
|
|
88613
|
+
},
|
|
88614
|
+
"restrictions": {
|
|
88615
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
88616
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
88617
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
88618
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
88619
|
+
"users": [],
|
|
88620
|
+
"teams": [],
|
|
88621
|
+
"apps": []
|
|
88622
|
+
},
|
|
88623
|
+
"required_pull_request_reviews": {
|
|
88624
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
88625
|
+
"dismiss_stale_reviews": true,
|
|
88626
|
+
"require_code_owner_reviews": true,
|
|
88627
|
+
"required_approving_review_count": 2,
|
|
88628
|
+
"dismissal_restrictions": {
|
|
88629
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
88630
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
88631
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
88632
|
+
"users": [],
|
|
88633
|
+
"teams": [],
|
|
88634
|
+
"apps": []
|
|
88635
|
+
}
|
|
88636
|
+
},
|
|
88637
|
+
"required_signatures": {
|
|
88638
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
88639
|
+
"enabled": false
|
|
88640
|
+
},
|
|
88641
|
+
"enforce_admins": {
|
|
88642
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
88643
|
+
"enabled": true
|
|
88644
|
+
},
|
|
88645
|
+
"required_linear_history": {
|
|
88646
|
+
"enabled": true
|
|
88647
|
+
},
|
|
88648
|
+
"allow_force_pushes": {
|
|
88649
|
+
"enabled": true
|
|
88650
|
+
},
|
|
88651
|
+
"allow_deletions": {
|
|
88652
|
+
"enabled": true
|
|
88653
|
+
},
|
|
88654
|
+
"block_creations": {
|
|
88655
|
+
"enabled": true
|
|
88656
|
+
},
|
|
88657
|
+
"required_conversation_resolution": {
|
|
88658
|
+
"enabled": true
|
|
88659
|
+
}
|
|
88660
|
+
}
|
|
88661
|
+
},
|
|
88110
88662
|
"protected-branch-admin-enforced-2": {
|
|
88111
88663
|
"value": {
|
|
88112
88664
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
|
|
@@ -89536,7 +90088,8 @@
|
|
|
89536
90088
|
"security",
|
|
89537
90089
|
"external/cwe/cwe-022"
|
|
89538
90090
|
],
|
|
89539
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
90091
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
90092
|
+
"help_uri": "https://codeql.github.com/"
|
|
89540
90093
|
},
|
|
89541
90094
|
"tool": {
|
|
89542
90095
|
"name": "CodeQL",
|
|
@@ -89606,7 +90159,8 @@
|
|
|
89606
90159
|
"security",
|
|
89607
90160
|
"external/cwe/cwe-022"
|
|
89608
90161
|
],
|
|
89609
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
90162
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
90163
|
+
"help_uri": "https://codeql.github.com/"
|
|
89610
90164
|
},
|
|
89611
90165
|
"tool": {
|
|
89612
90166
|
"name": "CodeQL",
|
|
@@ -89642,6 +90196,7 @@
|
|
|
89642
90196
|
"ref": "refs/heads/main",
|
|
89643
90197
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
89644
90198
|
"environment": "",
|
|
90199
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
89645
90200
|
"state": "open",
|
|
89646
90201
|
"fixed_at": null,
|
|
89647
90202
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -92930,7 +93485,8 @@
|
|
|
92930
93485
|
"type": "User",
|
|
92931
93486
|
"site_admin": false
|
|
92932
93487
|
},
|
|
92933
|
-
"author_association": "COLLABORATOR"
|
|
93488
|
+
"author_association": "COLLABORATOR",
|
|
93489
|
+
"state_reason": "completed"
|
|
92934
93490
|
}
|
|
92935
93491
|
]
|
|
92936
93492
|
},
|
|
@@ -93090,7 +93646,8 @@
|
|
|
93090
93646
|
"type": "User",
|
|
93091
93647
|
"site_admin": false
|
|
93092
93648
|
},
|
|
93093
|
-
"author_association": "COLLABORATOR"
|
|
93649
|
+
"author_association": "COLLABORATOR",
|
|
93650
|
+
"state_reason": "completed"
|
|
93094
93651
|
}
|
|
93095
93652
|
},
|
|
93096
93653
|
"issue-comment-items": {
|
|
@@ -93326,7 +93883,8 @@
|
|
|
93326
93883
|
"closed_at": null,
|
|
93327
93884
|
"created_at": "2011-04-22T13:33:48Z",
|
|
93328
93885
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
93329
|
-
"author_association": "COLLABORATOR"
|
|
93886
|
+
"author_association": "COLLABORATOR",
|
|
93887
|
+
"state_reason": "completed"
|
|
93330
93888
|
}
|
|
93331
93889
|
}
|
|
93332
93890
|
]
|
|
@@ -93535,7 +94093,8 @@
|
|
|
93535
94093
|
"closed_at": null,
|
|
93536
94094
|
"created_at": "2011-04-22T13:33:48Z",
|
|
93537
94095
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
93538
|
-
"author_association": "COLLABORATOR"
|
|
94096
|
+
"author_association": "COLLABORATOR",
|
|
94097
|
+
"state_reason": "completed"
|
|
93539
94098
|
}
|
|
93540
94099
|
}
|
|
93541
94100
|
},
|
|
@@ -97774,7 +98333,8 @@
|
|
|
97774
98333
|
"body": "...",
|
|
97775
98334
|
"score": 1,
|
|
97776
98335
|
"locked": true,
|
|
97777
|
-
"author_association": "COLLABORATOR"
|
|
98336
|
+
"author_association": "COLLABORATOR",
|
|
98337
|
+
"state_reason": "completed"
|
|
97778
98338
|
}
|
|
97779
98339
|
]
|
|
97780
98340
|
}
|