You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rest/data/ghec-2022-11-28/schema.json
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -12989,13 +12989,13 @@
12989
12989
}
12990
12990
],
12991
12991
"previews": [],
12992
-
"descriptionHTML": "<p>Gets a single environment secret without revealing its encrypted value.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
12993
12992
"statusCodes": [
12994
12993
{
12995
12994
"httpStatusCode": "200",
12996
12995
"description": "<p>OK</p>"
12997
12996
}
12998
-
]
12997
+
],
12998
+
"descriptionHTML": "<p>Gets a single environment secret without revealing its encrypted value.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
12999
12999
},
13000
13000
{
13001
13001
"serverUrl": "https://api.github.com",
@@ -13212,13 +13212,13 @@
13212
13212
}
13213
13213
],
13214
13214
"previews": [],
13215
-
"descriptionHTML": "<p>Deletes a secret in an environment using the secret name.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
13216
13215
"statusCodes": [
13217
13216
{
13218
13217
"httpStatusCode": "204",
13219
13218
"description": "<p>Default response</p>"
13220
13219
}
13221
-
]
13220
+
],
13221
+
"descriptionHTML": "<p>Deletes a secret in an environment using the secret name.</p>\n<p>Authenticated users must have collaborator access to a repository to create, update, or read secrets.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
13222
13222
}
13223
13223
],
13224
13224
"self-hosted-runner-groups": [
@@ -230076,7 +230076,6 @@
230076
230076
}
230077
230077
],
230078
230078
"previews": [],
230079
-
"descriptionHTML": "<p>Select the repositories that will use a user's development environment secret.</p>\n<p>The authenticated user must have Codespaces access to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>codespace</code> or <code>codespace:secrets</code> scope to use this endpoint.</p>",
230080
230079
"statusCodes": [
230081
230080
{
230082
230081
"httpStatusCode": "204",
@@ -230098,7 +230097,8 @@
230098
230097
"httpStatusCode": "500",
230099
230098
"description": "<p>Internal Error</p>"
230100
230099
}
230101
-
]
230100
+
],
230101
+
"descriptionHTML": "<p>Select the repositories that will use a user's development environment secret.</p>\n<p>The authenticated user must have Codespaces access to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>codespace</code> or <code>codespace:secrets</code> scope to use this endpoint.</p>"
230102
230102
},
230103
230103
{
230104
230104
"serverUrl": "https://api.github.com",
@@ -272545,13 +272545,13 @@
272545
272545
}
272546
272546
],
272547
272547
"previews": [],
272548
-
"descriptionHTML": "<p>Updates a deployment branch or tag policy for an environment.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
272549
272548
"statusCodes": [
272550
272549
{
272551
272550
"httpStatusCode": "200",
272552
272551
"description": "<p>OK</p>"
272553
272552
}
272554
-
]
272553
+
],
272554
+
"descriptionHTML": "<p>Updates a deployment branch or tag policy for an environment.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
272555
272555
},
272556
272556
{
272557
272557
"serverUrl": "https://api.github.com",
@@ -317125,13 +317125,13 @@
317125
317125
}
317126
317126
],
317127
317127
"previews": [],
317128
-
"descriptionHTML": "<p>Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.</p>",
317129
317128
"statusCodes": [
317130
317129
{
317131
317130
"httpStatusCode": "204",
317132
317131
"description": "<p>No Content</p>"
317133
317132
}
317134
-
]
317133
+
],
317134
+
"descriptionHTML": "<p>Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.</p>"
Copy file name to clipboardExpand all lines: src/rest/data/ghes-3.17-2022-11-28/schema.json
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -11486,13 +11486,13 @@
11486
11486
}
11487
11487
],
11488
11488
"previews": [],
11489
-
"descriptionHTML": "<p>Deletes a self-hosted runner group for an organization.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>admin:org</code> scope to use this endpoint.</p>",
11490
11489
"statusCodes": [
11491
11490
{
11492
11491
"httpStatusCode": "204",
11493
11492
"description": "<p>No Content</p>"
11494
11493
}
11495
-
]
11494
+
],
11495
+
"descriptionHTML": "<p>Deletes a self-hosted runner group for an organization.</p>\n<p>OAuth tokens and personal access tokens (classic) need the <code>admin:org</code> scope to use this endpoint.</p>"
11496
11496
},
11497
11497
{
11498
11498
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -28252,13 +28252,13 @@
28252
28252
}
28253
28253
],
28254
28254
"previews": [],
28255
-
"descriptionHTML": "<p>Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor <code>Location:</code> in the response header to find the URL for the download.</p>\n<p>Anyone with read access to the repository can use this endpoint.</p>\n<p>If the repository is private, OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>",
28256
28255
"statusCodes": [
28257
28256
{
28258
28257
"httpStatusCode": "302",
28259
28258
"description": "<p>Found</p>"
28260
28259
}
28261
-
]
28260
+
],
28261
+
"descriptionHTML": "<p>Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor <code>Location:</code> in the response header to find the URL for the download.</p>\n<p>Anyone with read access to the repository can use this endpoint.</p>\n<p>If the repository is private, OAuth tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint.</p>"
28262
28262
},
28263
28263
{
28264
28264
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -91154,13 +91154,13 @@
91154
91154
}
91155
91155
],
91156
91156
"previews": [],
91157
-
"descriptionHTML": "<p>Sets the announcement banner to display for the organization.</p>",
91158
91157
"statusCodes": [
91159
91158
{
91160
91159
"httpStatusCode": "200",
91161
91160
"description": "<p>OK</p>"
91162
91161
}
91163
-
]
91162
+
],
91163
+
"descriptionHTML": "<p>Sets the announcement banner to display for the organization.</p>"
91164
91164
},
91165
91165
{
91166
91166
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -209661,13 +209661,13 @@
209661
209661
}
209662
209662
],
209663
209663
"previews": [],
209664
-
"descriptionHTML": "",
209665
209664
"statusCodes": [
209666
209665
{
209667
209666
"httpStatusCode": "200",
209668
209667
"description": "<p>OK</p>"
209669
209668
}
209670
-
]
209669
+
],
209670
+
"descriptionHTML": ""
209671
209671
},
209672
209672
{
209673
209673
"serverUrl": "http(s)://HOSTNAME/api/v3",
@@ -543048,13 +543048,13 @@
543048
543048
}
543049
543049
],
543050
543050
"previews": [],
543051
-
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-attention\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"></path></svg>Warning</p>\n<p>\n<strong>Endpoint closing down notice:</strong> This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new <a href=\"https://docs.github.com/[email protected]/rest/teams/discussions#create-a-discussion\"><code>Create a discussion</code></a> endpoint.</p>\n</div>\n<p>Creates a new discussion post on a team's page.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/[email protected]/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"<a href=\"https://docs.github.com/[email protected]/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits\">Rate limits for the API</a>\" and \"<a href=\"https://docs.github.com/[email protected]/rest/guides/best-practices-for-using-the-rest-api\">Best practices for using the REST API</a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>write:discussion</code> scope to use this endpoint.</p>",
543052
543051
"statusCodes": [
543053
543052
{
543054
543053
"httpStatusCode": "201",
543055
543054
"description": "<p>Created</p>"
543056
543055
}
543057
-
]
543056
+
],
543057
+
"descriptionHTML": "<div class=\"ghd-alert ghd-alert-attention\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"></path></svg>Warning</p>\n<p>\n<strong>Endpoint closing down notice:</strong> This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new <a href=\"https://docs.github.com/[email protected]/rest/teams/discussions#create-a-discussion\"><code>Create a discussion</code></a> endpoint.</p>\n</div>\n<p>Creates a new discussion post on a team's page.</p>\n<p>This endpoint triggers <a href=\"https://docs.github.com/[email protected]/github/managing-subscriptions-and-notifications-on-github/about-notifications\">notifications</a>. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"<a href=\"https://docs.github.com/[email protected]/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits\">Rate limits for the API</a>\" and \"<a href=\"https://docs.github.com/[email protected]/rest/guides/best-practices-for-using-the-rest-api\">Best practices for using the REST API</a>.\"</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>write:discussion</code> scope to use this endpoint.</p>"
0 commit comments