@octokit/openapi 7.4.0 → 7.7.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 (35) hide show
  1. package/generated/api.github.com.deref.json +2550 -227
  2. package/generated/api.github.com.json +1233 -110
  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 +31 -25
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
  7. package/generated/ghes-3.2.deref.json +319 -242
  8. package/generated/ghes-3.2.json +558 -26
  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 +187 -223
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
  12. package/generated/ghes-3.3.deref.json +319 -244
  13. package/generated/ghes-3.3.json +558 -27
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
  16. package/generated/ghes-3.4.deref.json +322 -230
  17. package/generated/ghes-3.4.json +566 -29
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +784 -135
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +46103 -29773
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +7990 -3300
  23. package/generated/ghes-3.5.deref.json +406 -242
  24. package/generated/ghes-3.5.json +650 -41
  25. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +504 -89
  26. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18076 -6602
  27. package/generated/ghes-3.6-diff-to-api.github.com.json +6698 -4308
  28. package/generated/ghes-3.6.deref.json +1275 -241
  29. package/generated/ghes-3.6.json +839 -41
  30. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +332 -32
  31. package/generated/github.ae-diff-to-api.github.com.deref.json +24643 -16633
  32. package/generated/github.ae-diff-to-api.github.com.json +1184 -30
  33. package/generated/github.ae.deref.json +1298 -163
  34. package/generated/github.ae.json +878 -35
  35. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.4.0",
4
+ "version": "7.7.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": {
@@ -2906,7 +2906,13 @@
2906
2906
  "category": "apps",
2907
2907
  "subcategory": null
2908
2908
  },
2909
- "x-octokit": {}
2909
+ "x-octokit": {
2910
+ "diff": {
2911
+ "api.github.com": {
2912
+ "type": "changed"
2913
+ }
2914
+ }
2915
+ }
2910
2916
  }
2911
2917
  },
2912
2918
  "/app/installations/{installation_id}": {
@@ -2952,7 +2958,13 @@
2952
2958
  "category": "apps",
2953
2959
  "subcategory": null
2954
2960
  },
2955
- "x-octokit": {}
2961
+ "x-octokit": {
2962
+ "diff": {
2963
+ "api.github.com": {
2964
+ "type": "changed"
2965
+ }
2966
+ }
2967
+ }
2956
2968
  },
2957
2969
  "delete": {
2958
2970
  "summary": "Delete an installation for the authenticated app",
@@ -3083,7 +3095,13 @@
3083
3095
  "category": "apps",
3084
3096
  "subcategory": null
3085
3097
  },
3086
- "x-octokit": {}
3098
+ "x-octokit": {
3099
+ "diff": {
3100
+ "api.github.com": {
3101
+ "type": "changed"
3102
+ }
3103
+ }
3104
+ }
3087
3105
  }
3088
3106
  },
3089
3107
  "/app/installations/{installation_id}/suspended": {
@@ -3476,7 +3494,13 @@
3476
3494
  "category": "apps",
3477
3495
  "subcategory": "oauth-applications"
3478
3496
  },
3479
- "x-octokit": {}
3497
+ "x-octokit": {
3498
+ "diff": {
3499
+ "api.github.com": {
3500
+ "type": "changed"
3501
+ }
3502
+ }
3503
+ }
3480
3504
  },
3481
3505
  "patch": {
3482
3506
  "summary": "Reset a token",
@@ -3546,7 +3570,13 @@
3546
3570
  "category": "apps",
3547
3571
  "subcategory": "oauth-applications"
3548
3572
  },
3549
- "x-octokit": {}
3573
+ "x-octokit": {
3574
+ "diff": {
3575
+ "api.github.com": {
3576
+ "type": "changed"
3577
+ }
3578
+ }
3579
+ }
3550
3580
  },
3551
3581
  "delete": {
3552
3582
  "summary": "Delete an app token",
@@ -3723,7 +3753,13 @@
3723
3753
  "category": "apps",
3724
3754
  "subcategory": "oauth-applications"
3725
3755
  },
3726
- "x-octokit": {}
3756
+ "x-octokit": {
3757
+ "diff": {
3758
+ "api.github.com": {
3759
+ "type": "changed"
3760
+ }
3761
+ }
3762
+ }
3727
3763
  }
3728
3764
  },
3729
3765
  "/apps/{app_slug}": {
@@ -10002,7 +10038,7 @@
10002
10038
  "/organizations/{organization_id}/custom_roles": {
10003
10039
  "get": {
10004
10040
  "summary": "List custom repository roles in an organization",
10005
- "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.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
10041
+ "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.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
10006
10042
  "tags": [
10007
10043
  "orgs"
10008
10044
  ],
@@ -10104,7 +10140,13 @@
10104
10140
  "category": "orgs",
10105
10141
  "subcategory": null
10106
10142
  },
10107
- "x-octokit": {}
10143
+ "x-octokit": {
10144
+ "diff": {
10145
+ "api.github.com": {
10146
+ "type": "changed"
10147
+ }
10148
+ }
10149
+ }
10108
10150
  },
10109
10151
  "patch": {
10110
10152
  "summary": "Update an organization",
@@ -10212,6 +10254,11 @@
10212
10254
  "description": "Whether organization members can fork private organization repositories.",
10213
10255
  "default": false
10214
10256
  },
10257
+ "web_commit_signoff_required": {
10258
+ "type": "boolean",
10259
+ "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.",
10260
+ "default": false
10261
+ },
10215
10262
  "blog": {
10216
10263
  "type": "string",
10217
10264
  "example": "\"http://github.blog\""
@@ -14215,7 +14262,13 @@
14215
14262
  "category": "apps",
14216
14263
  "subcategory": null
14217
14264
  },
14218
- "x-octokit": {}
14265
+ "x-octokit": {
14266
+ "diff": {
14267
+ "api.github.com": {
14268
+ "type": "changed"
14269
+ }
14270
+ }
14271
+ }
14219
14272
  }
14220
14273
  },
14221
14274
  "/orgs/{org}/installations": {
@@ -14284,7 +14337,13 @@
14284
14337
  "category": "orgs",
14285
14338
  "subcategory": null
14286
14339
  },
14287
- "x-octokit": {}
14340
+ "x-octokit": {
14341
+ "diff": {
14342
+ "api.github.com": {
14343
+ "type": "changed"
14344
+ }
14345
+ }
14346
+ }
14288
14347
  }
14289
14348
  },
14290
14349
  "/orgs/{org}/issues": {
@@ -20304,6 +20363,11 @@
20304
20363
  "type": "boolean",
20305
20364
  "description": "Either `true` to allow private forks, or `false` to prevent private forks.",
20306
20365
  "default": false
20366
+ },
20367
+ "web_commit_signoff_required": {
20368
+ "type": "boolean",
20369
+ "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.",
20370
+ "default": false
20307
20371
  }
20308
20372
  }
20309
20373
  },
@@ -24067,6 +24131,11 @@
24067
24131
  "application/json": {
24068
24132
  "schema": {
24069
24133
  "$ref": "#/components/schemas/branch-with-protection"
24134
+ },
24135
+ "examples": {
24136
+ "default": {
24137
+ "$ref": "#/components/examples/branch-get"
24138
+ }
24070
24139
  }
24071
24140
  }
24072
24141
  }
@@ -24409,6 +24478,11 @@
24409
24478
  "application/json": {
24410
24479
  "schema": {
24411
24480
  "$ref": "#/components/schemas/protected-branch"
24481
+ },
24482
+ "examples": {
24483
+ "default": {
24484
+ "$ref": "#/components/examples/branch-protection-update"
24485
+ }
24412
24486
  }
24413
24487
  }
24414
24488
  }
@@ -25283,7 +25357,7 @@
25283
25357
  "properties": {
25284
25358
  "contexts": {
25285
25359
  "type": "array",
25286
- "description": "contexts parameter",
25360
+ "description": "The name of the status checks",
25287
25361
  "items": {
25288
25362
  "type": "string"
25289
25363
  }
@@ -25299,6 +25373,17 @@
25299
25373
  }
25300
25374
  }
25301
25375
  ]
25376
+ },
25377
+ "examples": {
25378
+ "default": {
25379
+ "summary": "Example adding status checks to a branch protection rule",
25380
+ "value": {
25381
+ "contexts": [
25382
+ "continuous-integration/travis-ci",
25383
+ "continuous-integration/jenkins"
25384
+ ]
25385
+ }
25386
+ }
25302
25387
  }
25303
25388
  }
25304
25389
  }
@@ -25377,7 +25462,7 @@
25377
25462
  "properties": {
25378
25463
  "contexts": {
25379
25464
  "type": "array",
25380
- "description": "contexts parameter",
25465
+ "description": "The name of the status checks",
25381
25466
  "items": {
25382
25467
  "type": "string"
25383
25468
  }
@@ -25393,6 +25478,16 @@
25393
25478
  }
25394
25479
  }
25395
25480
  ]
25481
+ },
25482
+ "examples": {
25483
+ "default": {
25484
+ "summary": "Example updating status checks for a branch protection rule",
25485
+ "value": {
25486
+ "contexts": [
25487
+ "continuous-integration/travis-ci"
25488
+ ]
25489
+ }
25490
+ }
25396
25491
  }
25397
25492
  }
25398
25493
  }
@@ -25466,7 +25561,7 @@
25466
25561
  "properties": {
25467
25562
  "contexts": {
25468
25563
  "type": "array",
25469
- "description": "contexts parameter",
25564
+ "description": "The name of the status checks",
25470
25565
  "items": {
25471
25566
  "type": "string"
25472
25567
  }
@@ -25482,6 +25577,16 @@
25482
25577
  }
25483
25578
  }
25484
25579
  ]
25580
+ },
25581
+ "examples": {
25582
+ "default": {
25583
+ "summary": "Example removing status checks from a branch protection rule",
25584
+ "value": {
25585
+ "contexts": [
25586
+ "continuous-integration/travis-ci"
25587
+ ]
25588
+ }
25589
+ }
25485
25590
  }
25486
25591
  }
25487
25592
  }
@@ -26007,7 +26112,7 @@
26007
26112
  "properties": {
26008
26113
  "teams": {
26009
26114
  "type": "array",
26010
- "description": "teams parameter",
26115
+ "description": "The slug values for teams",
26011
26116
  "items": {
26012
26117
  "type": "string"
26013
26118
  }
@@ -26023,6 +26128,16 @@
26023
26128
  }
26024
26129
  }
26025
26130
  ]
26131
+ },
26132
+ "examples": {
26133
+ "default": {
26134
+ "summary": "Example adding a team in a branch protection rule",
26135
+ "value": {
26136
+ "teams": [
26137
+ "justice-league"
26138
+ ]
26139
+ }
26140
+ }
26026
26141
  }
26027
26142
  }
26028
26143
  }
@@ -26092,7 +26207,7 @@
26092
26207
  "properties": {
26093
26208
  "teams": {
26094
26209
  "type": "array",
26095
- "description": "teams parameter",
26210
+ "description": "The slug values for teams",
26096
26211
  "items": {
26097
26212
  "type": "string"
26098
26213
  }
@@ -26103,11 +26218,21 @@
26103
26218
  ],
26104
26219
  "example": {
26105
26220
  "teams": [
26106
- "my-team"
26221
+ "justice-league"
26107
26222
  ]
26108
26223
  }
26109
26224
  }
26110
26225
  ]
26226
+ },
26227
+ "examples": {
26228
+ "default": {
26229
+ "summary": "Example replacing a team in a branch protection rule",
26230
+ "value": {
26231
+ "teams": [
26232
+ "justice-league"
26233
+ ]
26234
+ }
26235
+ }
26111
26236
  }
26112
26237
  }
26113
26238
  }
@@ -26176,7 +26301,7 @@
26176
26301
  "properties": {
26177
26302
  "teams": {
26178
26303
  "type": "array",
26179
- "description": "teams parameter",
26304
+ "description": "The slug values for teams",
26180
26305
  "items": {
26181
26306
  "type": "string"
26182
26307
  }
@@ -26192,6 +26317,16 @@
26192
26317
  }
26193
26318
  }
26194
26319
  ]
26320
+ },
26321
+ "examples": {
26322
+ "default": {
26323
+ "summary": "Example removing a team in a branch protection rule",
26324
+ "value": {
26325
+ "teams": [
26326
+ "justice-league"
26327
+ ]
26328
+ }
26329
+ }
26195
26330
  }
26196
26331
  }
26197
26332
  }
@@ -26316,7 +26451,7 @@
26316
26451
  "properties": {
26317
26452
  "users": {
26318
26453
  "type": "array",
26319
- "description": "users parameter",
26454
+ "description": "The username for users",
26320
26455
  "items": {
26321
26456
  "type": "string"
26322
26457
  }
@@ -26332,6 +26467,16 @@
26332
26467
  }
26333
26468
  }
26334
26469
  ]
26470
+ },
26471
+ "examples": {
26472
+ "default": {
26473
+ "summary": "Example adding a user in a branch protection rule",
26474
+ "value": {
26475
+ "users": [
26476
+ "octocat"
26477
+ ]
26478
+ }
26479
+ }
26335
26480
  }
26336
26481
  }
26337
26482
  }
@@ -26401,7 +26546,7 @@
26401
26546
  "properties": {
26402
26547
  "users": {
26403
26548
  "type": "array",
26404
- "description": "users parameter",
26549
+ "description": "The username for users",
26405
26550
  "items": {
26406
26551
  "type": "string"
26407
26552
  }
@@ -26417,6 +26562,16 @@
26417
26562
  }
26418
26563
  }
26419
26564
  ]
26565
+ },
26566
+ "examples": {
26567
+ "default": {
26568
+ "summary": "Example replacing a user in a branch protection rule",
26569
+ "value": {
26570
+ "users": [
26571
+ "octocat"
26572
+ ]
26573
+ }
26574
+ }
26420
26575
  }
26421
26576
  }
26422
26577
  }
@@ -26485,7 +26640,7 @@
26485
26640
  "properties": {
26486
26641
  "users": {
26487
26642
  "type": "array",
26488
- "description": "users parameter",
26643
+ "description": "The username for users",
26489
26644
  "items": {
26490
26645
  "type": "string"
26491
26646
  }
@@ -26501,6 +26656,16 @@
26501
26656
  }
26502
26657
  }
26503
26658
  ]
26659
+ },
26660
+ "examples": {
26661
+ "default": {
26662
+ "summary": "Example removing a user in a branch protection rule",
26663
+ "value": {
26664
+ "users": [
26665
+ "octocat"
26666
+ ]
26667
+ }
26668
+ }
26504
26669
  }
26505
26670
  }
26506
26671
  }
@@ -28252,7 +28417,13 @@
28252
28417
  "githubCloudOnly": false,
28253
28418
  "category": "code-scanning"
28254
28419
  },
28255
- "x-octokit": {}
28420
+ "x-octokit": {
28421
+ "diff": {
28422
+ "api.github.com": {
28423
+ "type": "changed"
28424
+ }
28425
+ }
28426
+ }
28256
28427
  }
28257
28428
  },
28258
28429
  "/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": {
@@ -28330,7 +28501,7 @@
28330
28501
  },
28331
28502
  "delete": {
28332
28503
  "summary": "Delete a code scanning analysis from a repository",
28333
- "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* `analysis_key`\n* `environment`\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.",
28504
+ "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.",
28334
28505
  "operationId": "code-scanning/delete-analysis",
28335
28506
  "tags": [
28336
28507
  "code-scanning"
@@ -30256,7 +30427,7 @@
30256
30427
  "/repos/{owner}/{repo}/contents/{path}": {
30257
30428
  "get": {
30258
30429
  "summary": "Get repository content",
30259
- "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.6/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.6/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/enterprise-server@3.6/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.6/rest/reference/git#get-a-tree).\n\n#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/enterprise-server@3.6/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\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.",
30430
+ "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.6/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.6/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.6/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.6/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#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/enterprise-server@3.6/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\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.",
30260
30431
  "tags": [
30261
30432
  "repos"
30262
30433
  ],
@@ -34539,7 +34710,13 @@
34539
34710
  "category": "apps",
34540
34711
  "subcategory": null
34541
34712
  },
34542
- "x-octokit": {}
34713
+ "x-octokit": {
34714
+ "diff": {
34715
+ "api.github.com": {
34716
+ "type": "changed"
34717
+ }
34718
+ }
34719
+ }
34543
34720
  }
34544
34721
  },
34545
34722
  "/repos/{owner}/{repo}/invitations": {
@@ -34644,6 +34821,14 @@
34644
34821
  ]
34645
34822
  }
34646
34823
  }
34824
+ },
34825
+ "examples": {
34826
+ "default": {
34827
+ "summary": "Example request body",
34828
+ "value": {
34829
+ "permissions": "write"
34830
+ }
34831
+ }
34647
34832
  }
34648
34833
  }
34649
34834
  }
@@ -35739,6 +35924,12 @@
35739
35924
  "closed"
35740
35925
  ]
35741
35926
  },
35927
+ "state_reason": {
35928
+ "type": "string",
35929
+ "nullable": true,
35930
+ "description": "The reason for the current state",
35931
+ "example": "not_planned"
35932
+ },
35742
35933
  "milestone": {
35743
35934
  "oneOf": [
35744
35935
  {
@@ -50108,7 +50299,13 @@
50108
50299
  "category": "apps",
50109
50300
  "subcategory": "installations"
50110
50301
  },
50111
- "x-octokit": {}
50302
+ "x-octokit": {
50303
+ "diff": {
50304
+ "api.github.com": {
50305
+ "type": "changed"
50306
+ }
50307
+ }
50308
+ }
50112
50309
  }
50113
50310
  },
50114
50311
  "/user/installations/{installation_id}/repositories": {
@@ -52967,7 +53164,13 @@
52967
53164
  "category": "apps",
52968
53165
  "subcategory": null
52969
53166
  },
52970
- "x-octokit": {}
53167
+ "x-octokit": {
53168
+ "diff": {
53169
+ "api.github.com": {
53170
+ "type": "changed"
53171
+ }
53172
+ }
53173
+ }
52971
53174
  }
52972
53175
  },
52973
53176
  "/users/{username}/keys": {
@@ -55074,6 +55277,28 @@
55074
55277
  }
55075
55278
  }
55076
55279
  },
55280
+ "/orgs/{org}/{security_product}/{enablement}": {
55281
+ "post": {
55282
+ "summary": "Enable or disable a security feature for an organization",
55283
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55284
+ "tags": [
55285
+ "orgs"
55286
+ ],
55287
+ "operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
55288
+ "externalDocs": {
55289
+ "description": "API method documentation",
55290
+ "url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
55291
+ },
55292
+ "x-octokit": {
55293
+ "api.github.com": "removed"
55294
+ },
55295
+ "responses": {
55296
+ "501": {
55297
+ "description": "Not Implemented"
55298
+ }
55299
+ }
55300
+ }
55301
+ },
55077
55302
  "/repos/{owner}/{repo}/actions/caches": {
55078
55303
  "get": {
55079
55304
  "summary": "List GitHub Actions caches for a repository",
@@ -57257,6 +57482,90 @@
57257
57482
  }
57258
57483
  }
57259
57484
  },
57485
+ "/user/ssh_signing_keys": {
57486
+ "get": {
57487
+ "summary": "List SSH signing keys for the authenticated user",
57488
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
57489
+ "tags": [
57490
+ "users"
57491
+ ],
57492
+ "operationId": "users/list-ssh-signing-keys-for-authenticated-user",
57493
+ "externalDocs": {
57494
+ "description": "API method documentation",
57495
+ "url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
57496
+ },
57497
+ "x-octokit": {
57498
+ "api.github.com": "removed"
57499
+ },
57500
+ "responses": {
57501
+ "501": {
57502
+ "description": "Not Implemented"
57503
+ }
57504
+ }
57505
+ },
57506
+ "post": {
57507
+ "summary": "Create a SSH signing key for the authenticated user",
57508
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
57509
+ "operationId": "users/create-ssh-signing-key-for-authenticated-user",
57510
+ "tags": [
57511
+ "users"
57512
+ ],
57513
+ "externalDocs": {
57514
+ "description": "API method documentation",
57515
+ "url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
57516
+ },
57517
+ "x-octokit": {
57518
+ "api.github.com": "removed"
57519
+ },
57520
+ "responses": {
57521
+ "501": {
57522
+ "description": "Not Implemented"
57523
+ }
57524
+ }
57525
+ }
57526
+ },
57527
+ "/user/ssh_signing_keys/{ssh_signing_key_id}": {
57528
+ "get": {
57529
+ "summary": "Get an SSH signing key for the authenticated user",
57530
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
57531
+ "tags": [
57532
+ "users"
57533
+ ],
57534
+ "operationId": "users/get-ssh-signing-key-for-authenticated-user",
57535
+ "externalDocs": {
57536
+ "description": "API method documentation",
57537
+ "url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
57538
+ },
57539
+ "x-octokit": {
57540
+ "api.github.com": "removed"
57541
+ },
57542
+ "responses": {
57543
+ "501": {
57544
+ "description": "Not Implemented"
57545
+ }
57546
+ }
57547
+ },
57548
+ "delete": {
57549
+ "summary": "Delete an SSH signing key for the authenticated user",
57550
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
57551
+ "tags": [
57552
+ "users"
57553
+ ],
57554
+ "operationId": "users/delete-ssh-signing-key-for-authenticated-user",
57555
+ "externalDocs": {
57556
+ "description": "API method documentation",
57557
+ "url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
57558
+ },
57559
+ "x-octokit": {
57560
+ "api.github.com": "removed"
57561
+ },
57562
+ "responses": {
57563
+ "501": {
57564
+ "description": "Not Implemented"
57565
+ }
57566
+ }
57567
+ }
57568
+ },
57260
57569
  "/users/{username}/packages": {
57261
57570
  "get": {
57262
57571
  "summary": "List packages for a user",
@@ -57494,6 +57803,28 @@
57494
57803
  }
57495
57804
  }
57496
57805
  }
57806
+ },
57807
+ "/users/{username}/ssh_signing_keys": {
57808
+ "get": {
57809
+ "summary": "List SSH signing keys for a user",
57810
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
57811
+ "tags": [
57812
+ "users"
57813
+ ],
57814
+ "operationId": "users/list-ssh-signing-keys-for-user",
57815
+ "externalDocs": {
57816
+ "description": "API method documentation",
57817
+ "url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
57818
+ },
57819
+ "x-octokit": {
57820
+ "api.github.com": "removed"
57821
+ },
57822
+ "responses": {
57823
+ "501": {
57824
+ "description": "Not Implemented"
57825
+ }
57826
+ }
57827
+ }
57497
57828
  }
57498
57829
  },
57499
57830
  "components": {
@@ -58494,14 +58825,6 @@
58494
58825
  "write"
58495
58826
  ]
58496
58827
  },
58497
- "organization_custom_roles": {
58498
- "type": "string",
58499
- "description": "The level of permission to grant the access token for custom roles management.",
58500
- "enum": [
58501
- "read",
58502
- "write"
58503
- ]
58504
- },
58505
58828
  "deployments": {
58506
58829
  "type": "string",
58507
58830
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -60563,6 +60886,11 @@
60563
60886
  "description": "Whether to allow forking this repo",
60564
60887
  "type": "boolean"
60565
60888
  },
60889
+ "web_commit_signoff_required": {
60890
+ "description": "Whether to require contributors to sign off on web-based commits",
60891
+ "default": false,
60892
+ "type": "boolean"
60893
+ },
60566
60894
  "subscribers_count": {
60567
60895
  "type": "integer"
60568
60896
  },
@@ -64656,6 +64984,11 @@
64656
64984
  "description": "Whether to allow forking this repo",
64657
64985
  "type": "boolean"
64658
64986
  },
64987
+ "web_commit_signoff_required": {
64988
+ "description": "Whether to require contributors to sign off on web-based commits",
64989
+ "default": false,
64990
+ "type": "boolean"
64991
+ },
64659
64992
  "subscribers_count": {
64660
64993
  "type": "integer"
64661
64994
  },
@@ -65125,6 +65458,10 @@
65125
65458
  },
65126
65459
  "allow_forking": {
65127
65460
  "type": "boolean"
65461
+ },
65462
+ "web_commit_signoff_required": {
65463
+ "type": "boolean",
65464
+ "example": false
65128
65465
  }
65129
65466
  },
65130
65467
  "required": [
@@ -65535,6 +65872,10 @@
65535
65872
  "example": false,
65536
65873
  "nullable": true
65537
65874
  },
65875
+ "web_commit_signoff_required": {
65876
+ "type": "boolean",
65877
+ "example": false
65878
+ },
65538
65879
  "updated_at": {
65539
65880
  "type": "string",
65540
65881
  "format": "date-time"
@@ -66655,6 +66996,267 @@
66655
66996
  "parent"
66656
66997
  ]
66657
66998
  },
66999
+ "team-organization": {
67000
+ "title": "Team Organization",
67001
+ "description": "Team Organization",
67002
+ "type": "object",
67003
+ "properties": {
67004
+ "login": {
67005
+ "type": "string",
67006
+ "example": "github"
67007
+ },
67008
+ "id": {
67009
+ "type": "integer",
67010
+ "example": 1
67011
+ },
67012
+ "node_id": {
67013
+ "type": "string",
67014
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
67015
+ },
67016
+ "url": {
67017
+ "type": "string",
67018
+ "format": "uri",
67019
+ "example": "https://api.github.com/orgs/github"
67020
+ },
67021
+ "repos_url": {
67022
+ "type": "string",
67023
+ "format": "uri",
67024
+ "example": "https://api.github.com/orgs/github/repos"
67025
+ },
67026
+ "events_url": {
67027
+ "type": "string",
67028
+ "format": "uri",
67029
+ "example": "https://api.github.com/orgs/github/events"
67030
+ },
67031
+ "hooks_url": {
67032
+ "type": "string",
67033
+ "example": "https://api.github.com/orgs/github/hooks"
67034
+ },
67035
+ "issues_url": {
67036
+ "type": "string",
67037
+ "example": "https://api.github.com/orgs/github/issues"
67038
+ },
67039
+ "members_url": {
67040
+ "type": "string",
67041
+ "example": "https://api.github.com/orgs/github/members{/member}"
67042
+ },
67043
+ "public_members_url": {
67044
+ "type": "string",
67045
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
67046
+ },
67047
+ "avatar_url": {
67048
+ "type": "string",
67049
+ "example": "https://github.com/images/error/octocat_happy.gif"
67050
+ },
67051
+ "description": {
67052
+ "type": "string",
67053
+ "example": "A great organization",
67054
+ "nullable": true
67055
+ },
67056
+ "name": {
67057
+ "type": "string",
67058
+ "example": "github"
67059
+ },
67060
+ "company": {
67061
+ "type": "string",
67062
+ "example": "GitHub"
67063
+ },
67064
+ "blog": {
67065
+ "type": "string",
67066
+ "format": "uri",
67067
+ "example": "https://github.com/blog"
67068
+ },
67069
+ "location": {
67070
+ "type": "string",
67071
+ "example": "San Francisco"
67072
+ },
67073
+ "email": {
67074
+ "type": "string",
67075
+ "format": "email",
67076
+ "example": "octocat@github.com"
67077
+ },
67078
+ "twitter_username": {
67079
+ "type": "string",
67080
+ "example": "github",
67081
+ "nullable": true
67082
+ },
67083
+ "is_verified": {
67084
+ "type": "boolean",
67085
+ "example": true
67086
+ },
67087
+ "has_organization_projects": {
67088
+ "type": "boolean",
67089
+ "example": true
67090
+ },
67091
+ "has_repository_projects": {
67092
+ "type": "boolean",
67093
+ "example": true
67094
+ },
67095
+ "public_repos": {
67096
+ "type": "integer",
67097
+ "example": 2
67098
+ },
67099
+ "public_gists": {
67100
+ "type": "integer",
67101
+ "example": 1
67102
+ },
67103
+ "followers": {
67104
+ "type": "integer",
67105
+ "example": 20
67106
+ },
67107
+ "following": {
67108
+ "type": "integer",
67109
+ "example": 0
67110
+ },
67111
+ "html_url": {
67112
+ "type": "string",
67113
+ "format": "uri",
67114
+ "example": "https://github.com/octocat"
67115
+ },
67116
+ "created_at": {
67117
+ "type": "string",
67118
+ "format": "date-time",
67119
+ "example": "2008-01-14T04:33:35Z"
67120
+ },
67121
+ "type": {
67122
+ "type": "string",
67123
+ "example": "Organization"
67124
+ },
67125
+ "total_private_repos": {
67126
+ "type": "integer",
67127
+ "example": 100
67128
+ },
67129
+ "owned_private_repos": {
67130
+ "type": "integer",
67131
+ "example": 100
67132
+ },
67133
+ "private_gists": {
67134
+ "type": "integer",
67135
+ "example": 81,
67136
+ "nullable": true
67137
+ },
67138
+ "disk_usage": {
67139
+ "type": "integer",
67140
+ "example": 10000,
67141
+ "nullable": true
67142
+ },
67143
+ "collaborators": {
67144
+ "type": "integer",
67145
+ "example": 8,
67146
+ "nullable": true
67147
+ },
67148
+ "billing_email": {
67149
+ "type": "string",
67150
+ "format": "email",
67151
+ "example": "org@example.com",
67152
+ "nullable": true
67153
+ },
67154
+ "plan": {
67155
+ "type": "object",
67156
+ "properties": {
67157
+ "name": {
67158
+ "type": "string"
67159
+ },
67160
+ "space": {
67161
+ "type": "integer"
67162
+ },
67163
+ "private_repos": {
67164
+ "type": "integer"
67165
+ },
67166
+ "filled_seats": {
67167
+ "type": "integer"
67168
+ },
67169
+ "seats": {
67170
+ "type": "integer"
67171
+ }
67172
+ },
67173
+ "required": [
67174
+ "name",
67175
+ "space",
67176
+ "private_repos"
67177
+ ]
67178
+ },
67179
+ "default_repository_permission": {
67180
+ "type": "string",
67181
+ "nullable": true
67182
+ },
67183
+ "members_can_create_repositories": {
67184
+ "type": "boolean",
67185
+ "example": true,
67186
+ "nullable": true
67187
+ },
67188
+ "two_factor_requirement_enabled": {
67189
+ "type": "boolean",
67190
+ "example": true,
67191
+ "nullable": true
67192
+ },
67193
+ "members_allowed_repository_creation_type": {
67194
+ "type": "string",
67195
+ "example": "all"
67196
+ },
67197
+ "members_can_create_public_repositories": {
67198
+ "type": "boolean",
67199
+ "example": true
67200
+ },
67201
+ "members_can_create_private_repositories": {
67202
+ "type": "boolean",
67203
+ "example": true
67204
+ },
67205
+ "members_can_create_internal_repositories": {
67206
+ "type": "boolean",
67207
+ "example": true
67208
+ },
67209
+ "members_can_create_pages": {
67210
+ "type": "boolean",
67211
+ "example": true
67212
+ },
67213
+ "members_can_create_public_pages": {
67214
+ "type": "boolean",
67215
+ "example": true
67216
+ },
67217
+ "members_can_create_private_pages": {
67218
+ "type": "boolean",
67219
+ "example": true
67220
+ },
67221
+ "members_can_fork_private_repositories": {
67222
+ "type": "boolean",
67223
+ "example": false,
67224
+ "nullable": true
67225
+ },
67226
+ "web_commit_signoff_required": {
67227
+ "type": "boolean",
67228
+ "example": false
67229
+ },
67230
+ "updated_at": {
67231
+ "type": "string",
67232
+ "format": "date-time"
67233
+ }
67234
+ },
67235
+ "required": [
67236
+ "login",
67237
+ "url",
67238
+ "id",
67239
+ "node_id",
67240
+ "repos_url",
67241
+ "events_url",
67242
+ "hooks_url",
67243
+ "issues_url",
67244
+ "members_url",
67245
+ "public_members_url",
67246
+ "avatar_url",
67247
+ "description",
67248
+ "html_url",
67249
+ "has_organization_projects",
67250
+ "has_repository_projects",
67251
+ "public_repos",
67252
+ "public_gists",
67253
+ "followers",
67254
+ "following",
67255
+ "type",
67256
+ "created_at",
67257
+ "updated_at"
67258
+ ]
67259
+ },
66658
67260
  "team-full": {
66659
67261
  "title": "Full Team",
66660
67262
  "description": "Groups of organization members that gives permissions on specified repositories.",
@@ -66739,7 +67341,7 @@
66739
67341
  "example": "2017-08-17T12:37:15Z"
66740
67342
  },
66741
67343
  "organization": {
66742
- "$ref": "#/components/schemas/organization-full"
67344
+ "$ref": "#/components/schemas/team-organization"
66743
67345
  },
66744
67346
  "ldap_dn": {
66745
67347
  "description": "Distinguished Name (DN) that team maps to within LDAP environment",
@@ -67535,6 +68137,12 @@
67535
68137
  "type": "boolean",
67536
68138
  "example": false
67537
68139
  },
68140
+ "web_commit_signoff_required": {
68141
+ "description": "Whether to require contributors to sign off on web-based commits",
68142
+ "default": false,
68143
+ "type": "boolean",
68144
+ "example": false
68145
+ },
67538
68146
  "subscribers_count": {
67539
68147
  "type": "integer"
67540
68148
  },
@@ -68344,6 +68952,10 @@
68344
68952
  "type": "boolean",
68345
68953
  "example": true
68346
68954
  },
68955
+ "web_commit_signoff_required": {
68956
+ "type": "boolean",
68957
+ "example": false
68958
+ },
68347
68959
  "subscribers_count": {
68348
68960
  "type": "integer",
68349
68961
  "example": 42
@@ -78107,6 +78719,9 @@
78107
78719
  },
78108
78720
  "is_template": {
78109
78721
  "type": "boolean"
78722
+ },
78723
+ "web_commit_signoff_required": {
78724
+ "type": "boolean"
78110
78725
  }
78111
78726
  },
78112
78727
  "required": [
@@ -78681,6 +79296,9 @@
78681
79296
  },
78682
79297
  "allow_forking": {
78683
79298
  "type": "boolean"
79299
+ },
79300
+ "web_commit_signoff_required": {
79301
+ "type": "boolean"
78684
79302
  }
78685
79303
  },
78686
79304
  "required": [
@@ -80758,6 +81376,10 @@
80758
81376
  },
80759
81377
  "is_template": {
80760
81378
  "type": "boolean"
81379
+ },
81380
+ "web_commit_signoff_required": {
81381
+ "type": "boolean",
81382
+ "example": false
80761
81383
  }
80762
81384
  },
80763
81385
  "required": [
@@ -87239,6 +87861,7 @@
87239
87861
  "members_can_create_public_pages": true,
87240
87862
  "members_can_create_private_pages": true,
87241
87863
  "members_can_fork_private_repositories": false,
87864
+ "web_commit_signoff_required": false,
87242
87865
  "updated_at": "2014-03-03T18:58:10Z"
87243
87866
  }
87244
87867
  },
@@ -91021,6 +91644,7 @@
91021
91644
  "delete_branch_on_merge": true,
91022
91645
  "allow_merge_commit": true,
91023
91646
  "allow_forking": true,
91647
+ "web_commit_signoff_required": false,
91024
91648
  "subscribers_count": 42,
91025
91649
  "network_count": 0,
91026
91650
  "organization": {
@@ -92309,6 +92933,109 @@
92309
92933
  }
92310
92934
  ]
92311
92935
  },
92936
+ "branch-get": {
92937
+ "value": {
92938
+ "name": "main",
92939
+ "commit": {
92940
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
92941
+ "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
92942
+ "commit": {
92943
+ "author": {
92944
+ "name": "The Octocat",
92945
+ "email": "octocat@nowhere.com",
92946
+ "date": "2012-03-06T23:06:50Z"
92947
+ },
92948
+ "committer": {
92949
+ "name": "The Octocat",
92950
+ "email": "octocat@nowhere.com",
92951
+ "date": "2012-03-06T23:06:50Z"
92952
+ },
92953
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
92954
+ "tree": {
92955
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
92956
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
92957
+ },
92958
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
92959
+ "comment_count": 77,
92960
+ "verification": {
92961
+ "verified": false,
92962
+ "reason": "unsigned",
92963
+ "signature": null,
92964
+ "payload": null
92965
+ }
92966
+ },
92967
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
92968
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
92969
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
92970
+ "author": {
92971
+ "login": "octocat",
92972
+ "id": 583231,
92973
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
92974
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
92975
+ "gravatar_id": "",
92976
+ "url": "https://api.github.com/users/octocat",
92977
+ "html_url": "https://github.com/octocat",
92978
+ "followers_url": "https://api.github.com/users/octocat/followers",
92979
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
92980
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
92981
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
92982
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
92983
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
92984
+ "repos_url": "https://api.github.com/users/octocat/repos",
92985
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
92986
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
92987
+ "type": "User",
92988
+ "site_admin": false
92989
+ },
92990
+ "committer": {
92991
+ "login": "octocat",
92992
+ "id": 583231,
92993
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
92994
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
92995
+ "gravatar_id": "",
92996
+ "url": "https://api.github.com/users/octocat",
92997
+ "html_url": "https://github.com/octocat",
92998
+ "followers_url": "https://api.github.com/users/octocat/followers",
92999
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
93000
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
93001
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
93002
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
93003
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
93004
+ "repos_url": "https://api.github.com/users/octocat/repos",
93005
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
93006
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
93007
+ "type": "User",
93008
+ "site_admin": false
93009
+ },
93010
+ "parents": [
93011
+ {
93012
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
93013
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
93014
+ "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
93015
+ },
93016
+ {
93017
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
93018
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
93019
+ "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
93020
+ }
93021
+ ]
93022
+ },
93023
+ "_links": {
93024
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
93025
+ "html": "https://github.com/octocat/Hello-World/tree/main"
93026
+ },
93027
+ "protected": false,
93028
+ "protection": {
93029
+ "enabled": false,
93030
+ "required_status_checks": {
93031
+ "enforcement_level": "off",
93032
+ "contexts": [],
93033
+ "checks": []
93034
+ }
93035
+ },
93036
+ "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
93037
+ }
93038
+ },
92312
93039
  "branch-protection": {
92313
93040
  "value": {
92314
93041
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
@@ -92505,6 +93232,71 @@
92505
93232
  }
92506
93233
  }
92507
93234
  },
93235
+ "branch-protection-update": {
93236
+ "value": {
93237
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
93238
+ "required_status_checks": {
93239
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
93240
+ "strict": true,
93241
+ "contexts": [
93242
+ "continuous-integration/travis-ci"
93243
+ ],
93244
+ "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
93245
+ "checks": [
93246
+ {
93247
+ "context": "continuous-integration/travis-ci",
93248
+ "app_id": null
93249
+ }
93250
+ ]
93251
+ },
93252
+ "restrictions": {
93253
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
93254
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
93255
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
93256
+ "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
93257
+ "users": [],
93258
+ "teams": [],
93259
+ "apps": []
93260
+ },
93261
+ "required_pull_request_reviews": {
93262
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
93263
+ "dismiss_stale_reviews": true,
93264
+ "require_code_owner_reviews": true,
93265
+ "required_approving_review_count": 2,
93266
+ "dismissal_restrictions": {
93267
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
93268
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
93269
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
93270
+ "users": [],
93271
+ "teams": [],
93272
+ "apps": []
93273
+ }
93274
+ },
93275
+ "required_signatures": {
93276
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
93277
+ "enabled": false
93278
+ },
93279
+ "enforce_admins": {
93280
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
93281
+ "enabled": true
93282
+ },
93283
+ "required_linear_history": {
93284
+ "enabled": true
93285
+ },
93286
+ "allow_force_pushes": {
93287
+ "enabled": true
93288
+ },
93289
+ "allow_deletions": {
93290
+ "enabled": true
93291
+ },
93292
+ "block_creations": {
93293
+ "enabled": true
93294
+ },
93295
+ "required_conversation_resolution": {
93296
+ "enabled": true
93297
+ }
93298
+ }
93299
+ },
92508
93300
  "protected-branch-admin-enforced-2": {
92509
93301
  "value": {
92510
93302
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
@@ -94046,6 +94838,7 @@
94046
94838
  "ref": "refs/heads/main",
94047
94839
  "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
94048
94840
  "environment": "",
94841
+ "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
94049
94842
  "state": "open",
94050
94843
  "fixed_at": null,
94051
94844
  "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
@@ -97378,7 +98171,8 @@
97378
98171
  "type": "User",
97379
98172
  "site_admin": false
97380
98173
  },
97381
- "author_association": "COLLABORATOR"
98174
+ "author_association": "COLLABORATOR",
98175
+ "state_reason": "completed"
97382
98176
  }
97383
98177
  ]
97384
98178
  },
@@ -97538,7 +98332,8 @@
97538
98332
  "type": "User",
97539
98333
  "site_admin": false
97540
98334
  },
97541
- "author_association": "COLLABORATOR"
98335
+ "author_association": "COLLABORATOR",
98336
+ "state_reason": "completed"
97542
98337
  }
97543
98338
  },
97544
98339
  "issue-comment-items": {
@@ -97774,7 +98569,8 @@
97774
98569
  "closed_at": null,
97775
98570
  "created_at": "2011-04-22T13:33:48Z",
97776
98571
  "updated_at": "2011-04-22T13:33:48Z",
97777
- "author_association": "COLLABORATOR"
98572
+ "author_association": "COLLABORATOR",
98573
+ "state_reason": "completed"
97778
98574
  }
97779
98575
  }
97780
98576
  ]
@@ -97983,7 +98779,8 @@
97983
98779
  "closed_at": null,
97984
98780
  "created_at": "2011-04-22T13:33:48Z",
97985
98781
  "updated_at": "2011-04-22T13:33:48Z",
97986
- "author_association": "COLLABORATOR"
98782
+ "author_association": "COLLABORATOR",
98783
+ "state_reason": "completed"
97987
98784
  }
97988
98785
  }
97989
98786
  },
@@ -102256,7 +103053,8 @@
102256
103053
  "body": "...",
102257
103054
  "score": 1,
102258
103055
  "locked": true,
102259
- "author_association": "COLLABORATOR"
103056
+ "author_association": "COLLABORATOR",
103057
+ "state_reason": "completed"
102260
103058
  }
102261
103059
  ]
102262
103060
  }