@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.
Files changed (34) hide show
  1. package/generated/api.github.com.deref.json +2249 -268
  2. package/generated/api.github.com.json +1222 -129
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +386 -28
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +43 -17
  7. package/generated/ghes-3.2.deref.json +778 -256
  8. package/generated/ghes-3.2.json +588 -40
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +205 -225
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +445 -12
  12. package/generated/ghes-3.3.deref.json +785 -257
  13. package/generated/ghes-3.3.json +595 -41
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +153 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +13 -1
  16. package/generated/ghes-3.4.deref.json +816 -243
  17. package/generated/ghes-3.4.json +603 -43
  18. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  19. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +462 -42
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +304 -18
  22. package/generated/ghes-3.5.deref.json +829 -243
  23. package/generated/ghes-3.5.json +603 -43
  24. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +519 -89
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18071 -6614
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +6665 -4290
  27. package/generated/ghes-3.6.deref.json +1048 -256
  28. package/generated/ghes-3.6.json +826 -56
  29. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +347 -32
  30. package/generated/github.ae-diff-to-api.github.com.deref.json +11634 -3854
  31. package/generated/github.ae-diff-to-api.github.com.json +1185 -40
  32. package/generated/github.ae.deref.json +1087 -178
  33. package/generated/github.ae.json +865 -50
  34. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.5.0",
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": {
@@ -2123,7 +2123,13 @@
2123
2123
  "category": "apps",
2124
2124
  "subcategory": null
2125
2125
  },
2126
- "x-octokit": {}
2126
+ "x-octokit": {
2127
+ "diff": {
2128
+ "api.github.com": {
2129
+ "type": "changed"
2130
+ }
2131
+ }
2132
+ }
2127
2133
  }
2128
2134
  },
2129
2135
  "/app/installations/{installation_id}": {
@@ -2169,7 +2175,13 @@
2169
2175
  "category": "apps",
2170
2176
  "subcategory": null
2171
2177
  },
2172
- "x-octokit": {}
2178
+ "x-octokit": {
2179
+ "diff": {
2180
+ "api.github.com": {
2181
+ "type": "changed"
2182
+ }
2183
+ }
2184
+ }
2173
2185
  },
2174
2186
  "delete": {
2175
2187
  "summary": "Delete an installation for the authenticated app",
@@ -2507,7 +2519,13 @@
2507
2519
  "category": "apps",
2508
2520
  "subcategory": "oauth-applications"
2509
2521
  },
2510
- "x-octokit": {}
2522
+ "x-octokit": {
2523
+ "diff": {
2524
+ "api.github.com": {
2525
+ "type": "changed"
2526
+ }
2527
+ }
2528
+ }
2511
2529
  },
2512
2530
  "patch": {
2513
2531
  "summary": "Reset a token",
@@ -2577,7 +2595,13 @@
2577
2595
  "category": "apps",
2578
2596
  "subcategory": "oauth-applications"
2579
2597
  },
2580
- "x-octokit": {}
2598
+ "x-octokit": {
2599
+ "diff": {
2600
+ "api.github.com": {
2601
+ "type": "changed"
2602
+ }
2603
+ }
2604
+ }
2581
2605
  },
2582
2606
  "delete": {
2583
2607
  "summary": "Delete an app token",
@@ -7464,6 +7488,30 @@
7464
7488
  "blog": {
7465
7489
  "type": "string",
7466
7490
  "example": "\"http://github.blog\""
7491
+ },
7492
+ "advanced_security_enabled_for_new_repositories": {
7493
+ "type": "boolean",
7494
+ "description": "Whether GitHub Advanced Security is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7495
+ },
7496
+ "dependabot_alerts_enabled_for_new_repositories": {
7497
+ "type": "boolean",
7498
+ "description": "Whether Dependabot alerts is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7499
+ },
7500
+ "dependabot_security_updates_enabled_for_new_repositories": {
7501
+ "type": "boolean",
7502
+ "description": "Whether Dependabot security updates is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7503
+ },
7504
+ "dependency_graph_enabled_for_new_repositories": {
7505
+ "type": "boolean",
7506
+ "description": "Whether dependency graph is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7507
+ },
7508
+ "secret_scanning_enabled_for_new_repositories": {
7509
+ "type": "boolean",
7510
+ "description": "Whether secret scanning is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7511
+ },
7512
+ "secret_scanning_push_protection_enabled_for_new_repositories": {
7513
+ "type": "boolean",
7514
+ "description": "Whether secret scanning push protection is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/github-ae@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
7467
7515
  }
7468
7516
  }
7469
7517
  },
@@ -10062,7 +10110,13 @@
10062
10110
  "category": "apps",
10063
10111
  "subcategory": null
10064
10112
  },
10065
- "x-octokit": {}
10113
+ "x-octokit": {
10114
+ "diff": {
10115
+ "api.github.com": {
10116
+ "type": "changed"
10117
+ }
10118
+ }
10119
+ }
10066
10120
  }
10067
10121
  },
10068
10122
  "/orgs/{org}/installations": {
@@ -10131,7 +10185,13 @@
10131
10185
  "category": "orgs",
10132
10186
  "subcategory": null
10133
10187
  },
10134
- "x-octokit": {}
10188
+ "x-octokit": {
10189
+ "diff": {
10190
+ "api.github.com": {
10191
+ "type": "changed"
10192
+ }
10193
+ }
10194
+ }
10135
10195
  }
10136
10196
  },
10137
10197
  "/orgs/{org}/issues": {
@@ -10333,17 +10393,6 @@
10333
10393
  }
10334
10394
  }
10335
10395
  },
10336
- "302": {
10337
- "description": "Response if requester is not an organization member",
10338
- "headers": {
10339
- "Location": {
10340
- "example": "https://api.github.com/orgs/github/public_members",
10341
- "schema": {
10342
- "type": "string"
10343
- }
10344
- }
10345
- }
10346
- },
10347
10396
  "422": {
10348
10397
  "$ref": "#/components/responses/validation_failed"
10349
10398
  }
@@ -18442,6 +18491,11 @@
18442
18491
  "url_template": {
18443
18492
  "type": "string",
18444
18493
  "description": "The URL must contain `<num>` for the reference number."
18494
+ },
18495
+ "is_alphanumeric": {
18496
+ "type": "boolean",
18497
+ "default": "true",
18498
+ "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."
18445
18499
  }
18446
18500
  },
18447
18501
  "required": [
@@ -18453,7 +18507,8 @@
18453
18507
  "default": {
18454
18508
  "value": {
18455
18509
  "key_prefix": "TICKET-",
18456
- "url_template": "https://example.com/TICKET?query=<num>"
18510
+ "url_template": "https://example.com/TICKET?query=<num>",
18511
+ "is_alphanumeric": true
18457
18512
  }
18458
18513
  }
18459
18514
  }
@@ -18701,6 +18756,11 @@
18701
18756
  "application/json": {
18702
18757
  "schema": {
18703
18758
  "$ref": "#/components/schemas/branch-with-protection"
18759
+ },
18760
+ "examples": {
18761
+ "default": {
18762
+ "$ref": "#/components/examples/branch-get"
18763
+ }
18704
18764
  }
18705
18765
  }
18706
18766
  }
@@ -19043,6 +19103,11 @@
19043
19103
  "application/json": {
19044
19104
  "schema": {
19045
19105
  "$ref": "#/components/schemas/protected-branch"
19106
+ },
19107
+ "examples": {
19108
+ "default": {
19109
+ "$ref": "#/components/examples/branch-protection-update"
19110
+ }
19046
19111
  }
19047
19112
  }
19048
19113
  }
@@ -19917,7 +19982,7 @@
19917
19982
  "properties": {
19918
19983
  "contexts": {
19919
19984
  "type": "array",
19920
- "description": "contexts parameter",
19985
+ "description": "The name of the status checks",
19921
19986
  "items": {
19922
19987
  "type": "string"
19923
19988
  }
@@ -19933,6 +19998,17 @@
19933
19998
  }
19934
19999
  }
19935
20000
  ]
20001
+ },
20002
+ "examples": {
20003
+ "default": {
20004
+ "summary": "Example adding status checks to a branch protection rule",
20005
+ "value": {
20006
+ "contexts": [
20007
+ "continuous-integration/travis-ci",
20008
+ "continuous-integration/jenkins"
20009
+ ]
20010
+ }
20011
+ }
19936
20012
  }
19937
20013
  }
19938
20014
  }
@@ -20011,7 +20087,7 @@
20011
20087
  "properties": {
20012
20088
  "contexts": {
20013
20089
  "type": "array",
20014
- "description": "contexts parameter",
20090
+ "description": "The name of the status checks",
20015
20091
  "items": {
20016
20092
  "type": "string"
20017
20093
  }
@@ -20027,6 +20103,16 @@
20027
20103
  }
20028
20104
  }
20029
20105
  ]
20106
+ },
20107
+ "examples": {
20108
+ "default": {
20109
+ "summary": "Example updating status checks for a branch protection rule",
20110
+ "value": {
20111
+ "contexts": [
20112
+ "continuous-integration/travis-ci"
20113
+ ]
20114
+ }
20115
+ }
20030
20116
  }
20031
20117
  }
20032
20118
  }
@@ -20100,7 +20186,7 @@
20100
20186
  "properties": {
20101
20187
  "contexts": {
20102
20188
  "type": "array",
20103
- "description": "contexts parameter",
20189
+ "description": "The name of the status checks",
20104
20190
  "items": {
20105
20191
  "type": "string"
20106
20192
  }
@@ -20116,6 +20202,16 @@
20116
20202
  }
20117
20203
  }
20118
20204
  ]
20205
+ },
20206
+ "examples": {
20207
+ "default": {
20208
+ "summary": "Example removing status checks from a branch protection rule",
20209
+ "value": {
20210
+ "contexts": [
20211
+ "continuous-integration/travis-ci"
20212
+ ]
20213
+ }
20214
+ }
20119
20215
  }
20120
20216
  }
20121
20217
  }
@@ -20641,7 +20737,7 @@
20641
20737
  "properties": {
20642
20738
  "teams": {
20643
20739
  "type": "array",
20644
- "description": "teams parameter",
20740
+ "description": "The slug values for teams",
20645
20741
  "items": {
20646
20742
  "type": "string"
20647
20743
  }
@@ -20657,6 +20753,16 @@
20657
20753
  }
20658
20754
  }
20659
20755
  ]
20756
+ },
20757
+ "examples": {
20758
+ "default": {
20759
+ "summary": "Example adding a team in a branch protection rule",
20760
+ "value": {
20761
+ "teams": [
20762
+ "justice-league"
20763
+ ]
20764
+ }
20765
+ }
20660
20766
  }
20661
20767
  }
20662
20768
  }
@@ -20726,7 +20832,7 @@
20726
20832
  "properties": {
20727
20833
  "teams": {
20728
20834
  "type": "array",
20729
- "description": "teams parameter",
20835
+ "description": "The slug values for teams",
20730
20836
  "items": {
20731
20837
  "type": "string"
20732
20838
  }
@@ -20737,11 +20843,21 @@
20737
20843
  ],
20738
20844
  "example": {
20739
20845
  "teams": [
20740
- "my-team"
20846
+ "justice-league"
20741
20847
  ]
20742
20848
  }
20743
20849
  }
20744
20850
  ]
20851
+ },
20852
+ "examples": {
20853
+ "default": {
20854
+ "summary": "Example replacing a team in a branch protection rule",
20855
+ "value": {
20856
+ "teams": [
20857
+ "justice-league"
20858
+ ]
20859
+ }
20860
+ }
20745
20861
  }
20746
20862
  }
20747
20863
  }
@@ -20810,7 +20926,7 @@
20810
20926
  "properties": {
20811
20927
  "teams": {
20812
20928
  "type": "array",
20813
- "description": "teams parameter",
20929
+ "description": "The slug values for teams",
20814
20930
  "items": {
20815
20931
  "type": "string"
20816
20932
  }
@@ -20826,6 +20942,16 @@
20826
20942
  }
20827
20943
  }
20828
20944
  ]
20945
+ },
20946
+ "examples": {
20947
+ "default": {
20948
+ "summary": "Example removing a team in a branch protection rule",
20949
+ "value": {
20950
+ "teams": [
20951
+ "justice-league"
20952
+ ]
20953
+ }
20954
+ }
20829
20955
  }
20830
20956
  }
20831
20957
  }
@@ -20950,7 +21076,7 @@
20950
21076
  "properties": {
20951
21077
  "users": {
20952
21078
  "type": "array",
20953
- "description": "users parameter",
21079
+ "description": "The username for users",
20954
21080
  "items": {
20955
21081
  "type": "string"
20956
21082
  }
@@ -20966,6 +21092,16 @@
20966
21092
  }
20967
21093
  }
20968
21094
  ]
21095
+ },
21096
+ "examples": {
21097
+ "default": {
21098
+ "summary": "Example adding a user in a branch protection rule",
21099
+ "value": {
21100
+ "users": [
21101
+ "octocat"
21102
+ ]
21103
+ }
21104
+ }
20969
21105
  }
20970
21106
  }
20971
21107
  }
@@ -21035,7 +21171,7 @@
21035
21171
  "properties": {
21036
21172
  "users": {
21037
21173
  "type": "array",
21038
- "description": "users parameter",
21174
+ "description": "The username for users",
21039
21175
  "items": {
21040
21176
  "type": "string"
21041
21177
  }
@@ -21051,6 +21187,16 @@
21051
21187
  }
21052
21188
  }
21053
21189
  ]
21190
+ },
21191
+ "examples": {
21192
+ "default": {
21193
+ "summary": "Example replacing a user in a branch protection rule",
21194
+ "value": {
21195
+ "users": [
21196
+ "octocat"
21197
+ ]
21198
+ }
21199
+ }
21054
21200
  }
21055
21201
  }
21056
21202
  }
@@ -21119,7 +21265,7 @@
21119
21265
  "properties": {
21120
21266
  "users": {
21121
21267
  "type": "array",
21122
- "description": "users parameter",
21268
+ "description": "The username for users",
21123
21269
  "items": {
21124
21270
  "type": "string"
21125
21271
  }
@@ -21135,6 +21281,16 @@
21135
21281
  }
21136
21282
  }
21137
21283
  ]
21284
+ },
21285
+ "examples": {
21286
+ "default": {
21287
+ "summary": "Example removing a user in a branch protection rule",
21288
+ "value": {
21289
+ "users": [
21290
+ "octocat"
21291
+ ]
21292
+ }
21293
+ }
21138
21294
  }
21139
21295
  }
21140
21296
  }
@@ -22774,6 +22930,22 @@
22774
22930
  "schema": {
22775
22931
  "$ref": "#/components/schemas/code-scanning-analysis-sarif-id"
22776
22932
  }
22933
+ },
22934
+ {
22935
+ "$ref": "#/components/parameters/direction"
22936
+ },
22937
+ {
22938
+ "name": "sort",
22939
+ "description": "The property by which to sort the results.",
22940
+ "in": "query",
22941
+ "required": false,
22942
+ "schema": {
22943
+ "type": "string",
22944
+ "enum": [
22945
+ "created"
22946
+ ],
22947
+ "default": "created"
22948
+ }
22777
22949
  }
22778
22950
  ],
22779
22951
  "responses": {
@@ -24431,6 +24603,9 @@
24431
24603
  },
24432
24604
  "500": {
24433
24605
  "$ref": "#/components/responses/internal_error"
24606
+ },
24607
+ "503": {
24608
+ "$ref": "#/components/responses/service_unavailable"
24434
24609
  }
24435
24610
  },
24436
24611
  "x-github": {
@@ -24852,6 +25027,9 @@
24852
25027
  },
24853
25028
  "500": {
24854
25029
  "$ref": "#/components/responses/internal_error"
25030
+ },
25031
+ "503": {
25032
+ "$ref": "#/components/responses/service_unavailable"
24855
25033
  }
24856
25034
  },
24857
25035
  "x-github": {
@@ -24865,7 +25043,7 @@
24865
25043
  "/repos/{owner}/{repo}/contents/{path}": {
24866
25044
  "get": {
24867
25045
  "summary": "Get repository content",
24868
- "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/github-ae@latest/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/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/github-ae@latest/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/github-ae@latest/rest/reference/git#get-a-tree).\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.",
25046
+ "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/github-ae@latest/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/github-ae@latest/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/github-ae@latest/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/github-ae@latest/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.",
24869
25047
  "tags": [
24870
25048
  "repos"
24871
25049
  ],
@@ -28811,7 +28989,13 @@
28811
28989
  "category": "apps",
28812
28990
  "subcategory": null
28813
28991
  },
28814
- "x-octokit": {}
28992
+ "x-octokit": {
28993
+ "diff": {
28994
+ "api.github.com": {
28995
+ "type": "changed"
28996
+ }
28997
+ }
28998
+ }
28815
28999
  }
28816
29000
  },
28817
29001
  "/repos/{owner}/{repo}/invitations": {
@@ -28922,6 +29106,14 @@
28922
29106
  ]
28923
29107
  }
28924
29108
  }
29109
+ },
29110
+ "examples": {
29111
+ "default": {
29112
+ "summary": "Example request body",
29113
+ "value": {
29114
+ "permissions": "write"
29115
+ }
29116
+ }
28925
29117
  }
28926
29118
  }
28927
29119
  }
@@ -30071,6 +30263,12 @@
30071
30263
  "closed"
30072
30264
  ]
30073
30265
  },
30266
+ "state_reason": {
30267
+ "type": "string",
30268
+ "nullable": true,
30269
+ "description": "The reason for the current state",
30270
+ "example": "not_planned"
30271
+ },
30074
30272
  "milestone": {
30075
30273
  "oneOf": [
30076
30274
  {
@@ -34459,6 +34657,9 @@
34459
34657
  },
34460
34658
  "500": {
34461
34659
  "$ref": "#/components/responses/internal_error"
34660
+ },
34661
+ "503": {
34662
+ "$ref": "#/components/responses/service_unavailable"
34462
34663
  }
34463
34664
  },
34464
34665
  "x-github": {
@@ -35006,6 +35207,9 @@
35006
35207
  },
35007
35208
  "500": {
35008
35209
  "$ref": "#/components/responses/internal_error"
35210
+ },
35211
+ "503": {
35212
+ "$ref": "#/components/responses/service_unavailable"
35009
35213
  }
35010
35214
  },
35011
35215
  "x-github": {
@@ -38728,7 +38932,7 @@
38728
38932
  "/repos/{template_owner}/{template_repo}/generate": {
38729
38933
  "post": {
38730
38934
  "summary": "Create a repository using a template",
38731
- "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. 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/github-ae@latest/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/github-ae@latest/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",
38935
+ "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/github-ae@latest/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/github-ae@latest/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",
38732
38936
  "tags": [
38733
38937
  "repos"
38734
38938
  ],
@@ -42566,7 +42770,13 @@
42566
42770
  "category": "apps",
42567
42771
  "subcategory": "installations"
42568
42772
  },
42569
- "x-octokit": {}
42773
+ "x-octokit": {
42774
+ "diff": {
42775
+ "api.github.com": {
42776
+ "type": "changed"
42777
+ }
42778
+ }
42779
+ }
42570
42780
  }
42571
42781
  },
42572
42782
  "/user/installations/{installation_id}/repositories": {
@@ -45374,7 +45584,13 @@
45374
45584
  "category": "apps",
45375
45585
  "subcategory": null
45376
45586
  },
45377
- "x-octokit": {}
45587
+ "x-octokit": {
45588
+ "diff": {
45589
+ "api.github.com": {
45590
+ "type": "changed"
45591
+ }
45592
+ }
45593
+ }
45378
45594
  }
45379
45595
  },
45380
45596
  "/users/{username}/keys": {
@@ -48273,6 +48489,28 @@
48273
48489
  }
48274
48490
  }
48275
48491
  },
48492
+ "/orgs/{org}/{security_product}/{enablement}": {
48493
+ "post": {
48494
+ "summary": "Enable or disable a security feature for an organization",
48495
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
48496
+ "tags": [
48497
+ "orgs"
48498
+ ],
48499
+ "operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
48500
+ "externalDocs": {
48501
+ "description": "API method documentation",
48502
+ "url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
48503
+ },
48504
+ "x-octokit": {
48505
+ "api.github.com": "removed"
48506
+ },
48507
+ "responses": {
48508
+ "501": {
48509
+ "description": "Not Implemented"
48510
+ }
48511
+ }
48512
+ }
48513
+ },
48276
48514
  "/repos/{owner}/{repo}/actions/cache/usage": {
48277
48515
  "get": {
48278
48516
  "summary": "Get GitHub Actions cache usage for a repository",
@@ -51164,6 +51402,90 @@
51164
51402
  }
51165
51403
  }
51166
51404
  },
51405
+ "/user/ssh_signing_keys": {
51406
+ "get": {
51407
+ "summary": "List SSH signing keys for the authenticated user",
51408
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
51409
+ "tags": [
51410
+ "users"
51411
+ ],
51412
+ "operationId": "users/list-ssh-signing-keys-for-authenticated-user",
51413
+ "externalDocs": {
51414
+ "description": "API method documentation",
51415
+ "url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
51416
+ },
51417
+ "x-octokit": {
51418
+ "api.github.com": "removed"
51419
+ },
51420
+ "responses": {
51421
+ "501": {
51422
+ "description": "Not Implemented"
51423
+ }
51424
+ }
51425
+ },
51426
+ "post": {
51427
+ "summary": "Create a SSH signing key for the authenticated user",
51428
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
51429
+ "operationId": "users/create-ssh-signing-key-for-authenticated-user",
51430
+ "tags": [
51431
+ "users"
51432
+ ],
51433
+ "externalDocs": {
51434
+ "description": "API method documentation",
51435
+ "url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
51436
+ },
51437
+ "x-octokit": {
51438
+ "api.github.com": "removed"
51439
+ },
51440
+ "responses": {
51441
+ "501": {
51442
+ "description": "Not Implemented"
51443
+ }
51444
+ }
51445
+ }
51446
+ },
51447
+ "/user/ssh_signing_keys/{ssh_signing_key_id}": {
51448
+ "get": {
51449
+ "summary": "Get an SSH signing key for the authenticated user",
51450
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
51451
+ "tags": [
51452
+ "users"
51453
+ ],
51454
+ "operationId": "users/get-ssh-signing-key-for-authenticated-user",
51455
+ "externalDocs": {
51456
+ "description": "API method documentation",
51457
+ "url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
51458
+ },
51459
+ "x-octokit": {
51460
+ "api.github.com": "removed"
51461
+ },
51462
+ "responses": {
51463
+ "501": {
51464
+ "description": "Not Implemented"
51465
+ }
51466
+ }
51467
+ },
51468
+ "delete": {
51469
+ "summary": "Delete an SSH signing key for the authenticated user",
51470
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
51471
+ "tags": [
51472
+ "users"
51473
+ ],
51474
+ "operationId": "users/delete-ssh-signing-key-for-authenticated-user",
51475
+ "externalDocs": {
51476
+ "description": "API method documentation",
51477
+ "url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
51478
+ },
51479
+ "x-octokit": {
51480
+ "api.github.com": "removed"
51481
+ },
51482
+ "responses": {
51483
+ "501": {
51484
+ "description": "Not Implemented"
51485
+ }
51486
+ }
51487
+ }
51488
+ },
51167
51489
  "/users/{username}/events/public": {
51168
51490
  "get": {
51169
51491
  "summary": "List public events for a user",
@@ -51467,6 +51789,28 @@
51467
51789
  }
51468
51790
  }
51469
51791
  }
51792
+ },
51793
+ "/users/{username}/ssh_signing_keys": {
51794
+ "get": {
51795
+ "summary": "List SSH signing keys for a user",
51796
+ "description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
51797
+ "tags": [
51798
+ "users"
51799
+ ],
51800
+ "operationId": "users/list-ssh-signing-keys-for-user",
51801
+ "externalDocs": {
51802
+ "description": "API method documentation",
51803
+ "url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
51804
+ },
51805
+ "x-octokit": {
51806
+ "api.github.com": "removed"
51807
+ },
51808
+ "responses": {
51809
+ "501": {
51810
+ "description": "Not Implemented"
51811
+ }
51812
+ }
51813
+ }
51470
51814
  }
51471
51815
  },
51472
51816
  "components": {
@@ -52087,14 +52431,6 @@
52087
52431
  "write"
52088
52432
  ]
52089
52433
  },
52090
- "organization_custom_roles": {
52091
- "type": "string",
52092
- "description": "The level of permission to grant the access token for custom roles management.",
52093
- "enum": [
52094
- "read",
52095
- "write"
52096
- ]
52097
- },
52098
52434
  "deployments": {
52099
52435
  "type": "string",
52100
52436
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -54103,6 +54439,10 @@
54103
54439
  "starred_at": {
54104
54440
  "type": "string",
54105
54441
  "example": "\"2020-07-09T00:17:42Z\""
54442
+ },
54443
+ "anonymous_access_enabled": {
54444
+ "type": "boolean",
54445
+ "description": "Whether anonymous git access is enabled for this repository"
54106
54446
  }
54107
54447
  },
54108
54448
  "required": [
@@ -57363,6 +57703,10 @@
57363
57703
  "starred_at": {
57364
57704
  "type": "string",
57365
57705
  "example": "\"2020-07-09T00:17:42Z\""
57706
+ },
57707
+ "anonymous_access_enabled": {
57708
+ "type": "boolean",
57709
+ "description": "Whether anonymous git access is enabled for this repository"
57366
57710
  }
57367
57711
  },
57368
57712
  "required": [
@@ -58216,6 +58560,36 @@
58216
58560
  "updated_at": {
58217
58561
  "type": "string",
58218
58562
  "format": "date-time"
58563
+ },
58564
+ "advanced_security_enabled_for_new_repositories": {
58565
+ "type": "boolean",
58566
+ "example": false,
58567
+ "description": "Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58568
+ },
58569
+ "dependabot_alerts_enabled_for_new_repositories": {
58570
+ "type": "boolean",
58571
+ "example": false,
58572
+ "description": "Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to\nthis organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58573
+ },
58574
+ "dependabot_security_updates_enabled_for_new_repositories": {
58575
+ "type": "boolean",
58576
+ "example": false,
58577
+ "description": "Whether dependabot security updates are automatically enabled for new repositories and repositories transferred\nto this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58578
+ },
58579
+ "dependency_graph_enabled_for_new_repositories": {
58580
+ "type": "boolean",
58581
+ "example": false,
58582
+ "description": "Whether dependency graph is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58583
+ },
58584
+ "secret_scanning_enabled_for_new_repositories": {
58585
+ "type": "boolean",
58586
+ "example": false,
58587
+ "description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58588
+ },
58589
+ "secret_scanning_push_protection_enabled_for_new_repositories": {
58590
+ "type": "boolean",
58591
+ "example": false,
58592
+ "description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories\ntransferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
58219
58593
  }
58220
58594
  },
58221
58595
  "required": [
@@ -59066,6 +59440,267 @@
59066
59440
  "parent"
59067
59441
  ]
59068
59442
  },
59443
+ "team-organization": {
59444
+ "title": "Team Organization",
59445
+ "description": "Team Organization",
59446
+ "type": "object",
59447
+ "properties": {
59448
+ "login": {
59449
+ "type": "string",
59450
+ "example": "github"
59451
+ },
59452
+ "id": {
59453
+ "type": "integer",
59454
+ "example": 1
59455
+ },
59456
+ "node_id": {
59457
+ "type": "string",
59458
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
59459
+ },
59460
+ "url": {
59461
+ "type": "string",
59462
+ "format": "uri",
59463
+ "example": "https://api.github.com/orgs/github"
59464
+ },
59465
+ "repos_url": {
59466
+ "type": "string",
59467
+ "format": "uri",
59468
+ "example": "https://api.github.com/orgs/github/repos"
59469
+ },
59470
+ "events_url": {
59471
+ "type": "string",
59472
+ "format": "uri",
59473
+ "example": "https://api.github.com/orgs/github/events"
59474
+ },
59475
+ "hooks_url": {
59476
+ "type": "string",
59477
+ "example": "https://api.github.com/orgs/github/hooks"
59478
+ },
59479
+ "issues_url": {
59480
+ "type": "string",
59481
+ "example": "https://api.github.com/orgs/github/issues"
59482
+ },
59483
+ "members_url": {
59484
+ "type": "string",
59485
+ "example": "https://api.github.com/orgs/github/members{/member}"
59486
+ },
59487
+ "public_members_url": {
59488
+ "type": "string",
59489
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
59490
+ },
59491
+ "avatar_url": {
59492
+ "type": "string",
59493
+ "example": "https://github.com/images/error/octocat_happy.gif"
59494
+ },
59495
+ "description": {
59496
+ "type": "string",
59497
+ "example": "A great organization",
59498
+ "nullable": true
59499
+ },
59500
+ "name": {
59501
+ "type": "string",
59502
+ "example": "github"
59503
+ },
59504
+ "company": {
59505
+ "type": "string",
59506
+ "example": "GitHub"
59507
+ },
59508
+ "blog": {
59509
+ "type": "string",
59510
+ "format": "uri",
59511
+ "example": "https://github.com/blog"
59512
+ },
59513
+ "location": {
59514
+ "type": "string",
59515
+ "example": "San Francisco"
59516
+ },
59517
+ "email": {
59518
+ "type": "string",
59519
+ "format": "email",
59520
+ "example": "octocat@github.com"
59521
+ },
59522
+ "twitter_username": {
59523
+ "type": "string",
59524
+ "example": "github",
59525
+ "nullable": true
59526
+ },
59527
+ "is_verified": {
59528
+ "type": "boolean",
59529
+ "example": true
59530
+ },
59531
+ "has_organization_projects": {
59532
+ "type": "boolean",
59533
+ "example": true
59534
+ },
59535
+ "has_repository_projects": {
59536
+ "type": "boolean",
59537
+ "example": true
59538
+ },
59539
+ "public_repos": {
59540
+ "type": "integer",
59541
+ "example": 2
59542
+ },
59543
+ "public_gists": {
59544
+ "type": "integer",
59545
+ "example": 1
59546
+ },
59547
+ "followers": {
59548
+ "type": "integer",
59549
+ "example": 20
59550
+ },
59551
+ "following": {
59552
+ "type": "integer",
59553
+ "example": 0
59554
+ },
59555
+ "html_url": {
59556
+ "type": "string",
59557
+ "format": "uri",
59558
+ "example": "https://github.com/octocat"
59559
+ },
59560
+ "created_at": {
59561
+ "type": "string",
59562
+ "format": "date-time",
59563
+ "example": "2008-01-14T04:33:35Z"
59564
+ },
59565
+ "type": {
59566
+ "type": "string",
59567
+ "example": "Organization"
59568
+ },
59569
+ "total_private_repos": {
59570
+ "type": "integer",
59571
+ "example": 100
59572
+ },
59573
+ "owned_private_repos": {
59574
+ "type": "integer",
59575
+ "example": 100
59576
+ },
59577
+ "private_gists": {
59578
+ "type": "integer",
59579
+ "example": 81,
59580
+ "nullable": true
59581
+ },
59582
+ "disk_usage": {
59583
+ "type": "integer",
59584
+ "example": 10000,
59585
+ "nullable": true
59586
+ },
59587
+ "collaborators": {
59588
+ "type": "integer",
59589
+ "example": 8,
59590
+ "nullable": true
59591
+ },
59592
+ "billing_email": {
59593
+ "type": "string",
59594
+ "format": "email",
59595
+ "example": "org@example.com",
59596
+ "nullable": true
59597
+ },
59598
+ "plan": {
59599
+ "type": "object",
59600
+ "properties": {
59601
+ "name": {
59602
+ "type": "string"
59603
+ },
59604
+ "space": {
59605
+ "type": "integer"
59606
+ },
59607
+ "private_repos": {
59608
+ "type": "integer"
59609
+ },
59610
+ "filled_seats": {
59611
+ "type": "integer"
59612
+ },
59613
+ "seats": {
59614
+ "type": "integer"
59615
+ }
59616
+ },
59617
+ "required": [
59618
+ "name",
59619
+ "space",
59620
+ "private_repos"
59621
+ ]
59622
+ },
59623
+ "default_repository_permission": {
59624
+ "type": "string",
59625
+ "nullable": true
59626
+ },
59627
+ "members_can_create_repositories": {
59628
+ "type": "boolean",
59629
+ "example": true,
59630
+ "nullable": true
59631
+ },
59632
+ "two_factor_requirement_enabled": {
59633
+ "type": "boolean",
59634
+ "example": true,
59635
+ "nullable": true
59636
+ },
59637
+ "members_allowed_repository_creation_type": {
59638
+ "type": "string",
59639
+ "example": "all"
59640
+ },
59641
+ "members_can_create_public_repositories": {
59642
+ "type": "boolean",
59643
+ "example": true
59644
+ },
59645
+ "members_can_create_private_repositories": {
59646
+ "type": "boolean",
59647
+ "example": true
59648
+ },
59649
+ "members_can_create_internal_repositories": {
59650
+ "type": "boolean",
59651
+ "example": true
59652
+ },
59653
+ "members_can_create_pages": {
59654
+ "type": "boolean",
59655
+ "example": true
59656
+ },
59657
+ "members_can_create_public_pages": {
59658
+ "type": "boolean",
59659
+ "example": true
59660
+ },
59661
+ "members_can_create_private_pages": {
59662
+ "type": "boolean",
59663
+ "example": true
59664
+ },
59665
+ "members_can_fork_private_repositories": {
59666
+ "type": "boolean",
59667
+ "example": false,
59668
+ "nullable": true
59669
+ },
59670
+ "web_commit_signoff_required": {
59671
+ "type": "boolean",
59672
+ "example": false
59673
+ },
59674
+ "updated_at": {
59675
+ "type": "string",
59676
+ "format": "date-time"
59677
+ }
59678
+ },
59679
+ "required": [
59680
+ "login",
59681
+ "url",
59682
+ "id",
59683
+ "node_id",
59684
+ "repos_url",
59685
+ "events_url",
59686
+ "hooks_url",
59687
+ "issues_url",
59688
+ "members_url",
59689
+ "public_members_url",
59690
+ "avatar_url",
59691
+ "description",
59692
+ "html_url",
59693
+ "has_organization_projects",
59694
+ "has_repository_projects",
59695
+ "public_repos",
59696
+ "public_gists",
59697
+ "followers",
59698
+ "following",
59699
+ "type",
59700
+ "created_at",
59701
+ "updated_at"
59702
+ ]
59703
+ },
59069
59704
  "team-full": {
59070
59705
  "title": "Full Team",
59071
59706
  "description": "Groups of organization members that gives permissions on specified repositories.",
@@ -59150,7 +59785,7 @@
59150
59785
  "example": "2017-08-17T12:37:15Z"
59151
59786
  },
59152
59787
  "organization": {
59153
- "$ref": "#/components/schemas/organization-full"
59788
+ "$ref": "#/components/schemas/team-organization"
59154
59789
  },
59155
59790
  "ldap_dn": {
59156
59791
  "description": "Distinguished Name (DN) that team maps to within LDAP environment",
@@ -63798,6 +64433,11 @@
63798
64433
  "nullable": true,
63799
64434
  "type": "string",
63800
64435
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
64436
+ },
64437
+ "help_uri": {
64438
+ "nullable": true,
64439
+ "type": "string",
64440
+ "description": "A link to the documentation for the rule used to detect the alert."
63801
64441
  }
63802
64442
  }
63803
64443
  },
@@ -82890,6 +83530,109 @@
82890
83530
  }
82891
83531
  ]
82892
83532
  },
83533
+ "branch-get": {
83534
+ "value": {
83535
+ "name": "main",
83536
+ "commit": {
83537
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83538
+ "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
83539
+ "commit": {
83540
+ "author": {
83541
+ "name": "The Octocat",
83542
+ "email": "octocat@nowhere.com",
83543
+ "date": "2012-03-06T23:06:50Z"
83544
+ },
83545
+ "committer": {
83546
+ "name": "The Octocat",
83547
+ "email": "octocat@nowhere.com",
83548
+ "date": "2012-03-06T23:06:50Z"
83549
+ },
83550
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
83551
+ "tree": {
83552
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
83553
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
83554
+ },
83555
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83556
+ "comment_count": 77,
83557
+ "verification": {
83558
+ "verified": false,
83559
+ "reason": "unsigned",
83560
+ "signature": null,
83561
+ "payload": null
83562
+ }
83563
+ },
83564
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83565
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
83566
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
83567
+ "author": {
83568
+ "login": "octocat",
83569
+ "id": 583231,
83570
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
83571
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
83572
+ "gravatar_id": "",
83573
+ "url": "https://api.github.com/users/octocat",
83574
+ "html_url": "https://github.com/octocat",
83575
+ "followers_url": "https://api.github.com/users/octocat/followers",
83576
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
83577
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
83578
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
83579
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
83580
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
83581
+ "repos_url": "https://api.github.com/users/octocat/repos",
83582
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
83583
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
83584
+ "type": "User",
83585
+ "site_admin": false
83586
+ },
83587
+ "committer": {
83588
+ "login": "octocat",
83589
+ "id": 583231,
83590
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
83591
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
83592
+ "gravatar_id": "",
83593
+ "url": "https://api.github.com/users/octocat",
83594
+ "html_url": "https://github.com/octocat",
83595
+ "followers_url": "https://api.github.com/users/octocat/followers",
83596
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
83597
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
83598
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
83599
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
83600
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
83601
+ "repos_url": "https://api.github.com/users/octocat/repos",
83602
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
83603
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
83604
+ "type": "User",
83605
+ "site_admin": false
83606
+ },
83607
+ "parents": [
83608
+ {
83609
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
83610
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
83611
+ "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
83612
+ },
83613
+ {
83614
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
83615
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
83616
+ "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
83617
+ }
83618
+ ]
83619
+ },
83620
+ "_links": {
83621
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
83622
+ "html": "https://github.com/octocat/Hello-World/tree/main"
83623
+ },
83624
+ "protected": false,
83625
+ "protection": {
83626
+ "enabled": false,
83627
+ "required_status_checks": {
83628
+ "enforcement_level": "off",
83629
+ "contexts": [],
83630
+ "checks": []
83631
+ }
83632
+ },
83633
+ "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
83634
+ }
83635
+ },
82893
83636
  "branch-protection": {
82894
83637
  "value": {
82895
83638
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
@@ -83086,6 +83829,71 @@
83086
83829
  }
83087
83830
  }
83088
83831
  },
83832
+ "branch-protection-update": {
83833
+ "value": {
83834
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
83835
+ "required_status_checks": {
83836
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
83837
+ "strict": true,
83838
+ "contexts": [
83839
+ "continuous-integration/travis-ci"
83840
+ ],
83841
+ "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
83842
+ "checks": [
83843
+ {
83844
+ "context": "continuous-integration/travis-ci",
83845
+ "app_id": null
83846
+ }
83847
+ ]
83848
+ },
83849
+ "restrictions": {
83850
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
83851
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
83852
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
83853
+ "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
83854
+ "users": [],
83855
+ "teams": [],
83856
+ "apps": []
83857
+ },
83858
+ "required_pull_request_reviews": {
83859
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
83860
+ "dismiss_stale_reviews": true,
83861
+ "require_code_owner_reviews": true,
83862
+ "required_approving_review_count": 2,
83863
+ "dismissal_restrictions": {
83864
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
83865
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
83866
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
83867
+ "users": [],
83868
+ "teams": [],
83869
+ "apps": []
83870
+ }
83871
+ },
83872
+ "required_signatures": {
83873
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
83874
+ "enabled": false
83875
+ },
83876
+ "enforce_admins": {
83877
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
83878
+ "enabled": true
83879
+ },
83880
+ "required_linear_history": {
83881
+ "enabled": true
83882
+ },
83883
+ "allow_force_pushes": {
83884
+ "enabled": true
83885
+ },
83886
+ "allow_deletions": {
83887
+ "enabled": true
83888
+ },
83889
+ "block_creations": {
83890
+ "enabled": true
83891
+ },
83892
+ "required_conversation_resolution": {
83893
+ "enabled": true
83894
+ }
83895
+ }
83896
+ },
83089
83897
  "protected-branch-admin-enforced-2": {
83090
83898
  "value": {
83091
83899
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
@@ -84404,7 +85212,8 @@
84404
85212
  "security",
84405
85213
  "external/cwe/cwe-022"
84406
85214
  ],
84407
- "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 ..."
85215
+ "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 ...",
85216
+ "help_uri": "https://codeql.github.com/"
84408
85217
  },
84409
85218
  "tool": {
84410
85219
  "name": "CodeQL",
@@ -84475,7 +85284,8 @@
84475
85284
  "security",
84476
85285
  "external/cwe/cwe-022"
84477
85286
  ],
84478
- "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 ..."
85287
+ "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 ...",
85288
+ "help_uri": "https://codeql.github.com/"
84479
85289
  },
84480
85290
  "tool": {
84481
85291
  "name": "CodeQL",
@@ -87815,7 +88625,8 @@
87815
88625
  "type": "User",
87816
88626
  "site_admin": false
87817
88627
  },
87818
- "author_association": "COLLABORATOR"
88628
+ "author_association": "COLLABORATOR",
88629
+ "state_reason": "completed"
87819
88630
  }
87820
88631
  ]
87821
88632
  },
@@ -87975,7 +88786,8 @@
87975
88786
  "type": "User",
87976
88787
  "site_admin": false
87977
88788
  },
87978
- "author_association": "COLLABORATOR"
88789
+ "author_association": "COLLABORATOR",
88790
+ "state_reason": "completed"
87979
88791
  }
87980
88792
  },
87981
88793
  "issue-comment-items": {
@@ -88211,7 +89023,8 @@
88211
89023
  "closed_at": null,
88212
89024
  "created_at": "2011-04-22T13:33:48Z",
88213
89025
  "updated_at": "2011-04-22T13:33:48Z",
88214
- "author_association": "COLLABORATOR"
89026
+ "author_association": "COLLABORATOR",
89027
+ "state_reason": "completed"
88215
89028
  }
88216
89029
  }
88217
89030
  ]
@@ -88420,7 +89233,8 @@
88420
89233
  "closed_at": null,
88421
89234
  "created_at": "2011-04-22T13:33:48Z",
88422
89235
  "updated_at": "2011-04-22T13:33:48Z",
88423
- "author_association": "COLLABORATOR"
89236
+ "author_association": "COLLABORATOR",
89237
+ "state_reason": "completed"
88424
89238
  }
88425
89239
  }
88426
89240
  },
@@ -92599,7 +93413,8 @@
92599
93413
  "body": "...",
92600
93414
  "score": 1,
92601
93415
  "locked": true,
92602
- "author_association": "COLLABORATOR"
93416
+ "author_association": "COLLABORATOR",
93417
+ "state_reason": "completed"
92603
93418
  }
92604
93419
  ]
92605
93420
  }