@octokit/openapi 7.6.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.
- package/generated/api.github.com.deref.json +1577 -517
- package/generated/api.github.com.json +491 -1
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +1 -1
- package/generated/ghes-3.2.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.3.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.4.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -1
- package/generated/ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.5.json +1 -1
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +71 -1
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +391 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +107 -1
- package/generated/ghes-3.6.deref.json +136 -2
- package/generated/ghes-3.6.json +136 -2
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +14 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +213 -1
- package/generated/github.ae.json +183 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
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": {
|
|
@@ -51554,6 +51554,36 @@
|
|
|
51554
51554
|
"updated_at": {
|
|
51555
51555
|
"type": "string",
|
|
51556
51556
|
"format": "date-time"
|
|
51557
|
+
},
|
|
51558
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
51559
|
+
"type": "boolean",
|
|
51560
|
+
"example": false,
|
|
51561
|
+
"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."
|
|
51562
|
+
},
|
|
51563
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
51564
|
+
"type": "boolean",
|
|
51565
|
+
"example": false,
|
|
51566
|
+
"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."
|
|
51567
|
+
},
|
|
51568
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
51569
|
+
"type": "boolean",
|
|
51570
|
+
"example": false,
|
|
51571
|
+
"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."
|
|
51572
|
+
},
|
|
51573
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
51574
|
+
"type": "boolean",
|
|
51575
|
+
"example": false,
|
|
51576
|
+
"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."
|
|
51577
|
+
},
|
|
51578
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
51579
|
+
"type": "boolean",
|
|
51580
|
+
"example": false,
|
|
51581
|
+
"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."
|
|
51582
|
+
},
|
|
51583
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
51584
|
+
"type": "boolean",
|
|
51585
|
+
"example": false,
|
|
51586
|
+
"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."
|
|
51557
51587
|
}
|
|
51558
51588
|
},
|
|
51559
51589
|
"required": [
|
|
@@ -51807,6 +51837,30 @@
|
|
|
51807
51837
|
"blog": {
|
|
51808
51838
|
"type": "string",
|
|
51809
51839
|
"example": "\"http://github.blog\""
|
|
51840
|
+
},
|
|
51841
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
51842
|
+
"type": "boolean",
|
|
51843
|
+
"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."
|
|
51844
|
+
},
|
|
51845
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
51846
|
+
"type": "boolean",
|
|
51847
|
+
"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."
|
|
51848
|
+
},
|
|
51849
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
51850
|
+
"type": "boolean",
|
|
51851
|
+
"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."
|
|
51852
|
+
},
|
|
51853
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
51854
|
+
"type": "boolean",
|
|
51855
|
+
"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."
|
|
51856
|
+
},
|
|
51857
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
51858
|
+
"type": "boolean",
|
|
51859
|
+
"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."
|
|
51860
|
+
},
|
|
51861
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
51862
|
+
"type": "boolean",
|
|
51863
|
+
"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."
|
|
51810
51864
|
}
|
|
51811
51865
|
}
|
|
51812
51866
|
},
|
|
@@ -52068,6 +52122,36 @@
|
|
|
52068
52122
|
"updated_at": {
|
|
52069
52123
|
"type": "string",
|
|
52070
52124
|
"format": "date-time"
|
|
52125
|
+
},
|
|
52126
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
52127
|
+
"type": "boolean",
|
|
52128
|
+
"example": false,
|
|
52129
|
+
"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."
|
|
52130
|
+
},
|
|
52131
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
52132
|
+
"type": "boolean",
|
|
52133
|
+
"example": false,
|
|
52134
|
+
"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."
|
|
52135
|
+
},
|
|
52136
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
52137
|
+
"type": "boolean",
|
|
52138
|
+
"example": false,
|
|
52139
|
+
"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."
|
|
52140
|
+
},
|
|
52141
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
52142
|
+
"type": "boolean",
|
|
52143
|
+
"example": false,
|
|
52144
|
+
"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."
|
|
52145
|
+
},
|
|
52146
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
52147
|
+
"type": "boolean",
|
|
52148
|
+
"example": false,
|
|
52149
|
+
"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."
|
|
52150
|
+
},
|
|
52151
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
52152
|
+
"type": "boolean",
|
|
52153
|
+
"example": false,
|
|
52154
|
+
"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."
|
|
52071
52155
|
}
|
|
52072
52156
|
},
|
|
52073
52157
|
"required": [
|
|
@@ -69011,6 +69095,12 @@
|
|
|
69011
69095
|
"format": "date-time",
|
|
69012
69096
|
"example": "2011-01-26T20:01:12Z",
|
|
69013
69097
|
"nullable": true
|
|
69098
|
+
},
|
|
69099
|
+
"last_known_stop_notice": {
|
|
69100
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
69101
|
+
"type": "string",
|
|
69102
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
69103
|
+
"nullable": true
|
|
69014
69104
|
}
|
|
69015
69105
|
},
|
|
69016
69106
|
"required": [
|
|
@@ -87454,6 +87544,12 @@
|
|
|
87454
87544
|
"format": "date-time",
|
|
87455
87545
|
"example": "2011-01-26T20:01:12Z",
|
|
87456
87546
|
"nullable": true
|
|
87547
|
+
},
|
|
87548
|
+
"last_known_stop_notice": {
|
|
87549
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
87550
|
+
"type": "string",
|
|
87551
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
87552
|
+
"nullable": true
|
|
87457
87553
|
}
|
|
87458
87554
|
},
|
|
87459
87555
|
"required": [
|
|
@@ -122572,366 +122668,88 @@
|
|
|
122572
122668
|
"x-octokit": {}
|
|
122573
122669
|
}
|
|
122574
122670
|
},
|
|
122575
|
-
"/
|
|
122576
|
-
"
|
|
122577
|
-
"summary": "
|
|
122578
|
-
"description": "",
|
|
122671
|
+
"/orgs/{org}/{security_product}/{enablement}": {
|
|
122672
|
+
"post": {
|
|
122673
|
+
"summary": "Enable or disable a security feature for an organization",
|
|
122674
|
+
"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).\"",
|
|
122579
122675
|
"tags": [
|
|
122580
|
-
"
|
|
122676
|
+
"orgs"
|
|
122581
122677
|
],
|
|
122582
|
-
"operationId": "
|
|
122678
|
+
"operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
|
|
122583
122679
|
"externalDocs": {
|
|
122584
122680
|
"description": "API method documentation",
|
|
122585
|
-
"url": "https://docs.github.com/rest/reference/
|
|
122681
|
+
"url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
|
|
122586
122682
|
},
|
|
122587
122683
|
"parameters": [
|
|
122588
122684
|
{
|
|
122589
|
-
"name": "
|
|
122590
|
-
"description": "The
|
|
122685
|
+
"name": "org",
|
|
122686
|
+
"description": "The organization name. The name is not case sensitive.",
|
|
122591
122687
|
"in": "path",
|
|
122592
122688
|
"required": true,
|
|
122593
122689
|
"schema": {
|
|
122594
|
-
"type": "
|
|
122595
|
-
}
|
|
122596
|
-
}
|
|
122597
|
-
],
|
|
122598
|
-
"responses": {
|
|
122599
|
-
"200": {
|
|
122600
|
-
"description": "Response",
|
|
122601
|
-
"content": {
|
|
122602
|
-
"application/json": {
|
|
122603
|
-
"schema": {
|
|
122604
|
-
"title": "Project Card",
|
|
122605
|
-
"description": "Project cards represent a scope of work.",
|
|
122606
|
-
"type": "object",
|
|
122607
|
-
"properties": {
|
|
122608
|
-
"url": {
|
|
122609
|
-
"type": "string",
|
|
122610
|
-
"format": "uri",
|
|
122611
|
-
"example": "https://api.github.com/projects/columns/cards/1478"
|
|
122612
|
-
},
|
|
122613
|
-
"id": {
|
|
122614
|
-
"description": "The project card's ID",
|
|
122615
|
-
"example": 42,
|
|
122616
|
-
"type": "integer"
|
|
122617
|
-
},
|
|
122618
|
-
"node_id": {
|
|
122619
|
-
"type": "string",
|
|
122620
|
-
"example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
|
|
122621
|
-
},
|
|
122622
|
-
"note": {
|
|
122623
|
-
"type": "string",
|
|
122624
|
-
"example": "Add payload for delete Project column",
|
|
122625
|
-
"nullable": true
|
|
122626
|
-
},
|
|
122627
|
-
"creator": {
|
|
122628
|
-
"title": "Simple User",
|
|
122629
|
-
"description": "Simple User",
|
|
122630
|
-
"type": "object",
|
|
122631
|
-
"properties": {
|
|
122632
|
-
"name": {
|
|
122633
|
-
"nullable": true,
|
|
122634
|
-
"type": "string"
|
|
122635
|
-
},
|
|
122636
|
-
"email": {
|
|
122637
|
-
"nullable": true,
|
|
122638
|
-
"type": "string"
|
|
122639
|
-
},
|
|
122640
|
-
"login": {
|
|
122641
|
-
"type": "string",
|
|
122642
|
-
"example": "octocat"
|
|
122643
|
-
},
|
|
122644
|
-
"id": {
|
|
122645
|
-
"type": "integer",
|
|
122646
|
-
"example": 1
|
|
122647
|
-
},
|
|
122648
|
-
"node_id": {
|
|
122649
|
-
"type": "string",
|
|
122650
|
-
"example": "MDQ6VXNlcjE="
|
|
122651
|
-
},
|
|
122652
|
-
"avatar_url": {
|
|
122653
|
-
"type": "string",
|
|
122654
|
-
"format": "uri",
|
|
122655
|
-
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
122656
|
-
},
|
|
122657
|
-
"gravatar_id": {
|
|
122658
|
-
"type": "string",
|
|
122659
|
-
"example": "41d064eb2195891e12d0413f63227ea7",
|
|
122660
|
-
"nullable": true
|
|
122661
|
-
},
|
|
122662
|
-
"url": {
|
|
122663
|
-
"type": "string",
|
|
122664
|
-
"format": "uri",
|
|
122665
|
-
"example": "https://api.github.com/users/octocat"
|
|
122666
|
-
},
|
|
122667
|
-
"html_url": {
|
|
122668
|
-
"type": "string",
|
|
122669
|
-
"format": "uri",
|
|
122670
|
-
"example": "https://github.com/octocat"
|
|
122671
|
-
},
|
|
122672
|
-
"followers_url": {
|
|
122673
|
-
"type": "string",
|
|
122674
|
-
"format": "uri",
|
|
122675
|
-
"example": "https://api.github.com/users/octocat/followers"
|
|
122676
|
-
},
|
|
122677
|
-
"following_url": {
|
|
122678
|
-
"type": "string",
|
|
122679
|
-
"example": "https://api.github.com/users/octocat/following{/other_user}"
|
|
122680
|
-
},
|
|
122681
|
-
"gists_url": {
|
|
122682
|
-
"type": "string",
|
|
122683
|
-
"example": "https://api.github.com/users/octocat/gists{/gist_id}"
|
|
122684
|
-
},
|
|
122685
|
-
"starred_url": {
|
|
122686
|
-
"type": "string",
|
|
122687
|
-
"example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
|
122688
|
-
},
|
|
122689
|
-
"subscriptions_url": {
|
|
122690
|
-
"type": "string",
|
|
122691
|
-
"format": "uri",
|
|
122692
|
-
"example": "https://api.github.com/users/octocat/subscriptions"
|
|
122693
|
-
},
|
|
122694
|
-
"organizations_url": {
|
|
122695
|
-
"type": "string",
|
|
122696
|
-
"format": "uri",
|
|
122697
|
-
"example": "https://api.github.com/users/octocat/orgs"
|
|
122698
|
-
},
|
|
122699
|
-
"repos_url": {
|
|
122700
|
-
"type": "string",
|
|
122701
|
-
"format": "uri",
|
|
122702
|
-
"example": "https://api.github.com/users/octocat/repos"
|
|
122703
|
-
},
|
|
122704
|
-
"events_url": {
|
|
122705
|
-
"type": "string",
|
|
122706
|
-
"example": "https://api.github.com/users/octocat/events{/privacy}"
|
|
122707
|
-
},
|
|
122708
|
-
"received_events_url": {
|
|
122709
|
-
"type": "string",
|
|
122710
|
-
"format": "uri",
|
|
122711
|
-
"example": "https://api.github.com/users/octocat/received_events"
|
|
122712
|
-
},
|
|
122713
|
-
"type": {
|
|
122714
|
-
"type": "string",
|
|
122715
|
-
"example": "User"
|
|
122716
|
-
},
|
|
122717
|
-
"site_admin": {
|
|
122718
|
-
"type": "boolean"
|
|
122719
|
-
},
|
|
122720
|
-
"starred_at": {
|
|
122721
|
-
"type": "string",
|
|
122722
|
-
"example": "\"2020-07-09T00:17:55Z\""
|
|
122723
|
-
}
|
|
122724
|
-
},
|
|
122725
|
-
"required": [
|
|
122726
|
-
"avatar_url",
|
|
122727
|
-
"events_url",
|
|
122728
|
-
"followers_url",
|
|
122729
|
-
"following_url",
|
|
122730
|
-
"gists_url",
|
|
122731
|
-
"gravatar_id",
|
|
122732
|
-
"html_url",
|
|
122733
|
-
"id",
|
|
122734
|
-
"node_id",
|
|
122735
|
-
"login",
|
|
122736
|
-
"organizations_url",
|
|
122737
|
-
"received_events_url",
|
|
122738
|
-
"repos_url",
|
|
122739
|
-
"site_admin",
|
|
122740
|
-
"starred_url",
|
|
122741
|
-
"subscriptions_url",
|
|
122742
|
-
"type",
|
|
122743
|
-
"url"
|
|
122744
|
-
],
|
|
122745
|
-
"nullable": true
|
|
122746
|
-
},
|
|
122747
|
-
"created_at": {
|
|
122748
|
-
"type": "string",
|
|
122749
|
-
"format": "date-time",
|
|
122750
|
-
"example": "2016-09-05T14:21:06Z"
|
|
122751
|
-
},
|
|
122752
|
-
"updated_at": {
|
|
122753
|
-
"type": "string",
|
|
122754
|
-
"format": "date-time",
|
|
122755
|
-
"example": "2016-09-05T14:20:22Z"
|
|
122756
|
-
},
|
|
122757
|
-
"archived": {
|
|
122758
|
-
"description": "Whether or not the card is archived",
|
|
122759
|
-
"example": false,
|
|
122760
|
-
"type": "boolean"
|
|
122761
|
-
},
|
|
122762
|
-
"column_name": {
|
|
122763
|
-
"type": "string"
|
|
122764
|
-
},
|
|
122765
|
-
"project_id": {
|
|
122766
|
-
"type": "string"
|
|
122767
|
-
},
|
|
122768
|
-
"column_url": {
|
|
122769
|
-
"type": "string",
|
|
122770
|
-
"format": "uri",
|
|
122771
|
-
"example": "https://api.github.com/projects/columns/367"
|
|
122772
|
-
},
|
|
122773
|
-
"content_url": {
|
|
122774
|
-
"type": "string",
|
|
122775
|
-
"format": "uri",
|
|
122776
|
-
"example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
|
|
122777
|
-
},
|
|
122778
|
-
"project_url": {
|
|
122779
|
-
"type": "string",
|
|
122780
|
-
"format": "uri",
|
|
122781
|
-
"example": "https://api.github.com/projects/120"
|
|
122782
|
-
}
|
|
122783
|
-
},
|
|
122784
|
-
"required": [
|
|
122785
|
-
"id",
|
|
122786
|
-
"node_id",
|
|
122787
|
-
"note",
|
|
122788
|
-
"url",
|
|
122789
|
-
"column_url",
|
|
122790
|
-
"project_url",
|
|
122791
|
-
"creator",
|
|
122792
|
-
"created_at",
|
|
122793
|
-
"updated_at"
|
|
122794
|
-
]
|
|
122795
|
-
},
|
|
122796
|
-
"examples": {
|
|
122797
|
-
"default": {
|
|
122798
|
-
"value": {
|
|
122799
|
-
"url": "https://api.github.com/projects/columns/cards/1478",
|
|
122800
|
-
"id": 1478,
|
|
122801
|
-
"node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==",
|
|
122802
|
-
"note": "Add payload for delete Project column",
|
|
122803
|
-
"creator": {
|
|
122804
|
-
"login": "octocat",
|
|
122805
|
-
"id": 1,
|
|
122806
|
-
"node_id": "MDQ6VXNlcjE=",
|
|
122807
|
-
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
122808
|
-
"gravatar_id": "",
|
|
122809
|
-
"url": "https://api.github.com/users/octocat",
|
|
122810
|
-
"html_url": "https://github.com/octocat",
|
|
122811
|
-
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
122812
|
-
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
122813
|
-
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
122814
|
-
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
122815
|
-
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
122816
|
-
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
122817
|
-
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
122818
|
-
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
122819
|
-
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
122820
|
-
"type": "User",
|
|
122821
|
-
"site_admin": false
|
|
122822
|
-
},
|
|
122823
|
-
"created_at": "2016-09-05T14:21:06Z",
|
|
122824
|
-
"updated_at": "2016-09-05T14:20:22Z",
|
|
122825
|
-
"archived": false,
|
|
122826
|
-
"column_url": "https://api.github.com/projects/columns/367",
|
|
122827
|
-
"content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3",
|
|
122828
|
-
"project_url": "https://api.github.com/projects/120"
|
|
122829
|
-
}
|
|
122830
|
-
}
|
|
122831
|
-
}
|
|
122832
|
-
}
|
|
122690
|
+
"type": "string"
|
|
122833
122691
|
}
|
|
122834
122692
|
},
|
|
122835
|
-
|
|
122836
|
-
"
|
|
122837
|
-
|
|
122838
|
-
|
|
122839
|
-
"
|
|
122840
|
-
"
|
|
122841
|
-
"
|
|
122842
|
-
|
|
122843
|
-
|
|
122844
|
-
|
|
122845
|
-
|
|
122846
|
-
|
|
122847
|
-
|
|
122848
|
-
|
|
122849
|
-
|
|
122850
|
-
"documentation_url": {
|
|
122851
|
-
"type": "string"
|
|
122852
|
-
},
|
|
122853
|
-
"url": {
|
|
122854
|
-
"type": "string"
|
|
122855
|
-
},
|
|
122856
|
-
"status": {
|
|
122857
|
-
"type": "string"
|
|
122858
|
-
}
|
|
122859
|
-
}
|
|
122860
|
-
}
|
|
122861
|
-
}
|
|
122693
|
+
{
|
|
122694
|
+
"name": "security_product",
|
|
122695
|
+
"in": "path",
|
|
122696
|
+
"description": "The security feature to enable or disable.",
|
|
122697
|
+
"required": true,
|
|
122698
|
+
"schema": {
|
|
122699
|
+
"type": "string",
|
|
122700
|
+
"enum": [
|
|
122701
|
+
"dependency_graph",
|
|
122702
|
+
"dependabot_alerts",
|
|
122703
|
+
"dependabot_security_updates",
|
|
122704
|
+
"advanced_security",
|
|
122705
|
+
"secret_scanning",
|
|
122706
|
+
"secret_scanning_push_protection"
|
|
122707
|
+
]
|
|
122862
122708
|
}
|
|
122863
122709
|
},
|
|
122864
|
-
|
|
122865
|
-
"
|
|
122866
|
-
"
|
|
122867
|
-
|
|
122868
|
-
|
|
122869
|
-
|
|
122870
|
-
|
|
122871
|
-
|
|
122872
|
-
|
|
122873
|
-
|
|
122874
|
-
|
|
122875
|
-
},
|
|
122876
|
-
"documentation_url": {
|
|
122877
|
-
"type": "string"
|
|
122878
|
-
},
|
|
122879
|
-
"url": {
|
|
122880
|
-
"type": "string"
|
|
122881
|
-
},
|
|
122882
|
-
"status": {
|
|
122883
|
-
"type": "string"
|
|
122884
|
-
}
|
|
122885
|
-
}
|
|
122886
|
-
}
|
|
122887
|
-
}
|
|
122710
|
+
{
|
|
122711
|
+
"name": "enablement",
|
|
122712
|
+
"in": "path",
|
|
122713
|
+
"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.",
|
|
122714
|
+
"required": true,
|
|
122715
|
+
"schema": {
|
|
122716
|
+
"type": "string",
|
|
122717
|
+
"enum": [
|
|
122718
|
+
"enable_all",
|
|
122719
|
+
"disable_all"
|
|
122720
|
+
]
|
|
122888
122721
|
}
|
|
122722
|
+
}
|
|
122723
|
+
],
|
|
122724
|
+
"responses": {
|
|
122725
|
+
"204": {
|
|
122726
|
+
"description": "Action started"
|
|
122889
122727
|
},
|
|
122890
|
-
"
|
|
122891
|
-
"description": "
|
|
122892
|
-
"content": {
|
|
122893
|
-
"application/json": {
|
|
122894
|
-
"schema": {
|
|
122895
|
-
"title": "Basic Error",
|
|
122896
|
-
"description": "Basic Error",
|
|
122897
|
-
"type": "object",
|
|
122898
|
-
"properties": {
|
|
122899
|
-
"message": {
|
|
122900
|
-
"type": "string"
|
|
122901
|
-
},
|
|
122902
|
-
"documentation_url": {
|
|
122903
|
-
"type": "string"
|
|
122904
|
-
},
|
|
122905
|
-
"url": {
|
|
122906
|
-
"type": "string"
|
|
122907
|
-
},
|
|
122908
|
-
"status": {
|
|
122909
|
-
"type": "string"
|
|
122910
|
-
}
|
|
122911
|
-
}
|
|
122912
|
-
}
|
|
122913
|
-
}
|
|
122914
|
-
}
|
|
122728
|
+
"422": {
|
|
122729
|
+
"description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement"
|
|
122915
122730
|
}
|
|
122916
122731
|
},
|
|
122917
122732
|
"x-github": {
|
|
122918
122733
|
"githubCloudOnly": false,
|
|
122919
122734
|
"enabledForGitHubApps": true,
|
|
122920
|
-
"
|
|
122921
|
-
"
|
|
122735
|
+
"previews": [],
|
|
122736
|
+
"category": "orgs",
|
|
122737
|
+
"subcategory": "orgs"
|
|
122922
122738
|
},
|
|
122923
122739
|
"x-octokit": {}
|
|
122924
|
-
}
|
|
122925
|
-
|
|
122926
|
-
|
|
122740
|
+
}
|
|
122741
|
+
},
|
|
122742
|
+
"/projects/columns/cards/{card_id}": {
|
|
122743
|
+
"get": {
|
|
122744
|
+
"summary": "Get a project card",
|
|
122927
122745
|
"description": "",
|
|
122928
122746
|
"tags": [
|
|
122929
122747
|
"projects"
|
|
122930
122748
|
],
|
|
122931
|
-
"operationId": "projects/
|
|
122749
|
+
"operationId": "projects/get-card",
|
|
122932
122750
|
"externalDocs": {
|
|
122933
122751
|
"description": "API method documentation",
|
|
122934
|
-
"url": "https://docs.github.com/rest/reference/projects#
|
|
122752
|
+
"url": "https://docs.github.com/rest/reference/projects#get-a-project-card"
|
|
122935
122753
|
},
|
|
122936
122754
|
"parameters": [
|
|
122937
122755
|
{
|
|
@@ -122944,37 +122762,386 @@
|
|
|
122944
122762
|
}
|
|
122945
122763
|
}
|
|
122946
122764
|
],
|
|
122947
|
-
"
|
|
122948
|
-
"
|
|
122949
|
-
|
|
122950
|
-
"
|
|
122951
|
-
"
|
|
122952
|
-
"
|
|
122953
|
-
|
|
122954
|
-
"
|
|
122955
|
-
|
|
122956
|
-
|
|
122957
|
-
"
|
|
122958
|
-
|
|
122959
|
-
|
|
122960
|
-
|
|
122961
|
-
|
|
122962
|
-
"
|
|
122963
|
-
|
|
122964
|
-
|
|
122965
|
-
|
|
122966
|
-
|
|
122967
|
-
|
|
122968
|
-
|
|
122969
|
-
|
|
122970
|
-
|
|
122971
|
-
"note":
|
|
122972
|
-
|
|
122973
|
-
|
|
122974
|
-
|
|
122975
|
-
|
|
122976
|
-
|
|
122977
|
-
|
|
122765
|
+
"responses": {
|
|
122766
|
+
"200": {
|
|
122767
|
+
"description": "Response",
|
|
122768
|
+
"content": {
|
|
122769
|
+
"application/json": {
|
|
122770
|
+
"schema": {
|
|
122771
|
+
"title": "Project Card",
|
|
122772
|
+
"description": "Project cards represent a scope of work.",
|
|
122773
|
+
"type": "object",
|
|
122774
|
+
"properties": {
|
|
122775
|
+
"url": {
|
|
122776
|
+
"type": "string",
|
|
122777
|
+
"format": "uri",
|
|
122778
|
+
"example": "https://api.github.com/projects/columns/cards/1478"
|
|
122779
|
+
},
|
|
122780
|
+
"id": {
|
|
122781
|
+
"description": "The project card's ID",
|
|
122782
|
+
"example": 42,
|
|
122783
|
+
"type": "integer"
|
|
122784
|
+
},
|
|
122785
|
+
"node_id": {
|
|
122786
|
+
"type": "string",
|
|
122787
|
+
"example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
|
|
122788
|
+
},
|
|
122789
|
+
"note": {
|
|
122790
|
+
"type": "string",
|
|
122791
|
+
"example": "Add payload for delete Project column",
|
|
122792
|
+
"nullable": true
|
|
122793
|
+
},
|
|
122794
|
+
"creator": {
|
|
122795
|
+
"title": "Simple User",
|
|
122796
|
+
"description": "Simple User",
|
|
122797
|
+
"type": "object",
|
|
122798
|
+
"properties": {
|
|
122799
|
+
"name": {
|
|
122800
|
+
"nullable": true,
|
|
122801
|
+
"type": "string"
|
|
122802
|
+
},
|
|
122803
|
+
"email": {
|
|
122804
|
+
"nullable": true,
|
|
122805
|
+
"type": "string"
|
|
122806
|
+
},
|
|
122807
|
+
"login": {
|
|
122808
|
+
"type": "string",
|
|
122809
|
+
"example": "octocat"
|
|
122810
|
+
},
|
|
122811
|
+
"id": {
|
|
122812
|
+
"type": "integer",
|
|
122813
|
+
"example": 1
|
|
122814
|
+
},
|
|
122815
|
+
"node_id": {
|
|
122816
|
+
"type": "string",
|
|
122817
|
+
"example": "MDQ6VXNlcjE="
|
|
122818
|
+
},
|
|
122819
|
+
"avatar_url": {
|
|
122820
|
+
"type": "string",
|
|
122821
|
+
"format": "uri",
|
|
122822
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
122823
|
+
},
|
|
122824
|
+
"gravatar_id": {
|
|
122825
|
+
"type": "string",
|
|
122826
|
+
"example": "41d064eb2195891e12d0413f63227ea7",
|
|
122827
|
+
"nullable": true
|
|
122828
|
+
},
|
|
122829
|
+
"url": {
|
|
122830
|
+
"type": "string",
|
|
122831
|
+
"format": "uri",
|
|
122832
|
+
"example": "https://api.github.com/users/octocat"
|
|
122833
|
+
},
|
|
122834
|
+
"html_url": {
|
|
122835
|
+
"type": "string",
|
|
122836
|
+
"format": "uri",
|
|
122837
|
+
"example": "https://github.com/octocat"
|
|
122838
|
+
},
|
|
122839
|
+
"followers_url": {
|
|
122840
|
+
"type": "string",
|
|
122841
|
+
"format": "uri",
|
|
122842
|
+
"example": "https://api.github.com/users/octocat/followers"
|
|
122843
|
+
},
|
|
122844
|
+
"following_url": {
|
|
122845
|
+
"type": "string",
|
|
122846
|
+
"example": "https://api.github.com/users/octocat/following{/other_user}"
|
|
122847
|
+
},
|
|
122848
|
+
"gists_url": {
|
|
122849
|
+
"type": "string",
|
|
122850
|
+
"example": "https://api.github.com/users/octocat/gists{/gist_id}"
|
|
122851
|
+
},
|
|
122852
|
+
"starred_url": {
|
|
122853
|
+
"type": "string",
|
|
122854
|
+
"example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
|
122855
|
+
},
|
|
122856
|
+
"subscriptions_url": {
|
|
122857
|
+
"type": "string",
|
|
122858
|
+
"format": "uri",
|
|
122859
|
+
"example": "https://api.github.com/users/octocat/subscriptions"
|
|
122860
|
+
},
|
|
122861
|
+
"organizations_url": {
|
|
122862
|
+
"type": "string",
|
|
122863
|
+
"format": "uri",
|
|
122864
|
+
"example": "https://api.github.com/users/octocat/orgs"
|
|
122865
|
+
},
|
|
122866
|
+
"repos_url": {
|
|
122867
|
+
"type": "string",
|
|
122868
|
+
"format": "uri",
|
|
122869
|
+
"example": "https://api.github.com/users/octocat/repos"
|
|
122870
|
+
},
|
|
122871
|
+
"events_url": {
|
|
122872
|
+
"type": "string",
|
|
122873
|
+
"example": "https://api.github.com/users/octocat/events{/privacy}"
|
|
122874
|
+
},
|
|
122875
|
+
"received_events_url": {
|
|
122876
|
+
"type": "string",
|
|
122877
|
+
"format": "uri",
|
|
122878
|
+
"example": "https://api.github.com/users/octocat/received_events"
|
|
122879
|
+
},
|
|
122880
|
+
"type": {
|
|
122881
|
+
"type": "string",
|
|
122882
|
+
"example": "User"
|
|
122883
|
+
},
|
|
122884
|
+
"site_admin": {
|
|
122885
|
+
"type": "boolean"
|
|
122886
|
+
},
|
|
122887
|
+
"starred_at": {
|
|
122888
|
+
"type": "string",
|
|
122889
|
+
"example": "\"2020-07-09T00:17:55Z\""
|
|
122890
|
+
}
|
|
122891
|
+
},
|
|
122892
|
+
"required": [
|
|
122893
|
+
"avatar_url",
|
|
122894
|
+
"events_url",
|
|
122895
|
+
"followers_url",
|
|
122896
|
+
"following_url",
|
|
122897
|
+
"gists_url",
|
|
122898
|
+
"gravatar_id",
|
|
122899
|
+
"html_url",
|
|
122900
|
+
"id",
|
|
122901
|
+
"node_id",
|
|
122902
|
+
"login",
|
|
122903
|
+
"organizations_url",
|
|
122904
|
+
"received_events_url",
|
|
122905
|
+
"repos_url",
|
|
122906
|
+
"site_admin",
|
|
122907
|
+
"starred_url",
|
|
122908
|
+
"subscriptions_url",
|
|
122909
|
+
"type",
|
|
122910
|
+
"url"
|
|
122911
|
+
],
|
|
122912
|
+
"nullable": true
|
|
122913
|
+
},
|
|
122914
|
+
"created_at": {
|
|
122915
|
+
"type": "string",
|
|
122916
|
+
"format": "date-time",
|
|
122917
|
+
"example": "2016-09-05T14:21:06Z"
|
|
122918
|
+
},
|
|
122919
|
+
"updated_at": {
|
|
122920
|
+
"type": "string",
|
|
122921
|
+
"format": "date-time",
|
|
122922
|
+
"example": "2016-09-05T14:20:22Z"
|
|
122923
|
+
},
|
|
122924
|
+
"archived": {
|
|
122925
|
+
"description": "Whether or not the card is archived",
|
|
122926
|
+
"example": false,
|
|
122927
|
+
"type": "boolean"
|
|
122928
|
+
},
|
|
122929
|
+
"column_name": {
|
|
122930
|
+
"type": "string"
|
|
122931
|
+
},
|
|
122932
|
+
"project_id": {
|
|
122933
|
+
"type": "string"
|
|
122934
|
+
},
|
|
122935
|
+
"column_url": {
|
|
122936
|
+
"type": "string",
|
|
122937
|
+
"format": "uri",
|
|
122938
|
+
"example": "https://api.github.com/projects/columns/367"
|
|
122939
|
+
},
|
|
122940
|
+
"content_url": {
|
|
122941
|
+
"type": "string",
|
|
122942
|
+
"format": "uri",
|
|
122943
|
+
"example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
|
|
122944
|
+
},
|
|
122945
|
+
"project_url": {
|
|
122946
|
+
"type": "string",
|
|
122947
|
+
"format": "uri",
|
|
122948
|
+
"example": "https://api.github.com/projects/120"
|
|
122949
|
+
}
|
|
122950
|
+
},
|
|
122951
|
+
"required": [
|
|
122952
|
+
"id",
|
|
122953
|
+
"node_id",
|
|
122954
|
+
"note",
|
|
122955
|
+
"url",
|
|
122956
|
+
"column_url",
|
|
122957
|
+
"project_url",
|
|
122958
|
+
"creator",
|
|
122959
|
+
"created_at",
|
|
122960
|
+
"updated_at"
|
|
122961
|
+
]
|
|
122962
|
+
},
|
|
122963
|
+
"examples": {
|
|
122964
|
+
"default": {
|
|
122965
|
+
"value": {
|
|
122966
|
+
"url": "https://api.github.com/projects/columns/cards/1478",
|
|
122967
|
+
"id": 1478,
|
|
122968
|
+
"node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==",
|
|
122969
|
+
"note": "Add payload for delete Project column",
|
|
122970
|
+
"creator": {
|
|
122971
|
+
"login": "octocat",
|
|
122972
|
+
"id": 1,
|
|
122973
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
122974
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
122975
|
+
"gravatar_id": "",
|
|
122976
|
+
"url": "https://api.github.com/users/octocat",
|
|
122977
|
+
"html_url": "https://github.com/octocat",
|
|
122978
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
122979
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
122980
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
122981
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
122982
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
122983
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
122984
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
122985
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
122986
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
122987
|
+
"type": "User",
|
|
122988
|
+
"site_admin": false
|
|
122989
|
+
},
|
|
122990
|
+
"created_at": "2016-09-05T14:21:06Z",
|
|
122991
|
+
"updated_at": "2016-09-05T14:20:22Z",
|
|
122992
|
+
"archived": false,
|
|
122993
|
+
"column_url": "https://api.github.com/projects/columns/367",
|
|
122994
|
+
"content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3",
|
|
122995
|
+
"project_url": "https://api.github.com/projects/120"
|
|
122996
|
+
}
|
|
122997
|
+
}
|
|
122998
|
+
}
|
|
122999
|
+
}
|
|
123000
|
+
}
|
|
123001
|
+
},
|
|
123002
|
+
"304": {
|
|
123003
|
+
"description": "Not modified"
|
|
123004
|
+
},
|
|
123005
|
+
"401": {
|
|
123006
|
+
"description": "Requires authentication",
|
|
123007
|
+
"content": {
|
|
123008
|
+
"application/json": {
|
|
123009
|
+
"schema": {
|
|
123010
|
+
"title": "Basic Error",
|
|
123011
|
+
"description": "Basic Error",
|
|
123012
|
+
"type": "object",
|
|
123013
|
+
"properties": {
|
|
123014
|
+
"message": {
|
|
123015
|
+
"type": "string"
|
|
123016
|
+
},
|
|
123017
|
+
"documentation_url": {
|
|
123018
|
+
"type": "string"
|
|
123019
|
+
},
|
|
123020
|
+
"url": {
|
|
123021
|
+
"type": "string"
|
|
123022
|
+
},
|
|
123023
|
+
"status": {
|
|
123024
|
+
"type": "string"
|
|
123025
|
+
}
|
|
123026
|
+
}
|
|
123027
|
+
}
|
|
123028
|
+
}
|
|
123029
|
+
}
|
|
123030
|
+
},
|
|
123031
|
+
"403": {
|
|
123032
|
+
"description": "Forbidden",
|
|
123033
|
+
"content": {
|
|
123034
|
+
"application/json": {
|
|
123035
|
+
"schema": {
|
|
123036
|
+
"title": "Basic Error",
|
|
123037
|
+
"description": "Basic Error",
|
|
123038
|
+
"type": "object",
|
|
123039
|
+
"properties": {
|
|
123040
|
+
"message": {
|
|
123041
|
+
"type": "string"
|
|
123042
|
+
},
|
|
123043
|
+
"documentation_url": {
|
|
123044
|
+
"type": "string"
|
|
123045
|
+
},
|
|
123046
|
+
"url": {
|
|
123047
|
+
"type": "string"
|
|
123048
|
+
},
|
|
123049
|
+
"status": {
|
|
123050
|
+
"type": "string"
|
|
123051
|
+
}
|
|
123052
|
+
}
|
|
123053
|
+
}
|
|
123054
|
+
}
|
|
123055
|
+
}
|
|
123056
|
+
},
|
|
123057
|
+
"404": {
|
|
123058
|
+
"description": "Resource not found",
|
|
123059
|
+
"content": {
|
|
123060
|
+
"application/json": {
|
|
123061
|
+
"schema": {
|
|
123062
|
+
"title": "Basic Error",
|
|
123063
|
+
"description": "Basic Error",
|
|
123064
|
+
"type": "object",
|
|
123065
|
+
"properties": {
|
|
123066
|
+
"message": {
|
|
123067
|
+
"type": "string"
|
|
123068
|
+
},
|
|
123069
|
+
"documentation_url": {
|
|
123070
|
+
"type": "string"
|
|
123071
|
+
},
|
|
123072
|
+
"url": {
|
|
123073
|
+
"type": "string"
|
|
123074
|
+
},
|
|
123075
|
+
"status": {
|
|
123076
|
+
"type": "string"
|
|
123077
|
+
}
|
|
123078
|
+
}
|
|
123079
|
+
}
|
|
123080
|
+
}
|
|
123081
|
+
}
|
|
123082
|
+
}
|
|
123083
|
+
},
|
|
123084
|
+
"x-github": {
|
|
123085
|
+
"githubCloudOnly": false,
|
|
123086
|
+
"enabledForGitHubApps": true,
|
|
123087
|
+
"category": "projects",
|
|
123088
|
+
"subcategory": "cards"
|
|
123089
|
+
},
|
|
123090
|
+
"x-octokit": {}
|
|
123091
|
+
},
|
|
123092
|
+
"patch": {
|
|
123093
|
+
"summary": "Update an existing project card",
|
|
123094
|
+
"description": "",
|
|
123095
|
+
"tags": [
|
|
123096
|
+
"projects"
|
|
123097
|
+
],
|
|
123098
|
+
"operationId": "projects/update-card",
|
|
123099
|
+
"externalDocs": {
|
|
123100
|
+
"description": "API method documentation",
|
|
123101
|
+
"url": "https://docs.github.com/rest/reference/projects#update-a-project-card"
|
|
123102
|
+
},
|
|
123103
|
+
"parameters": [
|
|
123104
|
+
{
|
|
123105
|
+
"name": "card_id",
|
|
123106
|
+
"description": "The unique identifier of the card.",
|
|
123107
|
+
"in": "path",
|
|
123108
|
+
"required": true,
|
|
123109
|
+
"schema": {
|
|
123110
|
+
"type": "integer"
|
|
123111
|
+
}
|
|
123112
|
+
}
|
|
123113
|
+
],
|
|
123114
|
+
"requestBody": {
|
|
123115
|
+
"required": false,
|
|
123116
|
+
"content": {
|
|
123117
|
+
"application/json": {
|
|
123118
|
+
"schema": {
|
|
123119
|
+
"type": "object",
|
|
123120
|
+
"properties": {
|
|
123121
|
+
"note": {
|
|
123122
|
+
"description": "The project card's note",
|
|
123123
|
+
"example": "Update all gems",
|
|
123124
|
+
"type": "string",
|
|
123125
|
+
"nullable": true
|
|
123126
|
+
},
|
|
123127
|
+
"archived": {
|
|
123128
|
+
"description": "Whether or not the card is archived",
|
|
123129
|
+
"example": false,
|
|
123130
|
+
"type": "boolean"
|
|
123131
|
+
}
|
|
123132
|
+
}
|
|
123133
|
+
},
|
|
123134
|
+
"examples": {
|
|
123135
|
+
"default": {
|
|
123136
|
+
"summary": "Change the note on the card",
|
|
123137
|
+
"value": {
|
|
123138
|
+
"note": "Add payload for delete Project column"
|
|
123139
|
+
}
|
|
123140
|
+
}
|
|
123141
|
+
}
|
|
123142
|
+
}
|
|
123143
|
+
}
|
|
123144
|
+
},
|
|
122978
123145
|
"responses": {
|
|
122979
123146
|
"200": {
|
|
122980
123147
|
"description": "Response",
|
|
@@ -209547,6 +209714,12 @@
|
|
|
209547
209714
|
"format": "date-time",
|
|
209548
209715
|
"example": "2011-01-26T20:01:12Z",
|
|
209549
209716
|
"nullable": true
|
|
209717
|
+
},
|
|
209718
|
+
"last_known_stop_notice": {
|
|
209719
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
209720
|
+
"type": "string",
|
|
209721
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
209722
|
+
"nullable": true
|
|
209550
209723
|
}
|
|
209551
209724
|
},
|
|
209552
209725
|
"required": [
|
|
@@ -212344,6 +212517,12 @@
|
|
|
212344
212517
|
"format": "date-time",
|
|
212345
212518
|
"example": "2011-01-26T20:01:12Z",
|
|
212346
212519
|
"nullable": true
|
|
212520
|
+
},
|
|
212521
|
+
"last_known_stop_notice": {
|
|
212522
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
212523
|
+
"type": "string",
|
|
212524
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
212525
|
+
"nullable": true
|
|
212347
212526
|
}
|
|
212348
212527
|
},
|
|
212349
212528
|
"required": [
|
|
@@ -214787,6 +214966,12 @@
|
|
|
214787
214966
|
"format": "date-time",
|
|
214788
214967
|
"example": "2011-01-26T20:01:12Z",
|
|
214789
214968
|
"nullable": true
|
|
214969
|
+
},
|
|
214970
|
+
"last_known_stop_notice": {
|
|
214971
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
214972
|
+
"type": "string",
|
|
214973
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
214974
|
+
"nullable": true
|
|
214790
214975
|
}
|
|
214791
214976
|
},
|
|
214792
214977
|
"required": [
|
|
@@ -352858,6 +353043,12 @@
|
|
|
352858
353043
|
"format": "date-time",
|
|
352859
353044
|
"example": "2011-01-26T20:01:12Z",
|
|
352860
353045
|
"nullable": true
|
|
353046
|
+
},
|
|
353047
|
+
"last_known_stop_notice": {
|
|
353048
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
353049
|
+
"type": "string",
|
|
353050
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
353051
|
+
"nullable": true
|
|
352861
353052
|
}
|
|
352862
353053
|
},
|
|
352863
353054
|
"required": [
|
|
@@ -355301,6 +355492,12 @@
|
|
|
355301
355492
|
"format": "date-time",
|
|
355302
355493
|
"example": "2011-01-26T20:01:12Z",
|
|
355303
355494
|
"nullable": true
|
|
355495
|
+
},
|
|
355496
|
+
"last_known_stop_notice": {
|
|
355497
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
355498
|
+
"type": "string",
|
|
355499
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
355500
|
+
"nullable": true
|
|
355304
355501
|
}
|
|
355305
355502
|
},
|
|
355306
355503
|
"required": [
|
|
@@ -423410,6 +423607,12 @@
|
|
|
423410
423607
|
"format": "date-time",
|
|
423411
423608
|
"example": "2011-01-26T20:01:12Z",
|
|
423412
423609
|
"nullable": true
|
|
423610
|
+
},
|
|
423611
|
+
"last_known_stop_notice": {
|
|
423612
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
423613
|
+
"type": "string",
|
|
423614
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
423615
|
+
"nullable": true
|
|
423413
423616
|
}
|
|
423414
423617
|
},
|
|
423415
423618
|
"required": [
|
|
@@ -426390,6 +426593,12 @@
|
|
|
426390
426593
|
"format": "date-time",
|
|
426391
426594
|
"example": "2011-01-26T20:01:12Z",
|
|
426392
426595
|
"nullable": true
|
|
426596
|
+
},
|
|
426597
|
+
"last_known_stop_notice": {
|
|
426598
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
426599
|
+
"type": "string",
|
|
426600
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
426601
|
+
"nullable": true
|
|
426393
426602
|
}
|
|
426394
426603
|
},
|
|
426395
426604
|
"required": [
|
|
@@ -428833,6 +429042,12 @@
|
|
|
428833
429042
|
"format": "date-time",
|
|
428834
429043
|
"example": "2011-01-26T20:01:12Z",
|
|
428835
429044
|
"nullable": true
|
|
429045
|
+
},
|
|
429046
|
+
"last_known_stop_notice": {
|
|
429047
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
429048
|
+
"type": "string",
|
|
429049
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
429050
|
+
"nullable": true
|
|
428836
429051
|
}
|
|
428837
429052
|
},
|
|
428838
429053
|
"required": [
|
|
@@ -434540,6 +434755,12 @@
|
|
|
434540
434755
|
"format": "date-time",
|
|
434541
434756
|
"example": "2011-01-26T20:01:12Z",
|
|
434542
434757
|
"nullable": true
|
|
434758
|
+
},
|
|
434759
|
+
"last_known_stop_notice": {
|
|
434760
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
434761
|
+
"type": "string",
|
|
434762
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
434763
|
+
"nullable": true
|
|
434543
434764
|
}
|
|
434544
434765
|
},
|
|
434545
434766
|
"required": [
|
|
@@ -437156,6 +437377,12 @@
|
|
|
437156
437377
|
"format": "date-time",
|
|
437157
437378
|
"example": "2011-01-26T20:01:12Z",
|
|
437158
437379
|
"nullable": true
|
|
437380
|
+
},
|
|
437381
|
+
"last_known_stop_notice": {
|
|
437382
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
437383
|
+
"type": "string",
|
|
437384
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
437385
|
+
"nullable": true
|
|
437159
437386
|
}
|
|
437160
437387
|
},
|
|
437161
437388
|
"required": [
|
|
@@ -440507,6 +440734,12 @@
|
|
|
440507
440734
|
"format": "date-time",
|
|
440508
440735
|
"example": "2011-01-26T20:01:12Z",
|
|
440509
440736
|
"nullable": true
|
|
440737
|
+
},
|
|
440738
|
+
"last_known_stop_notice": {
|
|
440739
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
440740
|
+
"type": "string",
|
|
440741
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
440742
|
+
"nullable": true
|
|
440510
440743
|
}
|
|
440511
440744
|
},
|
|
440512
440745
|
"required": [
|
|
@@ -443203,6 +443436,12 @@
|
|
|
443203
443436
|
"format": "date-time",
|
|
443204
443437
|
"example": "2011-01-26T20:01:12Z",
|
|
443205
443438
|
"nullable": true
|
|
443439
|
+
},
|
|
443440
|
+
"last_known_stop_notice": {
|
|
443441
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
443442
|
+
"type": "string",
|
|
443443
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
443444
|
+
"nullable": true
|
|
443206
443445
|
}
|
|
443207
443446
|
},
|
|
443208
443447
|
"required": [
|
|
@@ -474457,28 +474696,869 @@
|
|
|
474457
474696
|
"x-github": {
|
|
474458
474697
|
"githubCloudOnly": false,
|
|
474459
474698
|
"enabledForGitHubApps": false,
|
|
474460
|
-
"category": "collaborators",
|
|
474461
|
-
"subcategory": "invitations"
|
|
474699
|
+
"category": "collaborators",
|
|
474700
|
+
"subcategory": "invitations"
|
|
474701
|
+
},
|
|
474702
|
+
"x-octokit": {}
|
|
474703
|
+
}
|
|
474704
|
+
},
|
|
474705
|
+
"/user/repository_invitations/{invitation_id}": {
|
|
474706
|
+
"patch": {
|
|
474707
|
+
"summary": "Accept a repository invitation",
|
|
474708
|
+
"description": "",
|
|
474709
|
+
"tags": [
|
|
474710
|
+
"repos"
|
|
474711
|
+
],
|
|
474712
|
+
"operationId": "repos/accept-invitation-for-authenticated-user",
|
|
474713
|
+
"externalDocs": {
|
|
474714
|
+
"description": "API method documentation",
|
|
474715
|
+
"url": "https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation"
|
|
474716
|
+
},
|
|
474717
|
+
"parameters": [
|
|
474718
|
+
{
|
|
474719
|
+
"name": "invitation_id",
|
|
474720
|
+
"description": "The unique identifier of the invitation.",
|
|
474721
|
+
"in": "path",
|
|
474722
|
+
"required": true,
|
|
474723
|
+
"schema": {
|
|
474724
|
+
"type": "integer"
|
|
474725
|
+
}
|
|
474726
|
+
}
|
|
474727
|
+
],
|
|
474728
|
+
"responses": {
|
|
474729
|
+
"204": {
|
|
474730
|
+
"description": "Response"
|
|
474731
|
+
},
|
|
474732
|
+
"304": {
|
|
474733
|
+
"description": "Not modified"
|
|
474734
|
+
},
|
|
474735
|
+
"403": {
|
|
474736
|
+
"description": "Forbidden",
|
|
474737
|
+
"content": {
|
|
474738
|
+
"application/json": {
|
|
474739
|
+
"schema": {
|
|
474740
|
+
"title": "Basic Error",
|
|
474741
|
+
"description": "Basic Error",
|
|
474742
|
+
"type": "object",
|
|
474743
|
+
"properties": {
|
|
474744
|
+
"message": {
|
|
474745
|
+
"type": "string"
|
|
474746
|
+
},
|
|
474747
|
+
"documentation_url": {
|
|
474748
|
+
"type": "string"
|
|
474749
|
+
},
|
|
474750
|
+
"url": {
|
|
474751
|
+
"type": "string"
|
|
474752
|
+
},
|
|
474753
|
+
"status": {
|
|
474754
|
+
"type": "string"
|
|
474755
|
+
}
|
|
474756
|
+
}
|
|
474757
|
+
}
|
|
474758
|
+
}
|
|
474759
|
+
}
|
|
474760
|
+
},
|
|
474761
|
+
"404": {
|
|
474762
|
+
"description": "Resource not found",
|
|
474763
|
+
"content": {
|
|
474764
|
+
"application/json": {
|
|
474765
|
+
"schema": {
|
|
474766
|
+
"title": "Basic Error",
|
|
474767
|
+
"description": "Basic Error",
|
|
474768
|
+
"type": "object",
|
|
474769
|
+
"properties": {
|
|
474770
|
+
"message": {
|
|
474771
|
+
"type": "string"
|
|
474772
|
+
},
|
|
474773
|
+
"documentation_url": {
|
|
474774
|
+
"type": "string"
|
|
474775
|
+
},
|
|
474776
|
+
"url": {
|
|
474777
|
+
"type": "string"
|
|
474778
|
+
},
|
|
474779
|
+
"status": {
|
|
474780
|
+
"type": "string"
|
|
474781
|
+
}
|
|
474782
|
+
}
|
|
474783
|
+
}
|
|
474784
|
+
}
|
|
474785
|
+
}
|
|
474786
|
+
},
|
|
474787
|
+
"409": {
|
|
474788
|
+
"description": "Conflict",
|
|
474789
|
+
"content": {
|
|
474790
|
+
"application/json": {
|
|
474791
|
+
"schema": {
|
|
474792
|
+
"title": "Basic Error",
|
|
474793
|
+
"description": "Basic Error",
|
|
474794
|
+
"type": "object",
|
|
474795
|
+
"properties": {
|
|
474796
|
+
"message": {
|
|
474797
|
+
"type": "string"
|
|
474798
|
+
},
|
|
474799
|
+
"documentation_url": {
|
|
474800
|
+
"type": "string"
|
|
474801
|
+
},
|
|
474802
|
+
"url": {
|
|
474803
|
+
"type": "string"
|
|
474804
|
+
},
|
|
474805
|
+
"status": {
|
|
474806
|
+
"type": "string"
|
|
474807
|
+
}
|
|
474808
|
+
}
|
|
474809
|
+
}
|
|
474810
|
+
}
|
|
474811
|
+
}
|
|
474812
|
+
}
|
|
474813
|
+
},
|
|
474814
|
+
"x-github": {
|
|
474815
|
+
"githubCloudOnly": false,
|
|
474816
|
+
"enabledForGitHubApps": false,
|
|
474817
|
+
"category": "collaborators",
|
|
474818
|
+
"subcategory": "invitations"
|
|
474819
|
+
},
|
|
474820
|
+
"x-octokit": {
|
|
474821
|
+
"changes": [
|
|
474822
|
+
{
|
|
474823
|
+
"type": "OPERATION",
|
|
474824
|
+
"date": "2021-10-05",
|
|
474825
|
+
"before": {
|
|
474826
|
+
"operationId": "repos/accept-invitation"
|
|
474827
|
+
}
|
|
474828
|
+
}
|
|
474829
|
+
]
|
|
474830
|
+
}
|
|
474831
|
+
},
|
|
474832
|
+
"delete": {
|
|
474833
|
+
"summary": "Decline a repository invitation",
|
|
474834
|
+
"description": "",
|
|
474835
|
+
"tags": [
|
|
474836
|
+
"repos"
|
|
474837
|
+
],
|
|
474838
|
+
"operationId": "repos/decline-invitation-for-authenticated-user",
|
|
474839
|
+
"externalDocs": {
|
|
474840
|
+
"description": "API method documentation",
|
|
474841
|
+
"url": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation"
|
|
474842
|
+
},
|
|
474843
|
+
"parameters": [
|
|
474844
|
+
{
|
|
474845
|
+
"name": "invitation_id",
|
|
474846
|
+
"description": "The unique identifier of the invitation.",
|
|
474847
|
+
"in": "path",
|
|
474848
|
+
"required": true,
|
|
474849
|
+
"schema": {
|
|
474850
|
+
"type": "integer"
|
|
474851
|
+
}
|
|
474852
|
+
}
|
|
474853
|
+
],
|
|
474854
|
+
"responses": {
|
|
474855
|
+
"204": {
|
|
474856
|
+
"description": "Response"
|
|
474857
|
+
},
|
|
474858
|
+
"304": {
|
|
474859
|
+
"description": "Not modified"
|
|
474860
|
+
},
|
|
474861
|
+
"403": {
|
|
474862
|
+
"description": "Forbidden",
|
|
474863
|
+
"content": {
|
|
474864
|
+
"application/json": {
|
|
474865
|
+
"schema": {
|
|
474866
|
+
"title": "Basic Error",
|
|
474867
|
+
"description": "Basic Error",
|
|
474868
|
+
"type": "object",
|
|
474869
|
+
"properties": {
|
|
474870
|
+
"message": {
|
|
474871
|
+
"type": "string"
|
|
474872
|
+
},
|
|
474873
|
+
"documentation_url": {
|
|
474874
|
+
"type": "string"
|
|
474875
|
+
},
|
|
474876
|
+
"url": {
|
|
474877
|
+
"type": "string"
|
|
474878
|
+
},
|
|
474879
|
+
"status": {
|
|
474880
|
+
"type": "string"
|
|
474881
|
+
}
|
|
474882
|
+
}
|
|
474883
|
+
}
|
|
474884
|
+
}
|
|
474885
|
+
}
|
|
474886
|
+
},
|
|
474887
|
+
"404": {
|
|
474888
|
+
"description": "Resource not found",
|
|
474889
|
+
"content": {
|
|
474890
|
+
"application/json": {
|
|
474891
|
+
"schema": {
|
|
474892
|
+
"title": "Basic Error",
|
|
474893
|
+
"description": "Basic Error",
|
|
474894
|
+
"type": "object",
|
|
474895
|
+
"properties": {
|
|
474896
|
+
"message": {
|
|
474897
|
+
"type": "string"
|
|
474898
|
+
},
|
|
474899
|
+
"documentation_url": {
|
|
474900
|
+
"type": "string"
|
|
474901
|
+
},
|
|
474902
|
+
"url": {
|
|
474903
|
+
"type": "string"
|
|
474904
|
+
},
|
|
474905
|
+
"status": {
|
|
474906
|
+
"type": "string"
|
|
474907
|
+
}
|
|
474908
|
+
}
|
|
474909
|
+
}
|
|
474910
|
+
}
|
|
474911
|
+
}
|
|
474912
|
+
},
|
|
474913
|
+
"409": {
|
|
474914
|
+
"description": "Conflict",
|
|
474915
|
+
"content": {
|
|
474916
|
+
"application/json": {
|
|
474917
|
+
"schema": {
|
|
474918
|
+
"title": "Basic Error",
|
|
474919
|
+
"description": "Basic Error",
|
|
474920
|
+
"type": "object",
|
|
474921
|
+
"properties": {
|
|
474922
|
+
"message": {
|
|
474923
|
+
"type": "string"
|
|
474924
|
+
},
|
|
474925
|
+
"documentation_url": {
|
|
474926
|
+
"type": "string"
|
|
474927
|
+
},
|
|
474928
|
+
"url": {
|
|
474929
|
+
"type": "string"
|
|
474930
|
+
},
|
|
474931
|
+
"status": {
|
|
474932
|
+
"type": "string"
|
|
474933
|
+
}
|
|
474934
|
+
}
|
|
474935
|
+
}
|
|
474936
|
+
}
|
|
474937
|
+
}
|
|
474938
|
+
}
|
|
474939
|
+
},
|
|
474940
|
+
"x-github": {
|
|
474941
|
+
"githubCloudOnly": false,
|
|
474942
|
+
"enabledForGitHubApps": false,
|
|
474943
|
+
"category": "collaborators",
|
|
474944
|
+
"subcategory": "invitations"
|
|
474945
|
+
},
|
|
474946
|
+
"x-octokit": {
|
|
474947
|
+
"changes": [
|
|
474948
|
+
{
|
|
474949
|
+
"type": "OPERATION",
|
|
474950
|
+
"date": "2021-10-05",
|
|
474951
|
+
"before": {
|
|
474952
|
+
"operationId": "repos/decline-invitation"
|
|
474953
|
+
}
|
|
474954
|
+
}
|
|
474955
|
+
]
|
|
474956
|
+
}
|
|
474957
|
+
}
|
|
474958
|
+
},
|
|
474959
|
+
"/user/ssh_signing_keys": {
|
|
474960
|
+
"get": {
|
|
474961
|
+
"summary": "List SSH signing keys for the authenticated user",
|
|
474962
|
+
"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/).\"",
|
|
474963
|
+
"tags": [
|
|
474964
|
+
"users"
|
|
474965
|
+
],
|
|
474966
|
+
"operationId": "users/list-ssh-signing-keys-for-authenticated-user",
|
|
474967
|
+
"externalDocs": {
|
|
474968
|
+
"description": "API method documentation",
|
|
474969
|
+
"url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
|
|
474970
|
+
},
|
|
474971
|
+
"parameters": [
|
|
474972
|
+
{
|
|
474973
|
+
"name": "per_page",
|
|
474974
|
+
"description": "The number of results per page (max 100).",
|
|
474975
|
+
"in": "query",
|
|
474976
|
+
"schema": {
|
|
474977
|
+
"type": "integer",
|
|
474978
|
+
"default": 30
|
|
474979
|
+
}
|
|
474980
|
+
},
|
|
474981
|
+
{
|
|
474982
|
+
"name": "page",
|
|
474983
|
+
"description": "Page number of the results to fetch.",
|
|
474984
|
+
"in": "query",
|
|
474985
|
+
"schema": {
|
|
474986
|
+
"type": "integer",
|
|
474987
|
+
"default": 1
|
|
474988
|
+
}
|
|
474989
|
+
}
|
|
474990
|
+
],
|
|
474991
|
+
"responses": {
|
|
474992
|
+
"200": {
|
|
474993
|
+
"description": "Response",
|
|
474994
|
+
"content": {
|
|
474995
|
+
"application/json": {
|
|
474996
|
+
"schema": {
|
|
474997
|
+
"type": "array",
|
|
474998
|
+
"items": {
|
|
474999
|
+
"title": "SSH Signing Key",
|
|
475000
|
+
"description": "A public SSH key used to sign Git commits",
|
|
475001
|
+
"type": "object",
|
|
475002
|
+
"properties": {
|
|
475003
|
+
"key": {
|
|
475004
|
+
"type": "string"
|
|
475005
|
+
},
|
|
475006
|
+
"id": {
|
|
475007
|
+
"type": "integer"
|
|
475008
|
+
},
|
|
475009
|
+
"title": {
|
|
475010
|
+
"type": "string"
|
|
475011
|
+
},
|
|
475012
|
+
"created_at": {
|
|
475013
|
+
"type": "string",
|
|
475014
|
+
"format": "date-time"
|
|
475015
|
+
}
|
|
475016
|
+
},
|
|
475017
|
+
"required": [
|
|
475018
|
+
"key",
|
|
475019
|
+
"id",
|
|
475020
|
+
"title",
|
|
475021
|
+
"created_at"
|
|
475022
|
+
]
|
|
475023
|
+
}
|
|
475024
|
+
},
|
|
475025
|
+
"examples": {
|
|
475026
|
+
"default": {
|
|
475027
|
+
"value": [
|
|
475028
|
+
{
|
|
475029
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
475030
|
+
"id": 2,
|
|
475031
|
+
"url": "https://api.github.com/user/keys/2",
|
|
475032
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
475033
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
475034
|
+
},
|
|
475035
|
+
{
|
|
475036
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
|
|
475037
|
+
"id": 3,
|
|
475038
|
+
"url": "https://api.github.com/user/keys/3",
|
|
475039
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
|
|
475040
|
+
"created_at": "2020-07-11T21:31:57Z"
|
|
475041
|
+
}
|
|
475042
|
+
]
|
|
475043
|
+
}
|
|
475044
|
+
}
|
|
475045
|
+
}
|
|
475046
|
+
},
|
|
475047
|
+
"headers": {
|
|
475048
|
+
"Link": {
|
|
475049
|
+
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
|
475050
|
+
"schema": {
|
|
475051
|
+
"type": "string"
|
|
475052
|
+
}
|
|
475053
|
+
}
|
|
475054
|
+
}
|
|
475055
|
+
},
|
|
475056
|
+
"304": {
|
|
475057
|
+
"description": "Not modified"
|
|
475058
|
+
},
|
|
475059
|
+
"401": {
|
|
475060
|
+
"description": "Requires authentication",
|
|
475061
|
+
"content": {
|
|
475062
|
+
"application/json": {
|
|
475063
|
+
"schema": {
|
|
475064
|
+
"title": "Basic Error",
|
|
475065
|
+
"description": "Basic Error",
|
|
475066
|
+
"type": "object",
|
|
475067
|
+
"properties": {
|
|
475068
|
+
"message": {
|
|
475069
|
+
"type": "string"
|
|
475070
|
+
},
|
|
475071
|
+
"documentation_url": {
|
|
475072
|
+
"type": "string"
|
|
475073
|
+
},
|
|
475074
|
+
"url": {
|
|
475075
|
+
"type": "string"
|
|
475076
|
+
},
|
|
475077
|
+
"status": {
|
|
475078
|
+
"type": "string"
|
|
475079
|
+
}
|
|
475080
|
+
}
|
|
475081
|
+
}
|
|
475082
|
+
}
|
|
475083
|
+
}
|
|
475084
|
+
},
|
|
475085
|
+
"403": {
|
|
475086
|
+
"description": "Forbidden",
|
|
475087
|
+
"content": {
|
|
475088
|
+
"application/json": {
|
|
475089
|
+
"schema": {
|
|
475090
|
+
"title": "Basic Error",
|
|
475091
|
+
"description": "Basic Error",
|
|
475092
|
+
"type": "object",
|
|
475093
|
+
"properties": {
|
|
475094
|
+
"message": {
|
|
475095
|
+
"type": "string"
|
|
475096
|
+
},
|
|
475097
|
+
"documentation_url": {
|
|
475098
|
+
"type": "string"
|
|
475099
|
+
},
|
|
475100
|
+
"url": {
|
|
475101
|
+
"type": "string"
|
|
475102
|
+
},
|
|
475103
|
+
"status": {
|
|
475104
|
+
"type": "string"
|
|
475105
|
+
}
|
|
475106
|
+
}
|
|
475107
|
+
}
|
|
475108
|
+
}
|
|
475109
|
+
}
|
|
475110
|
+
},
|
|
475111
|
+
"404": {
|
|
475112
|
+
"description": "Resource not found",
|
|
475113
|
+
"content": {
|
|
475114
|
+
"application/json": {
|
|
475115
|
+
"schema": {
|
|
475116
|
+
"title": "Basic Error",
|
|
475117
|
+
"description": "Basic Error",
|
|
475118
|
+
"type": "object",
|
|
475119
|
+
"properties": {
|
|
475120
|
+
"message": {
|
|
475121
|
+
"type": "string"
|
|
475122
|
+
},
|
|
475123
|
+
"documentation_url": {
|
|
475124
|
+
"type": "string"
|
|
475125
|
+
},
|
|
475126
|
+
"url": {
|
|
475127
|
+
"type": "string"
|
|
475128
|
+
},
|
|
475129
|
+
"status": {
|
|
475130
|
+
"type": "string"
|
|
475131
|
+
}
|
|
475132
|
+
}
|
|
475133
|
+
}
|
|
475134
|
+
}
|
|
475135
|
+
}
|
|
475136
|
+
}
|
|
475137
|
+
},
|
|
475138
|
+
"x-github": {
|
|
475139
|
+
"githubCloudOnly": false,
|
|
475140
|
+
"enabledForGitHubApps": false,
|
|
475141
|
+
"previews": [],
|
|
475142
|
+
"category": "users",
|
|
475143
|
+
"subcategory": "ssh-signing-keys"
|
|
475144
|
+
},
|
|
475145
|
+
"x-octokit": {}
|
|
475146
|
+
},
|
|
475147
|
+
"post": {
|
|
475148
|
+
"summary": "Create a SSH signing key for the authenticated user",
|
|
475149
|
+
"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/).\"",
|
|
475150
|
+
"operationId": "users/create-ssh-signing-key-for-authenticated-user",
|
|
475151
|
+
"tags": [
|
|
475152
|
+
"users"
|
|
475153
|
+
],
|
|
475154
|
+
"externalDocs": {
|
|
475155
|
+
"description": "API method documentation",
|
|
475156
|
+
"url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
|
|
475157
|
+
},
|
|
475158
|
+
"parameters": [],
|
|
475159
|
+
"requestBody": {
|
|
475160
|
+
"required": true,
|
|
475161
|
+
"content": {
|
|
475162
|
+
"application/json": {
|
|
475163
|
+
"schema": {
|
|
475164
|
+
"properties": {
|
|
475165
|
+
"title": {
|
|
475166
|
+
"description": "A descriptive name for the new key.",
|
|
475167
|
+
"type": "string",
|
|
475168
|
+
"example": "Personal MacBook Air"
|
|
475169
|
+
},
|
|
475170
|
+
"key": {
|
|
475171
|
+
"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).\"",
|
|
475172
|
+
"type": "string",
|
|
475173
|
+
"pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
|
|
475174
|
+
}
|
|
475175
|
+
},
|
|
475176
|
+
"required": [
|
|
475177
|
+
"key"
|
|
475178
|
+
],
|
|
475179
|
+
"type": "object"
|
|
475180
|
+
}
|
|
475181
|
+
}
|
|
475182
|
+
}
|
|
475183
|
+
},
|
|
475184
|
+
"responses": {
|
|
475185
|
+
"201": {
|
|
475186
|
+
"description": "Response",
|
|
475187
|
+
"content": {
|
|
475188
|
+
"application/json": {
|
|
475189
|
+
"schema": {
|
|
475190
|
+
"title": "SSH Signing Key",
|
|
475191
|
+
"description": "A public SSH key used to sign Git commits",
|
|
475192
|
+
"type": "object",
|
|
475193
|
+
"properties": {
|
|
475194
|
+
"key": {
|
|
475195
|
+
"type": "string"
|
|
475196
|
+
},
|
|
475197
|
+
"id": {
|
|
475198
|
+
"type": "integer"
|
|
475199
|
+
},
|
|
475200
|
+
"title": {
|
|
475201
|
+
"type": "string"
|
|
475202
|
+
},
|
|
475203
|
+
"created_at": {
|
|
475204
|
+
"type": "string",
|
|
475205
|
+
"format": "date-time"
|
|
475206
|
+
}
|
|
475207
|
+
},
|
|
475208
|
+
"required": [
|
|
475209
|
+
"key",
|
|
475210
|
+
"id",
|
|
475211
|
+
"title",
|
|
475212
|
+
"created_at"
|
|
475213
|
+
]
|
|
475214
|
+
},
|
|
475215
|
+
"examples": {
|
|
475216
|
+
"default": {
|
|
475217
|
+
"value": {
|
|
475218
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
475219
|
+
"id": 2,
|
|
475220
|
+
"url": "https://api.github.com/user/keys/2",
|
|
475221
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
475222
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
475223
|
+
}
|
|
475224
|
+
}
|
|
475225
|
+
}
|
|
475226
|
+
}
|
|
475227
|
+
}
|
|
475228
|
+
},
|
|
475229
|
+
"304": {
|
|
475230
|
+
"description": "Not modified"
|
|
475231
|
+
},
|
|
475232
|
+
"401": {
|
|
475233
|
+
"description": "Requires authentication",
|
|
475234
|
+
"content": {
|
|
475235
|
+
"application/json": {
|
|
475236
|
+
"schema": {
|
|
475237
|
+
"title": "Basic Error",
|
|
475238
|
+
"description": "Basic Error",
|
|
475239
|
+
"type": "object",
|
|
475240
|
+
"properties": {
|
|
475241
|
+
"message": {
|
|
475242
|
+
"type": "string"
|
|
475243
|
+
},
|
|
475244
|
+
"documentation_url": {
|
|
475245
|
+
"type": "string"
|
|
475246
|
+
},
|
|
475247
|
+
"url": {
|
|
475248
|
+
"type": "string"
|
|
475249
|
+
},
|
|
475250
|
+
"status": {
|
|
475251
|
+
"type": "string"
|
|
475252
|
+
}
|
|
475253
|
+
}
|
|
475254
|
+
}
|
|
475255
|
+
}
|
|
475256
|
+
}
|
|
475257
|
+
},
|
|
475258
|
+
"403": {
|
|
475259
|
+
"description": "Forbidden",
|
|
475260
|
+
"content": {
|
|
475261
|
+
"application/json": {
|
|
475262
|
+
"schema": {
|
|
475263
|
+
"title": "Basic Error",
|
|
475264
|
+
"description": "Basic Error",
|
|
475265
|
+
"type": "object",
|
|
475266
|
+
"properties": {
|
|
475267
|
+
"message": {
|
|
475268
|
+
"type": "string"
|
|
475269
|
+
},
|
|
475270
|
+
"documentation_url": {
|
|
475271
|
+
"type": "string"
|
|
475272
|
+
},
|
|
475273
|
+
"url": {
|
|
475274
|
+
"type": "string"
|
|
475275
|
+
},
|
|
475276
|
+
"status": {
|
|
475277
|
+
"type": "string"
|
|
475278
|
+
}
|
|
475279
|
+
}
|
|
475280
|
+
}
|
|
475281
|
+
}
|
|
475282
|
+
}
|
|
475283
|
+
},
|
|
475284
|
+
"404": {
|
|
475285
|
+
"description": "Resource not found",
|
|
475286
|
+
"content": {
|
|
475287
|
+
"application/json": {
|
|
475288
|
+
"schema": {
|
|
475289
|
+
"title": "Basic Error",
|
|
475290
|
+
"description": "Basic Error",
|
|
475291
|
+
"type": "object",
|
|
475292
|
+
"properties": {
|
|
475293
|
+
"message": {
|
|
475294
|
+
"type": "string"
|
|
475295
|
+
},
|
|
475296
|
+
"documentation_url": {
|
|
475297
|
+
"type": "string"
|
|
475298
|
+
},
|
|
475299
|
+
"url": {
|
|
475300
|
+
"type": "string"
|
|
475301
|
+
},
|
|
475302
|
+
"status": {
|
|
475303
|
+
"type": "string"
|
|
475304
|
+
}
|
|
475305
|
+
}
|
|
475306
|
+
}
|
|
475307
|
+
}
|
|
475308
|
+
}
|
|
475309
|
+
},
|
|
475310
|
+
"422": {
|
|
475311
|
+
"description": "Validation failed",
|
|
475312
|
+
"content": {
|
|
475313
|
+
"application/json": {
|
|
475314
|
+
"schema": {
|
|
475315
|
+
"title": "Validation Error",
|
|
475316
|
+
"description": "Validation Error",
|
|
475317
|
+
"type": "object",
|
|
475318
|
+
"required": [
|
|
475319
|
+
"message",
|
|
475320
|
+
"documentation_url"
|
|
475321
|
+
],
|
|
475322
|
+
"properties": {
|
|
475323
|
+
"message": {
|
|
475324
|
+
"type": "string"
|
|
475325
|
+
},
|
|
475326
|
+
"documentation_url": {
|
|
475327
|
+
"type": "string"
|
|
475328
|
+
},
|
|
475329
|
+
"errors": {
|
|
475330
|
+
"type": "array",
|
|
475331
|
+
"items": {
|
|
475332
|
+
"type": "object",
|
|
475333
|
+
"required": [
|
|
475334
|
+
"code"
|
|
475335
|
+
],
|
|
475336
|
+
"properties": {
|
|
475337
|
+
"resource": {
|
|
475338
|
+
"type": "string"
|
|
475339
|
+
},
|
|
475340
|
+
"field": {
|
|
475341
|
+
"type": "string"
|
|
475342
|
+
},
|
|
475343
|
+
"message": {
|
|
475344
|
+
"type": "string"
|
|
475345
|
+
},
|
|
475346
|
+
"code": {
|
|
475347
|
+
"type": "string"
|
|
475348
|
+
},
|
|
475349
|
+
"index": {
|
|
475350
|
+
"type": "integer"
|
|
475351
|
+
},
|
|
475352
|
+
"value": {
|
|
475353
|
+
"oneOf": [
|
|
475354
|
+
{
|
|
475355
|
+
"type": "string",
|
|
475356
|
+
"nullable": true
|
|
475357
|
+
},
|
|
475358
|
+
{
|
|
475359
|
+
"type": "integer",
|
|
475360
|
+
"nullable": true
|
|
475361
|
+
},
|
|
475362
|
+
{
|
|
475363
|
+
"type": "array",
|
|
475364
|
+
"nullable": true,
|
|
475365
|
+
"items": {
|
|
475366
|
+
"type": "string"
|
|
475367
|
+
}
|
|
475368
|
+
}
|
|
475369
|
+
]
|
|
475370
|
+
}
|
|
475371
|
+
}
|
|
475372
|
+
}
|
|
475373
|
+
}
|
|
475374
|
+
}
|
|
475375
|
+
}
|
|
475376
|
+
}
|
|
475377
|
+
}
|
|
475378
|
+
}
|
|
475379
|
+
},
|
|
475380
|
+
"x-github": {
|
|
475381
|
+
"githubCloudOnly": false,
|
|
475382
|
+
"enabledForGitHubApps": false,
|
|
475383
|
+
"category": "users",
|
|
475384
|
+
"subcategory": "ssh-signing-keys"
|
|
475385
|
+
},
|
|
475386
|
+
"x-octokit": {}
|
|
475387
|
+
}
|
|
475388
|
+
},
|
|
475389
|
+
"/user/ssh_signing_keys/{ssh_signing_key_id}": {
|
|
475390
|
+
"get": {
|
|
475391
|
+
"summary": "Get an SSH signing key for the authenticated user",
|
|
475392
|
+
"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/).\"",
|
|
475393
|
+
"tags": [
|
|
475394
|
+
"users"
|
|
475395
|
+
],
|
|
475396
|
+
"operationId": "users/get-ssh-signing-key-for-authenticated-user",
|
|
475397
|
+
"externalDocs": {
|
|
475398
|
+
"description": "API method documentation",
|
|
475399
|
+
"url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
|
|
475400
|
+
},
|
|
475401
|
+
"parameters": [
|
|
475402
|
+
{
|
|
475403
|
+
"name": "ssh_signing_key_id",
|
|
475404
|
+
"description": "The unique identifier of the SSH signing key.",
|
|
475405
|
+
"in": "path",
|
|
475406
|
+
"required": true,
|
|
475407
|
+
"schema": {
|
|
475408
|
+
"type": "integer"
|
|
475409
|
+
}
|
|
475410
|
+
}
|
|
475411
|
+
],
|
|
475412
|
+
"responses": {
|
|
475413
|
+
"200": {
|
|
475414
|
+
"description": "Response",
|
|
475415
|
+
"content": {
|
|
475416
|
+
"application/json": {
|
|
475417
|
+
"schema": {
|
|
475418
|
+
"title": "SSH Signing Key",
|
|
475419
|
+
"description": "A public SSH key used to sign Git commits",
|
|
475420
|
+
"type": "object",
|
|
475421
|
+
"properties": {
|
|
475422
|
+
"key": {
|
|
475423
|
+
"type": "string"
|
|
475424
|
+
},
|
|
475425
|
+
"id": {
|
|
475426
|
+
"type": "integer"
|
|
475427
|
+
},
|
|
475428
|
+
"title": {
|
|
475429
|
+
"type": "string"
|
|
475430
|
+
},
|
|
475431
|
+
"created_at": {
|
|
475432
|
+
"type": "string",
|
|
475433
|
+
"format": "date-time"
|
|
475434
|
+
}
|
|
475435
|
+
},
|
|
475436
|
+
"required": [
|
|
475437
|
+
"key",
|
|
475438
|
+
"id",
|
|
475439
|
+
"title",
|
|
475440
|
+
"created_at"
|
|
475441
|
+
]
|
|
475442
|
+
},
|
|
475443
|
+
"examples": {
|
|
475444
|
+
"default": {
|
|
475445
|
+
"value": {
|
|
475446
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
475447
|
+
"id": 2,
|
|
475448
|
+
"url": "https://api.github.com/user/keys/2",
|
|
475449
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
475450
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
475451
|
+
}
|
|
475452
|
+
}
|
|
475453
|
+
}
|
|
475454
|
+
}
|
|
475455
|
+
}
|
|
475456
|
+
},
|
|
475457
|
+
"304": {
|
|
475458
|
+
"description": "Not modified"
|
|
475459
|
+
},
|
|
475460
|
+
"401": {
|
|
475461
|
+
"description": "Requires authentication",
|
|
475462
|
+
"content": {
|
|
475463
|
+
"application/json": {
|
|
475464
|
+
"schema": {
|
|
475465
|
+
"title": "Basic Error",
|
|
475466
|
+
"description": "Basic Error",
|
|
475467
|
+
"type": "object",
|
|
475468
|
+
"properties": {
|
|
475469
|
+
"message": {
|
|
475470
|
+
"type": "string"
|
|
475471
|
+
},
|
|
475472
|
+
"documentation_url": {
|
|
475473
|
+
"type": "string"
|
|
475474
|
+
},
|
|
475475
|
+
"url": {
|
|
475476
|
+
"type": "string"
|
|
475477
|
+
},
|
|
475478
|
+
"status": {
|
|
475479
|
+
"type": "string"
|
|
475480
|
+
}
|
|
475481
|
+
}
|
|
475482
|
+
}
|
|
475483
|
+
}
|
|
475484
|
+
}
|
|
475485
|
+
},
|
|
475486
|
+
"403": {
|
|
475487
|
+
"description": "Forbidden",
|
|
475488
|
+
"content": {
|
|
475489
|
+
"application/json": {
|
|
475490
|
+
"schema": {
|
|
475491
|
+
"title": "Basic Error",
|
|
475492
|
+
"description": "Basic Error",
|
|
475493
|
+
"type": "object",
|
|
475494
|
+
"properties": {
|
|
475495
|
+
"message": {
|
|
475496
|
+
"type": "string"
|
|
475497
|
+
},
|
|
475498
|
+
"documentation_url": {
|
|
475499
|
+
"type": "string"
|
|
475500
|
+
},
|
|
475501
|
+
"url": {
|
|
475502
|
+
"type": "string"
|
|
475503
|
+
},
|
|
475504
|
+
"status": {
|
|
475505
|
+
"type": "string"
|
|
475506
|
+
}
|
|
475507
|
+
}
|
|
475508
|
+
}
|
|
475509
|
+
}
|
|
475510
|
+
}
|
|
475511
|
+
},
|
|
475512
|
+
"404": {
|
|
475513
|
+
"description": "Resource not found",
|
|
475514
|
+
"content": {
|
|
475515
|
+
"application/json": {
|
|
475516
|
+
"schema": {
|
|
475517
|
+
"title": "Basic Error",
|
|
475518
|
+
"description": "Basic Error",
|
|
475519
|
+
"type": "object",
|
|
475520
|
+
"properties": {
|
|
475521
|
+
"message": {
|
|
475522
|
+
"type": "string"
|
|
475523
|
+
},
|
|
475524
|
+
"documentation_url": {
|
|
475525
|
+
"type": "string"
|
|
475526
|
+
},
|
|
475527
|
+
"url": {
|
|
475528
|
+
"type": "string"
|
|
475529
|
+
},
|
|
475530
|
+
"status": {
|
|
475531
|
+
"type": "string"
|
|
475532
|
+
}
|
|
475533
|
+
}
|
|
475534
|
+
}
|
|
475535
|
+
}
|
|
475536
|
+
}
|
|
475537
|
+
}
|
|
475538
|
+
},
|
|
475539
|
+
"x-github": {
|
|
475540
|
+
"githubCloudOnly": false,
|
|
475541
|
+
"enabledForGitHubApps": false,
|
|
475542
|
+
"category": "users",
|
|
475543
|
+
"subcategory": "ssh-signing-keys"
|
|
474462
475544
|
},
|
|
474463
475545
|
"x-octokit": {}
|
|
474464
|
-
}
|
|
474465
|
-
|
|
474466
|
-
|
|
474467
|
-
|
|
474468
|
-
"summary": "Accept a repository invitation",
|
|
474469
|
-
"description": "",
|
|
475546
|
+
},
|
|
475547
|
+
"delete": {
|
|
475548
|
+
"summary": "Delete an SSH signing key for the authenticated user",
|
|
475549
|
+
"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/).\"",
|
|
474470
475550
|
"tags": [
|
|
474471
|
-
"
|
|
475551
|
+
"users"
|
|
474472
475552
|
],
|
|
474473
|
-
"operationId": "
|
|
475553
|
+
"operationId": "users/delete-ssh-signing-key-for-authenticated-user",
|
|
474474
475554
|
"externalDocs": {
|
|
474475
475555
|
"description": "API method documentation",
|
|
474476
|
-
"url": "https://docs.github.com/rest/
|
|
475556
|
+
"url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
|
|
474477
475557
|
},
|
|
474478
475558
|
"parameters": [
|
|
474479
475559
|
{
|
|
474480
|
-
"name": "
|
|
474481
|
-
"description": "The unique identifier of the
|
|
475560
|
+
"name": "ssh_signing_key_id",
|
|
475561
|
+
"description": "The unique identifier of the SSH signing key.",
|
|
474482
475562
|
"in": "path",
|
|
474483
475563
|
"required": true,
|
|
474484
475564
|
"schema": {
|
|
@@ -474493,60 +475573,8 @@
|
|
|
474493
475573
|
"304": {
|
|
474494
475574
|
"description": "Not modified"
|
|
474495
475575
|
},
|
|
474496
|
-
"
|
|
474497
|
-
"description": "
|
|
474498
|
-
"content": {
|
|
474499
|
-
"application/json": {
|
|
474500
|
-
"schema": {
|
|
474501
|
-
"title": "Basic Error",
|
|
474502
|
-
"description": "Basic Error",
|
|
474503
|
-
"type": "object",
|
|
474504
|
-
"properties": {
|
|
474505
|
-
"message": {
|
|
474506
|
-
"type": "string"
|
|
474507
|
-
},
|
|
474508
|
-
"documentation_url": {
|
|
474509
|
-
"type": "string"
|
|
474510
|
-
},
|
|
474511
|
-
"url": {
|
|
474512
|
-
"type": "string"
|
|
474513
|
-
},
|
|
474514
|
-
"status": {
|
|
474515
|
-
"type": "string"
|
|
474516
|
-
}
|
|
474517
|
-
}
|
|
474518
|
-
}
|
|
474519
|
-
}
|
|
474520
|
-
}
|
|
474521
|
-
},
|
|
474522
|
-
"404": {
|
|
474523
|
-
"description": "Resource not found",
|
|
474524
|
-
"content": {
|
|
474525
|
-
"application/json": {
|
|
474526
|
-
"schema": {
|
|
474527
|
-
"title": "Basic Error",
|
|
474528
|
-
"description": "Basic Error",
|
|
474529
|
-
"type": "object",
|
|
474530
|
-
"properties": {
|
|
474531
|
-
"message": {
|
|
474532
|
-
"type": "string"
|
|
474533
|
-
},
|
|
474534
|
-
"documentation_url": {
|
|
474535
|
-
"type": "string"
|
|
474536
|
-
},
|
|
474537
|
-
"url": {
|
|
474538
|
-
"type": "string"
|
|
474539
|
-
},
|
|
474540
|
-
"status": {
|
|
474541
|
-
"type": "string"
|
|
474542
|
-
}
|
|
474543
|
-
}
|
|
474544
|
-
}
|
|
474545
|
-
}
|
|
474546
|
-
}
|
|
474547
|
-
},
|
|
474548
|
-
"409": {
|
|
474549
|
-
"description": "Conflict",
|
|
475576
|
+
"401": {
|
|
475577
|
+
"description": "Requires authentication",
|
|
474550
475578
|
"content": {
|
|
474551
475579
|
"application/json": {
|
|
474552
475580
|
"schema": {
|
|
@@ -474570,54 +475598,6 @@
|
|
|
474570
475598
|
}
|
|
474571
475599
|
}
|
|
474572
475600
|
}
|
|
474573
|
-
}
|
|
474574
|
-
},
|
|
474575
|
-
"x-github": {
|
|
474576
|
-
"githubCloudOnly": false,
|
|
474577
|
-
"enabledForGitHubApps": false,
|
|
474578
|
-
"category": "collaborators",
|
|
474579
|
-
"subcategory": "invitations"
|
|
474580
|
-
},
|
|
474581
|
-
"x-octokit": {
|
|
474582
|
-
"changes": [
|
|
474583
|
-
{
|
|
474584
|
-
"type": "OPERATION",
|
|
474585
|
-
"date": "2021-10-05",
|
|
474586
|
-
"before": {
|
|
474587
|
-
"operationId": "repos/accept-invitation"
|
|
474588
|
-
}
|
|
474589
|
-
}
|
|
474590
|
-
]
|
|
474591
|
-
}
|
|
474592
|
-
},
|
|
474593
|
-
"delete": {
|
|
474594
|
-
"summary": "Decline a repository invitation",
|
|
474595
|
-
"description": "",
|
|
474596
|
-
"tags": [
|
|
474597
|
-
"repos"
|
|
474598
|
-
],
|
|
474599
|
-
"operationId": "repos/decline-invitation-for-authenticated-user",
|
|
474600
|
-
"externalDocs": {
|
|
474601
|
-
"description": "API method documentation",
|
|
474602
|
-
"url": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation"
|
|
474603
|
-
},
|
|
474604
|
-
"parameters": [
|
|
474605
|
-
{
|
|
474606
|
-
"name": "invitation_id",
|
|
474607
|
-
"description": "The unique identifier of the invitation.",
|
|
474608
|
-
"in": "path",
|
|
474609
|
-
"required": true,
|
|
474610
|
-
"schema": {
|
|
474611
|
-
"type": "integer"
|
|
474612
|
-
}
|
|
474613
|
-
}
|
|
474614
|
-
],
|
|
474615
|
-
"responses": {
|
|
474616
|
-
"204": {
|
|
474617
|
-
"description": "Response"
|
|
474618
|
-
},
|
|
474619
|
-
"304": {
|
|
474620
|
-
"description": "Not modified"
|
|
474621
475601
|
},
|
|
474622
475602
|
"403": {
|
|
474623
475603
|
"description": "Forbidden",
|
|
@@ -474670,51 +475650,15 @@
|
|
|
474670
475650
|
}
|
|
474671
475651
|
}
|
|
474672
475652
|
}
|
|
474673
|
-
},
|
|
474674
|
-
"409": {
|
|
474675
|
-
"description": "Conflict",
|
|
474676
|
-
"content": {
|
|
474677
|
-
"application/json": {
|
|
474678
|
-
"schema": {
|
|
474679
|
-
"title": "Basic Error",
|
|
474680
|
-
"description": "Basic Error",
|
|
474681
|
-
"type": "object",
|
|
474682
|
-
"properties": {
|
|
474683
|
-
"message": {
|
|
474684
|
-
"type": "string"
|
|
474685
|
-
},
|
|
474686
|
-
"documentation_url": {
|
|
474687
|
-
"type": "string"
|
|
474688
|
-
},
|
|
474689
|
-
"url": {
|
|
474690
|
-
"type": "string"
|
|
474691
|
-
},
|
|
474692
|
-
"status": {
|
|
474693
|
-
"type": "string"
|
|
474694
|
-
}
|
|
474695
|
-
}
|
|
474696
|
-
}
|
|
474697
|
-
}
|
|
474698
|
-
}
|
|
474699
475653
|
}
|
|
474700
475654
|
},
|
|
474701
475655
|
"x-github": {
|
|
474702
475656
|
"githubCloudOnly": false,
|
|
474703
475657
|
"enabledForGitHubApps": false,
|
|
474704
|
-
"category": "
|
|
474705
|
-
"subcategory": "
|
|
475658
|
+
"category": "users",
|
|
475659
|
+
"subcategory": "ssh-signing-keys"
|
|
474706
475660
|
},
|
|
474707
|
-
"x-octokit": {
|
|
474708
|
-
"changes": [
|
|
474709
|
-
{
|
|
474710
|
-
"type": "OPERATION",
|
|
474711
|
-
"date": "2021-10-05",
|
|
474712
|
-
"before": {
|
|
474713
|
-
"operationId": "repos/decline-invitation"
|
|
474714
|
-
}
|
|
474715
|
-
}
|
|
474716
|
-
]
|
|
474717
|
-
}
|
|
475661
|
+
"x-octokit": {}
|
|
474718
475662
|
}
|
|
474719
475663
|
},
|
|
474720
475664
|
"/user/starred": {
|
|
@@ -507898,6 +508842,122 @@
|
|
|
507898
508842
|
"x-octokit": {}
|
|
507899
508843
|
}
|
|
507900
508844
|
},
|
|
508845
|
+
"/users/{username}/ssh_signing_keys": {
|
|
508846
|
+
"get": {
|
|
508847
|
+
"summary": "List SSH signing keys for a user",
|
|
508848
|
+
"description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.",
|
|
508849
|
+
"tags": [
|
|
508850
|
+
"users"
|
|
508851
|
+
],
|
|
508852
|
+
"operationId": "users/list-ssh-signing-keys-for-user",
|
|
508853
|
+
"externalDocs": {
|
|
508854
|
+
"description": "API method documentation",
|
|
508855
|
+
"url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
|
|
508856
|
+
},
|
|
508857
|
+
"parameters": [
|
|
508858
|
+
{
|
|
508859
|
+
"name": "username",
|
|
508860
|
+
"description": "The handle for the GitHub user account.",
|
|
508861
|
+
"in": "path",
|
|
508862
|
+
"required": true,
|
|
508863
|
+
"schema": {
|
|
508864
|
+
"type": "string"
|
|
508865
|
+
}
|
|
508866
|
+
},
|
|
508867
|
+
{
|
|
508868
|
+
"name": "per_page",
|
|
508869
|
+
"description": "The number of results per page (max 100).",
|
|
508870
|
+
"in": "query",
|
|
508871
|
+
"schema": {
|
|
508872
|
+
"type": "integer",
|
|
508873
|
+
"default": 30
|
|
508874
|
+
}
|
|
508875
|
+
},
|
|
508876
|
+
{
|
|
508877
|
+
"name": "page",
|
|
508878
|
+
"description": "Page number of the results to fetch.",
|
|
508879
|
+
"in": "query",
|
|
508880
|
+
"schema": {
|
|
508881
|
+
"type": "integer",
|
|
508882
|
+
"default": 1
|
|
508883
|
+
}
|
|
508884
|
+
}
|
|
508885
|
+
],
|
|
508886
|
+
"responses": {
|
|
508887
|
+
"200": {
|
|
508888
|
+
"description": "Response",
|
|
508889
|
+
"content": {
|
|
508890
|
+
"application/json": {
|
|
508891
|
+
"schema": {
|
|
508892
|
+
"type": "array",
|
|
508893
|
+
"items": {
|
|
508894
|
+
"title": "SSH Signing Key",
|
|
508895
|
+
"description": "A public SSH key used to sign Git commits",
|
|
508896
|
+
"type": "object",
|
|
508897
|
+
"properties": {
|
|
508898
|
+
"key": {
|
|
508899
|
+
"type": "string"
|
|
508900
|
+
},
|
|
508901
|
+
"id": {
|
|
508902
|
+
"type": "integer"
|
|
508903
|
+
},
|
|
508904
|
+
"title": {
|
|
508905
|
+
"type": "string"
|
|
508906
|
+
},
|
|
508907
|
+
"created_at": {
|
|
508908
|
+
"type": "string",
|
|
508909
|
+
"format": "date-time"
|
|
508910
|
+
}
|
|
508911
|
+
},
|
|
508912
|
+
"required": [
|
|
508913
|
+
"key",
|
|
508914
|
+
"id",
|
|
508915
|
+
"title",
|
|
508916
|
+
"created_at"
|
|
508917
|
+
]
|
|
508918
|
+
}
|
|
508919
|
+
},
|
|
508920
|
+
"examples": {
|
|
508921
|
+
"default": {
|
|
508922
|
+
"value": [
|
|
508923
|
+
{
|
|
508924
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
508925
|
+
"id": 2,
|
|
508926
|
+
"url": "https://api.github.com/user/keys/2",
|
|
508927
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
508928
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
508929
|
+
},
|
|
508930
|
+
{
|
|
508931
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
|
|
508932
|
+
"id": 3,
|
|
508933
|
+
"url": "https://api.github.com/user/keys/3",
|
|
508934
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
|
|
508935
|
+
"created_at": "2020-07-11T21:31:57Z"
|
|
508936
|
+
}
|
|
508937
|
+
]
|
|
508938
|
+
}
|
|
508939
|
+
}
|
|
508940
|
+
}
|
|
508941
|
+
},
|
|
508942
|
+
"headers": {
|
|
508943
|
+
"Link": {
|
|
508944
|
+
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
|
508945
|
+
"schema": {
|
|
508946
|
+
"type": "string"
|
|
508947
|
+
}
|
|
508948
|
+
}
|
|
508949
|
+
}
|
|
508950
|
+
}
|
|
508951
|
+
},
|
|
508952
|
+
"x-github": {
|
|
508953
|
+
"githubCloudOnly": false,
|
|
508954
|
+
"enabledForGitHubApps": true,
|
|
508955
|
+
"category": "users",
|
|
508956
|
+
"subcategory": "ssh-signing-keys"
|
|
508957
|
+
},
|
|
508958
|
+
"x-octokit": {}
|
|
508959
|
+
}
|
|
508960
|
+
},
|
|
507901
508961
|
"/users/{username}/starred": {
|
|
507902
508962
|
"get": {
|
|
507903
508963
|
"summary": "List repositories starred by a user",
|