@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": {
@@ -6926,7 +6926,7 @@
6926
6926
  "/organizations/{organization_id}/custom_roles": {
6927
6927
  "get": {
6928
6928
  "summary": "List custom repository roles in an organization",
6929
- "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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
6929
+ "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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
6930
6930
  "tags": [
6931
6931
  "orgs"
6932
6932
  ],
@@ -7146,9 +7146,38 @@
7146
7146
  "description": "Whether organization members can fork private organization repositories.",
7147
7147
  "default": false
7148
7148
  },
7149
+ "web_commit_signoff_required": {
7150
+ "type": "boolean",
7151
+ "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.",
7152
+ "default": false
7153
+ },
7149
7154
  "blog": {
7150
7155
  "type": "string",
7151
7156
  "example": "\"http://github.blog\""
7157
+ },
7158
+ "advanced_security_enabled_for_new_repositories": {
7159
+ "type": "boolean",
7160
+ "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/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."
7161
+ },
7162
+ "dependabot_alerts_enabled_for_new_repositories": {
7163
+ "type": "boolean",
7164
+ "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/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."
7165
+ },
7166
+ "dependabot_security_updates_enabled_for_new_repositories": {
7167
+ "type": "boolean",
7168
+ "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/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."
7169
+ },
7170
+ "dependency_graph_enabled_for_new_repositories": {
7171
+ "type": "boolean",
7172
+ "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/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."
7173
+ },
7174
+ "secret_scanning_enabled_for_new_repositories": {
7175
+ "type": "boolean",
7176
+ "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/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."
7177
+ },
7178
+ "secret_scanning_push_protection_enabled_for_new_repositories": {
7179
+ "type": "boolean",
7180
+ "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/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."
7152
7181
  }
7153
7182
  }
7154
7183
  },
@@ -17543,6 +17572,47 @@
17543
17572
  "x-octokit": {}
17544
17573
  }
17545
17574
  },
17575
+ "/orgs/{org}/{security_product}/{enablement}": {
17576
+ "post": {
17577
+ "summary": "Enable or disable a security feature for an organization",
17578
+ "description": "Enables or disables the specified security feature for all repositories in an organization.\n\nTo use this endpoint, you must be an organization owner or be member of a team with the security manager role.\nA token with the 'write:org' scope is also required.\n\nGitHub Apps must have the `organization_administration:write` permission to use this endpoint.\n\nFor more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"",
17579
+ "tags": [
17580
+ "orgs"
17581
+ ],
17582
+ "operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
17583
+ "externalDocs": {
17584
+ "description": "API method documentation",
17585
+ "url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
17586
+ },
17587
+ "parameters": [
17588
+ {
17589
+ "$ref": "#/components/parameters/org"
17590
+ },
17591
+ {
17592
+ "$ref": "#/components/parameters/security-product"
17593
+ },
17594
+ {
17595
+ "$ref": "#/components/parameters/org-security-product-enablement"
17596
+ }
17597
+ ],
17598
+ "responses": {
17599
+ "204": {
17600
+ "description": "Action started"
17601
+ },
17602
+ "422": {
17603
+ "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement"
17604
+ }
17605
+ },
17606
+ "x-github": {
17607
+ "githubCloudOnly": false,
17608
+ "enabledForGitHubApps": true,
17609
+ "previews": [],
17610
+ "category": "orgs",
17611
+ "subcategory": "orgs"
17612
+ },
17613
+ "x-octokit": {}
17614
+ }
17615
+ },
17546
17616
  "/projects/columns/cards/{card_id}": {
17547
17617
  "get": {
17548
17618
  "summary": "Get a project card",
@@ -19382,6 +19452,11 @@
19382
19452
  "type": "boolean",
19383
19453
  "description": "Either `true` to allow private forks, or `false` to prevent private forks.",
19384
19454
  "default": false
19455
+ },
19456
+ "web_commit_signoff_required": {
19457
+ "type": "boolean",
19458
+ "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.",
19459
+ "default": false
19385
19460
  }
19386
19461
  }
19387
19462
  },
@@ -23503,6 +23578,11 @@
23503
23578
  "application/json": {
23504
23579
  "schema": {
23505
23580
  "$ref": "#/components/schemas/branch-with-protection"
23581
+ },
23582
+ "examples": {
23583
+ "default": {
23584
+ "$ref": "#/components/examples/branch-get"
23585
+ }
23506
23586
  }
23507
23587
  }
23508
23588
  }
@@ -23845,6 +23925,11 @@
23845
23925
  "application/json": {
23846
23926
  "schema": {
23847
23927
  "$ref": "#/components/schemas/protected-branch"
23928
+ },
23929
+ "examples": {
23930
+ "default": {
23931
+ "$ref": "#/components/examples/branch-protection-update"
23932
+ }
23848
23933
  }
23849
23934
  }
23850
23935
  }
@@ -24719,7 +24804,7 @@
24719
24804
  "properties": {
24720
24805
  "contexts": {
24721
24806
  "type": "array",
24722
- "description": "contexts parameter",
24807
+ "description": "The name of the status checks",
24723
24808
  "items": {
24724
24809
  "type": "string"
24725
24810
  }
@@ -24735,6 +24820,17 @@
24735
24820
  }
24736
24821
  }
24737
24822
  ]
24823
+ },
24824
+ "examples": {
24825
+ "default": {
24826
+ "summary": "Example adding status checks to a branch protection rule",
24827
+ "value": {
24828
+ "contexts": [
24829
+ "continuous-integration/travis-ci",
24830
+ "continuous-integration/jenkins"
24831
+ ]
24832
+ }
24833
+ }
24738
24834
  }
24739
24835
  }
24740
24836
  }
@@ -24813,7 +24909,7 @@
24813
24909
  "properties": {
24814
24910
  "contexts": {
24815
24911
  "type": "array",
24816
- "description": "contexts parameter",
24912
+ "description": "The name of the status checks",
24817
24913
  "items": {
24818
24914
  "type": "string"
24819
24915
  }
@@ -24829,6 +24925,16 @@
24829
24925
  }
24830
24926
  }
24831
24927
  ]
24928
+ },
24929
+ "examples": {
24930
+ "default": {
24931
+ "summary": "Example updating status checks for a branch protection rule",
24932
+ "value": {
24933
+ "contexts": [
24934
+ "continuous-integration/travis-ci"
24935
+ ]
24936
+ }
24937
+ }
24832
24938
  }
24833
24939
  }
24834
24940
  }
@@ -24902,7 +25008,7 @@
24902
25008
  "properties": {
24903
25009
  "contexts": {
24904
25010
  "type": "array",
24905
- "description": "contexts parameter",
25011
+ "description": "The name of the status checks",
24906
25012
  "items": {
24907
25013
  "type": "string"
24908
25014
  }
@@ -24918,6 +25024,16 @@
24918
25024
  }
24919
25025
  }
24920
25026
  ]
25027
+ },
25028
+ "examples": {
25029
+ "default": {
25030
+ "summary": "Example removing status checks from a branch protection rule",
25031
+ "value": {
25032
+ "contexts": [
25033
+ "continuous-integration/travis-ci"
25034
+ ]
25035
+ }
25036
+ }
24921
25037
  }
24922
25038
  }
24923
25039
  }
@@ -25443,7 +25559,7 @@
25443
25559
  "properties": {
25444
25560
  "teams": {
25445
25561
  "type": "array",
25446
- "description": "teams parameter",
25562
+ "description": "The slug values for teams",
25447
25563
  "items": {
25448
25564
  "type": "string"
25449
25565
  }
@@ -25459,6 +25575,16 @@
25459
25575
  }
25460
25576
  }
25461
25577
  ]
25578
+ },
25579
+ "examples": {
25580
+ "default": {
25581
+ "summary": "Example adding a team in a branch protection rule",
25582
+ "value": {
25583
+ "teams": [
25584
+ "justice-league"
25585
+ ]
25586
+ }
25587
+ }
25462
25588
  }
25463
25589
  }
25464
25590
  }
@@ -25528,7 +25654,7 @@
25528
25654
  "properties": {
25529
25655
  "teams": {
25530
25656
  "type": "array",
25531
- "description": "teams parameter",
25657
+ "description": "The slug values for teams",
25532
25658
  "items": {
25533
25659
  "type": "string"
25534
25660
  }
@@ -25539,11 +25665,21 @@
25539
25665
  ],
25540
25666
  "example": {
25541
25667
  "teams": [
25542
- "my-team"
25668
+ "justice-league"
25543
25669
  ]
25544
25670
  }
25545
25671
  }
25546
25672
  ]
25673
+ },
25674
+ "examples": {
25675
+ "default": {
25676
+ "summary": "Example replacing a team in a branch protection rule",
25677
+ "value": {
25678
+ "teams": [
25679
+ "justice-league"
25680
+ ]
25681
+ }
25682
+ }
25547
25683
  }
25548
25684
  }
25549
25685
  }
@@ -25612,7 +25748,7 @@
25612
25748
  "properties": {
25613
25749
  "teams": {
25614
25750
  "type": "array",
25615
- "description": "teams parameter",
25751
+ "description": "The slug values for teams",
25616
25752
  "items": {
25617
25753
  "type": "string"
25618
25754
  }
@@ -25628,6 +25764,16 @@
25628
25764
  }
25629
25765
  }
25630
25766
  ]
25767
+ },
25768
+ "examples": {
25769
+ "default": {
25770
+ "summary": "Example removing a team in a branch protection rule",
25771
+ "value": {
25772
+ "teams": [
25773
+ "justice-league"
25774
+ ]
25775
+ }
25776
+ }
25631
25777
  }
25632
25778
  }
25633
25779
  }
@@ -25752,7 +25898,7 @@
25752
25898
  "properties": {
25753
25899
  "users": {
25754
25900
  "type": "array",
25755
- "description": "users parameter",
25901
+ "description": "The username for users",
25756
25902
  "items": {
25757
25903
  "type": "string"
25758
25904
  }
@@ -25768,6 +25914,16 @@
25768
25914
  }
25769
25915
  }
25770
25916
  ]
25917
+ },
25918
+ "examples": {
25919
+ "default": {
25920
+ "summary": "Example adding a user in a branch protection rule",
25921
+ "value": {
25922
+ "users": [
25923
+ "octocat"
25924
+ ]
25925
+ }
25926
+ }
25771
25927
  }
25772
25928
  }
25773
25929
  }
@@ -25837,7 +25993,7 @@
25837
25993
  "properties": {
25838
25994
  "users": {
25839
25995
  "type": "array",
25840
- "description": "users parameter",
25996
+ "description": "The username for users",
25841
25997
  "items": {
25842
25998
  "type": "string"
25843
25999
  }
@@ -25853,6 +26009,16 @@
25853
26009
  }
25854
26010
  }
25855
26011
  ]
26012
+ },
26013
+ "examples": {
26014
+ "default": {
26015
+ "summary": "Example replacing a user in a branch protection rule",
26016
+ "value": {
26017
+ "users": [
26018
+ "octocat"
26019
+ ]
26020
+ }
26021
+ }
25856
26022
  }
25857
26023
  }
25858
26024
  }
@@ -25921,7 +26087,7 @@
25921
26087
  "properties": {
25922
26088
  "users": {
25923
26089
  "type": "array",
25924
- "description": "users parameter",
26090
+ "description": "The username for users",
25925
26091
  "items": {
25926
26092
  "type": "string"
25927
26093
  }
@@ -25937,6 +26103,16 @@
25937
26103
  }
25938
26104
  }
25939
26105
  ]
26106
+ },
26107
+ "examples": {
26108
+ "default": {
26109
+ "summary": "Example removing a user in a branch protection rule",
26110
+ "value": {
26111
+ "users": [
26112
+ "octocat"
26113
+ ]
26114
+ }
26115
+ }
25940
26116
  }
25941
26117
  }
25942
26118
  }
@@ -27652,6 +27828,22 @@
27652
27828
  "schema": {
27653
27829
  "$ref": "#/components/schemas/code-scanning-analysis-sarif-id"
27654
27830
  }
27831
+ },
27832
+ {
27833
+ "$ref": "#/components/parameters/direction"
27834
+ },
27835
+ {
27836
+ "name": "sort",
27837
+ "description": "The property by which to sort the results.",
27838
+ "in": "query",
27839
+ "required": false,
27840
+ "schema": {
27841
+ "type": "string",
27842
+ "enum": [
27843
+ "created"
27844
+ ],
27845
+ "default": "created"
27846
+ }
27655
27847
  }
27656
27848
  ],
27657
27849
  "responses": {
@@ -27766,7 +27958,7 @@
27766
27958
  },
27767
27959
  "delete": {
27768
27960
  "summary": "Delete a code scanning analysis from a repository",
27769
- "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.",
27961
+ "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.",
27770
27962
  "operationId": "code-scanning/delete-analysis",
27771
27963
  "tags": [
27772
27964
  "code-scanning"
@@ -30495,7 +30687,7 @@
30495
30687
  "/repos/{owner}/{repo}/contents/{path}": {
30496
30688
  "get": {
30497
30689
  "summary": "Get repository content",
30498
- "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/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/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/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/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/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.",
30690
+ "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/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/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/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/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/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.",
30499
30691
  "tags": [
30500
30692
  "repos"
30501
30693
  ],
@@ -32847,6 +33039,10 @@
32847
33039
  "name": {
32848
33040
  "type": "string",
32849
33041
  "description": "When forking from an existing repository, a new name for the fork."
33042
+ },
33043
+ "default_branch_only": {
33044
+ "type": "boolean",
33045
+ "description": "When forking from an existing repository, fork with only the default branch."
32850
33046
  }
32851
33047
  }
32852
33048
  }
@@ -35512,6 +35708,15 @@
35512
35708
  "application/json": {
35513
35709
  "schema": {
35514
35710
  "$ref": "#/components/schemas/interaction-limit"
35711
+ },
35712
+ "examples": {
35713
+ "default": {
35714
+ "summary": "Example request body",
35715
+ "value": {
35716
+ "limit": "collaborators_only",
35717
+ "expiry": "one_day"
35718
+ }
35719
+ }
35515
35720
  }
35516
35721
  }
35517
35722
  }
@@ -35682,6 +35887,14 @@
35682
35887
  ]
35683
35888
  }
35684
35889
  }
35890
+ },
35891
+ "examples": {
35892
+ "default": {
35893
+ "summary": "Example request body",
35894
+ "value": {
35895
+ "permissions": "write"
35896
+ }
35897
+ }
35685
35898
  }
35686
35899
  }
35687
35900
  }
@@ -36777,6 +36990,12 @@
36777
36990
  "closed"
36778
36991
  ]
36779
36992
  },
36993
+ "state_reason": {
36994
+ "type": "string",
36995
+ "nullable": true,
36996
+ "description": "The reason for the current state",
36997
+ "example": "not_planned"
36998
+ },
36780
36999
  "milestone": {
36781
37000
  "oneOf": [
36782
37001
  {
@@ -56718,25 +56937,19 @@
56718
56937
  }
56719
56938
  }
56720
56939
  },
56721
- "/user/starred": {
56940
+ "/user/ssh_signing_keys": {
56722
56941
  "get": {
56723
- "summary": "List repositories starred by the authenticated user",
56724
- "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:",
56942
+ "summary": "List SSH signing keys for the authenticated user",
56943
+ "description": "Lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
56725
56944
  "tags": [
56726
- "activity"
56945
+ "users"
56727
56946
  ],
56728
- "operationId": "activity/list-repos-starred-by-authenticated-user",
56947
+ "operationId": "users/list-ssh-signing-keys-for-authenticated-user",
56729
56948
  "externalDocs": {
56730
56949
  "description": "API method documentation",
56731
- "url": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user"
56950
+ "url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
56732
56951
  },
56733
56952
  "parameters": [
56734
- {
56735
- "$ref": "#/components/parameters/sort"
56736
- },
56737
- {
56738
- "$ref": "#/components/parameters/direction"
56739
- },
56740
56953
  {
56741
56954
  "$ref": "#/components/parameters/per-page"
56742
56955
  },
@@ -56752,25 +56965,12 @@
56752
56965
  "schema": {
56753
56966
  "type": "array",
56754
56967
  "items": {
56755
- "$ref": "#/components/schemas/repository"
56756
- }
56757
- },
56758
- "examples": {
56759
- "default-response": {
56760
- "$ref": "#/components/examples/repository-items-default-response"
56761
- }
56762
- }
56763
- },
56764
- "application/vnd.github.v3.star+json": {
56765
- "schema": {
56766
- "type": "array",
56767
- "items": {
56768
- "$ref": "#/components/schemas/starred-repository"
56968
+ "$ref": "#/components/schemas/ssh-signing-key"
56769
56969
  }
56770
56970
  },
56771
56971
  "examples": {
56772
- "alternative-response-with-star-creation-timestamps": {
56773
- "$ref": "#/components/examples/starred-repository-items-alternative-response-with-star-creation-timestamps"
56972
+ "default": {
56973
+ "$ref": "#/components/examples/ssh-signing-key-items"
56774
56974
  }
56775
56975
  }
56776
56976
  }
@@ -56789,40 +56989,72 @@
56789
56989
  },
56790
56990
  "403": {
56791
56991
  "$ref": "#/components/responses/forbidden"
56992
+ },
56993
+ "404": {
56994
+ "$ref": "#/components/responses/not_found"
56792
56995
  }
56793
56996
  },
56794
56997
  "x-github": {
56795
56998
  "githubCloudOnly": false,
56796
56999
  "enabledForGitHubApps": false,
56797
- "category": "activity",
56798
- "subcategory": "starring"
57000
+ "previews": [],
57001
+ "category": "users",
57002
+ "subcategory": "ssh-signing-keys"
56799
57003
  },
56800
57004
  "x-octokit": {}
56801
- }
56802
- },
56803
- "/user/starred/{owner}/{repo}": {
56804
- "get": {
56805
- "summary": "Check if a repository is starred by the authenticated user",
56806
- "description": "",
57005
+ },
57006
+ "post": {
57007
+ "summary": "Create a SSH signing key for the authenticated user",
57008
+ "description": "Creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
57009
+ "operationId": "users/create-ssh-signing-key-for-authenticated-user",
56807
57010
  "tags": [
56808
- "activity"
57011
+ "users"
56809
57012
  ],
56810
- "operationId": "activity/check-repo-is-starred-by-authenticated-user",
56811
57013
  "externalDocs": {
56812
57014
  "description": "API method documentation",
56813
- "url": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user"
57015
+ "url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
56814
57016
  },
56815
- "parameters": [
56816
- {
56817
- "$ref": "#/components/parameters/owner"
56818
- },
56819
- {
56820
- "$ref": "#/components/parameters/repo"
57017
+ "parameters": [],
57018
+ "requestBody": {
57019
+ "required": true,
57020
+ "content": {
57021
+ "application/json": {
57022
+ "schema": {
57023
+ "properties": {
57024
+ "title": {
57025
+ "description": "A descriptive name for the new key.",
57026
+ "type": "string",
57027
+ "example": "Personal MacBook Air"
57028
+ },
57029
+ "key": {
57030
+ "description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"",
57031
+ "type": "string",
57032
+ "pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
57033
+ }
57034
+ },
57035
+ "required": [
57036
+ "key"
57037
+ ],
57038
+ "type": "object"
57039
+ }
57040
+ }
56821
57041
  }
56822
- ],
57042
+ },
56823
57043
  "responses": {
56824
- "204": {
56825
- "description": "Response if this repository is starred by you"
57044
+ "201": {
57045
+ "description": "Response",
57046
+ "content": {
57047
+ "application/json": {
57048
+ "schema": {
57049
+ "$ref": "#/components/schemas/ssh-signing-key"
57050
+ },
57051
+ "examples": {
57052
+ "default": {
57053
+ "$ref": "#/components/examples/ssh-signing-key"
57054
+ }
57055
+ }
57056
+ }
57057
+ }
56826
57058
  },
56827
57059
  "304": {
56828
57060
  "$ref": "#/components/responses/not_modified"
@@ -56834,46 +57066,53 @@
56834
57066
  "$ref": "#/components/responses/forbidden"
56835
57067
  },
56836
57068
  "404": {
56837
- "description": "Not Found if this repository is not starred by you",
56838
- "content": {
56839
- "application/json": {
56840
- "schema": {
56841
- "$ref": "#/components/schemas/basic-error"
56842
- }
56843
- }
56844
- }
57069
+ "$ref": "#/components/responses/not_found"
57070
+ },
57071
+ "422": {
57072
+ "$ref": "#/components/responses/validation_failed"
56845
57073
  }
56846
57074
  },
56847
57075
  "x-github": {
56848
57076
  "githubCloudOnly": false,
56849
57077
  "enabledForGitHubApps": false,
56850
- "category": "activity",
56851
- "subcategory": "starring"
57078
+ "category": "users",
57079
+ "subcategory": "ssh-signing-keys"
56852
57080
  },
56853
57081
  "x-octokit": {}
56854
- },
56855
- "put": {
56856
- "summary": "Star a repository for the authenticated user",
56857
- "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"",
57082
+ }
57083
+ },
57084
+ "/user/ssh_signing_keys/{ssh_signing_key_id}": {
57085
+ "get": {
57086
+ "summary": "Get an SSH signing key for the authenticated user",
57087
+ "description": "Gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
56858
57088
  "tags": [
56859
- "activity"
57089
+ "users"
56860
57090
  ],
56861
- "operationId": "activity/star-repo-for-authenticated-user",
57091
+ "operationId": "users/get-ssh-signing-key-for-authenticated-user",
56862
57092
  "externalDocs": {
56863
57093
  "description": "API method documentation",
56864
- "url": "https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user"
57094
+ "url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
56865
57095
  },
56866
57096
  "parameters": [
56867
57097
  {
56868
- "$ref": "#/components/parameters/owner"
56869
- },
56870
- {
56871
- "$ref": "#/components/parameters/repo"
57098
+ "$ref": "#/components/parameters/ssh-signing-key-id"
56872
57099
  }
56873
57100
  ],
56874
57101
  "responses": {
56875
- "204": {
56876
- "description": "Response"
57102
+ "200": {
57103
+ "description": "Response",
57104
+ "content": {
57105
+ "application/json": {
57106
+ "schema": {
57107
+ "$ref": "#/components/schemas/ssh-signing-key"
57108
+ },
57109
+ "examples": {
57110
+ "default": {
57111
+ "$ref": "#/components/examples/ssh-signing-key"
57112
+ }
57113
+ }
57114
+ }
57115
+ }
56877
57116
  },
56878
57117
  "304": {
56879
57118
  "$ref": "#/components/responses/not_modified"
@@ -56891,28 +57130,248 @@
56891
57130
  "x-github": {
56892
57131
  "githubCloudOnly": false,
56893
57132
  "enabledForGitHubApps": false,
56894
- "category": "activity",
56895
- "subcategory": "starring"
57133
+ "category": "users",
57134
+ "subcategory": "ssh-signing-keys"
56896
57135
  },
56897
57136
  "x-octokit": {}
56898
57137
  },
56899
57138
  "delete": {
56900
- "summary": "Unstar a repository for the authenticated user",
56901
- "description": "",
57139
+ "summary": "Delete an SSH signing key for the authenticated user",
57140
+ "description": "Deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
56902
57141
  "tags": [
56903
- "activity"
57142
+ "users"
56904
57143
  ],
56905
- "operationId": "activity/unstar-repo-for-authenticated-user",
57144
+ "operationId": "users/delete-ssh-signing-key-for-authenticated-user",
56906
57145
  "externalDocs": {
56907
57146
  "description": "API method documentation",
56908
- "url": "https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user"
57147
+ "url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
56909
57148
  },
56910
57149
  "parameters": [
56911
57150
  {
56912
- "$ref": "#/components/parameters/owner"
56913
- },
56914
- {
56915
- "$ref": "#/components/parameters/repo"
57151
+ "$ref": "#/components/parameters/ssh-signing-key-id"
57152
+ }
57153
+ ],
57154
+ "responses": {
57155
+ "204": {
57156
+ "description": "Response"
57157
+ },
57158
+ "304": {
57159
+ "$ref": "#/components/responses/not_modified"
57160
+ },
57161
+ "401": {
57162
+ "$ref": "#/components/responses/requires_authentication"
57163
+ },
57164
+ "403": {
57165
+ "$ref": "#/components/responses/forbidden"
57166
+ },
57167
+ "404": {
57168
+ "$ref": "#/components/responses/not_found"
57169
+ }
57170
+ },
57171
+ "x-github": {
57172
+ "githubCloudOnly": false,
57173
+ "enabledForGitHubApps": false,
57174
+ "category": "users",
57175
+ "subcategory": "ssh-signing-keys"
57176
+ },
57177
+ "x-octokit": {}
57178
+ }
57179
+ },
57180
+ "/user/starred": {
57181
+ "get": {
57182
+ "summary": "List repositories starred by the authenticated user",
57183
+ "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:",
57184
+ "tags": [
57185
+ "activity"
57186
+ ],
57187
+ "operationId": "activity/list-repos-starred-by-authenticated-user",
57188
+ "externalDocs": {
57189
+ "description": "API method documentation",
57190
+ "url": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user"
57191
+ },
57192
+ "parameters": [
57193
+ {
57194
+ "$ref": "#/components/parameters/sort"
57195
+ },
57196
+ {
57197
+ "$ref": "#/components/parameters/direction"
57198
+ },
57199
+ {
57200
+ "$ref": "#/components/parameters/per-page"
57201
+ },
57202
+ {
57203
+ "$ref": "#/components/parameters/page"
57204
+ }
57205
+ ],
57206
+ "responses": {
57207
+ "200": {
57208
+ "description": "Response",
57209
+ "content": {
57210
+ "application/json": {
57211
+ "schema": {
57212
+ "type": "array",
57213
+ "items": {
57214
+ "$ref": "#/components/schemas/repository"
57215
+ }
57216
+ },
57217
+ "examples": {
57218
+ "default-response": {
57219
+ "$ref": "#/components/examples/repository-items-default-response"
57220
+ }
57221
+ }
57222
+ },
57223
+ "application/vnd.github.v3.star+json": {
57224
+ "schema": {
57225
+ "type": "array",
57226
+ "items": {
57227
+ "$ref": "#/components/schemas/starred-repository"
57228
+ }
57229
+ },
57230
+ "examples": {
57231
+ "alternative-response-with-star-creation-timestamps": {
57232
+ "$ref": "#/components/examples/starred-repository-items-alternative-response-with-star-creation-timestamps"
57233
+ }
57234
+ }
57235
+ }
57236
+ },
57237
+ "headers": {
57238
+ "Link": {
57239
+ "$ref": "#/components/headers/link"
57240
+ }
57241
+ }
57242
+ },
57243
+ "304": {
57244
+ "$ref": "#/components/responses/not_modified"
57245
+ },
57246
+ "401": {
57247
+ "$ref": "#/components/responses/requires_authentication"
57248
+ },
57249
+ "403": {
57250
+ "$ref": "#/components/responses/forbidden"
57251
+ }
57252
+ },
57253
+ "x-github": {
57254
+ "githubCloudOnly": false,
57255
+ "enabledForGitHubApps": false,
57256
+ "category": "activity",
57257
+ "subcategory": "starring"
57258
+ },
57259
+ "x-octokit": {}
57260
+ }
57261
+ },
57262
+ "/user/starred/{owner}/{repo}": {
57263
+ "get": {
57264
+ "summary": "Check if a repository is starred by the authenticated user",
57265
+ "description": "",
57266
+ "tags": [
57267
+ "activity"
57268
+ ],
57269
+ "operationId": "activity/check-repo-is-starred-by-authenticated-user",
57270
+ "externalDocs": {
57271
+ "description": "API method documentation",
57272
+ "url": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user"
57273
+ },
57274
+ "parameters": [
57275
+ {
57276
+ "$ref": "#/components/parameters/owner"
57277
+ },
57278
+ {
57279
+ "$ref": "#/components/parameters/repo"
57280
+ }
57281
+ ],
57282
+ "responses": {
57283
+ "204": {
57284
+ "description": "Response if this repository is starred by you"
57285
+ },
57286
+ "304": {
57287
+ "$ref": "#/components/responses/not_modified"
57288
+ },
57289
+ "401": {
57290
+ "$ref": "#/components/responses/requires_authentication"
57291
+ },
57292
+ "403": {
57293
+ "$ref": "#/components/responses/forbidden"
57294
+ },
57295
+ "404": {
57296
+ "description": "Not Found if this repository is not starred by you",
57297
+ "content": {
57298
+ "application/json": {
57299
+ "schema": {
57300
+ "$ref": "#/components/schemas/basic-error"
57301
+ }
57302
+ }
57303
+ }
57304
+ }
57305
+ },
57306
+ "x-github": {
57307
+ "githubCloudOnly": false,
57308
+ "enabledForGitHubApps": false,
57309
+ "category": "activity",
57310
+ "subcategory": "starring"
57311
+ },
57312
+ "x-octokit": {}
57313
+ },
57314
+ "put": {
57315
+ "summary": "Star a repository for the authenticated user",
57316
+ "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"",
57317
+ "tags": [
57318
+ "activity"
57319
+ ],
57320
+ "operationId": "activity/star-repo-for-authenticated-user",
57321
+ "externalDocs": {
57322
+ "description": "API method documentation",
57323
+ "url": "https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user"
57324
+ },
57325
+ "parameters": [
57326
+ {
57327
+ "$ref": "#/components/parameters/owner"
57328
+ },
57329
+ {
57330
+ "$ref": "#/components/parameters/repo"
57331
+ }
57332
+ ],
57333
+ "responses": {
57334
+ "204": {
57335
+ "description": "Response"
57336
+ },
57337
+ "304": {
57338
+ "$ref": "#/components/responses/not_modified"
57339
+ },
57340
+ "401": {
57341
+ "$ref": "#/components/responses/requires_authentication"
57342
+ },
57343
+ "403": {
57344
+ "$ref": "#/components/responses/forbidden"
57345
+ },
57346
+ "404": {
57347
+ "$ref": "#/components/responses/not_found"
57348
+ }
57349
+ },
57350
+ "x-github": {
57351
+ "githubCloudOnly": false,
57352
+ "enabledForGitHubApps": false,
57353
+ "category": "activity",
57354
+ "subcategory": "starring"
57355
+ },
57356
+ "x-octokit": {}
57357
+ },
57358
+ "delete": {
57359
+ "summary": "Unstar a repository for the authenticated user",
57360
+ "description": "",
57361
+ "tags": [
57362
+ "activity"
57363
+ ],
57364
+ "operationId": "activity/unstar-repo-for-authenticated-user",
57365
+ "externalDocs": {
57366
+ "description": "API method documentation",
57367
+ "url": "https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user"
57368
+ },
57369
+ "parameters": [
57370
+ {
57371
+ "$ref": "#/components/parameters/owner"
57372
+ },
57373
+ {
57374
+ "$ref": "#/components/parameters/repo"
56916
57375
  }
56917
57376
  ],
56918
57377
  "responses": {
@@ -58686,6 +59145,63 @@
58686
59145
  "x-octokit": {}
58687
59146
  }
58688
59147
  },
59148
+ "/users/{username}/ssh_signing_keys": {
59149
+ "get": {
59150
+ "summary": "List SSH signing keys for a user",
59151
+ "description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.",
59152
+ "tags": [
59153
+ "users"
59154
+ ],
59155
+ "operationId": "users/list-ssh-signing-keys-for-user",
59156
+ "externalDocs": {
59157
+ "description": "API method documentation",
59158
+ "url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
59159
+ },
59160
+ "parameters": [
59161
+ {
59162
+ "$ref": "#/components/parameters/username"
59163
+ },
59164
+ {
59165
+ "$ref": "#/components/parameters/per-page"
59166
+ },
59167
+ {
59168
+ "$ref": "#/components/parameters/page"
59169
+ }
59170
+ ],
59171
+ "responses": {
59172
+ "200": {
59173
+ "description": "Response",
59174
+ "content": {
59175
+ "application/json": {
59176
+ "schema": {
59177
+ "type": "array",
59178
+ "items": {
59179
+ "$ref": "#/components/schemas/ssh-signing-key"
59180
+ }
59181
+ },
59182
+ "examples": {
59183
+ "default": {
59184
+ "$ref": "#/components/examples/ssh-signing-key-items"
59185
+ }
59186
+ }
59187
+ }
59188
+ },
59189
+ "headers": {
59190
+ "Link": {
59191
+ "$ref": "#/components/headers/link"
59192
+ }
59193
+ }
59194
+ }
59195
+ },
59196
+ "x-github": {
59197
+ "githubCloudOnly": false,
59198
+ "enabledForGitHubApps": true,
59199
+ "category": "users",
59200
+ "subcategory": "ssh-signing-keys"
59201
+ },
59202
+ "x-octokit": {}
59203
+ }
59204
+ },
58689
59205
  "/users/{username}/starred": {
58690
59206
  "get": {
58691
59207
  "summary": "List repositories starred by a user",
@@ -59961,14 +60477,6 @@
59961
60477
  "write"
59962
60478
  ]
59963
60479
  },
59964
- "organization_custom_roles": {
59965
- "type": "string",
59966
- "description": "The level of permission to grant the access token for custom roles management.",
59967
- "enum": [
59968
- "read",
59969
- "write"
59970
- ]
59971
- },
59972
60480
  "deployments": {
59973
60481
  "type": "string",
59974
60482
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -60113,6 +60621,14 @@
60113
60621
  "write"
60114
60622
  ]
60115
60623
  },
60624
+ "organization_custom_roles": {
60625
+ "type": "string",
60626
+ "description": "The level of permission to grant the access token for custom roles management. This property is in beta and is subject to change.",
60627
+ "enum": [
60628
+ "read",
60629
+ "write"
60630
+ ]
60631
+ },
60116
60632
  "organization_hooks": {
60117
60633
  "type": "string",
60118
60634
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
@@ -61173,6 +61689,11 @@
61173
61689
  "description": "Whether to allow forking this repo",
61174
61690
  "type": "boolean"
61175
61691
  },
61692
+ "web_commit_signoff_required": {
61693
+ "description": "Whether to require contributors to sign off on web-based commits",
61694
+ "default": false,
61695
+ "type": "boolean"
61696
+ },
61176
61697
  "subscribers_count": {
61177
61698
  "type": "integer"
61178
61699
  },
@@ -66112,6 +66633,11 @@
66112
66633
  "description": "Whether to allow forking this repo",
66113
66634
  "type": "boolean"
66114
66635
  },
66636
+ "web_commit_signoff_required": {
66637
+ "description": "Whether to require contributors to sign off on web-based commits",
66638
+ "default": false,
66639
+ "type": "boolean"
66640
+ },
66115
66641
  "subscribers_count": {
66116
66642
  "type": "integer"
66117
66643
  },
@@ -66581,6 +67107,10 @@
66581
67107
  },
66582
67108
  "allow_forking": {
66583
67109
  "type": "boolean"
67110
+ },
67111
+ "web_commit_signoff_required": {
67112
+ "type": "boolean",
67113
+ "example": false
66584
67114
  }
66585
67115
  },
66586
67116
  "required": [
@@ -66991,9 +67521,43 @@
66991
67521
  "example": false,
66992
67522
  "nullable": true
66993
67523
  },
67524
+ "web_commit_signoff_required": {
67525
+ "type": "boolean",
67526
+ "example": false
67527
+ },
66994
67528
  "updated_at": {
66995
67529
  "type": "string",
66996
67530
  "format": "date-time"
67531
+ },
67532
+ "advanced_security_enabled_for_new_repositories": {
67533
+ "type": "boolean",
67534
+ "example": false,
67535
+ "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."
67536
+ },
67537
+ "dependabot_alerts_enabled_for_new_repositories": {
67538
+ "type": "boolean",
67539
+ "example": false,
67540
+ "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."
67541
+ },
67542
+ "dependabot_security_updates_enabled_for_new_repositories": {
67543
+ "type": "boolean",
67544
+ "example": false,
67545
+ "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."
67546
+ },
67547
+ "dependency_graph_enabled_for_new_repositories": {
67548
+ "type": "boolean",
67549
+ "example": false,
67550
+ "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."
67551
+ },
67552
+ "secret_scanning_enabled_for_new_repositories": {
67553
+ "type": "boolean",
67554
+ "example": false,
67555
+ "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."
67556
+ },
67557
+ "secret_scanning_push_protection_enabled_for_new_repositories": {
67558
+ "type": "boolean",
67559
+ "example": false,
67560
+ "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."
66997
67561
  }
66998
67562
  },
66999
67563
  "required": [
@@ -67510,6 +68074,12 @@
67510
68074
  "format": "date-time",
67511
68075
  "example": "2011-01-26T20:01:12Z",
67512
68076
  "nullable": true
68077
+ },
68078
+ "last_known_stop_notice": {
68079
+ "description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
68080
+ "type": "string",
68081
+ "example": "you've used 100% of your spending limit for Codespaces",
68082
+ "nullable": true
67513
68083
  }
67514
68084
  },
67515
68085
  "required": [
@@ -68746,6 +69316,10 @@
68746
69316
  },
68747
69317
  "allow_forking": {
68748
69318
  "type": "boolean"
69319
+ },
69320
+ "web_commit_signoff_required": {
69321
+ "type": "boolean",
69322
+ "example": false
68749
69323
  }
68750
69324
  },
68751
69325
  "required": [
@@ -69217,6 +69791,267 @@
69217
69791
  }
69218
69792
  }
69219
69793
  },
69794
+ "team-organization": {
69795
+ "title": "Team Organization",
69796
+ "description": "Team Organization",
69797
+ "type": "object",
69798
+ "properties": {
69799
+ "login": {
69800
+ "type": "string",
69801
+ "example": "github"
69802
+ },
69803
+ "id": {
69804
+ "type": "integer",
69805
+ "example": 1
69806
+ },
69807
+ "node_id": {
69808
+ "type": "string",
69809
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
69810
+ },
69811
+ "url": {
69812
+ "type": "string",
69813
+ "format": "uri",
69814
+ "example": "https://api.github.com/orgs/github"
69815
+ },
69816
+ "repos_url": {
69817
+ "type": "string",
69818
+ "format": "uri",
69819
+ "example": "https://api.github.com/orgs/github/repos"
69820
+ },
69821
+ "events_url": {
69822
+ "type": "string",
69823
+ "format": "uri",
69824
+ "example": "https://api.github.com/orgs/github/events"
69825
+ },
69826
+ "hooks_url": {
69827
+ "type": "string",
69828
+ "example": "https://api.github.com/orgs/github/hooks"
69829
+ },
69830
+ "issues_url": {
69831
+ "type": "string",
69832
+ "example": "https://api.github.com/orgs/github/issues"
69833
+ },
69834
+ "members_url": {
69835
+ "type": "string",
69836
+ "example": "https://api.github.com/orgs/github/members{/member}"
69837
+ },
69838
+ "public_members_url": {
69839
+ "type": "string",
69840
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
69841
+ },
69842
+ "avatar_url": {
69843
+ "type": "string",
69844
+ "example": "https://github.com/images/error/octocat_happy.gif"
69845
+ },
69846
+ "description": {
69847
+ "type": "string",
69848
+ "example": "A great organization",
69849
+ "nullable": true
69850
+ },
69851
+ "name": {
69852
+ "type": "string",
69853
+ "example": "github"
69854
+ },
69855
+ "company": {
69856
+ "type": "string",
69857
+ "example": "GitHub"
69858
+ },
69859
+ "blog": {
69860
+ "type": "string",
69861
+ "format": "uri",
69862
+ "example": "https://github.com/blog"
69863
+ },
69864
+ "location": {
69865
+ "type": "string",
69866
+ "example": "San Francisco"
69867
+ },
69868
+ "email": {
69869
+ "type": "string",
69870
+ "format": "email",
69871
+ "example": "octocat@github.com"
69872
+ },
69873
+ "twitter_username": {
69874
+ "type": "string",
69875
+ "example": "github",
69876
+ "nullable": true
69877
+ },
69878
+ "is_verified": {
69879
+ "type": "boolean",
69880
+ "example": true
69881
+ },
69882
+ "has_organization_projects": {
69883
+ "type": "boolean",
69884
+ "example": true
69885
+ },
69886
+ "has_repository_projects": {
69887
+ "type": "boolean",
69888
+ "example": true
69889
+ },
69890
+ "public_repos": {
69891
+ "type": "integer",
69892
+ "example": 2
69893
+ },
69894
+ "public_gists": {
69895
+ "type": "integer",
69896
+ "example": 1
69897
+ },
69898
+ "followers": {
69899
+ "type": "integer",
69900
+ "example": 20
69901
+ },
69902
+ "following": {
69903
+ "type": "integer",
69904
+ "example": 0
69905
+ },
69906
+ "html_url": {
69907
+ "type": "string",
69908
+ "format": "uri",
69909
+ "example": "https://github.com/octocat"
69910
+ },
69911
+ "created_at": {
69912
+ "type": "string",
69913
+ "format": "date-time",
69914
+ "example": "2008-01-14T04:33:35Z"
69915
+ },
69916
+ "type": {
69917
+ "type": "string",
69918
+ "example": "Organization"
69919
+ },
69920
+ "total_private_repos": {
69921
+ "type": "integer",
69922
+ "example": 100
69923
+ },
69924
+ "owned_private_repos": {
69925
+ "type": "integer",
69926
+ "example": 100
69927
+ },
69928
+ "private_gists": {
69929
+ "type": "integer",
69930
+ "example": 81,
69931
+ "nullable": true
69932
+ },
69933
+ "disk_usage": {
69934
+ "type": "integer",
69935
+ "example": 10000,
69936
+ "nullable": true
69937
+ },
69938
+ "collaborators": {
69939
+ "type": "integer",
69940
+ "example": 8,
69941
+ "nullable": true
69942
+ },
69943
+ "billing_email": {
69944
+ "type": "string",
69945
+ "format": "email",
69946
+ "example": "org@example.com",
69947
+ "nullable": true
69948
+ },
69949
+ "plan": {
69950
+ "type": "object",
69951
+ "properties": {
69952
+ "name": {
69953
+ "type": "string"
69954
+ },
69955
+ "space": {
69956
+ "type": "integer"
69957
+ },
69958
+ "private_repos": {
69959
+ "type": "integer"
69960
+ },
69961
+ "filled_seats": {
69962
+ "type": "integer"
69963
+ },
69964
+ "seats": {
69965
+ "type": "integer"
69966
+ }
69967
+ },
69968
+ "required": [
69969
+ "name",
69970
+ "space",
69971
+ "private_repos"
69972
+ ]
69973
+ },
69974
+ "default_repository_permission": {
69975
+ "type": "string",
69976
+ "nullable": true
69977
+ },
69978
+ "members_can_create_repositories": {
69979
+ "type": "boolean",
69980
+ "example": true,
69981
+ "nullable": true
69982
+ },
69983
+ "two_factor_requirement_enabled": {
69984
+ "type": "boolean",
69985
+ "example": true,
69986
+ "nullable": true
69987
+ },
69988
+ "members_allowed_repository_creation_type": {
69989
+ "type": "string",
69990
+ "example": "all"
69991
+ },
69992
+ "members_can_create_public_repositories": {
69993
+ "type": "boolean",
69994
+ "example": true
69995
+ },
69996
+ "members_can_create_private_repositories": {
69997
+ "type": "boolean",
69998
+ "example": true
69999
+ },
70000
+ "members_can_create_internal_repositories": {
70001
+ "type": "boolean",
70002
+ "example": true
70003
+ },
70004
+ "members_can_create_pages": {
70005
+ "type": "boolean",
70006
+ "example": true
70007
+ },
70008
+ "members_can_create_public_pages": {
70009
+ "type": "boolean",
70010
+ "example": true
70011
+ },
70012
+ "members_can_create_private_pages": {
70013
+ "type": "boolean",
70014
+ "example": true
70015
+ },
70016
+ "members_can_fork_private_repositories": {
70017
+ "type": "boolean",
70018
+ "example": false,
70019
+ "nullable": true
70020
+ },
70021
+ "web_commit_signoff_required": {
70022
+ "type": "boolean",
70023
+ "example": false
70024
+ },
70025
+ "updated_at": {
70026
+ "type": "string",
70027
+ "format": "date-time"
70028
+ }
70029
+ },
70030
+ "required": [
70031
+ "login",
70032
+ "url",
70033
+ "id",
70034
+ "node_id",
70035
+ "repos_url",
70036
+ "events_url",
70037
+ "hooks_url",
70038
+ "issues_url",
70039
+ "members_url",
70040
+ "public_members_url",
70041
+ "avatar_url",
70042
+ "description",
70043
+ "html_url",
70044
+ "has_organization_projects",
70045
+ "has_repository_projects",
70046
+ "public_repos",
70047
+ "public_gists",
70048
+ "followers",
70049
+ "following",
70050
+ "type",
70051
+ "created_at",
70052
+ "updated_at"
70053
+ ]
70054
+ },
69220
70055
  "team-full": {
69221
70056
  "title": "Full Team",
69222
70057
  "description": "Groups of organization members that gives permissions on specified repositories.",
@@ -69301,7 +70136,7 @@
69301
70136
  "example": "2017-08-17T12:37:15Z"
69302
70137
  },
69303
70138
  "organization": {
69304
- "$ref": "#/components/schemas/organization-full"
70139
+ "$ref": "#/components/schemas/team-organization"
69305
70140
  },
69306
70141
  "ldap_dn": {
69307
70142
  "description": "Distinguished Name (DN) that team maps to within LDAP environment",
@@ -70097,6 +70932,12 @@
70097
70932
  "type": "boolean",
70098
70933
  "example": false
70099
70934
  },
70935
+ "web_commit_signoff_required": {
70936
+ "description": "Whether to require contributors to sign off on web-based commits",
70937
+ "default": false,
70938
+ "type": "boolean",
70939
+ "example": false
70940
+ },
70100
70941
  "subscribers_count": {
70101
70942
  "type": "integer"
70102
70943
  },
@@ -70909,6 +71750,10 @@
70909
71750
  "type": "boolean",
70910
71751
  "example": true
70911
71752
  },
71753
+ "web_commit_signoff_required": {
71754
+ "type": "boolean",
71755
+ "example": false
71756
+ },
70912
71757
  "subscribers_count": {
70913
71758
  "type": "integer",
70914
71759
  "example": 42
@@ -81685,6 +82530,9 @@
81685
82530
  },
81686
82531
  "is_template": {
81687
82532
  "type": "boolean"
82533
+ },
82534
+ "web_commit_signoff_required": {
82535
+ "type": "boolean"
81688
82536
  }
81689
82537
  },
81690
82538
  "required": [
@@ -82259,6 +83107,9 @@
82259
83107
  },
82260
83108
  "allow_forking": {
82261
83109
  "type": "boolean"
83110
+ },
83111
+ "web_commit_signoff_required": {
83112
+ "type": "boolean"
82262
83113
  }
82263
83114
  },
82264
83115
  "required": [
@@ -85048,6 +85899,10 @@
85048
85899
  },
85049
85900
  "is_template": {
85050
85901
  "type": "boolean"
85902
+ },
85903
+ "web_commit_signoff_required": {
85904
+ "type": "boolean",
85905
+ "example": false
85051
85906
  }
85052
85907
  },
85053
85908
  "required": [
@@ -86092,6 +86947,32 @@
86092
86947
  "plan"
86093
86948
  ]
86094
86949
  },
86950
+ "ssh-signing-key": {
86951
+ "title": "SSH Signing Key",
86952
+ "description": "A public SSH key used to sign Git commits",
86953
+ "type": "object",
86954
+ "properties": {
86955
+ "key": {
86956
+ "type": "string"
86957
+ },
86958
+ "id": {
86959
+ "type": "integer"
86960
+ },
86961
+ "title": {
86962
+ "type": "string"
86963
+ },
86964
+ "created_at": {
86965
+ "type": "string",
86966
+ "format": "date-time"
86967
+ }
86968
+ },
86969
+ "required": [
86970
+ "key",
86971
+ "id",
86972
+ "title",
86973
+ "created_at"
86974
+ ]
86975
+ },
86095
86976
  "starred-repository": {
86096
86977
  "title": "Starred Repository",
86097
86978
  "description": "Starred Repository",
@@ -91162,6 +92043,7 @@
91162
92043
  "members_can_create_public_pages": true,
91163
92044
  "members_can_create_private_pages": true,
91164
92045
  "members_can_fork_private_repositories": false,
92046
+ "web_commit_signoff_required": false,
91165
92047
  "updated_at": "2014-03-03T18:58:10Z"
91166
92048
  }
91167
92049
  },
@@ -95586,6 +96468,7 @@
95586
96468
  "delete_branch_on_merge": true,
95587
96469
  "allow_merge_commit": true,
95588
96470
  "allow_forking": true,
96471
+ "web_commit_signoff_required": false,
95589
96472
  "subscribers_count": 42,
95590
96473
  "network_count": 0,
95591
96474
  "organization": {
@@ -96960,6 +97843,109 @@
96960
97843
  }
96961
97844
  ]
96962
97845
  },
97846
+ "branch-get": {
97847
+ "value": {
97848
+ "name": "main",
97849
+ "commit": {
97850
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
97851
+ "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
97852
+ "commit": {
97853
+ "author": {
97854
+ "name": "The Octocat",
97855
+ "email": "octocat@nowhere.com",
97856
+ "date": "2012-03-06T23:06:50Z"
97857
+ },
97858
+ "committer": {
97859
+ "name": "The Octocat",
97860
+ "email": "octocat@nowhere.com",
97861
+ "date": "2012-03-06T23:06:50Z"
97862
+ },
97863
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
97864
+ "tree": {
97865
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
97866
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
97867
+ },
97868
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
97869
+ "comment_count": 77,
97870
+ "verification": {
97871
+ "verified": false,
97872
+ "reason": "unsigned",
97873
+ "signature": null,
97874
+ "payload": null
97875
+ }
97876
+ },
97877
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
97878
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
97879
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
97880
+ "author": {
97881
+ "login": "octocat",
97882
+ "id": 583231,
97883
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
97884
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
97885
+ "gravatar_id": "",
97886
+ "url": "https://api.github.com/users/octocat",
97887
+ "html_url": "https://github.com/octocat",
97888
+ "followers_url": "https://api.github.com/users/octocat/followers",
97889
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
97890
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
97891
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
97892
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
97893
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
97894
+ "repos_url": "https://api.github.com/users/octocat/repos",
97895
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
97896
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
97897
+ "type": "User",
97898
+ "site_admin": false
97899
+ },
97900
+ "committer": {
97901
+ "login": "octocat",
97902
+ "id": 583231,
97903
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
97904
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
97905
+ "gravatar_id": "",
97906
+ "url": "https://api.github.com/users/octocat",
97907
+ "html_url": "https://github.com/octocat",
97908
+ "followers_url": "https://api.github.com/users/octocat/followers",
97909
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
97910
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
97911
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
97912
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
97913
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
97914
+ "repos_url": "https://api.github.com/users/octocat/repos",
97915
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
97916
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
97917
+ "type": "User",
97918
+ "site_admin": false
97919
+ },
97920
+ "parents": [
97921
+ {
97922
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
97923
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
97924
+ "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
97925
+ },
97926
+ {
97927
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
97928
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
97929
+ "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
97930
+ }
97931
+ ]
97932
+ },
97933
+ "_links": {
97934
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
97935
+ "html": "https://github.com/octocat/Hello-World/tree/main"
97936
+ },
97937
+ "protected": false,
97938
+ "protection": {
97939
+ "enabled": false,
97940
+ "required_status_checks": {
97941
+ "enforcement_level": "off",
97942
+ "contexts": [],
97943
+ "checks": []
97944
+ }
97945
+ },
97946
+ "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
97947
+ }
97948
+ },
96963
97949
  "branch-protection": {
96964
97950
  "value": {
96965
97951
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
@@ -97156,6 +98142,71 @@
97156
98142
  }
97157
98143
  }
97158
98144
  },
98145
+ "branch-protection-update": {
98146
+ "value": {
98147
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
98148
+ "required_status_checks": {
98149
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
98150
+ "strict": true,
98151
+ "contexts": [
98152
+ "continuous-integration/travis-ci"
98153
+ ],
98154
+ "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
98155
+ "checks": [
98156
+ {
98157
+ "context": "continuous-integration/travis-ci",
98158
+ "app_id": null
98159
+ }
98160
+ ]
98161
+ },
98162
+ "restrictions": {
98163
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
98164
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
98165
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
98166
+ "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
98167
+ "users": [],
98168
+ "teams": [],
98169
+ "apps": []
98170
+ },
98171
+ "required_pull_request_reviews": {
98172
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
98173
+ "dismiss_stale_reviews": true,
98174
+ "require_code_owner_reviews": true,
98175
+ "required_approving_review_count": 2,
98176
+ "dismissal_restrictions": {
98177
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
98178
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
98179
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
98180
+ "users": [],
98181
+ "teams": [],
98182
+ "apps": []
98183
+ }
98184
+ },
98185
+ "required_signatures": {
98186
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
98187
+ "enabled": false
98188
+ },
98189
+ "enforce_admins": {
98190
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
98191
+ "enabled": true
98192
+ },
98193
+ "required_linear_history": {
98194
+ "enabled": true
98195
+ },
98196
+ "allow_force_pushes": {
98197
+ "enabled": true
98198
+ },
98199
+ "allow_deletions": {
98200
+ "enabled": true
98201
+ },
98202
+ "block_creations": {
98203
+ "enabled": true
98204
+ },
98205
+ "required_conversation_resolution": {
98206
+ "enabled": true
98207
+ }
98208
+ }
98209
+ },
97159
98210
  "protected-branch-admin-enforced-2": {
97160
98211
  "value": {
97161
98212
  "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
@@ -98697,6 +99748,7 @@
98697
99748
  "ref": "refs/heads/main",
98698
99749
  "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
98699
99750
  "environment": "",
99751
+ "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
98700
99752
  "state": "open",
98701
99753
  "fixed_at": null,
98702
99754
  "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
@@ -102649,7 +103701,8 @@
102649
103701
  "type": "User",
102650
103702
  "site_admin": false
102651
103703
  },
102652
- "author_association": "COLLABORATOR"
103704
+ "author_association": "COLLABORATOR",
103705
+ "state_reason": "completed"
102653
103706
  }
102654
103707
  ]
102655
103708
  },
@@ -102809,7 +103862,8 @@
102809
103862
  "type": "User",
102810
103863
  "site_admin": false
102811
103864
  },
102812
- "author_association": "COLLABORATOR"
103865
+ "author_association": "COLLABORATOR",
103866
+ "state_reason": "completed"
102813
103867
  }
102814
103868
  },
102815
103869
  "issue-comment-items": {
@@ -103045,7 +104099,8 @@
103045
104099
  "closed_at": null,
103046
104100
  "created_at": "2011-04-22T13:33:48Z",
103047
104101
  "updated_at": "2011-04-22T13:33:48Z",
103048
- "author_association": "COLLABORATOR"
104102
+ "author_association": "COLLABORATOR",
104103
+ "state_reason": "completed"
103049
104104
  }
103050
104105
  }
103051
104106
  ]
@@ -103254,7 +104309,8 @@
103254
104309
  "closed_at": null,
103255
104310
  "created_at": "2011-04-22T13:33:48Z",
103256
104311
  "updated_at": "2011-04-22T13:33:48Z",
103257
- "author_association": "COLLABORATOR"
104312
+ "author_association": "COLLABORATOR",
104313
+ "state_reason": "completed"
103258
104314
  }
103259
104315
  }
103260
104316
  },
@@ -108228,7 +109284,8 @@
108228
109284
  "body": "...",
108229
109285
  "score": 1,
108230
109286
  "locked": true,
108231
- "author_association": "COLLABORATOR"
109287
+ "author_association": "COLLABORATOR",
109288
+ "state_reason": "completed"
108232
109289
  }
108233
109290
  ]
108234
109291
  }
@@ -110255,6 +111312,33 @@
110255
111312
  }
110256
111313
  ]
110257
111314
  },
111315
+ "ssh-signing-key-items": {
111316
+ "value": [
111317
+ {
111318
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
111319
+ "id": 2,
111320
+ "url": "https://api.github.com/user/keys/2",
111321
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
111322
+ "created_at": "2020-06-11T21:31:57Z"
111323
+ },
111324
+ {
111325
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
111326
+ "id": 3,
111327
+ "url": "https://api.github.com/user/keys/3",
111328
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
111329
+ "created_at": "2020-07-11T21:31:57Z"
111330
+ }
111331
+ ]
111332
+ },
111333
+ "ssh-signing-key": {
111334
+ "value": {
111335
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
111336
+ "id": 2,
111337
+ "url": "https://api.github.com/user/keys/2",
111338
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
111339
+ "created_at": "2020-06-11T21:31:57Z"
111340
+ }
111341
+ },
110258
111342
  "starred-repository-items-alternative-response-with-star-creation-timestamps": {
110259
111343
  "summary": "Alternative response with star creation timestamps",
110260
111344
  "value": [
@@ -111984,6 +113068,36 @@
111984
113068
  "type": "integer"
111985
113069
  }
111986
113070
  },
113071
+ "security-product": {
113072
+ "name": "security_product",
113073
+ "in": "path",
113074
+ "description": "The security feature to enable or disable.",
113075
+ "required": true,
113076
+ "schema": {
113077
+ "type": "string",
113078
+ "enum": [
113079
+ "dependency_graph",
113080
+ "dependabot_alerts",
113081
+ "dependabot_security_updates",
113082
+ "advanced_security",
113083
+ "secret_scanning",
113084
+ "secret_scanning_push_protection"
113085
+ ]
113086
+ }
113087
+ },
113088
+ "org-security-product-enablement": {
113089
+ "name": "enablement",
113090
+ "in": "path",
113091
+ "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the organization.\n`disable_all` means to disable the specified security feature for all repositories in the organization.",
113092
+ "required": true,
113093
+ "schema": {
113094
+ "type": "string",
113095
+ "enum": [
113096
+ "enable_all",
113097
+ "disable_all"
113098
+ ]
113099
+ }
113100
+ },
111987
113101
  "card-id": {
111988
113102
  "name": "card_id",
111989
113103
  "description": "The unique identifier of the card.",
@@ -112488,6 +113602,15 @@
112488
113602
  "schema": {
112489
113603
  "type": "integer"
112490
113604
  }
113605
+ },
113606
+ "ssh-signing-key-id": {
113607
+ "name": "ssh_signing_key_id",
113608
+ "description": "The unique identifier of the SSH signing key.",
113609
+ "in": "path",
113610
+ "required": true,
113611
+ "schema": {
113612
+ "type": "integer"
113613
+ }
112491
113614
  }
112492
113615
  },
112493
113616
  "headers": {