github_api_octocat/end_points.rs
1pub enum Methods {
2 Get,
3 Post,
4 Patch,
5 Delete,
6 Put,
7}
8
9pub enum EndPoints {
10 /// * tags meta
11 /// * get `/`
12 /// * docs <https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint>
13 ///
14 /// GitHub API Root
15 /// Get Hypermedia links to resources accessible in GitHub's REST API
16 Get(),
17 /// * tags apps
18 /// * get `/app`
19 /// * docs <https://docs.github.com/rest/reference/apps#get-the-authenticated-app>
20 ///
21 /// Get the authenticated app
22 /// Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint.
23 ///
24 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
25 GetApp(),
26 /// * tags apps
27 /// * post `/app-manifests/{code}/conversions`
28 /// * docs <https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest>
29 ///
30 /// Create a GitHub App from a manifest
31 /// Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.
32 PostAppManifestscodeConversions(String),
33 /// * tags apps
34 /// * get `/app/hook/config`
35 /// * docs <https://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app>
36 ///
37 /// Get a webhook configuration for an app
38 /// Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
39 ///
40 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
41 GetAppHookConfig(),
42 /// * tags apps
43 /// * patch `/app/hook/config`
44 /// * docs <https://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app>
45 ///
46 /// Update a webhook configuration for an app
47 /// Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
48 ///
49 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
50 PatchAppHookConfig(),
51 /// * tags apps
52 /// * get `/app/hook/deliveries`
53 /// * docs <https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook>
54 ///
55 /// List deliveries for an app webhook
56 /// Returns a list of webhook deliveries for the webhook configured for a GitHub App.
57 ///
58 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
59 GetAppHookDeliveries(),
60 /// * tags apps
61 /// * get `/app/hook/deliveries/{delivery_id}`
62 /// * docs <https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook>
63 ///
64 /// Get a delivery for an app webhook
65 /// Returns a delivery for the webhook configured for a GitHub App.
66 ///
67 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
68 GetAppHookDeliveriesdeliveryId(String),
69 /// * tags apps
70 /// * post `/app/hook/deliveries/{delivery_id}/attempts`
71 /// * docs <https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook>
72 ///
73 /// Redeliver a delivery for an app webhook
74 /// Redeliver a delivery for the webhook configured for a GitHub App.
75 ///
76 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
77 PostAppHookDeliveriesdeliveryIdAttempts(String),
78 /// * tags apps
79 /// * get `/app/installations`
80 /// * docs <https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app>
81 ///
82 /// List installations for the authenticated app
83 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
84 ///
85 /// The permissions the installation has are included under the `permissions` key.
86 GetAppInstallations(),
87 /// * tags apps
88 /// * get `/app/installations/{installation_id}`
89 /// * docs <https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app>
90 ///
91 /// Get an installation for the authenticated app
92 /// Enables an authenticated GitHub App to find an installation's information using the installation id.
93 ///
94 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
95 GetAppInstallationsinstallationId(String),
96 /// * tags apps
97 /// * delete `/app/installations/{installation_id}`
98 /// * docs <https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app>
99 ///
100 /// Delete an installation for the authenticated app
101 /// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint.
102 ///
103 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
104 DeleteAppInstallationsinstallationId(String),
105 /// * tags apps
106 /// * post `/app/installations/{installation_id}/access_tokens`
107 /// * docs <https://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app>
108 ///
109 /// Create an installation access token for an app
110 /// Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.
111 ///
112 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
113 PostAppInstallationsinstallationIdAccessTokens(String),
114 /// * tags apps
115 /// * put `/app/installations/{installation_id}/suspended`
116 /// * docs <https://docs.github.com/rest/reference/apps#suspend-an-app-installation>
117 ///
118 /// Suspend an app installation
119 /// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
120 ///
121 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
122 PutAppInstallationsinstallationIdSuspended(String),
123 /// * tags apps
124 /// * delete `/app/installations/{installation_id}/suspended`
125 /// * docs <https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation>
126 ///
127 /// Unsuspend an app installation
128 /// Removes a GitHub App installation suspension.
129 ///
130 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
131 DeleteAppInstallationsinstallationIdSuspended(String),
132 /// * tags oauth-authorizations
133 /// * get `/applications/grants`
134 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants>
135 ///
136 /// List your grants
137 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
138 ///
139 /// You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`.
140 GetApplicationsGrants(),
141 /// * tags oauth-authorizations
142 /// * get `/applications/grants/{grant_id}`
143 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant>
144 ///
145 /// Get a single grant
146 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
147 GetApplicationsGrantsgrantId(String),
148 /// * tags oauth-authorizations
149 /// * delete `/applications/grants/{grant_id}`
150 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant>
151 ///
152 /// Delete a grant
153 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
154 ///
155 /// Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
156 DeleteApplicationsGrantsgrantId(String),
157 /// * tags apps
158 /// * delete `/applications/{client_id}/grant`
159 /// * docs <https://docs.github.com/rest/reference/apps#delete-an-app-authorization>
160 ///
161 /// Delete an app authorization
162 /// OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
163 /// Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
164 DeleteApplicationsclientIdGrant(String),
165 /// * tags apps
166 /// * post `/applications/{client_id}/token`
167 /// * docs <https://docs.github.com/rest/reference/apps#check-a-token>
168 ///
169 /// Check a token
170 /// OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
171 PostApplicationsclientIdToken(String),
172 /// * tags apps
173 /// * patch `/applications/{client_id}/token`
174 /// * docs <https://docs.github.com/rest/reference/apps#reset-a-token>
175 ///
176 /// Reset a token
177 /// OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
178 PatchApplicationsclientIdToken(String),
179 /// * tags apps
180 /// * delete `/applications/{client_id}/token`
181 /// * docs <https://docs.github.com/rest/reference/apps#delete-an-app-token>
182 ///
183 /// Delete an app token
184 /// OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
185 DeleteApplicationsclientIdToken(String),
186 /// * tags apps
187 /// * post `/applications/{client_id}/token/scoped`
188 /// * docs <https://docs.github.com/rest/reference/apps#create-a-scoped-access-token>
189 ///
190 /// Create a scoped access token
191 /// Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
192 PostApplicationsclientIdTokenScoped(String),
193 /// * tags apps
194 /// * get `/apps/{app_slug}`
195 /// * docs <https://docs.github.com/rest/reference/apps/#get-an-app>
196 ///
197 /// Get an app
198 /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
199 ///
200 /// If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
201 GetAppsappSlug(String),
202 /// * tags oauth-authorizations
203 /// * get `/authorizations`
204 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations>
205 ///
206 /// List your authorizations
207 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
208 GetAuthorizations(),
209 /// * tags oauth-authorizations
210 /// * post `/authorizations`
211 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization>
212 ///
213 /// Create a new authorization
214 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
215 ///
216 /// **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
217 ///
218 /// Creates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
219 ///
220 /// To create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.
221 ///
222 /// You can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).
223 ///
224 /// Organizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).
225 PostAuthorizations(),
226 /// * tags oauth-authorizations
227 /// * put `/authorizations/clients/{client_id}`
228 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app>
229 ///
230 /// Get-or-create an authorization for a specific app
231 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
232 ///
233 /// **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
234 ///
235 /// Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
236 ///
237 /// If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
238 ///
239 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
240 PutAuthorizationsClientsclientId(String),
241 /// * tags oauth-authorizations
242 /// * put `/authorizations/clients/{client_id}/{fingerprint}`
243 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint>
244 ///
245 /// Get-or-create an authorization for a specific app and fingerprint
246 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
247 ///
248 /// **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
249 ///
250 /// This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
251 ///
252 /// If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
253 PutAuthorizationsClientsclientIdfingerprint(String, String),
254 /// * tags oauth-authorizations
255 /// * get `/authorizations/{authorization_id}`
256 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization>
257 ///
258 /// Get a single authorization
259 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
260 GetAuthorizationsauthorizationId(String),
261 /// * tags oauth-authorizations
262 /// * patch `/authorizations/{authorization_id}`
263 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization>
264 ///
265 /// Update an existing authorization
266 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
267 ///
268 /// If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
269 ///
270 /// You can only send one of these scope keys at a time.
271 PatchAuthorizationsauthorizationId(String),
272 /// * tags oauth-authorizations
273 /// * delete `/authorizations/{authorization_id}`
274 /// * docs <https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization>
275 ///
276 /// Delete an authorization
277 /// **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
278 DeleteAuthorizationsauthorizationId(String),
279 /// * tags codes-of-conduct
280 /// * get `/codes_of_conduct`
281 /// * docs <https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct>
282 ///
283 /// Get all codes of conduct
284 ///
285 GetCodesOfConduct(),
286 /// * tags codes-of-conduct
287 /// * get `/codes_of_conduct/{key}`
288 /// * docs <https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct>
289 ///
290 /// Get a code of conduct
291 ///
292 GetCodesOfConductkey(String),
293 /// * tags emojis
294 /// * get `/emojis`
295 /// * docs <https://docs.github.com/rest/reference/emojis#get-emojis>
296 ///
297 /// Get emojis
298 /// Lists all the emojis available to use on GitHub.
299 GetEmojis(),
300 /// * tags enterprise-admin
301 /// * get `/enterprises/{enterprise}/actions/permissions`
302 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise>
303 ///
304 /// Get GitHub Actions permissions for an enterprise
305 /// Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
306 ///
307 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
308 GetEnterprisesenterpriseActionsPermissions(String),
309 /// * tags enterprise-admin
310 /// * put `/enterprises/{enterprise}/actions/permissions`
311 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise>
312 ///
313 /// Set GitHub Actions permissions for an enterprise
314 /// Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
315 ///
316 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
317 PutEnterprisesenterpriseActionsPermissions(String),
318 /// * tags enterprise-admin
319 /// * get `/enterprises/{enterprise}/actions/permissions/organizations`
320 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise>
321 ///
322 /// List selected organizations enabled for GitHub Actions in an enterprise
323 /// Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
324 ///
325 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
326 GetEnterprisesenterpriseActionsPermissionsOrganizations(String),
327 /// * tags enterprise-admin
328 /// * put `/enterprises/{enterprise}/actions/permissions/organizations`
329 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise>
330 ///
331 /// Set selected organizations enabled for GitHub Actions in an enterprise
332 /// Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
333 ///
334 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
335 PutEnterprisesenterpriseActionsPermissionsOrganizations(String),
336 /// * tags enterprise-admin
337 /// * put `/enterprises/{enterprise}/actions/permissions/organizations/{org_id}`
338 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise>
339 ///
340 /// Enable a selected organization for GitHub Actions in an enterprise
341 /// Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
342 ///
343 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
344 PutEnterprisesenterpriseActionsPermissionsOrganizationsorgId(String, String),
345 /// * tags enterprise-admin
346 /// * delete `/enterprises/{enterprise}/actions/permissions/organizations/{org_id}`
347 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise>
348 ///
349 /// Disable a selected organization for GitHub Actions in an enterprise
350 /// Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
351 ///
352 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
353 DeleteEnterprisesenterpriseActionsPermissionsOrganizationsorgId(String, String),
354 /// * tags enterprise-admin
355 /// * get `/enterprises/{enterprise}/actions/permissions/selected-actions`
356 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise>
357 ///
358 /// Get allowed actions for an enterprise
359 /// Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
360 ///
361 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
362 GetEnterprisesenterpriseActionsPermissionsSelectedActions(String),
363 /// * tags enterprise-admin
364 /// * put `/enterprises/{enterprise}/actions/permissions/selected-actions`
365 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise>
366 ///
367 /// Set allowed actions for an enterprise
368 /// Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
369 ///
370 /// You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
371 PutEnterprisesenterpriseActionsPermissionsSelectedActions(String),
372 /// * tags enterprise-admin
373 /// * get `/enterprises/{enterprise}/actions/runner-groups`
374 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise>
375 ///
376 /// List self-hosted runner groups for an enterprise
377 /// Lists all self-hosted runner groups for an enterprise.
378 ///
379 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
380 GetEnterprisesenterpriseActionsRunnerGroups(String),
381 /// * tags enterprise-admin
382 /// * post `/enterprises/{enterprise}/actions/runner-groups`
383 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise>
384 ///
385 /// Create a self-hosted runner group for an enterprise
386 /// Creates a new self-hosted runner group for an enterprise.
387 ///
388 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
389 PostEnterprisesenterpriseActionsRunnerGroups(String),
390 /// * tags enterprise-admin
391 /// * get `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}`
392 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise>
393 ///
394 /// Get a self-hosted runner group for an enterprise
395 /// Gets a specific self-hosted runner group for an enterprise.
396 ///
397 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
398 GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(String, String),
399 /// * tags enterprise-admin
400 /// * patch `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}`
401 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise>
402 ///
403 /// Update a self-hosted runner group for an enterprise
404 /// Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.
405 ///
406 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
407 PatchEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(String, String),
408 /// * tags enterprise-admin
409 /// * delete `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}`
410 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise>
411 ///
412 /// Delete a self-hosted runner group from an enterprise
413 /// Deletes a self-hosted runner group for an enterprise.
414 ///
415 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
416 DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(String, String),
417 /// * tags enterprise-admin
418 /// * get `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations`
419 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise>
420 ///
421 /// List organization access to a self-hosted runner group in an enterprise
422 /// Lists the organizations with access to a self-hosted runner group.
423 ///
424 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
425 GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(String, String),
426 /// * tags enterprise-admin
427 /// * put `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations`
428 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise>
429 ///
430 /// Set organization access for a self-hosted runner group in an enterprise
431 /// Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.
432 ///
433 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
434 PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(String, String),
435 /// * tags enterprise-admin
436 /// * put `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}`
437 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise>
438 ///
439 /// Add organization access to a self-hosted runner group in an enterprise
440 /// Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)."
441 ///
442 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
443 PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(
444 String,
445 String,
446 String,
447 ),
448 /// * tags enterprise-admin
449 /// * delete `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}`
450 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise>
451 ///
452 /// Remove organization access to a self-hosted runner group in an enterprise
453 /// Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)."
454 ///
455 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
456 DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(
457 String,
458 String,
459 String,
460 ),
461 /// * tags enterprise-admin
462 /// * get `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners`
463 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise>
464 ///
465 /// List self-hosted runners in a group for an enterprise
466 /// Lists the self-hosted runners that are in a specific enterprise group.
467 ///
468 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
469 GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(String, String),
470 /// * tags enterprise-admin
471 /// * put `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners`
472 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise>
473 ///
474 /// Set self-hosted runners in a group for an enterprise
475 /// Replaces the list of self-hosted runners that are part of an enterprise runner group.
476 ///
477 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
478 PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(String, String),
479 /// * tags enterprise-admin
480 /// * put `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}`
481 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise>
482 ///
483 /// Add a self-hosted runner to a group for an enterprise
484 /// Adds a self-hosted runner to a runner group configured in an enterprise.
485 ///
486 /// You must authenticate using an access token with the `manage_runners:enterprise`
487 /// scope to use this endpoint.
488 PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(String, String, String),
489 /// * tags enterprise-admin
490 /// * delete `/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}`
491 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise>
492 ///
493 /// Remove a self-hosted runner from a group for an enterprise
494 /// Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.
495 ///
496 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
497 DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(
498 String,
499 String,
500 String,
501 ),
502 /// * tags enterprise-admin
503 /// * get `/enterprises/{enterprise}/actions/runners`
504 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise>
505 ///
506 /// List self-hosted runners for an enterprise
507 /// Lists all self-hosted runners configured for an enterprise.
508 ///
509 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
510 GetEnterprisesenterpriseActionsRunners(String),
511 /// * tags enterprise-admin
512 /// * get `/enterprises/{enterprise}/actions/runners/downloads`
513 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise>
514 ///
515 /// List runner applications for an enterprise
516 /// Lists binaries for the runner application that you can download and run.
517 ///
518 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
519 GetEnterprisesenterpriseActionsRunnersDownloads(String),
520 /// * tags enterprise-admin
521 /// * post `/enterprises/{enterprise}/actions/runners/registration-token`
522 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise>
523 ///
524 /// Create a registration token for an enterprise
525 /// Returns a token that you can pass to the `config` script. The token expires after one hour.
526 ///
527 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
528 ///
529 /// #### Example using registration token
530 ///
531 /// Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.
532 ///
533 /// ```
534 /// ./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN
535 /// ```
536 PostEnterprisesenterpriseActionsRunnersRegistrationToken(String),
537 /// * tags enterprise-admin
538 /// * post `/enterprises/{enterprise}/actions/runners/remove-token`
539 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise>
540 ///
541 /// Create a remove token for an enterprise
542 /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.
543 ///
544 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
545 ///
546 /// #### Example using remove token
547 ///
548 /// To remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this
549 /// endpoint.
550 ///
551 /// ```
552 /// ./config.sh remove --token TOKEN
553 /// ```
554 PostEnterprisesenterpriseActionsRunnersRemoveToken(String),
555 /// * tags enterprise-admin
556 /// * get `/enterprises/{enterprise}/actions/runners/{runner_id}`
557 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise>
558 ///
559 /// Get a self-hosted runner for an enterprise
560 /// Gets a specific self-hosted runner configured in an enterprise.
561 ///
562 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
563 GetEnterprisesenterpriseActionsRunnersrunnerId(String, String),
564 /// * tags enterprise-admin
565 /// * delete `/enterprises/{enterprise}/actions/runners/{runner_id}`
566 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise>
567 ///
568 /// Delete a self-hosted runner from an enterprise
569 /// Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
570 ///
571 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
572 DeleteEnterprisesenterpriseActionsRunnersrunnerId(String, String),
573 /// * tags enterprise-admin
574 /// * get `/enterprises/{enterprise}/actions/runners/{runner_id}/labels`
575 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-labels-for-a-self-hosted-runner-for-an-enterprise>
576 ///
577 /// List labels for a self-hosted runner for an enterprise
578 /// Lists all labels for a self-hosted runner configured in an enterprise.
579 ///
580 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
581 GetEnterprisesenterpriseActionsRunnersrunnerIdLabels(String, String),
582 /// * tags enterprise-admin
583 /// * post `/enterprises/{enterprise}/actions/runners/{runner_id}/labels`
584 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise>
585 ///
586 /// Add custom labels to a self-hosted runner for an enterprise
587 /// Add custom labels to a self-hosted runner configured in an enterprise.
588 ///
589 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
590 PostEnterprisesenterpriseActionsRunnersrunnerIdLabels(String, String),
591 /// * tags enterprise-admin
592 /// * put `/enterprises/{enterprise}/actions/runners/{runner_id}/labels`
593 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise>
594 ///
595 /// Set custom labels for a self-hosted runner for an enterprise
596 /// Remove all previous custom labels and set the new custom labels for a specific
597 /// self-hosted runner configured in an enterprise.
598 ///
599 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
600 PutEnterprisesenterpriseActionsRunnersrunnerIdLabels(String, String),
601 /// * tags enterprise-admin
602 /// * delete `/enterprises/{enterprise}/actions/runners/{runner_id}/labels`
603 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise>
604 ///
605 /// Remove all custom labels from a self-hosted runner for an enterprise
606 /// Remove all custom labels from a self-hosted runner configured in an
607 /// enterprise. Returns the remaining read-only labels from the runner.
608 ///
609 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
610 DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabels(String, String),
611 /// * tags enterprise-admin
612 /// * delete `/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}`
613 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise>
614 ///
615 /// Remove a custom label from a self-hosted runner for an enterprise
616 /// Remove a custom label from a self-hosted runner configured
617 /// in an enterprise. Returns the remaining labels from the runner.
618 ///
619 /// This endpoint returns a `404 Not Found` status if the custom label is not
620 /// present on the runner.
621 ///
622 /// You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.
623 DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabelsname(String, String, String),
624 /// * tags enterprise-admin
625 /// * get `/enterprises/{enterprise}/audit-log`
626 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise>
627 ///
628 /// Get the audit log for an enterprise
629 /// Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.
630 GetEnterprisesenterpriseAuditLog(String),
631 /// * tags secret-scanning
632 /// * get `/enterprises/{enterprise}/secret-scanning/alerts`
633 /// * docs <https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise>
634 ///
635 /// List secret scanning alerts for an enterprise
636 /// Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.
637 /// To use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).
638 GetEnterprisesenterpriseSecretScanningAlerts(String),
639 /// * tags billing
640 /// * get `/enterprises/{enterprise}/settings/billing/actions`
641 /// * docs <https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise>
642 ///
643 /// Get GitHub Actions billing for an enterprise
644 /// Gets the summary of the free and paid GitHub Actions minutes used.
645 ///
646 /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
647 ///
648 /// The authenticated user must be an enterprise admin.
649 GetEnterprisesenterpriseSettingsBillingActions(String),
650 /// * tags billing
651 /// * get `/enterprises/{enterprise}/settings/billing/advanced-security`
652 /// * docs <https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise>
653 ///
654 /// Get GitHub Advanced Security active committers for an enterprise
655 /// Gets the GitHub Advanced Security active committers for an enterprise per repository.
656 /// Each distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of active_users for each repository.
657 GetEnterprisesenterpriseSettingsBillingAdvancedSecurity(String),
658 /// * tags billing
659 /// * get `/enterprises/{enterprise}/settings/billing/packages`
660 /// * docs <https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise>
661 ///
662 /// Get GitHub Packages billing for an enterprise
663 /// Gets the free and paid storage used for GitHub Packages in gigabytes.
664 ///
665 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
666 ///
667 /// The authenticated user must be an enterprise admin.
668 GetEnterprisesenterpriseSettingsBillingPackages(String),
669 /// * tags billing
670 /// * get `/enterprises/{enterprise}/settings/billing/shared-storage`
671 /// * docs <https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-enterprise>
672 ///
673 /// Get shared storage billing for an enterprise
674 /// Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.
675 ///
676 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
677 ///
678 /// The authenticated user must be an enterprise admin.
679 GetEnterprisesenterpriseSettingsBillingSharedStorage(String),
680 /// * tags activity
681 /// * get `/events`
682 /// * docs <https://docs.github.com/rest/reference/activity#list-public-events>
683 ///
684 /// List public events
685 /// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
686 GetEvents(),
687 /// * tags activity
688 /// * get `/feeds`
689 /// * docs <https://docs.github.com/rest/reference/activity#get-feeds>
690 ///
691 /// Get feeds
692 /// GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:
693 ///
694 /// * **Timeline**: The GitHub global public timeline
695 /// * **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)
696 /// * **Current user public**: The public timeline for the authenticated user
697 /// * **Current user**: The private timeline for the authenticated user
698 /// * **Current user actor**: The private timeline for activity created by the authenticated user
699 /// * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
700 /// * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
701 ///
702 /// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.
703 GetFeeds(),
704 /// * tags gists
705 /// * get `/gists`
706 /// * docs <https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user>
707 ///
708 /// List gists for the authenticated user
709 /// Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:
710 GetGists(),
711 /// * tags gists
712 /// * post `/gists`
713 /// * docs <https://docs.github.com/rest/reference/gists#create-a-gist>
714 ///
715 /// Create a gist
716 /// Allows you to add a new gist with one or more files.
717 ///
718 /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
719 PostGists(),
720 /// * tags gists
721 /// * get `/gists/public`
722 /// * docs <https://docs.github.com/rest/reference/gists#list-public-gists>
723 ///
724 /// List public gists
725 /// List public gists sorted by most recently updated to least recently updated.
726 ///
727 /// Note: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.
728 GetGistsPublic(),
729 /// * tags gists
730 /// * get `/gists/starred`
731 /// * docs <https://docs.github.com/rest/reference/gists#list-starred-gists>
732 ///
733 /// List starred gists
734 /// List the authenticated user's starred gists:
735 GetGistsStarred(),
736 /// * tags gists
737 /// * get `/gists/{gist_id}`
738 /// * docs <https://docs.github.com/rest/reference/gists#get-a-gist>
739 ///
740 /// Get a gist
741 ///
742 GetGistsgistId(String),
743 /// * tags gists
744 /// * patch `/gists/{gist_id}`
745 /// * docs <https://docs.github.com/rest/reference/gists/#update-a-gist>
746 ///
747 /// Update a gist
748 /// Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.
749 PatchGistsgistId(String),
750 /// * tags gists
751 /// * delete `/gists/{gist_id}`
752 /// * docs <https://docs.github.com/rest/reference/gists#delete-a-gist>
753 ///
754 /// Delete a gist
755 ///
756 DeleteGistsgistId(String),
757 /// * tags gists
758 /// * get `/gists/{gist_id}/comments`
759 /// * docs <https://docs.github.com/rest/reference/gists#list-gist-comments>
760 ///
761 /// List gist comments
762 ///
763 GetGistsgistIdComments(String),
764 /// * tags gists
765 /// * post `/gists/{gist_id}/comments`
766 /// * docs <https://docs.github.com/rest/reference/gists#create-a-gist-comment>
767 ///
768 /// Create a gist comment
769 ///
770 PostGistsgistIdComments(String),
771 /// * tags gists
772 /// * get `/gists/{gist_id}/comments/{comment_id}`
773 /// * docs <https://docs.github.com/rest/reference/gists#get-a-gist-comment>
774 ///
775 /// Get a gist comment
776 ///
777 GetGistsgistIdCommentscommentId(String, String),
778 /// * tags gists
779 /// * patch `/gists/{gist_id}/comments/{comment_id}`
780 /// * docs <https://docs.github.com/rest/reference/gists#update-a-gist-comment>
781 ///
782 /// Update a gist comment
783 ///
784 PatchGistsgistIdCommentscommentId(String, String),
785 /// * tags gists
786 /// * delete `/gists/{gist_id}/comments/{comment_id}`
787 /// * docs <https://docs.github.com/rest/reference/gists#delete-a-gist-comment>
788 ///
789 /// Delete a gist comment
790 ///
791 DeleteGistsgistIdCommentscommentId(String, String),
792 /// * tags gists
793 /// * get `/gists/{gist_id}/commits`
794 /// * docs <https://docs.github.com/rest/reference/gists#list-gist-commits>
795 ///
796 /// List gist commits
797 ///
798 GetGistsgistIdCommits(String),
799 /// * tags gists
800 /// * get `/gists/{gist_id}/forks`
801 /// * docs <https://docs.github.com/rest/reference/gists#list-gist-forks>
802 ///
803 /// List gist forks
804 ///
805 GetGistsgistIdForks(String),
806 /// * tags gists
807 /// * post `/gists/{gist_id}/forks`
808 /// * docs <https://docs.github.com/rest/reference/gists#fork-a-gist>
809 ///
810 /// Fork a gist
811 /// **Note**: This was previously `/gists/:gist_id/fork`.
812 PostGistsgistIdForks(String),
813 /// * tags gists
814 /// * get `/gists/{gist_id}/star`
815 /// * docs <https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred>
816 ///
817 /// Check if a gist is starred
818 ///
819 GetGistsgistIdStar(String),
820 /// * tags gists
821 /// * put `/gists/{gist_id}/star`
822 /// * docs <https://docs.github.com/rest/reference/gists#star-a-gist>
823 ///
824 /// Star a gist
825 /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
826 PutGistsgistIdStar(String),
827 /// * tags gists
828 /// * delete `/gists/{gist_id}/star`
829 /// * docs <https://docs.github.com/rest/reference/gists#unstar-a-gist>
830 ///
831 /// Unstar a gist
832 ///
833 DeleteGistsgistIdStar(String),
834 /// * tags gists
835 /// * get `/gists/{gist_id}/{sha}`
836 /// * docs <https://docs.github.com/rest/reference/gists#get-a-gist-revision>
837 ///
838 /// Get a gist revision
839 ///
840 GetGistsgistIdsha(String, String),
841 /// * tags gitignore
842 /// * get `/gitignore/templates`
843 /// * docs <https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates>
844 ///
845 /// Get all gitignore templates
846 /// List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).
847 GetGitignoreTemplates(),
848 /// * tags gitignore
849 /// * get `/gitignore/templates/{name}`
850 /// * docs <https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template>
851 ///
852 /// Get a gitignore template
853 /// The API also allows fetching the source of a single template.
854 /// Use the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.
855 GetGitignoreTemplatesname(String),
856 /// * tags apps
857 /// * get `/installation/repositories`
858 /// * docs <https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation>
859 ///
860 /// List repositories accessible to the app installation
861 /// List repositories that an app installation can access.
862 ///
863 /// You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
864 GetInstallationRepositories(),
865 /// * tags apps
866 /// * delete `/installation/token`
867 /// * docs <https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token>
868 ///
869 /// Revoke an installation access token
870 /// Revokes the installation token you're using to authenticate as an installation and access this endpoint.
871 ///
872 /// Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)" endpoint.
873 ///
874 /// You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
875 DeleteInstallationToken(),
876 /// * tags issues
877 /// * get `/issues`
878 /// * docs <https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user>
879 ///
880 /// List issues assigned to the authenticated user
881 /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
882 /// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
883 /// necessarily assigned to you.
884 ///
885 ///
886 /// **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
887 /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
888 /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
889 /// request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint.
890 GetIssues(),
891 /// * tags licenses
892 /// * get `/licenses`
893 /// * docs <https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses>
894 ///
895 /// Get all commonly used licenses
896 ///
897 GetLicenses(),
898 /// * tags licenses
899 /// * get `/licenses/{license}`
900 /// * docs <https://docs.github.com/rest/reference/licenses#get-a-license>
901 ///
902 /// Get a license
903 ///
904 GetLicenseslicense(String),
905 /// * tags markdown
906 /// * post `/markdown`
907 /// * docs <https://docs.github.com/rest/reference/markdown#render-a-markdown-document>
908 ///
909 /// Render a Markdown document
910 ///
911 PostMarkdown(),
912 /// * tags markdown
913 /// * post `/markdown/raw`
914 /// * docs <https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode>
915 ///
916 /// Render a Markdown document in raw mode
917 /// You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.
918 PostMarkdownRaw(),
919 /// * tags apps
920 /// * get `/marketplace_listing/accounts/{account_id}`
921 /// * docs <https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account>
922 ///
923 /// Get a subscription plan for an account
924 /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
925 ///
926 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
927 GetMarketplaceListingAccountsaccountId(String),
928 /// * tags apps
929 /// * get `/marketplace_listing/plans`
930 /// * docs <https://docs.github.com/rest/reference/apps#list-plans>
931 ///
932 /// List plans
933 /// Lists all plans that are part of your GitHub Marketplace listing.
934 ///
935 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
936 GetMarketplaceListingPlans(),
937 /// * tags apps
938 /// * get `/marketplace_listing/plans/{plan_id}/accounts`
939 /// * docs <https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan>
940 ///
941 /// List accounts for a plan
942 /// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
943 ///
944 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
945 GetMarketplaceListingPlansplanIdAccounts(String),
946 /// * tags apps
947 /// * get `/marketplace_listing/stubbed/accounts/{account_id}`
948 /// * docs <https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed>
949 ///
950 /// Get a subscription plan for an account (stubbed)
951 /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
952 ///
953 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
954 GetMarketplaceListingStubbedAccountsaccountId(String),
955 /// * tags apps
956 /// * get `/marketplace_listing/stubbed/plans`
957 /// * docs <https://docs.github.com/rest/reference/apps#list-plans-stubbed>
958 ///
959 /// List plans (stubbed)
960 /// Lists all plans that are part of your GitHub Marketplace listing.
961 ///
962 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
963 GetMarketplaceListingStubbedPlans(),
964 /// * tags apps
965 /// * get `/marketplace_listing/stubbed/plans/{plan_id}/accounts`
966 /// * docs <https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed>
967 ///
968 /// List accounts for a plan (stubbed)
969 /// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
970 ///
971 /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.
972 GetMarketplaceListingStubbedPlansplanIdAccounts(String),
973 /// * tags meta
974 /// * get `/meta`
975 /// * docs <https://docs.github.com/rest/reference/meta#get-github-meta-information>
976 ///
977 /// Get GitHub meta information
978 /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
979 ///
980 /// **Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.
981 GetMeta(),
982 /// * tags activity
983 /// * get `/networks/{owner}/{repo}/events`
984 /// * docs <https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories>
985 ///
986 /// List public events for a network of repositories
987 ///
988 GetNetworksownerrepoEvents(String, String),
989 /// * tags activity
990 /// * get `/notifications`
991 /// * docs <https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user>
992 ///
993 /// List notifications for the authenticated user
994 /// List all notifications for the current user, sorted by most recently updated.
995 GetNotifications(),
996 /// * tags activity
997 /// * put `/notifications`
998 /// * docs <https://docs.github.com/rest/reference/activity#mark-notifications-as-read>
999 ///
1000 /// Mark notifications as read
1001 /// Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
1002 PutNotifications(),
1003 /// * tags activity
1004 /// * get `/notifications/threads/{thread_id}`
1005 /// * docs <https://docs.github.com/rest/reference/activity#get-a-thread>
1006 ///
1007 /// Get a thread
1008 ///
1009 GetNotificationsThreadsthreadId(String),
1010 /// * tags activity
1011 /// * patch `/notifications/threads/{thread_id}`
1012 /// * docs <https://docs.github.com/rest/reference/activity#mark-a-thread-as-read>
1013 ///
1014 /// Mark a thread as read
1015 ///
1016 PatchNotificationsThreadsthreadId(String),
1017 /// * tags activity
1018 /// * get `/notifications/threads/{thread_id}/subscription`
1019 /// * docs <https://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user>
1020 ///
1021 /// Get a thread subscription for the authenticated user
1022 /// This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription).
1023 ///
1024 /// Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.
1025 GetNotificationsThreadsthreadIdSubscription(String),
1026 /// * tags activity
1027 /// * put `/notifications/threads/{thread_id}/subscription`
1028 /// * docs <https://docs.github.com/rest/reference/activity#set-a-thread-subscription>
1029 ///
1030 /// Set a thread subscription
1031 /// If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
1032 ///
1033 /// You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
1034 ///
1035 /// Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint.
1036 PutNotificationsThreadsthreadIdSubscription(String),
1037 /// * tags activity
1038 /// * delete `/notifications/threads/{thread_id}/subscription`
1039 /// * docs <https://docs.github.com/rest/reference/activity#delete-a-thread-subscription>
1040 ///
1041 /// Delete a thread subscription
1042 /// Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.
1043 DeleteNotificationsThreadsthreadIdSubscription(String),
1044 /// * tags meta
1045 /// * get `/octocat`
1046 /// * docs <https://docs.github.com/rest/reference/meta#get-octocat>
1047 ///
1048 /// Get Octocat
1049 /// Get the octocat as ASCII art
1050 GetOctocat(),
1051 /// * tags orgs
1052 /// * get `/organizations`
1053 /// * docs <https://docs.github.com/rest/reference/orgs#list-organizations>
1054 ///
1055 /// List organizations
1056 /// Lists all organizations, in the order that they were created on GitHub.
1057 ///
1058 /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.
1059 GetOrganizations(),
1060 /// * tags orgs
1061 /// * get `/organizations/{organization_id}/custom_roles`
1062 /// * docs <https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization>
1063 ///
1064 /// List custom repository roles in an organization
1065 /// List the custom repository roles available in this organization. In order to see custom
1066 /// repository roles in an organization, the authenticated user must be an organization owner.
1067 ///
1068 /// For more information on custom repository roles, see "[Managing custom repository roles for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)".
1069 GetOrganizationsorganizationIdCustomRoles(String),
1070 /// * tags teams
1071 /// * get `/organizations/{org}/team/{team_slug}/external-groups`
1072 /// * docs <https://docs.github.com/rest/reference/teams#list-external-idp-group-team-connection>
1073 ///
1074 /// List a connection between an external group and a team
1075 /// Lists a connection between a team and an external group.
1076 ///
1077 /// You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.
1078 GetOrganizationsorgTeamteamSlugExternalGroups(String, String),
1079 /// * tags orgs
1080 /// * get `/orgs/{org}`
1081 /// * docs <https://docs.github.com/rest/reference/orgs#get-an-organization>
1082 ///
1083 /// Get an organization
1084 /// To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
1085 ///
1086 /// GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below."
1087 GetOrgsorg(String),
1088 /// * tags orgs
1089 /// * patch `/orgs/{org}`
1090 /// * docs <https://docs.github.com/rest/reference/orgs/#update-an-organization>
1091 ///
1092 /// Update an organization
1093 /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
1094 ///
1095 /// Enables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.
1096 PatchOrgsorg(String),
1097 /// * tags actions
1098 /// * get `/orgs/{org}/actions/permissions`
1099 /// * docs <https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization>
1100 ///
1101 /// Get GitHub Actions permissions for an organization
1102 /// Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.
1103 ///
1104 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1105 GetOrgsorgActionsPermissions(String),
1106 /// * tags actions
1107 /// * put `/orgs/{org}/actions/permissions`
1108 /// * docs <https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization>
1109 ///
1110 /// Set GitHub Actions permissions for an organization
1111 /// Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.
1112 ///
1113 /// If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.
1114 ///
1115 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1116 PutOrgsorgActionsPermissions(String),
1117 /// * tags actions
1118 /// * get `/orgs/{org}/actions/permissions/repositories`
1119 /// * docs <https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization>
1120 ///
1121 /// List selected repositories enabled for GitHub Actions in an organization
1122 /// Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
1123 ///
1124 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1125 GetOrgsorgActionsPermissionsRepositories(String),
1126 /// * tags actions
1127 /// * put `/orgs/{org}/actions/permissions/repositories`
1128 /// * docs <https://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization>
1129 ///
1130 /// Set selected repositories enabled for GitHub Actions in an organization
1131 /// Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
1132 ///
1133 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1134 PutOrgsorgActionsPermissionsRepositories(String),
1135 /// * tags actions
1136 /// * put `/orgs/{org}/actions/permissions/repositories/{repository_id}`
1137 /// * docs <https://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization>
1138 ///
1139 /// Enable a selected repository for GitHub Actions in an organization
1140 /// Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
1141 ///
1142 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1143 PutOrgsorgActionsPermissionsRepositoriesrepositoryId(String, String),
1144 /// * tags actions
1145 /// * delete `/orgs/{org}/actions/permissions/repositories/{repository_id}`
1146 /// * docs <https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization>
1147 ///
1148 /// Disable a selected repository for GitHub Actions in an organization
1149 /// Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
1150 ///
1151 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1152 DeleteOrgsorgActionsPermissionsRepositoriesrepositoryId(String, String),
1153 /// * tags actions
1154 /// * get `/orgs/{org}/actions/permissions/selected-actions`
1155 /// * docs <https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization>
1156 ///
1157 /// Get allowed actions for an organization
1158 /// Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).""
1159 ///
1160 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1161 GetOrgsorgActionsPermissionsSelectedActions(String),
1162 /// * tags actions
1163 /// * put `/orgs/{org}/actions/permissions/selected-actions`
1164 /// * docs <https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization>
1165 ///
1166 /// Set allowed actions for an organization
1167 /// Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
1168 ///
1169 /// If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.
1170 ///
1171 /// To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.
1172 ///
1173 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1174 PutOrgsorgActionsPermissionsSelectedActions(String),
1175 /// * tags actions
1176 /// * get `/orgs/{org}/actions/permissions/workflow`
1177 /// * docs <https://docs.github.com/rest/reference/actions#get-default-workflow-permissions>
1178 ///
1179 /// Get default workflow permissions
1180 /// Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,
1181 /// as well if GitHub Actions can submit approving pull request reviews.
1182 ///
1183 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1184 GetOrgsorgActionsPermissionsWorkflow(String),
1185 /// * tags actions
1186 /// * put `/orgs/{org}/actions/permissions/workflow`
1187 /// * docs <https://docs.github.com/rest/reference/actions#set-default-workflow-permissions>
1188 ///
1189 /// Set default workflow permissions
1190 /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions
1191 /// can submit approving pull request reviews.
1192 ///
1193 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.
1194 PutOrgsorgActionsPermissionsWorkflow(String),
1195 /// * tags actions
1196 /// * get `/orgs/{org}/actions/runner-groups`
1197 /// * docs <https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization>
1198 ///
1199 /// List self-hosted runner groups for an organization
1200 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1201 ///
1202 /// Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.
1203 ///
1204 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1205 GetOrgsorgActionsRunnerGroups(String),
1206 /// * tags actions
1207 /// * post `/orgs/{org}/actions/runner-groups`
1208 /// * docs <https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization>
1209 ///
1210 /// Create a self-hosted runner group for an organization
1211 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1212 ///
1213 /// Creates a new self-hosted runner group for an organization.
1214 ///
1215 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1216 PostOrgsorgActionsRunnerGroups(String),
1217 /// * tags actions
1218 /// * get `/orgs/{org}/actions/runner-groups/{runner_group_id}`
1219 /// * docs <https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization>
1220 ///
1221 /// Get a self-hosted runner group for an organization
1222 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1223 ///
1224 /// Gets a specific self-hosted runner group for an organization.
1225 ///
1226 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1227 GetOrgsorgActionsRunnerGroupsrunnerGroupId(String, String),
1228 /// * tags actions
1229 /// * patch `/orgs/{org}/actions/runner-groups/{runner_group_id}`
1230 /// * docs <https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization>
1231 ///
1232 /// Update a self-hosted runner group for an organization
1233 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1234 ///
1235 /// Updates the `name` and `visibility` of a self-hosted runner group in an organization.
1236 ///
1237 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1238 PatchOrgsorgActionsRunnerGroupsrunnerGroupId(String, String),
1239 /// * tags actions
1240 /// * delete `/orgs/{org}/actions/runner-groups/{runner_group_id}`
1241 /// * docs <https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization>
1242 ///
1243 /// Delete a self-hosted runner group from an organization
1244 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1245 ///
1246 /// Deletes a self-hosted runner group for an organization.
1247 ///
1248 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1249 DeleteOrgsorgActionsRunnerGroupsrunnerGroupId(String, String),
1250 /// * tags actions
1251 /// * get `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories`
1252 /// * docs <https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization>
1253 ///
1254 /// List repository access to a self-hosted runner group in an organization
1255 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1256 ///
1257 /// Lists the repositories with access to a self-hosted runner group configured in an organization.
1258 ///
1259 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1260 GetOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(String, String),
1261 /// * tags actions
1262 /// * put `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories`
1263 /// * docs <https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization>
1264 ///
1265 /// Set repository access for a self-hosted runner group in an organization
1266 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1267 ///
1268 /// Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
1269 ///
1270 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1271 PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(String, String),
1272 /// * tags actions
1273 /// * put `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}`
1274 /// * docs <https://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization>
1275 ///
1276 /// Add repository access to a self-hosted runner group in an organization
1277 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1278 ///
1279 ///
1280 /// Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
1281 ///
1282 /// You must authenticate using an access token with the `admin:org`
1283 /// scope to use this endpoint.
1284 PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(String, String, String),
1285 /// * tags actions
1286 /// * delete `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}`
1287 /// * docs <https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization>
1288 ///
1289 /// Remove repository access to a self-hosted runner group in an organization
1290 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1291 ///
1292 ///
1293 /// Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."
1294 ///
1295 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1296 DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(String, String, String),
1297 /// * tags actions
1298 /// * get `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners`
1299 /// * docs <https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization>
1300 ///
1301 /// List self-hosted runners in a group for an organization
1302 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1303 ///
1304 /// Lists self-hosted runners that are in a specific organization group.
1305 ///
1306 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1307 GetOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(String, String),
1308 /// * tags actions
1309 /// * put `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners`
1310 /// * docs <https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization>
1311 ///
1312 /// Set self-hosted runners in a group for an organization
1313 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1314 ///
1315 /// Replaces the list of self-hosted runners that are part of an organization runner group.
1316 ///
1317 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1318 PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(String, String),
1319 /// * tags actions
1320 /// * put `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}`
1321 /// * docs <https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization>
1322 ///
1323 /// Add a self-hosted runner to a group for an organization
1324 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1325 ///
1326 ///
1327 /// Adds a self-hosted runner to a runner group configured in an organization.
1328 ///
1329 /// You must authenticate using an access token with the `admin:org`
1330 /// scope to use this endpoint.
1331 PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(String, String, String),
1332 /// * tags actions
1333 /// * delete `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}`
1334 /// * docs <https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization>
1335 ///
1336 /// Remove a self-hosted runner from a group for an organization
1337 /// The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)."
1338 ///
1339 ///
1340 /// Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.
1341 ///
1342 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1343 DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(String, String, String),
1344 /// * tags actions
1345 /// * get `/orgs/{org}/actions/runners`
1346 /// * docs <https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization>
1347 ///
1348 /// List self-hosted runners for an organization
1349 /// Lists all self-hosted runners configured in an organization.
1350 ///
1351 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1352 GetOrgsorgActionsRunners(String),
1353 /// * tags actions
1354 /// * get `/orgs/{org}/actions/runners/downloads`
1355 /// * docs <https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization>
1356 ///
1357 /// List runner applications for an organization
1358 /// Lists binaries for the runner application that you can download and run.
1359 ///
1360 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1361 GetOrgsorgActionsRunnersDownloads(String),
1362 /// * tags actions
1363 /// * post `/orgs/{org}/actions/runners/registration-token`
1364 /// * docs <https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization>
1365 ///
1366 /// Create a registration token for an organization
1367 /// Returns a token that you can pass to the `config` script. The token expires after one hour.
1368 ///
1369 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1370 ///
1371 /// #### Example using registration token
1372 ///
1373 /// Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.
1374 ///
1375 /// ```
1376 /// ./config.sh --url https://github.com/octo-org --token TOKEN
1377 /// ```
1378 PostOrgsorgActionsRunnersRegistrationToken(String),
1379 /// * tags actions
1380 /// * post `/orgs/{org}/actions/runners/remove-token`
1381 /// * docs <https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization>
1382 ///
1383 /// Create a remove token for an organization
1384 /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.
1385 ///
1386 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1387 ///
1388 /// #### Example using remove token
1389 ///
1390 /// To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this
1391 /// endpoint.
1392 ///
1393 /// ```
1394 /// ./config.sh remove --token TOKEN
1395 /// ```
1396 PostOrgsorgActionsRunnersRemoveToken(String),
1397 /// * tags actions
1398 /// * get `/orgs/{org}/actions/runners/{runner_id}`
1399 /// * docs <https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization>
1400 ///
1401 /// Get a self-hosted runner for an organization
1402 /// Gets a specific self-hosted runner configured in an organization.
1403 ///
1404 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1405 GetOrgsorgActionsRunnersrunnerId(String, String),
1406 /// * tags actions
1407 /// * delete `/orgs/{org}/actions/runners/{runner_id}`
1408 /// * docs <https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization>
1409 ///
1410 /// Delete a self-hosted runner from an organization
1411 /// Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
1412 ///
1413 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1414 DeleteOrgsorgActionsRunnersrunnerId(String, String),
1415 /// * tags actions
1416 /// * get `/orgs/{org}/actions/runners/{runner_id}/labels`
1417 /// * docs <https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization>
1418 ///
1419 /// List labels for a self-hosted runner for an organization
1420 /// Lists all labels for a self-hosted runner configured in an organization.
1421 ///
1422 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1423 GetOrgsorgActionsRunnersrunnerIdLabels(String, String),
1424 /// * tags actions
1425 /// * post `/orgs/{org}/actions/runners/{runner_id}/labels`
1426 /// * docs <https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization>
1427 ///
1428 /// Add custom labels to a self-hosted runner for an organization
1429 /// Add custom labels to a self-hosted runner configured in an organization.
1430 ///
1431 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1432 PostOrgsorgActionsRunnersrunnerIdLabels(String, String),
1433 /// * tags actions
1434 /// * put `/orgs/{org}/actions/runners/{runner_id}/labels`
1435 /// * docs <https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization>
1436 ///
1437 /// Set custom labels for a self-hosted runner for an organization
1438 /// Remove all previous custom labels and set the new custom labels for a specific
1439 /// self-hosted runner configured in an organization.
1440 ///
1441 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1442 PutOrgsorgActionsRunnersrunnerIdLabels(String, String),
1443 /// * tags actions
1444 /// * delete `/orgs/{org}/actions/runners/{runner_id}/labels`
1445 /// * docs <https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization>
1446 ///
1447 /// Remove all custom labels from a self-hosted runner for an organization
1448 /// Remove all custom labels from a self-hosted runner configured in an
1449 /// organization. Returns the remaining read-only labels from the runner.
1450 ///
1451 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1452 DeleteOrgsorgActionsRunnersrunnerIdLabels(String, String),
1453 /// * tags actions
1454 /// * delete `/orgs/{org}/actions/runners/{runner_id}/labels/{name}`
1455 /// * docs <https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization>
1456 ///
1457 /// Remove a custom label from a self-hosted runner for an organization
1458 /// Remove a custom label from a self-hosted runner configured
1459 /// in an organization. Returns the remaining labels from the runner.
1460 ///
1461 /// This endpoint returns a `404 Not Found` status if the custom label is not
1462 /// present on the runner.
1463 ///
1464 /// You must authenticate using an access token with the `admin:org` scope to use this endpoint.
1465 DeleteOrgsorgActionsRunnersrunnerIdLabelsname(String, String, String),
1466 /// * tags actions
1467 /// * get `/orgs/{org}/actions/secrets`
1468 /// * docs <https://docs.github.com/rest/reference/actions#list-organization-secrets>
1469 ///
1470 /// List organization secrets
1471 /// Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1472 GetOrgsorgActionsSecrets(String),
1473 /// * tags actions
1474 /// * get `/orgs/{org}/actions/secrets/public-key`
1475 /// * docs <https://docs.github.com/rest/reference/actions#get-an-organization-public-key>
1476 ///
1477 /// Get an organization public key
1478 /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1479 GetOrgsorgActionsSecretsPublicKey(String),
1480 /// * tags actions
1481 /// * get `/orgs/{org}/actions/secrets/{secret_name}`
1482 /// * docs <https://docs.github.com/rest/reference/actions#get-an-organization-secret>
1483 ///
1484 /// Get an organization secret
1485 /// Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1486 GetOrgsorgActionsSecretssecretName(String, String),
1487 /// * tags actions
1488 /// * put `/orgs/{org}/actions/secrets/{secret_name}`
1489 /// * docs <https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret>
1490 ///
1491 /// Create or update an organization secret
1492 /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
1493 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access
1494 /// token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to
1495 /// use this endpoint.
1496 ///
1497 /// #### Example encrypting a secret using Node.js
1498 ///
1499 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
1500 ///
1501 /// ```
1502 /// const sodium = require('tweetsodium');
1503 ///
1504 /// const key = "base64-encoded-public-key";
1505 /// const value = "plain-text-secret";
1506 ///
1507 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
1508 /// const messageBytes = Buffer.from(value);
1509 /// const keyBytes = Buffer.from(key, 'base64');
1510 ///
1511 /// // Encrypt using LibSodium.
1512 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
1513 ///
1514 /// // Base64 the encrypted secret
1515 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
1516 ///
1517 /// console.log(encrypted);
1518 /// ```
1519 ///
1520 ///
1521 /// #### Example encrypting a secret using Python
1522 ///
1523 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
1524 ///
1525 /// ```
1526 /// from base64 import b64encode
1527 /// from nacl import encoding, public
1528 ///
1529 /// def encrypt(public_key: str, secret_value: str) -> str:
1530 /// """Encrypt a Unicode string using the public key."""
1531 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
1532 /// sealed_box = public.SealedBox(public_key)
1533 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
1534 /// return b64encode(encrypted).decode("utf-8")
1535 /// ```
1536 ///
1537 /// #### Example encrypting a secret using C#
1538 ///
1539 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
1540 ///
1541 /// ```
1542 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
1543 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
1544 ///
1545 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
1546 ///
1547 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
1548 /// ```
1549 ///
1550 /// #### Example encrypting a secret using Ruby
1551 ///
1552 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
1553 ///
1554 /// ```ruby
1555 /// require "rbnacl"
1556 /// require "base64"
1557 ///
1558 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
1559 /// public_key = RbNaCl::PublicKey.new(key)
1560 ///
1561 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
1562 /// encrypted_secret = box.encrypt("my_secret")
1563 ///
1564 /// # Print the base64 encoded secret
1565 /// puts Base64.strict_encode64(encrypted_secret)
1566 /// ```
1567 PutOrgsorgActionsSecretssecretName(String, String),
1568 /// * tags actions
1569 /// * delete `/orgs/{org}/actions/secrets/{secret_name}`
1570 /// * docs <https://docs.github.com/rest/reference/actions#delete-an-organization-secret>
1571 ///
1572 /// Delete an organization secret
1573 /// Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1574 DeleteOrgsorgActionsSecretssecretName(String, String),
1575 /// * tags actions
1576 /// * get `/orgs/{org}/actions/secrets/{secret_name}/repositories`
1577 /// * docs <https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret>
1578 ///
1579 /// List selected repositories for an organization secret
1580 /// Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1581 GetOrgsorgActionsSecretssecretNameRepositories(String, String),
1582 /// * tags actions
1583 /// * put `/orgs/{org}/actions/secrets/{secret_name}/repositories`
1584 /// * docs <https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret>
1585 ///
1586 /// Set selected repositories for an organization secret
1587 /// Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1588 PutOrgsorgActionsSecretssecretNameRepositories(String, String),
1589 /// * tags actions
1590 /// * put `/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}`
1591 /// * docs <https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret>
1592 ///
1593 /// Add selected repository to an organization secret
1594 /// Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1595 PutOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(String, String, String),
1596 /// * tags actions
1597 /// * delete `/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}`
1598 /// * docs <https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret>
1599 ///
1600 /// Remove selected repository from an organization secret
1601 /// Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
1602 DeleteOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(String, String, String),
1603 /// * tags orgs
1604 /// * get `/orgs/{org}/audit-log`
1605 /// * docs <https://docs.github.com/rest/reference/orgs#get-audit-log>
1606 ///
1607 /// Get the audit log for an organization
1608 /// Gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)."
1609 ///
1610 /// This endpoint is available for organizations on GitHub Enterprise Cloud. To use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.
1611 GetOrgsorgAuditLog(String),
1612 /// * tags orgs
1613 /// * get `/orgs/{org}/blocks`
1614 /// * docs <https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization>
1615 ///
1616 /// List users blocked by an organization
1617 /// List the users blocked by an organization.
1618 GetOrgsorgBlocks(String),
1619 /// * tags orgs
1620 /// * get `/orgs/{org}/blocks/{username}`
1621 /// * docs <https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization>
1622 ///
1623 /// Check if a user is blocked by an organization
1624 ///
1625 GetOrgsorgBlocksusername(String, String),
1626 /// * tags orgs
1627 /// * put `/orgs/{org}/blocks/{username}`
1628 /// * docs <https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization>
1629 ///
1630 /// Block a user from an organization
1631 ///
1632 PutOrgsorgBlocksusername(String, String),
1633 /// * tags orgs
1634 /// * delete `/orgs/{org}/blocks/{username}`
1635 /// * docs <https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization>
1636 ///
1637 /// Unblock a user from an organization
1638 ///
1639 DeleteOrgsorgBlocksusername(String, String),
1640 /// * tags code-scanning
1641 /// * get `/orgs/{org}/code-scanning/alerts`
1642 /// * docs <https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization>
1643 ///
1644 /// List code scanning alerts for an organization
1645 /// Lists all code scanning alerts for the default branch (usually `main`
1646 /// or `master`) for all eligible repositories in an organization.
1647 /// To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.
1648 ///
1649 /// GitHub Apps must have the `security_events` read permission to use this endpoint.
1650 GetOrgsorgCodeScanningAlerts(String),
1651 /// * tags orgs
1652 /// * get `/orgs/{org}/credential-authorizations`
1653 /// * docs <https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization>
1654 ///
1655 /// List SAML SSO authorizations for an organization
1656 /// Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).
1657 ///
1658 /// An authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/en/articles/about-authentication-with-saml-single-sign-on).
1659 GetOrgsorgCredentialAuthorizations(String),
1660 /// * tags orgs
1661 /// * delete `/orgs/{org}/credential-authorizations/{credential_id}`
1662 /// * docs <https://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization>
1663 ///
1664 /// Remove a SAML SSO authorization for an organization
1665 /// Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).
1666 ///
1667 /// An authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.
1668 DeleteOrgsorgCredentialAuthorizationscredentialId(String, String),
1669 /// * tags dependabot
1670 /// * get `/orgs/{org}/dependabot/secrets`
1671 /// * docs <https://docs.github.com/rest/reference/dependabot#list-organization-secrets>
1672 ///
1673 /// List organization secrets
1674 /// Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1675 GetOrgsorgDependabotSecrets(String),
1676 /// * tags dependabot
1677 /// * get `/orgs/{org}/dependabot/secrets/public-key`
1678 /// * docs <https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key>
1679 ///
1680 /// Get an organization public key
1681 /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1682 GetOrgsorgDependabotSecretsPublicKey(String),
1683 /// * tags dependabot
1684 /// * get `/orgs/{org}/dependabot/secrets/{secret_name}`
1685 /// * docs <https://docs.github.com/rest/reference/dependabot#get-an-organization-secret>
1686 ///
1687 /// Get an organization secret
1688 /// Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1689 GetOrgsorgDependabotSecretssecretName(String, String),
1690 /// * tags dependabot
1691 /// * put `/orgs/{org}/dependabot/secrets/{secret_name}`
1692 /// * docs <https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret>
1693 ///
1694 /// Create or update an organization secret
1695 /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
1696 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access
1697 /// token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization
1698 /// permission to use this endpoint.
1699 ///
1700 /// #### Example encrypting a secret using Node.js
1701 ///
1702 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
1703 ///
1704 /// ```
1705 /// const sodium = require('tweetsodium');
1706 ///
1707 /// const key = "base64-encoded-public-key";
1708 /// const value = "plain-text-secret";
1709 ///
1710 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
1711 /// const messageBytes = Buffer.from(value);
1712 /// const keyBytes = Buffer.from(key, 'base64');
1713 ///
1714 /// // Encrypt using LibSodium.
1715 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
1716 ///
1717 /// // Base64 the encrypted secret
1718 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
1719 ///
1720 /// console.log(encrypted);
1721 /// ```
1722 ///
1723 ///
1724 /// #### Example encrypting a secret using Python
1725 ///
1726 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
1727 ///
1728 /// ```
1729 /// from base64 import b64encode
1730 /// from nacl import encoding, public
1731 ///
1732 /// def encrypt(public_key: str, secret_value: str) -> str:
1733 /// """Encrypt a Unicode string using the public key."""
1734 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
1735 /// sealed_box = public.SealedBox(public_key)
1736 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
1737 /// return b64encode(encrypted).decode("utf-8")
1738 /// ```
1739 ///
1740 /// #### Example encrypting a secret using C#
1741 ///
1742 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
1743 ///
1744 /// ```
1745 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
1746 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
1747 ///
1748 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
1749 ///
1750 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
1751 /// ```
1752 ///
1753 /// #### Example encrypting a secret using Ruby
1754 ///
1755 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
1756 ///
1757 /// ```ruby
1758 /// require "rbnacl"
1759 /// require "base64"
1760 ///
1761 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
1762 /// public_key = RbNaCl::PublicKey.new(key)
1763 ///
1764 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
1765 /// encrypted_secret = box.encrypt("my_secret")
1766 ///
1767 /// # Print the base64 encoded secret
1768 /// puts Base64.strict_encode64(encrypted_secret)
1769 /// ```
1770 PutOrgsorgDependabotSecretssecretName(String, String),
1771 /// * tags dependabot
1772 /// * delete `/orgs/{org}/dependabot/secrets/{secret_name}`
1773 /// * docs <https://docs.github.com/rest/reference/dependabot#delete-an-organization-secret>
1774 ///
1775 /// Delete an organization secret
1776 /// Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1777 DeleteOrgsorgDependabotSecretssecretName(String, String),
1778 /// * tags dependabot
1779 /// * get `/orgs/{org}/dependabot/secrets/{secret_name}/repositories`
1780 /// * docs <https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret>
1781 ///
1782 /// List selected repositories for an organization secret
1783 /// Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1784 GetOrgsorgDependabotSecretssecretNameRepositories(String, String),
1785 /// * tags dependabot
1786 /// * put `/orgs/{org}/dependabot/secrets/{secret_name}/repositories`
1787 /// * docs <https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret>
1788 ///
1789 /// Set selected repositories for an organization secret
1790 /// Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1791 PutOrgsorgDependabotSecretssecretNameRepositories(String, String),
1792 /// * tags dependabot
1793 /// * put `/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}`
1794 /// * docs <https://docs.github.com/rest/reference/dependabot#add-selected-repository-to-an-organization-secret>
1795 ///
1796 /// Add selected repository to an organization secret
1797 /// Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1798 PutOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(String, String, String),
1799 /// * tags dependabot
1800 /// * delete `/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}`
1801 /// * docs <https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret>
1802 ///
1803 /// Remove selected repository from an organization secret
1804 /// Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
1805 DeleteOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(String, String, String),
1806 /// * tags activity
1807 /// * get `/orgs/{org}/events`
1808 /// * docs <https://docs.github.com/rest/reference/activity#list-public-organization-events>
1809 ///
1810 /// List public organization events
1811 ///
1812 GetOrgsorgEvents(String),
1813 /// * tags teams
1814 /// * get `/orgs/{org}/external-group/{group_id}`
1815 /// * docs <https://docs.github.com/rest/reference/teams#external-idp-group-info-for-an-organization>
1816 ///
1817 /// Get an external group
1818 /// Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.
1819 ///
1820 /// You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.
1821 GetOrgsorgExternalGroupgroupId(String, String),
1822 /// * tags teams
1823 /// * get `/orgs/{org}/external-groups`
1824 /// * docs <https://docs.github.com/rest/reference/teams#list-external-idp-groups-for-an-organization>
1825 ///
1826 /// List external groups in an organization
1827 /// Lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)."
1828 ///
1829 /// You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.
1830 GetOrgsorgExternalGroups(String),
1831 /// * tags orgs
1832 /// * get `/orgs/{org}/failed_invitations`
1833 /// * docs <https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations>
1834 ///
1835 /// List failed organization invitations
1836 /// The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.
1837 GetOrgsorgFailedInvitations(String),
1838 /// * tags orgs
1839 /// * get `/orgs/{org}/hooks`
1840 /// * docs <https://docs.github.com/rest/reference/orgs#list-organization-webhooks>
1841 ///
1842 /// List organization webhooks
1843 ///
1844 GetOrgsorgHooks(String),
1845 /// * tags orgs
1846 /// * post `/orgs/{org}/hooks`
1847 /// * docs <https://docs.github.com/rest/reference/orgs#create-an-organization-webhook>
1848 ///
1849 /// Create an organization webhook
1850 /// Here's how you can create a hook that posts payloads in JSON format:
1851 PostOrgsorgHooks(String),
1852 /// * tags orgs
1853 /// * get `/orgs/{org}/hooks/{hook_id}`
1854 /// * docs <https://docs.github.com/rest/reference/orgs#get-an-organization-webhook>
1855 ///
1856 /// Get an organization webhook
1857 /// Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization)."
1858 GetOrgsorgHookshookId(String, String),
1859 /// * tags orgs
1860 /// * patch `/orgs/{org}/hooks/{hook_id}`
1861 /// * docs <https://docs.github.com/rest/reference/orgs#update-an-organization-webhook>
1862 ///
1863 /// Update an organization webhook
1864 /// Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization)."
1865 PatchOrgsorgHookshookId(String, String),
1866 /// * tags orgs
1867 /// * delete `/orgs/{org}/hooks/{hook_id}`
1868 /// * docs <https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook>
1869 ///
1870 /// Delete an organization webhook
1871 ///
1872 DeleteOrgsorgHookshookId(String, String),
1873 /// * tags orgs
1874 /// * get `/orgs/{org}/hooks/{hook_id}/config`
1875 /// * docs <https://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization>
1876 ///
1877 /// Get a webhook configuration for an organization
1878 /// Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook)."
1879 ///
1880 /// Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.
1881 GetOrgsorgHookshookIdConfig(String, String),
1882 /// * tags orgs
1883 /// * patch `/orgs/{org}/hooks/{hook_id}/config`
1884 /// * docs <https://docs.github.com/rest/reference/orgs#update-a-webhook-configuration-for-an-organization>
1885 ///
1886 /// Update a webhook configuration for an organization
1887 /// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook)."
1888 ///
1889 /// Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.
1890 PatchOrgsorgHookshookIdConfig(String, String),
1891 /// * tags orgs
1892 /// * get `/orgs/{org}/hooks/{hook_id}/deliveries`
1893 /// * docs <https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook>
1894 ///
1895 /// List deliveries for an organization webhook
1896 /// Returns a list of webhook deliveries for a webhook configured in an organization.
1897 GetOrgsorgHookshookIdDeliveries(String, String),
1898 /// * tags orgs
1899 /// * get `/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}`
1900 /// * docs <https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook>
1901 ///
1902 /// Get a webhook delivery for an organization webhook
1903 /// Returns a delivery for a webhook configured in an organization.
1904 GetOrgsorgHookshookIdDeliveriesdeliveryId(String, String, String),
1905 /// * tags orgs
1906 /// * post `/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts`
1907 /// * docs <https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook>
1908 ///
1909 /// Redeliver a delivery for an organization webhook
1910 /// Redeliver a delivery for a webhook configured in an organization.
1911 PostOrgsorgHookshookIdDeliveriesdeliveryIdAttempts(String, String, String),
1912 /// * tags orgs
1913 /// * post `/orgs/{org}/hooks/{hook_id}/pings`
1914 /// * docs <https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook>
1915 ///
1916 /// Ping an organization webhook
1917 /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.
1918 PostOrgsorgHookshookIdPings(String, String),
1919 /// * tags apps
1920 /// * get `/orgs/{org}/installation`
1921 /// * docs <https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app>
1922 ///
1923 /// Get an organization installation for the authenticated app
1924 /// Enables an authenticated GitHub App to find the organization's installation information.
1925 ///
1926 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
1927 GetOrgsorgInstallation(String),
1928 /// * tags orgs
1929 /// * get `/orgs/{org}/installations`
1930 /// * docs <https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization>
1931 ///
1932 /// List app installations for an organization
1933 /// Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.
1934 GetOrgsorgInstallations(String),
1935 /// * tags interactions
1936 /// * get `/orgs/{org}/interaction-limits`
1937 /// * docs <https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization>
1938 ///
1939 /// Get interaction restrictions for an organization
1940 /// Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.
1941 GetOrgsorgInteractionLimits(String),
1942 /// * tags interactions
1943 /// * put `/orgs/{org}/interaction-limits`
1944 /// * docs <https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization>
1945 ///
1946 /// Set interaction restrictions for an organization
1947 /// Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.
1948 PutOrgsorgInteractionLimits(String),
1949 /// * tags interactions
1950 /// * delete `/orgs/{org}/interaction-limits`
1951 /// * docs <https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization>
1952 ///
1953 /// Remove interaction restrictions for an organization
1954 /// Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.
1955 DeleteOrgsorgInteractionLimits(String),
1956 /// * tags orgs
1957 /// * get `/orgs/{org}/invitations`
1958 /// * docs <https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations>
1959 ///
1960 /// List pending organization invitations
1961 /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
1962 GetOrgsorgInvitations(String),
1963 /// * tags orgs
1964 /// * post `/orgs/{org}/invitations`
1965 /// * docs <https://docs.github.com/rest/reference/orgs#create-an-organization-invitation>
1966 ///
1967 /// Create an organization invitation
1968 /// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
1969 ///
1970 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
1971 PostOrgsorgInvitations(String),
1972 /// * tags orgs
1973 /// * delete `/orgs/{org}/invitations/{invitation_id}`
1974 /// * docs <https://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation>
1975 ///
1976 /// Cancel an organization invitation
1977 /// Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.
1978 ///
1979 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications).
1980 DeleteOrgsorgInvitationsinvitationId(String, String),
1981 /// * tags orgs
1982 /// * get `/orgs/{org}/invitations/{invitation_id}/teams`
1983 /// * docs <https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams>
1984 ///
1985 /// List organization invitation teams
1986 /// List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.
1987 GetOrgsorgInvitationsinvitationIdTeams(String, String),
1988 /// * tags issues
1989 /// * get `/orgs/{org}/issues`
1990 /// * docs <https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user>
1991 ///
1992 /// List organization issues assigned to the authenticated user
1993 /// List issues in an organization assigned to the authenticated user.
1994 ///
1995 /// **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
1996 /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
1997 /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
1998 /// request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint.
1999 GetOrgsorgIssues(String),
2000 /// * tags orgs
2001 /// * get `/orgs/{org}/members`
2002 /// * docs <https://docs.github.com/rest/reference/orgs#list-organization-members>
2003 ///
2004 /// List organization members
2005 /// List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.
2006 GetOrgsorgMembers(String),
2007 /// * tags orgs
2008 /// * get `/orgs/{org}/members/{username}`
2009 /// * docs <https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user>
2010 ///
2011 /// Check organization membership for a user
2012 /// Check if a user is, publicly or privately, a member of the organization.
2013 GetOrgsorgMembersusername(String, String),
2014 /// * tags orgs
2015 /// * delete `/orgs/{org}/members/{username}`
2016 /// * docs <https://docs.github.com/rest/reference/orgs#remove-an-organization-member>
2017 ///
2018 /// Remove an organization member
2019 /// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
2020 DeleteOrgsorgMembersusername(String, String),
2021 /// * tags orgs
2022 /// * get `/orgs/{org}/memberships/{username}`
2023 /// * docs <https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user>
2024 ///
2025 /// Get organization membership for a user
2026 /// In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.
2027 GetOrgsorgMembershipsusername(String, String),
2028 /// * tags orgs
2029 /// * put `/orgs/{org}/memberships/{username}`
2030 /// * docs <https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user>
2031 ///
2032 /// Set organization membership for a user
2033 /// Only authenticated organization owners can add a member to the organization or update the member's role.
2034 ///
2035 /// * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.
2036 ///
2037 /// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
2038 ///
2039 /// **Rate limits**
2040 ///
2041 /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
2042 PutOrgsorgMembershipsusername(String, String),
2043 /// * tags orgs
2044 /// * delete `/orgs/{org}/memberships/{username}`
2045 /// * docs <https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user>
2046 ///
2047 /// Remove organization membership for a user
2048 /// In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
2049 ///
2050 /// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
2051 DeleteOrgsorgMembershipsusername(String, String),
2052 /// * tags migrations
2053 /// * get `/orgs/{org}/migrations`
2054 /// * docs <https://docs.github.com/rest/reference/migrations#list-organization-migrations>
2055 ///
2056 /// List organization migrations
2057 /// Lists the most recent migrations.
2058 GetOrgsorgMigrations(String),
2059 /// * tags migrations
2060 /// * post `/orgs/{org}/migrations`
2061 /// * docs <https://docs.github.com/rest/reference/migrations#start-an-organization-migration>
2062 ///
2063 /// Start an organization migration
2064 /// Initiates the generation of a migration archive.
2065 PostOrgsorgMigrations(String),
2066 /// * tags migrations
2067 /// * get `/orgs/{org}/migrations/{migration_id}`
2068 /// * docs <https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status>
2069 ///
2070 /// Get an organization migration status
2071 /// Fetches the status of a migration.
2072 ///
2073 /// The `state` of a migration can be one of the following values:
2074 ///
2075 /// * `pending`, which means the migration hasn't started yet.
2076 /// * `exporting`, which means the migration is in progress.
2077 /// * `exported`, which means the migration finished successfully.
2078 /// * `failed`, which means the migration failed.
2079 GetOrgsorgMigrationsmigrationId(String, String),
2080 /// * tags migrations
2081 /// * get `/orgs/{org}/migrations/{migration_id}/archive`
2082 /// * docs <https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive>
2083 ///
2084 /// Download an organization migration archive
2085 /// Fetches the URL to a migration archive.
2086 GetOrgsorgMigrationsmigrationIdArchive(String, String),
2087 /// * tags migrations
2088 /// * delete `/orgs/{org}/migrations/{migration_id}/archive`
2089 /// * docs <https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive>
2090 ///
2091 /// Delete an organization migration archive
2092 /// Deletes a previous migration archive. Migration archives are automatically deleted after seven days.
2093 DeleteOrgsorgMigrationsmigrationIdArchive(String, String),
2094 /// * tags migrations
2095 /// * delete `/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock`
2096 /// * docs <https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository>
2097 ///
2098 /// Unlock an organization repository
2099 /// Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data.
2100 DeleteOrgsorgMigrationsmigrationIdReposrepoNameLock(String, String, String),
2101 /// * tags migrations
2102 /// * get `/orgs/{org}/migrations/{migration_id}/repositories`
2103 /// * docs <https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration>
2104 ///
2105 /// List repositories in an organization migration
2106 /// List all the repositories for this organization migration.
2107 GetOrgsorgMigrationsmigrationIdRepositories(String, String),
2108 /// * tags orgs
2109 /// * get `/orgs/{org}/outside_collaborators`
2110 /// * docs <https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization>
2111 ///
2112 /// List outside collaborators for an organization
2113 /// List all users who are outside collaborators of an organization.
2114 GetOrgsorgOutsideCollaborators(String),
2115 /// * tags orgs
2116 /// * put `/orgs/{org}/outside_collaborators/{username}`
2117 /// * docs <https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator>
2118 ///
2119 /// Convert an organization member to outside collaborator
2120 /// When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)".
2121 PutOrgsorgOutsideCollaboratorsusername(String, String),
2122 /// * tags orgs
2123 /// * delete `/orgs/{org}/outside_collaborators/{username}`
2124 /// * docs <https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization>
2125 ///
2126 /// Remove outside collaborator from an organization
2127 /// Removing a user from this list will remove them from all the organization's repositories.
2128 DeleteOrgsorgOutsideCollaboratorsusername(String, String),
2129 /// * tags packages
2130 /// * get `/orgs/{org}/packages`
2131 /// * docs <https://docs.github.com/rest/reference/packages#list-packages-for-an-organization>
2132 ///
2133 /// List packages for an organization
2134 /// Lists all packages in an organization readable by the user.
2135 ///
2136 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
2137 /// If `package_type` is not `container`, your token must also include the `repo` scope.
2138 GetOrgsorgPackages(String),
2139 /// * tags packages
2140 /// * get `/orgs/{org}/packages/{package_type}/{package_name}`
2141 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization>
2142 ///
2143 /// Get a package for an organization
2144 /// Gets a specific package in an organization.
2145 ///
2146 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
2147 /// If `package_type` is not `container`, your token must also include the `repo` scope.
2148 GetOrgsorgPackagespackageTypepackageName(String, String, String),
2149 /// * tags packages
2150 /// * delete `/orgs/{org}/packages/{package_type}/{package_name}`
2151 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-for-an-organization>
2152 ///
2153 /// Delete a package for an organization
2154 /// Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
2155 ///
2156 /// To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:
2157 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
2158 /// - If `package_type` is `container`, you must also have admin permissions to the container you want to delete.
2159 DeleteOrgsorgPackagespackageTypepackageName(String, String, String),
2160 /// * tags packages
2161 /// * post `/orgs/{org}/packages/{package_type}/{package_name}/restore`
2162 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-for-an-organization>
2163 ///
2164 /// Restore a package for an organization
2165 /// Restores an entire package in an organization.
2166 ///
2167 /// You can restore a deleted package under the following conditions:
2168 /// - The package was deleted within the last 30 days.
2169 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
2170 ///
2171 /// To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:
2172 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
2173 /// - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.
2174 PostOrgsorgPackagespackageTypepackageNameRestore(String, String, String),
2175 /// * tags packages
2176 /// * get `/orgs/{org}/packages/{package_type}/{package_name}/versions`
2177 /// * docs <https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization>
2178 ///
2179 /// Get all package versions for a package owned by an organization
2180 /// Returns all package versions for a package owned by an organization.
2181 ///
2182 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
2183 /// If `package_type` is not `container`, your token must also include the `repo` scope.
2184 GetOrgsorgPackagespackageTypepackageNameVersions(String, String, String),
2185 /// * tags packages
2186 /// * get `/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}`
2187 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-version-for-an-organization>
2188 ///
2189 /// Get a package version for an organization
2190 /// Gets a specific package version in an organization.
2191 ///
2192 /// You must authenticate using an access token with the `packages:read` scope.
2193 /// If `package_type` is not `container`, your token must also include the `repo` scope.
2194 GetOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(
2195 String,
2196 String,
2197 String,
2198 String,
2199 ),
2200 /// * tags packages
2201 /// * delete `/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}`
2202 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-version-for-an-organization>
2203 ///
2204 /// Delete package version for an organization
2205 /// Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
2206 ///
2207 /// To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:
2208 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
2209 /// - If `package_type` is `container`, you must also have admin permissions to the container you want to delete.
2210 DeleteOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(
2211 String,
2212 String,
2213 String,
2214 String,
2215 ),
2216 /// * tags packages
2217 /// * post `/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`
2218 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-version-for-an-organization>
2219 ///
2220 /// Restore package version for an organization
2221 /// Restores a specific package version in an organization.
2222 ///
2223 /// You can restore a deleted package under the following conditions:
2224 /// - The package was deleted within the last 30 days.
2225 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
2226 ///
2227 /// To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:
2228 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
2229 /// - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.
2230 PostOrgsorgPackagespackageTypepackageNameVersionspackageVersionIdRestore(
2231 String,
2232 String,
2233 String,
2234 String,
2235 ),
2236 /// * tags projects
2237 /// * get `/orgs/{org}/projects`
2238 /// * docs <https://docs.github.com/rest/reference/projects#list-organization-projects>
2239 ///
2240 /// List organization projects
2241 /// Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
2242 GetOrgsorgProjects(String),
2243 /// * tags projects
2244 /// * post `/orgs/{org}/projects`
2245 /// * docs <https://docs.github.com/rest/reference/projects#create-an-organization-project>
2246 ///
2247 /// Create an organization project
2248 /// Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
2249 PostOrgsorgProjects(String),
2250 /// * tags orgs
2251 /// * get `/orgs/{org}/public_members`
2252 /// * docs <https://docs.github.com/rest/reference/orgs#list-public-organization-members>
2253 ///
2254 /// List public organization members
2255 /// Members of an organization can choose to have their membership publicized or not.
2256 GetOrgsorgPublicMembers(String),
2257 /// * tags orgs
2258 /// * get `/orgs/{org}/public_members/{username}`
2259 /// * docs <https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user>
2260 ///
2261 /// Check public organization membership for a user
2262 ///
2263 GetOrgsorgPublicMembersusername(String, String),
2264 /// * tags orgs
2265 /// * put `/orgs/{org}/public_members/{username}`
2266 /// * docs <https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user>
2267 ///
2268 /// Set public organization membership for the authenticated user
2269 /// The user can publicize their own membership. (A user cannot publicize the membership for another user.)
2270 ///
2271 /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
2272 PutOrgsorgPublicMembersusername(String, String),
2273 /// * tags orgs
2274 /// * delete `/orgs/{org}/public_members/{username}`
2275 /// * docs <https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user>
2276 ///
2277 /// Remove public organization membership for the authenticated user
2278 ///
2279 DeleteOrgsorgPublicMembersusername(String, String),
2280 /// * tags repos
2281 /// * get `/orgs/{org}/repos`
2282 /// * docs <https://docs.github.com/rest/reference/repos#list-organization-repositories>
2283 ///
2284 /// List organization repositories
2285 /// Lists repositories for the specified organization.
2286 GetOrgsorgRepos(String),
2287 /// * tags repos
2288 /// * post `/orgs/{org}/repos`
2289 /// * docs <https://docs.github.com/rest/reference/repos#create-an-organization-repository>
2290 ///
2291 /// Create an organization repository
2292 /// Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
2293 ///
2294 /// **OAuth scope requirements**
2295 ///
2296 /// When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:
2297 ///
2298 /// * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.
2299 /// * `repo` scope to create a private repository
2300 PostOrgsorgRepos(String),
2301 /// * tags secret-scanning
2302 /// * get `/orgs/{org}/secret-scanning/alerts`
2303 /// * docs <https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization>
2304 ///
2305 /// List secret scanning alerts for an organization
2306 /// Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.
2307 /// To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.
2308 ///
2309 /// GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
2310 GetOrgsorgSecretScanningAlerts(String),
2311 /// * tags billing
2312 /// * get `/orgs/{org}/settings/billing/actions`
2313 /// * docs <https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization>
2314 ///
2315 /// Get GitHub Actions billing for an organization
2316 /// Gets the summary of the free and paid GitHub Actions minutes used.
2317 ///
2318 /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
2319 ///
2320 /// Access tokens must have the `repo` or `admin:org` scope.
2321 GetOrgsorgSettingsBillingActions(String),
2322 /// * tags billing
2323 /// * get `/orgs/{org}/settings/billing/advanced-security`
2324 /// * docs <https://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization>
2325 ///
2326 /// Get GitHub Advanced Security active committers for an organization
2327 /// Gets the GitHub Advanced Security active committers for an organization per repository.
2328 /// Each distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of advanced_security_committers for each repository.
2329 /// If this organization defers to an enterprise for billing, the total_advanced_security_committers returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.
2330 GetOrgsorgSettingsBillingAdvancedSecurity(String),
2331 /// * tags billing
2332 /// * get `/orgs/{org}/settings/billing/packages`
2333 /// * docs <https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization>
2334 ///
2335 /// Get GitHub Packages billing for an organization
2336 /// Gets the free and paid storage used for GitHub Packages in gigabytes.
2337 ///
2338 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
2339 ///
2340 /// Access tokens must have the `repo` or `admin:org` scope.
2341 GetOrgsorgSettingsBillingPackages(String),
2342 /// * tags billing
2343 /// * get `/orgs/{org}/settings/billing/shared-storage`
2344 /// * docs <https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization>
2345 ///
2346 /// Get shared storage billing for an organization
2347 /// Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.
2348 ///
2349 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
2350 ///
2351 /// Access tokens must have the `repo` or `admin:org` scope.
2352 GetOrgsorgSettingsBillingSharedStorage(String),
2353 /// * tags teams
2354 /// * get `/orgs/{org}/team-sync/groups`
2355 /// * docs <https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization>
2356 ///
2357 /// List IdP groups for an organization
2358 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2359 ///
2360 /// List IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)."
2361 GetOrgsorgTeamSyncGroups(String),
2362 /// * tags teams
2363 /// * get `/orgs/{org}/teams`
2364 /// * docs <https://docs.github.com/rest/reference/teams#list-teams>
2365 ///
2366 /// List teams
2367 /// Lists all teams in an organization that are visible to the authenticated user.
2368 GetOrgsorgTeams(String),
2369 /// * tags teams
2370 /// * post `/orgs/{org}/teams`
2371 /// * docs <https://docs.github.com/rest/reference/teams#create-a-team>
2372 ///
2373 /// Create a team
2374 /// To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization)."
2375 ///
2376 /// When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)".
2377 PostOrgsorgTeams(String),
2378 /// * tags teams
2379 /// * get `/orgs/{org}/teams/{team_slug}`
2380 /// * docs <https://docs.github.com/rest/reference/teams#get-a-team-by-name>
2381 ///
2382 /// Get a team by name
2383 /// Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.
2384 ///
2385 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.
2386 GetOrgsorgTeamsteamSlug(String, String),
2387 /// * tags teams
2388 /// * patch `/orgs/{org}/teams/{team_slug}`
2389 /// * docs <https://docs.github.com/rest/reference/teams#update-a-team>
2390 ///
2391 /// Update a team
2392 /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
2393 ///
2394 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.
2395 PatchOrgsorgTeamsteamSlug(String, String),
2396 /// * tags teams
2397 /// * delete `/orgs/{org}/teams/{team_slug}`
2398 /// * docs <https://docs.github.com/rest/reference/teams#delete-a-team>
2399 ///
2400 /// Delete a team
2401 /// To delete a team, the authenticated user must be an organization owner or team maintainer.
2402 ///
2403 /// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
2404 ///
2405 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.
2406 DeleteOrgsorgTeamsteamSlug(String, String),
2407 /// * tags teams
2408 /// * get `/orgs/{org}/teams/{team_slug}/discussions`
2409 /// * docs <https://docs.github.com/rest/reference/teams#list-discussions>
2410 ///
2411 /// List discussions
2412 /// List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2413 ///
2414 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
2415 GetOrgsorgTeamsteamSlugDiscussions(String, String),
2416 /// * tags teams
2417 /// * post `/orgs/{org}/teams/{team_slug}/discussions`
2418 /// * docs <https://docs.github.com/rest/reference/teams#create-a-discussion>
2419 ///
2420 /// Create a discussion
2421 /// Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2422 ///
2423 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
2424 ///
2425 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
2426 PostOrgsorgTeamsteamSlugDiscussions(String, String),
2427 /// * tags teams
2428 /// * get `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`
2429 /// * docs <https://docs.github.com/rest/reference/teams#get-a-discussion>
2430 ///
2431 /// Get a discussion
2432 /// Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2433 ///
2434 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
2435 GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(String, String, String),
2436 /// * tags teams
2437 /// * patch `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`
2438 /// * docs <https://docs.github.com/rest/reference/teams#update-a-discussion>
2439 ///
2440 /// Update a discussion
2441 /// Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2442 ///
2443 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
2444 PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(String, String, String),
2445 /// * tags teams
2446 /// * delete `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`
2447 /// * docs <https://docs.github.com/rest/reference/teams#delete-a-discussion>
2448 ///
2449 /// Delete a discussion
2450 /// Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2451 ///
2452 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
2453 DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(String, String, String),
2454 /// * tags teams
2455 /// * get `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments`
2456 /// * docs <https://docs.github.com/rest/reference/teams#list-discussion-comments>
2457 ///
2458 /// List discussion comments
2459 /// List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2460 ///
2461 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
2462 GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(String, String, String),
2463 /// * tags teams
2464 /// * post `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments`
2465 /// * docs <https://docs.github.com/rest/reference/teams#create-a-discussion-comment>
2466 ///
2467 /// Create a discussion comment
2468 /// Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2469 ///
2470 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
2471 ///
2472 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
2473 PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(String, String, String),
2474 /// * tags teams
2475 /// * get `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`
2476 /// * docs <https://docs.github.com/rest/reference/teams#get-a-discussion-comment>
2477 ///
2478 /// Get a discussion comment
2479 /// Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2480 ///
2481 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
2482 GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(
2483 String,
2484 String,
2485 String,
2486 String,
2487 ),
2488 /// * tags teams
2489 /// * patch `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`
2490 /// * docs <https://docs.github.com/rest/reference/teams#update-a-discussion-comment>
2491 ///
2492 /// Update a discussion comment
2493 /// Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2494 ///
2495 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
2496 PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(
2497 String,
2498 String,
2499 String,
2500 String,
2501 ),
2502 /// * tags teams
2503 /// * delete `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`
2504 /// * docs <https://docs.github.com/rest/reference/teams#delete-a-discussion-comment>
2505 ///
2506 /// Delete a discussion comment
2507 /// Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2508 ///
2509 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
2510 DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(
2511 String,
2512 String,
2513 String,
2514 String,
2515 ),
2516 /// * tags reactions
2517 /// * get `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions`
2518 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment>
2519 ///
2520 /// List reactions for a team discussion comment
2521 /// List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2522 ///
2523 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
2524 GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(
2525 String,
2526 String,
2527 String,
2528 String,
2529 ),
2530 /// * tags reactions
2531 /// * post `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions`
2532 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment>
2533 ///
2534 /// Create reaction for a team discussion comment
2535 /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
2536 ///
2537 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
2538 PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(
2539 String,
2540 String,
2541 String,
2542 String,
2543 ),
2544 /// * tags reactions
2545 /// * delete `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}`
2546 /// * docs <https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction>
2547 ///
2548 /// Delete team discussion comment reaction
2549 /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
2550 ///
2551 /// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2552 DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactionsreactionId(
2553 String,
2554 String,
2555 String,
2556 String,
2557 String,
2558 ),
2559 /// * tags reactions
2560 /// * get `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions`
2561 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion>
2562 ///
2563 /// List reactions for a team discussion
2564 /// List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2565 ///
2566 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
2567 GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(String, String, String),
2568 /// * tags reactions
2569 /// * post `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions`
2570 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion>
2571 ///
2572 /// Create reaction for a team discussion
2573 /// Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
2574 ///
2575 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
2576 PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(String, String, String),
2577 /// * tags reactions
2578 /// * delete `/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}`
2579 /// * docs <https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction>
2580 ///
2581 /// Delete team discussion reaction
2582 /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
2583 ///
2584 /// Delete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
2585 DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactionsreactionId(
2586 String,
2587 String,
2588 String,
2589 String,
2590 ),
2591 /// * tags teams
2592 /// * patch `/orgs/{org}/teams/{team_slug}/external-groups`
2593 /// * docs <https://docs.github.com/rest/reference/teams#link-external-idp-group-team-connection>
2594 ///
2595 /// Update the connection between an external group and a team
2596 /// Creates a connection between a team and an external group. Only one external group can be linked to a team.
2597 ///
2598 /// You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.
2599 PatchOrgsorgTeamsteamSlugExternalGroups(String, String),
2600 /// * tags teams
2601 /// * delete `/orgs/{org}/teams/{team_slug}/external-groups`
2602 /// * docs <https://docs.github.com/rest/reference/teams#unlink-external-idp-group-team-connection>
2603 ///
2604 /// Remove the connection between an external group and a team
2605 /// Deletes a connection between a team and an external group.
2606 ///
2607 /// You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2608 DeleteOrgsorgTeamsteamSlugExternalGroups(String, String),
2609 /// * tags teams
2610 /// * get `/orgs/{org}/teams/{team_slug}/invitations`
2611 /// * docs <https://docs.github.com/rest/reference/teams#list-pending-team-invitations>
2612 ///
2613 /// List pending team invitations
2614 /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
2615 ///
2616 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.
2617 GetOrgsorgTeamsteamSlugInvitations(String, String),
2618 /// * tags teams
2619 /// * get `/orgs/{org}/teams/{team_slug}/members`
2620 /// * docs <https://docs.github.com/rest/reference/teams#list-team-members>
2621 ///
2622 /// List team members
2623 /// Team members will include the members of child teams.
2624 ///
2625 /// To list members in a team, the team must be visible to the authenticated user.
2626 GetOrgsorgTeamsteamSlugMembers(String, String),
2627 /// * tags teams
2628 /// * get `/orgs/{org}/teams/{team_slug}/memberships/{username}`
2629 /// * docs <https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user>
2630 ///
2631 /// Get team membership for a user
2632 /// Team members will include the members of child teams.
2633 ///
2634 /// To get a user's membership with a team, the team must be visible to the authenticated user.
2635 ///
2636 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
2637 ///
2638 /// **Note:**
2639 /// The response contains the `state` of the membership and the member's `role`.
2640 ///
2641 /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).
2642 GetOrgsorgTeamsteamSlugMembershipsusername(String, String, String),
2643 /// * tags teams
2644 /// * put `/orgs/{org}/teams/{team_slug}/memberships/{username}`
2645 /// * docs <https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user>
2646 ///
2647 /// Add or update team membership for a user
2648 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2649 ///
2650 /// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
2651 ///
2652 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
2653 ///
2654 /// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
2655 ///
2656 /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
2657 ///
2658 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.
2659 PutOrgsorgTeamsteamSlugMembershipsusername(String, String, String),
2660 /// * tags teams
2661 /// * delete `/orgs/{org}/teams/{team_slug}/memberships/{username}`
2662 /// * docs <https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user>
2663 ///
2664 /// Remove team membership for a user
2665 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2666 ///
2667 /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
2668 ///
2669 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
2670 ///
2671 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.
2672 DeleteOrgsorgTeamsteamSlugMembershipsusername(String, String, String),
2673 /// * tags teams
2674 /// * get `/orgs/{org}/teams/{team_slug}/projects`
2675 /// * docs <https://docs.github.com/rest/reference/teams#list-team-projects>
2676 ///
2677 /// List team projects
2678 /// Lists the organization projects for a team.
2679 ///
2680 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.
2681 GetOrgsorgTeamsteamSlugProjects(String, String),
2682 /// * tags teams
2683 /// * get `/orgs/{org}/teams/{team_slug}/projects/{project_id}`
2684 /// * docs <https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project>
2685 ///
2686 /// Check team permissions for a project
2687 /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
2688 ///
2689 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.
2690 GetOrgsorgTeamsteamSlugProjectsprojectId(String, String, String),
2691 /// * tags teams
2692 /// * put `/orgs/{org}/teams/{team_slug}/projects/{project_id}`
2693 /// * docs <https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions>
2694 ///
2695 /// Add or update team project permissions
2696 /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
2697 ///
2698 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.
2699 PutOrgsorgTeamsteamSlugProjectsprojectId(String, String, String),
2700 /// * tags teams
2701 /// * delete `/orgs/{org}/teams/{team_slug}/projects/{project_id}`
2702 /// * docs <https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team>
2703 ///
2704 /// Remove a project from a team
2705 /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
2706 ///
2707 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.
2708 DeleteOrgsorgTeamsteamSlugProjectsprojectId(String, String, String),
2709 /// * tags teams
2710 /// * get `/orgs/{org}/teams/{team_slug}/repos`
2711 /// * docs <https://docs.github.com/rest/reference/teams#list-team-repositories>
2712 ///
2713 /// List team repositories
2714 /// Lists a team's repositories visible to the authenticated user.
2715 ///
2716 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.
2717 GetOrgsorgTeamsteamSlugRepos(String, String),
2718 /// * tags teams
2719 /// * get `/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`
2720 /// * docs <https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository>
2721 ///
2722 /// Check team permissions for a repository
2723 /// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
2724 ///
2725 /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
2726 ///
2727 /// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
2728 ///
2729 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
2730 GetOrgsorgTeamsteamSlugReposownerrepo(String, String, String, String),
2731 /// * tags teams
2732 /// * put `/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`
2733 /// * docs <https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions>
2734 ///
2735 /// Add or update team repository permissions
2736 /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
2737 ///
2738 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
2739 ///
2740 /// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)".
2741 PutOrgsorgTeamsteamSlugReposownerrepo(String, String, String, String),
2742 /// * tags teams
2743 /// * delete `/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`
2744 /// * docs <https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team>
2745 ///
2746 /// Remove a repository from a team
2747 /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
2748 ///
2749 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
2750 DeleteOrgsorgTeamsteamSlugReposownerrepo(String, String, String, String),
2751 /// * tags teams
2752 /// * get `/orgs/{org}/teams/{team_slug}/team-sync/group-mappings`
2753 /// * docs <https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team>
2754 ///
2755 /// List IdP groups for a team
2756 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2757 ///
2758 /// List IdP groups connected to a team on GitHub.
2759 ///
2760 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.
2761 GetOrgsorgTeamsteamSlugTeamSyncGroupMappings(String, String),
2762 /// * tags teams
2763 /// * patch `/orgs/{org}/teams/{team_slug}/team-sync/group-mappings`
2764 /// * docs <https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections>
2765 ///
2766 /// Create or update IdP group connections
2767 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
2768 ///
2769 /// Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.
2770 ///
2771 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.
2772 PatchOrgsorgTeamsteamSlugTeamSyncGroupMappings(String, String),
2773 /// * tags teams
2774 /// * get `/orgs/{org}/teams/{team_slug}/teams`
2775 /// * docs <https://docs.github.com/rest/reference/teams#list-child-teams>
2776 ///
2777 /// List child teams
2778 /// Lists the child teams of the team specified by `{team_slug}`.
2779 ///
2780 /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.
2781 GetOrgsorgTeamsteamSlugTeams(String, String),
2782 /// * tags projects
2783 /// * get `/projects/columns/cards/{card_id}`
2784 /// * docs <https://docs.github.com/rest/reference/projects#get-a-project-card>
2785 ///
2786 /// Get a project card
2787 ///
2788 GetProjectsColumnsCardscardId(String),
2789 /// * tags projects
2790 /// * patch `/projects/columns/cards/{card_id}`
2791 /// * docs <https://docs.github.com/rest/reference/projects#update-a-project-card>
2792 ///
2793 /// Update an existing project card
2794 ///
2795 PatchProjectsColumnsCardscardId(String),
2796 /// * tags projects
2797 /// * delete `/projects/columns/cards/{card_id}`
2798 /// * docs <https://docs.github.com/rest/reference/projects#delete-a-project-card>
2799 ///
2800 /// Delete a project card
2801 ///
2802 DeleteProjectsColumnsCardscardId(String),
2803 /// * tags projects
2804 /// * post `/projects/columns/cards/{card_id}/moves`
2805 /// * docs <https://docs.github.com/rest/reference/projects#move-a-project-card>
2806 ///
2807 /// Move a project card
2808 ///
2809 PostProjectsColumnsCardscardIdMoves(String),
2810 /// * tags projects
2811 /// * get `/projects/columns/{column_id}`
2812 /// * docs <https://docs.github.com/rest/reference/projects#get-a-project-column>
2813 ///
2814 /// Get a project column
2815 ///
2816 GetProjectsColumnscolumnId(String),
2817 /// * tags projects
2818 /// * patch `/projects/columns/{column_id}`
2819 /// * docs <https://docs.github.com/rest/reference/projects#update-a-project-column>
2820 ///
2821 /// Update an existing project column
2822 ///
2823 PatchProjectsColumnscolumnId(String),
2824 /// * tags projects
2825 /// * delete `/projects/columns/{column_id}`
2826 /// * docs <https://docs.github.com/rest/reference/projects#delete-a-project-column>
2827 ///
2828 /// Delete a project column
2829 ///
2830 DeleteProjectsColumnscolumnId(String),
2831 /// * tags projects
2832 /// * get `/projects/columns/{column_id}/cards`
2833 /// * docs <https://docs.github.com/rest/reference/projects#list-project-cards>
2834 ///
2835 /// List project cards
2836 ///
2837 GetProjectsColumnscolumnIdCards(String),
2838 /// * tags projects
2839 /// * post `/projects/columns/{column_id}/cards`
2840 /// * docs <https://docs.github.com/rest/reference/projects#create-a-project-card>
2841 ///
2842 /// Create a project card
2843 ///
2844 PostProjectsColumnscolumnIdCards(String),
2845 /// * tags projects
2846 /// * post `/projects/columns/{column_id}/moves`
2847 /// * docs <https://docs.github.com/rest/reference/projects#move-a-project-column>
2848 ///
2849 /// Move a project column
2850 ///
2851 PostProjectsColumnscolumnIdMoves(String),
2852 /// * tags projects
2853 /// * get `/projects/{project_id}`
2854 /// * docs <https://docs.github.com/rest/reference/projects#get-a-project>
2855 ///
2856 /// Get a project
2857 /// Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
2858 GetProjectsprojectId(String),
2859 /// * tags projects
2860 /// * patch `/projects/{project_id}`
2861 /// * docs <https://docs.github.com/rest/reference/projects#update-a-project>
2862 ///
2863 /// Update a project
2864 /// Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
2865 PatchProjectsprojectId(String),
2866 /// * tags projects
2867 /// * delete `/projects/{project_id}`
2868 /// * docs <https://docs.github.com/rest/reference/projects#delete-a-project>
2869 ///
2870 /// Delete a project
2871 /// Deletes a project board. Returns a `404 Not Found` status if projects are disabled.
2872 DeleteProjectsprojectId(String),
2873 /// * tags projects
2874 /// * get `/projects/{project_id}/collaborators`
2875 /// * docs <https://docs.github.com/rest/reference/projects#list-project-collaborators>
2876 ///
2877 /// List project collaborators
2878 /// Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.
2879 GetProjectsprojectIdCollaborators(String),
2880 /// * tags projects
2881 /// * put `/projects/{project_id}/collaborators/{username}`
2882 /// * docs <https://docs.github.com/rest/reference/projects#add-project-collaborator>
2883 ///
2884 /// Add project collaborator
2885 /// Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.
2886 PutProjectsprojectIdCollaboratorsusername(String, String),
2887 /// * tags projects
2888 /// * delete `/projects/{project_id}/collaborators/{username}`
2889 /// * docs <https://docs.github.com/rest/reference/projects#remove-project-collaborator>
2890 ///
2891 /// Remove user as a collaborator
2892 /// Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.
2893 DeleteProjectsprojectIdCollaboratorsusername(String, String),
2894 /// * tags projects
2895 /// * get `/projects/{project_id}/collaborators/{username}/permission`
2896 /// * docs <https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user>
2897 ///
2898 /// Get project permission for a user
2899 /// Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.
2900 GetProjectsprojectIdCollaboratorsusernamePermission(String, String),
2901 /// * tags projects
2902 /// * get `/projects/{project_id}/columns`
2903 /// * docs <https://docs.github.com/rest/reference/projects#list-project-columns>
2904 ///
2905 /// List project columns
2906 ///
2907 GetProjectsprojectIdColumns(String),
2908 /// * tags projects
2909 /// * post `/projects/{project_id}/columns`
2910 /// * docs <https://docs.github.com/rest/reference/projects#create-a-project-column>
2911 ///
2912 /// Create a project column
2913 ///
2914 PostProjectsprojectIdColumns(String),
2915 /// * tags rate-limit
2916 /// * get `/rate_limit`
2917 /// * docs <https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user>
2918 ///
2919 /// Get rate limit status for the authenticated user
2920 /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
2921 ///
2922 /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.
2923 GetRateLimit(),
2924 /// * tags reactions
2925 /// * delete `/reactions/{reaction_id}`
2926 /// * docs <https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy>
2927 ///
2928 /// Delete a reaction (Legacy)
2929 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).
2930 ///
2931 /// OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).
2932 DeleteReactionsreactionId(String),
2933 /// * tags repos
2934 /// * get `/repos/{owner}/{repo}`
2935 /// * docs <https://docs.github.com/rest/reference/repos#get-a-repository>
2936 ///
2937 /// Get a repository
2938 /// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
2939 GetReposownerrepo(String, String),
2940 /// * tags repos
2941 /// * patch `/repos/{owner}/{repo}`
2942 /// * docs <https://docs.github.com/rest/reference/repos/#update-a-repository>
2943 ///
2944 /// Update a repository
2945 /// **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.
2946 PatchReposownerrepo(String, String),
2947 /// * tags repos
2948 /// * delete `/repos/{owner}/{repo}`
2949 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-repository>
2950 ///
2951 /// Delete a repository
2952 /// Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.
2953 ///
2954 /// If an organization owner has configured the organization to prevent members from deleting organization-owned
2955 /// repositories, you will get a `403 Forbidden` response.
2956 DeleteReposownerrepo(String, String),
2957 /// * tags actions
2958 /// * get `/repos/{owner}/{repo}/actions/artifacts`
2959 /// * docs <https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository>
2960 ///
2961 /// List artifacts for a repository
2962 /// Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
2963 GetReposownerrepoActionsArtifacts(String, String),
2964 /// * tags actions
2965 /// * get `/repos/{owner}/{repo}/actions/artifacts/{artifact_id}`
2966 /// * docs <https://docs.github.com/rest/reference/actions#get-an-artifact>
2967 ///
2968 /// Get an artifact
2969 /// Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
2970 GetReposownerrepoActionsArtifactsartifactId(String, String, String),
2971 /// * tags actions
2972 /// * delete `/repos/{owner}/{repo}/actions/artifacts/{artifact_id}`
2973 /// * docs <https://docs.github.com/rest/reference/actions#delete-an-artifact>
2974 ///
2975 /// Delete an artifact
2976 /// Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
2977 DeleteReposownerrepoActionsArtifactsartifactId(String, String, String),
2978 /// * tags actions
2979 /// * get `/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}`
2980 /// * docs <https://docs.github.com/rest/reference/actions#download-an-artifact>
2981 ///
2982 /// Download an artifact
2983 /// Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in
2984 /// the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to
2985 /// the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.
2986 /// GitHub Apps must have the `actions:read` permission to use this endpoint.
2987 GetReposownerrepoActionsArtifactsartifactIdarchiveFormat(String, String, String, String),
2988 /// * tags actions
2989 /// * get `/repos/{owner}/{repo}/actions/jobs/{job_id}`
2990 /// * docs <https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run>
2991 ///
2992 /// Get a job for a workflow run
2993 /// Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
2994 GetReposownerrepoActionsJobsjobId(String, String, String),
2995 /// * tags actions
2996 /// * get `/repos/{owner}/{repo}/actions/jobs/{job_id}/logs`
2997 /// * docs <https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run>
2998 ///
2999 /// Download job logs for a workflow run
3000 /// Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look
3001 /// for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can
3002 /// use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must
3003 /// have the `actions:read` permission to use this endpoint.
3004 GetReposownerrepoActionsJobsjobIdLogs(String, String, String),
3005 /// * tags actions
3006 /// * get `/repos/{owner}/{repo}/actions/permissions`
3007 /// * docs <https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository>
3008 ///
3009 /// Get GitHub Actions permissions for a repository
3010 /// Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.
3011 ///
3012 /// You must authenticate using an access token with the `repo` scope to use this
3013 /// endpoint. GitHub Apps must have the `administration` repository permission to use this API.
3014 GetReposownerrepoActionsPermissions(String, String),
3015 /// * tags actions
3016 /// * put `/repos/{owner}/{repo}/actions/permissions`
3017 /// * docs <https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository>
3018 ///
3019 /// Set GitHub Actions permissions for a repository
3020 /// Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.
3021 ///
3022 /// If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.
3023 ///
3024 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.
3025 PutReposownerrepoActionsPermissions(String, String),
3026 /// * tags actions
3027 /// * get `/repos/{owner}/{repo}/actions/permissions/selected-actions`
3028 /// * docs <https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository>
3029 ///
3030 /// Get allowed actions for a repository
3031 /// Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
3032 ///
3033 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.
3034 GetReposownerrepoActionsPermissionsSelectedActions(String, String),
3035 /// * tags actions
3036 /// * put `/repos/{owner}/{repo}/actions/permissions/selected-actions`
3037 /// * docs <https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository>
3038 ///
3039 /// Set allowed actions for a repository
3040 /// Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
3041 ///
3042 /// If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.
3043 ///
3044 /// To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.
3045 ///
3046 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.
3047 PutReposownerrepoActionsPermissionsSelectedActions(String, String),
3048 /// * tags actions
3049 /// * get `/repos/{owner}/{repo}/actions/runners`
3050 /// * docs <https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository>
3051 ///
3052 /// List self-hosted runners for a repository
3053 /// Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.
3054 GetReposownerrepoActionsRunners(String, String),
3055 /// * tags actions
3056 /// * get `/repos/{owner}/{repo}/actions/runners/downloads`
3057 /// * docs <https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository>
3058 ///
3059 /// List runner applications for a repository
3060 /// Lists binaries for the runner application that you can download and run.
3061 ///
3062 /// You must authenticate using an access token with the `repo` scope to use this endpoint.
3063 GetReposownerrepoActionsRunnersDownloads(String, String),
3064 /// * tags actions
3065 /// * post `/repos/{owner}/{repo}/actions/runners/registration-token`
3066 /// * docs <https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository>
3067 ///
3068 /// Create a registration token for a repository
3069 /// Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate
3070 /// using an access token with the `repo` scope to use this endpoint.
3071 ///
3072 /// #### Example using registration token
3073 ///
3074 /// Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.
3075 ///
3076 /// ```
3077 /// ./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN
3078 /// ```
3079 PostReposownerrepoActionsRunnersRegistrationToken(String, String),
3080 /// * tags actions
3081 /// * post `/repos/{owner}/{repo}/actions/runners/remove-token`
3082 /// * docs <https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository>
3083 ///
3084 /// Create a remove token for a repository
3085 /// Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.
3086 /// You must authenticate using an access token with the `repo` scope to use this endpoint.
3087 ///
3088 /// #### Example using remove token
3089 ///
3090 /// To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.
3091 ///
3092 /// ```
3093 /// ./config.sh remove --token TOKEN
3094 /// ```
3095 PostReposownerrepoActionsRunnersRemoveToken(String, String),
3096 /// * tags actions
3097 /// * get `/repos/{owner}/{repo}/actions/runners/{runner_id}`
3098 /// * docs <https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository>
3099 ///
3100 /// Get a self-hosted runner for a repository
3101 /// Gets a specific self-hosted runner configured in a repository.
3102 ///
3103 /// You must authenticate using an access token with the `repo` scope to use this
3104 /// endpoint.
3105 GetReposownerrepoActionsRunnersrunnerId(String, String, String),
3106 /// * tags actions
3107 /// * delete `/repos/{owner}/{repo}/actions/runners/{runner_id}`
3108 /// * docs <https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository>
3109 ///
3110 /// Delete a self-hosted runner from a repository
3111 /// Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
3112 ///
3113 /// You must authenticate using an access token with the `repo`
3114 /// scope to use this endpoint.
3115 DeleteReposownerrepoActionsRunnersrunnerId(String, String, String),
3116 /// * tags actions
3117 /// * get `/repos/{owner}/{repo}/actions/runners/{runner_id}/labels`
3118 /// * docs <https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository>
3119 ///
3120 /// List labels for a self-hosted runner for a repository
3121 /// Lists all labels for a self-hosted runner configured in a repository.
3122 ///
3123 /// You must authenticate using an access token with the `repo` scope to use this
3124 /// endpoint.
3125 GetReposownerrepoActionsRunnersrunnerIdLabels(String, String, String),
3126 /// * tags actions
3127 /// * post `/repos/{owner}/{repo}/actions/runners/{runner_id}/labels`
3128 /// * docs <https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository>
3129 ///
3130 /// Add custom labels to a self-hosted runner for a repository
3131 /// Add custom labels to a self-hosted runner configured in a repository.
3132 ///
3133 /// You must authenticate using an access token with the `repo` scope to use this
3134 /// endpoint.
3135 PostReposownerrepoActionsRunnersrunnerIdLabels(String, String, String),
3136 /// * tags actions
3137 /// * put `/repos/{owner}/{repo}/actions/runners/{runner_id}/labels`
3138 /// * docs <https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository>
3139 ///
3140 /// Set custom labels for a self-hosted runner for a repository
3141 /// Remove all previous custom labels and set the new custom labels for a specific
3142 /// self-hosted runner configured in a repository.
3143 ///
3144 /// You must authenticate using an access token with the `repo` scope to use this
3145 /// endpoint.
3146 PutReposownerrepoActionsRunnersrunnerIdLabels(String, String, String),
3147 /// * tags actions
3148 /// * delete `/repos/{owner}/{repo}/actions/runners/{runner_id}/labels`
3149 /// * docs <https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository>
3150 ///
3151 /// Remove all custom labels from a self-hosted runner for a repository
3152 /// Remove all custom labels from a self-hosted runner configured in a
3153 /// repository. Returns the remaining read-only labels from the runner.
3154 ///
3155 /// You must authenticate using an access token with the `repo` scope to use this
3156 /// endpoint.
3157 DeleteReposownerrepoActionsRunnersrunnerIdLabels(String, String, String),
3158 /// * tags actions
3159 /// * delete `/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}`
3160 /// * docs <https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository>
3161 ///
3162 /// Remove a custom label from a self-hosted runner for a repository
3163 /// Remove a custom label from a self-hosted runner configured
3164 /// in a repository. Returns the remaining labels from the runner.
3165 ///
3166 /// This endpoint returns a `404 Not Found` status if the custom label is not
3167 /// present on the runner.
3168 ///
3169 /// You must authenticate using an access token with the `repo` scope to use this
3170 /// endpoint.
3171 DeleteReposownerrepoActionsRunnersrunnerIdLabelsname(String, String, String, String),
3172 /// * tags actions
3173 /// * get `/repos/{owner}/{repo}/actions/runs`
3174 /// * docs <https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository>
3175 ///
3176 /// List workflow runs for a repository
3177 /// Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).
3178 ///
3179 /// Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3180 GetReposownerrepoActionsRuns(String, String),
3181 /// * tags actions
3182 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}`
3183 /// * docs <https://docs.github.com/rest/reference/actions#get-a-workflow-run>
3184 ///
3185 /// Get a workflow run
3186 /// Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3187 GetReposownerrepoActionsRunsrunId(String, String, String),
3188 /// * tags actions
3189 /// * delete `/repos/{owner}/{repo}/actions/runs/{run_id}`
3190 /// * docs <https://docs.github.com/rest/reference/actions#delete-a-workflow-run>
3191 ///
3192 /// Delete a workflow run
3193 /// Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is
3194 /// private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use
3195 /// this endpoint.
3196 DeleteReposownerrepoActionsRunsrunId(String, String, String),
3197 /// * tags actions
3198 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/approvals`
3199 /// * docs <https://docs.github.com/rest/reference/actions#get-the-review-history-for-a-workflow-run>
3200 ///
3201 /// Get the review history for a workflow run
3202 /// Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3203 GetReposownerrepoActionsRunsrunIdApprovals(String, String, String),
3204 /// * tags actions
3205 /// * post `/repos/{owner}/{repo}/actions/runs/{run_id}/approve`
3206 /// * docs <https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request>
3207 ///
3208 /// Approve a workflow run for a fork pull request
3209 /// Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)."
3210 ///
3211 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3212 PostReposownerrepoActionsRunsrunIdApprove(String, String, String),
3213 /// * tags actions
3214 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts`
3215 /// * docs <https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts>
3216 ///
3217 /// List workflow run artifacts
3218 /// Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3219 GetReposownerrepoActionsRunsrunIdArtifacts(String, String, String),
3220 /// * tags actions
3221 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}`
3222 /// * docs <https://docs.github.com/rest/reference/actions#get-a-workflow-run-attempt>
3223 ///
3224 /// Get a workflow run attempt
3225 /// Gets a specific workflow run attempt. Anyone with read access to the repository
3226 /// can use this endpoint. If the repository is private you must use an access token
3227 /// with the `repo` scope. GitHub Apps must have the `actions:read` permission to
3228 /// use this endpoint.
3229 GetReposownerrepoActionsRunsrunIdAttemptsattemptNumber(String, String, String, String),
3230 /// * tags actions
3231 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs`
3232 /// * docs <https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run-attempt>
3233 ///
3234 /// List jobs for a workflow run attempt
3235 /// Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).
3236 GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberJobs(String, String, String, String),
3237 /// * tags actions
3238 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs`
3239 /// * docs <https://docs.github.com/rest/reference/actions#download-workflow-run-attempt-logs>
3240 ///
3241 /// Download workflow run attempt logs
3242 /// Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after
3243 /// 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to
3244 /// the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.
3245 /// GitHub Apps must have the `actions:read` permission to use this endpoint.
3246 GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberLogs(String, String, String, String),
3247 /// * tags actions
3248 /// * post `/repos/{owner}/{repo}/actions/runs/{run_id}/cancel`
3249 /// * docs <https://docs.github.com/rest/reference/actions#cancel-a-workflow-run>
3250 ///
3251 /// Cancel a workflow run
3252 /// Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3253 PostReposownerrepoActionsRunsrunIdCancel(String, String, String),
3254 /// * tags actions
3255 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/jobs`
3256 /// * docs <https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run>
3257 ///
3258 /// List jobs for a workflow run
3259 /// Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).
3260 GetReposownerrepoActionsRunsrunIdJobs(String, String, String),
3261 /// * tags actions
3262 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/logs`
3263 /// * docs <https://docs.github.com/rest/reference/actions#download-workflow-run-logs>
3264 ///
3265 /// Download workflow run logs
3266 /// Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for
3267 /// `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use
3268 /// this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have
3269 /// the `actions:read` permission to use this endpoint.
3270 GetReposownerrepoActionsRunsrunIdLogs(String, String, String),
3271 /// * tags actions
3272 /// * delete `/repos/{owner}/{repo}/actions/runs/{run_id}/logs`
3273 /// * docs <https://docs.github.com/rest/reference/actions#delete-workflow-run-logs>
3274 ///
3275 /// Delete workflow run logs
3276 /// Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3277 DeleteReposownerrepoActionsRunsrunIdLogs(String, String, String),
3278 /// * tags actions
3279 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`
3280 /// * docs <https://docs.github.com/rest/reference/actions#get-pending-deployments-for-a-workflow-run>
3281 ///
3282 /// Get pending deployments for a workflow run
3283 /// Get all deployment environments for a workflow run that are waiting for protection rules to pass.
3284 ///
3285 /// Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3286 GetReposownerrepoActionsRunsrunIdPendingDeployments(String, String, String),
3287 /// * tags actions
3288 /// * post `/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`
3289 /// * docs <https://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run>
3290 ///
3291 /// Review pending deployments for a workflow run
3292 /// Approve or reject pending deployments that are waiting on approval by a required reviewer.
3293 ///
3294 /// Anyone with read access to the repository contents and deployments can use this endpoint.
3295 PostReposownerrepoActionsRunsrunIdPendingDeployments(String, String, String),
3296 /// * tags actions
3297 /// * post `/repos/{owner}/{repo}/actions/runs/{run_id}/rerun`
3298 /// * docs <https://docs.github.com/rest/reference/actions#re-run-a-workflow>
3299 ///
3300 /// Re-run a workflow
3301 /// Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3302 PostReposownerrepoActionsRunsrunIdRerun(String, String, String),
3303 /// * tags actions
3304 /// * get `/repos/{owner}/{repo}/actions/runs/{run_id}/timing`
3305 /// * docs <https://docs.github.com/rest/reference/actions#get-workflow-run-usage>
3306 ///
3307 /// Get workflow run usage
3308 /// Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
3309 ///
3310 /// Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3311 GetReposownerrepoActionsRunsrunIdTiming(String, String, String),
3312 /// * tags actions
3313 /// * get `/repos/{owner}/{repo}/actions/secrets`
3314 /// * docs <https://docs.github.com/rest/reference/actions#list-repository-secrets>
3315 ///
3316 /// List repository secrets
3317 /// Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
3318 GetReposownerrepoActionsSecrets(String, String),
3319 /// * tags actions
3320 /// * get `/repos/{owner}/{repo}/actions/secrets/public-key`
3321 /// * docs <https://docs.github.com/rest/reference/actions#get-a-repository-public-key>
3322 ///
3323 /// Get a repository public key
3324 /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.
3325 GetReposownerrepoActionsSecretsPublicKey(String, String),
3326 /// * tags actions
3327 /// * get `/repos/{owner}/{repo}/actions/secrets/{secret_name}`
3328 /// * docs <https://docs.github.com/rest/reference/actions#get-a-repository-secret>
3329 ///
3330 /// Get a repository secret
3331 /// Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
3332 GetReposownerrepoActionsSecretssecretName(String, String, String),
3333 /// * tags actions
3334 /// * put `/repos/{owner}/{repo}/actions/secrets/{secret_name}`
3335 /// * docs <https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret>
3336 ///
3337 /// Create or update a repository secret
3338 /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
3339 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access
3340 /// token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use
3341 /// this endpoint.
3342 ///
3343 /// #### Example encrypting a secret using Node.js
3344 ///
3345 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
3346 ///
3347 /// ```
3348 /// const sodium = require('tweetsodium');
3349 ///
3350 /// const key = "base64-encoded-public-key";
3351 /// const value = "plain-text-secret";
3352 ///
3353 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
3354 /// const messageBytes = Buffer.from(value);
3355 /// const keyBytes = Buffer.from(key, 'base64');
3356 ///
3357 /// // Encrypt using LibSodium.
3358 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
3359 ///
3360 /// // Base64 the encrypted secret
3361 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
3362 ///
3363 /// console.log(encrypted);
3364 /// ```
3365 ///
3366 ///
3367 /// #### Example encrypting a secret using Python
3368 ///
3369 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
3370 ///
3371 /// ```
3372 /// from base64 import b64encode
3373 /// from nacl import encoding, public
3374 ///
3375 /// def encrypt(public_key: str, secret_value: str) -> str:
3376 /// """Encrypt a Unicode string using the public key."""
3377 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
3378 /// sealed_box = public.SealedBox(public_key)
3379 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
3380 /// return b64encode(encrypted).decode("utf-8")
3381 /// ```
3382 ///
3383 /// #### Example encrypting a secret using C#
3384 ///
3385 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
3386 ///
3387 /// ```
3388 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
3389 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
3390 ///
3391 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
3392 ///
3393 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
3394 /// ```
3395 ///
3396 /// #### Example encrypting a secret using Ruby
3397 ///
3398 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
3399 ///
3400 /// ```ruby
3401 /// require "rbnacl"
3402 /// require "base64"
3403 ///
3404 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
3405 /// public_key = RbNaCl::PublicKey.new(key)
3406 ///
3407 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
3408 /// encrypted_secret = box.encrypt("my_secret")
3409 ///
3410 /// # Print the base64 encoded secret
3411 /// puts Base64.strict_encode64(encrypted_secret)
3412 /// ```
3413 PutReposownerrepoActionsSecretssecretName(String, String, String),
3414 /// * tags actions
3415 /// * delete `/repos/{owner}/{repo}/actions/secrets/{secret_name}`
3416 /// * docs <https://docs.github.com/rest/reference/actions#delete-a-repository-secret>
3417 ///
3418 /// Delete a repository secret
3419 /// Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
3420 DeleteReposownerrepoActionsSecretssecretName(String, String, String),
3421 /// * tags actions
3422 /// * get `/repos/{owner}/{repo}/actions/workflows`
3423 /// * docs <https://docs.github.com/rest/reference/actions#list-repository-workflows>
3424 ///
3425 /// List repository workflows
3426 /// Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3427 GetReposownerrepoActionsWorkflows(String, String),
3428 /// * tags actions
3429 /// * get `/repos/{owner}/{repo}/actions/workflows/{workflow_id}`
3430 /// * docs <https://docs.github.com/rest/reference/actions#get-a-workflow>
3431 ///
3432 /// Get a workflow
3433 /// Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3434 GetReposownerrepoActionsWorkflowsworkflowId(String, String, String),
3435 /// * tags actions
3436 /// * put `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable`
3437 /// * docs <https://docs.github.com/rest/reference/actions#disable-a-workflow>
3438 ///
3439 /// Disable a workflow
3440 /// Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
3441 ///
3442 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3443 PutReposownerrepoActionsWorkflowsworkflowIdDisable(String, String, String),
3444 /// * tags actions
3445 /// * post `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches`
3446 /// * docs <https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event>
3447 ///
3448 /// Create a workflow dispatch event
3449 /// You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
3450 ///
3451 /// You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
3452 ///
3453 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see "[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)."
3454 PostReposownerrepoActionsWorkflowsworkflowIdDispatches(String, String, String),
3455 /// * tags actions
3456 /// * put `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable`
3457 /// * docs <https://docs.github.com/rest/reference/actions#enable-a-workflow>
3458 ///
3459 /// Enable a workflow
3460 /// Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
3461 ///
3462 /// You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
3463 PutReposownerrepoActionsWorkflowsworkflowIdEnable(String, String, String),
3464 /// * tags actions
3465 /// * get `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`
3466 /// * docs <https://docs.github.com/rest/reference/actions#list-workflow-runs>
3467 ///
3468 /// List workflow runs
3469 /// List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).
3470 ///
3471 /// Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.
3472 GetReposownerrepoActionsWorkflowsworkflowIdRuns(String, String, String),
3473 /// * tags actions
3474 /// * get `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing`
3475 /// * docs <https://docs.github.com/rest/reference/actions#get-workflow-usage>
3476 ///
3477 /// Get workflow usage
3478 /// Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
3479 ///
3480 /// You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
3481 GetReposownerrepoActionsWorkflowsworkflowIdTiming(String, String, String),
3482 /// * tags issues
3483 /// * get `/repos/{owner}/{repo}/assignees`
3484 /// * docs <https://docs.github.com/rest/reference/issues#list-assignees>
3485 ///
3486 /// List assignees
3487 /// Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.
3488 GetReposownerrepoAssignees(String, String),
3489 /// * tags issues
3490 /// * get `/repos/{owner}/{repo}/assignees/{assignee}`
3491 /// * docs <https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned>
3492 ///
3493 /// Check if a user can be assigned
3494 /// Checks if a user has permission to be assigned to an issue in this repository.
3495 ///
3496 /// If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.
3497 ///
3498 /// Otherwise a `404` status code is returned.
3499 GetReposownerrepoAssigneesassignee(String, String, String),
3500 /// * tags repos
3501 /// * get `/repos/{owner}/{repo}/autolinks`
3502 /// * docs <https://docs.github.com/v3/repos#list-autolinks>
3503 ///
3504 /// List all autolinks of a repository
3505 /// This returns a list of autolinks configured for the given repository.
3506 ///
3507 /// Information about autolinks are only available to repository administrators.
3508 GetReposownerrepoAutolinks(String, String),
3509 /// * tags repos
3510 /// * post `/repos/{owner}/{repo}/autolinks`
3511 /// * docs <https://docs.github.com/v3/repos#create-an-autolink>
3512 ///
3513 /// Create an autolink reference for a repository
3514 /// Users with admin access to the repository can create an autolink.
3515 PostReposownerrepoAutolinks(String, String),
3516 /// * tags repos
3517 /// * get `/repos/{owner}/{repo}/autolinks/{autolink_id}`
3518 /// * docs <https://docs.github.com/v3/repos#get-autolink>
3519 ///
3520 /// Get an autolink reference of a repository
3521 /// This returns a single autolink reference by ID that was configured for the given repository.
3522 ///
3523 /// Information about autolinks are only available to repository administrators.
3524 GetReposownerrepoAutolinksautolinkId(String, String, String),
3525 /// * tags repos
3526 /// * delete `/repos/{owner}/{repo}/autolinks/{autolink_id}`
3527 /// * docs <https://docs.github.com/v3/repos#delete-autolink>
3528 ///
3529 /// Delete an autolink reference from a repository
3530 /// This deletes a single autolink reference by ID that was configured for the given repository.
3531 ///
3532 /// Information about autolinks are only available to repository administrators.
3533 DeleteReposownerrepoAutolinksautolinkId(String, String, String),
3534 /// * tags repos
3535 /// * put `/repos/{owner}/{repo}/automated-security-fixes`
3536 /// * docs <https://docs.github.com/rest/reference/repos#enable-automated-security-fixes>
3537 ///
3538 /// Enable automated security fixes
3539 /// Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/en/articles/configuring-automated-security-fixes)".
3540 PutReposownerrepoAutomatedSecurityFixes(String, String),
3541 /// * tags repos
3542 /// * delete `/repos/{owner}/{repo}/automated-security-fixes`
3543 /// * docs <https://docs.github.com/rest/reference/repos#disable-automated-security-fixes>
3544 ///
3545 /// Disable automated security fixes
3546 /// Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/en/articles/configuring-automated-security-fixes)".
3547 DeleteReposownerrepoAutomatedSecurityFixes(String, String),
3548 /// * tags repos
3549 /// * get `/repos/{owner}/{repo}/branches`
3550 /// * docs <https://docs.github.com/rest/reference/repos#list-branches>
3551 ///
3552 /// List branches
3553 ///
3554 GetReposownerrepoBranches(String, String),
3555 /// * tags repos
3556 /// * get `/repos/{owner}/{repo}/branches/{branch}`
3557 /// * docs <https://docs.github.com/rest/reference/repos#get-a-branch>
3558 ///
3559 /// Get a branch
3560 ///
3561 GetReposownerrepoBranchesbranch(String, String, String),
3562 /// * tags repos
3563 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection`
3564 /// * docs <https://docs.github.com/rest/reference/repos#get-branch-protection>
3565 ///
3566 /// Get branch protection
3567 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3568 GetReposownerrepoBranchesbranchProtection(String, String, String),
3569 /// * tags repos
3570 /// * put `/repos/{owner}/{repo}/branches/{branch}/protection`
3571 /// * docs <https://docs.github.com/rest/reference/repos#update-branch-protection>
3572 ///
3573 /// Update branch protection
3574 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3575 ///
3576 /// Protecting a branch requires admin or owner permissions to the repository.
3577 ///
3578 /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
3579 ///
3580 /// **Note**: The list of users, apps, and teams in total is limited to 100 items.
3581 PutReposownerrepoBranchesbranchProtection(String, String, String),
3582 /// * tags repos
3583 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection`
3584 /// * docs <https://docs.github.com/rest/reference/repos#delete-branch-protection>
3585 ///
3586 /// Delete branch protection
3587 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3588 DeleteReposownerrepoBranchesbranchProtection(String, String, String),
3589 /// * tags repos
3590 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`
3591 /// * docs <https://docs.github.com/rest/reference/repos#get-admin-branch-protection>
3592 ///
3593 /// Get admin branch protection
3594 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3595 GetReposownerrepoBranchesbranchProtectionEnforceAdmins(String, String, String),
3596 /// * tags repos
3597 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`
3598 /// * docs <https://docs.github.com/rest/reference/repos#set-admin-branch-protection>
3599 ///
3600 /// Set admin branch protection
3601 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3602 ///
3603 /// Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
3604 PostReposownerrepoBranchesbranchProtectionEnforceAdmins(String, String, String),
3605 /// * tags repos
3606 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`
3607 /// * docs <https://docs.github.com/rest/reference/repos#delete-admin-branch-protection>
3608 ///
3609 /// Delete admin branch protection
3610 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3611 ///
3612 /// Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
3613 DeleteReposownerrepoBranchesbranchProtectionEnforceAdmins(String, String, String),
3614 /// * tags repos
3615 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`
3616 /// * docs <https://docs.github.com/rest/reference/repos#get-pull-request-review-protection>
3617 ///
3618 /// Get pull request review protection
3619 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3620 GetReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(String, String, String),
3621 /// * tags repos
3622 /// * patch `/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`
3623 /// * docs <https://docs.github.com/rest/reference/repos#update-pull-request-review-protection>
3624 ///
3625 /// Update pull request review protection
3626 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3627 ///
3628 /// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
3629 ///
3630 /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
3631 PatchReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(String, String, String),
3632 /// * tags repos
3633 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`
3634 /// * docs <https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection>
3635 ///
3636 /// Delete pull request review protection
3637 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3638 DeleteReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(String, String, String),
3639 /// * tags repos
3640 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`
3641 /// * docs <https://docs.github.com/rest/reference/repos#get-commit-signature-protection>
3642 ///
3643 /// Get commit signature protection
3644 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3645 ///
3646 /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
3647 ///
3648 /// **Note**: You must enable branch protection to require signed commits.
3649 GetReposownerrepoBranchesbranchProtectionRequiredSignatures(String, String, String),
3650 /// * tags repos
3651 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`
3652 /// * docs <https://docs.github.com/rest/reference/repos#create-commit-signature-protection>
3653 ///
3654 /// Create commit signature protection
3655 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3656 ///
3657 /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
3658 PostReposownerrepoBranchesbranchProtectionRequiredSignatures(String, String, String),
3659 /// * tags repos
3660 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`
3661 /// * docs <https://docs.github.com/rest/reference/repos#delete-commit-signature-protection>
3662 ///
3663 /// Delete commit signature protection
3664 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3665 ///
3666 /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
3667 DeleteReposownerrepoBranchesbranchProtectionRequiredSignatures(String, String, String),
3668 /// * tags repos
3669 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`
3670 /// * docs <https://docs.github.com/rest/reference/repos#get-status-checks-protection>
3671 ///
3672 /// Get status checks protection
3673 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3674 GetReposownerrepoBranchesbranchProtectionRequiredStatusChecks(String, String, String),
3675 /// * tags repos
3676 /// * patch `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`
3677 /// * docs <https://docs.github.com/rest/reference/repos#update-status-check-protection>
3678 ///
3679 /// Update status check protection
3680 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3681 ///
3682 /// Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
3683 PatchReposownerrepoBranchesbranchProtectionRequiredStatusChecks(String, String, String),
3684 /// * tags repos
3685 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`
3686 /// * docs <https://docs.github.com/rest/reference/repos#remove-status-check-protection>
3687 ///
3688 /// Remove status check protection
3689 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3690 DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecks(String, String, String),
3691 /// * tags repos
3692 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`
3693 /// * docs <https://docs.github.com/rest/reference/repos#get-all-status-check-contexts>
3694 ///
3695 /// Get all status check contexts
3696 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3697 GetReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(String, String, String),
3698 /// * tags repos
3699 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`
3700 /// * docs <https://docs.github.com/rest/reference/repos#add-status-check-contexts>
3701 ///
3702 /// Add status check contexts
3703 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3704 PostReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(String, String, String),
3705 /// * tags repos
3706 /// * put `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`
3707 /// * docs <https://docs.github.com/rest/reference/repos#set-status-check-contexts>
3708 ///
3709 /// Set status check contexts
3710 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3711 PutReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(String, String, String),
3712 /// * tags repos
3713 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`
3714 /// * docs <https://docs.github.com/rest/reference/repos#remove-status-check-contexts>
3715 ///
3716 /// Remove status check contexts
3717 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3718 DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(
3719 String,
3720 String,
3721 String,
3722 ),
3723 /// * tags repos
3724 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions`
3725 /// * docs <https://docs.github.com/rest/reference/repos#get-access-restrictions>
3726 ///
3727 /// Get access restrictions
3728 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3729 ///
3730 /// Lists who has access to this protected branch.
3731 ///
3732 /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.
3733 GetReposownerrepoBranchesbranchProtectionRestrictions(String, String, String),
3734 /// * tags repos
3735 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions`
3736 /// * docs <https://docs.github.com/rest/reference/repos#delete-access-restrictions>
3737 ///
3738 /// Delete access restrictions
3739 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3740 ///
3741 /// Disables the ability to restrict who can push to this branch.
3742 DeleteReposownerrepoBranchesbranchProtectionRestrictions(String, String, String),
3743 /// * tags repos
3744 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`
3745 /// * docs <https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch>
3746 ///
3747 /// Get apps with access to the protected branch
3748 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3749 ///
3750 /// Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.
3751 GetReposownerrepoBranchesbranchProtectionRestrictionsApps(String, String, String),
3752 /// * tags repos
3753 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`
3754 /// * docs <https://docs.github.com/rest/reference/repos#add-app-access-restrictions>
3755 ///
3756 /// Add app access restrictions
3757 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3758 ///
3759 /// Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.
3760 ///
3761 /// | Type | Description |
3762 /// | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
3763 /// | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3764 PostReposownerrepoBranchesbranchProtectionRestrictionsApps(String, String, String),
3765 /// * tags repos
3766 /// * put `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`
3767 /// * docs <https://docs.github.com/rest/reference/repos#set-app-access-restrictions>
3768 ///
3769 /// Set app access restrictions
3770 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3771 ///
3772 /// Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.
3773 ///
3774 /// | Type | Description |
3775 /// | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
3776 /// | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3777 PutReposownerrepoBranchesbranchProtectionRestrictionsApps(String, String, String),
3778 /// * tags repos
3779 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`
3780 /// * docs <https://docs.github.com/rest/reference/repos#remove-app-access-restrictions>
3781 ///
3782 /// Remove app access restrictions
3783 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3784 ///
3785 /// Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.
3786 ///
3787 /// | Type | Description |
3788 /// | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
3789 /// | `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3790 DeleteReposownerrepoBranchesbranchProtectionRestrictionsApps(String, String, String),
3791 /// * tags repos
3792 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`
3793 /// * docs <https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch>
3794 ///
3795 /// Get teams with access to the protected branch
3796 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3797 ///
3798 /// Lists the teams who have push access to this branch. The list includes child teams.
3799 GetReposownerrepoBranchesbranchProtectionRestrictionsTeams(String, String, String),
3800 /// * tags repos
3801 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`
3802 /// * docs <https://docs.github.com/rest/reference/repos#add-team-access-restrictions>
3803 ///
3804 /// Add team access restrictions
3805 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3806 ///
3807 /// Grants the specified teams push access for this branch. You can also give push access to child teams.
3808 ///
3809 /// | Type | Description |
3810 /// | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
3811 /// | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3812 PostReposownerrepoBranchesbranchProtectionRestrictionsTeams(String, String, String),
3813 /// * tags repos
3814 /// * put `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`
3815 /// * docs <https://docs.github.com/rest/reference/repos#set-team-access-restrictions>
3816 ///
3817 /// Set team access restrictions
3818 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3819 ///
3820 /// Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.
3821 ///
3822 /// | Type | Description |
3823 /// | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
3824 /// | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3825 PutReposownerrepoBranchesbranchProtectionRestrictionsTeams(String, String, String),
3826 /// * tags repos
3827 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`
3828 /// * docs <https://docs.github.com/rest/reference/repos#remove-team-access-restrictions>
3829 ///
3830 /// Remove team access restrictions
3831 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3832 ///
3833 /// Removes the ability of a team to push to this branch. You can also remove push access for child teams.
3834 ///
3835 /// | Type | Description |
3836 /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
3837 /// | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3838 DeleteReposownerrepoBranchesbranchProtectionRestrictionsTeams(String, String, String),
3839 /// * tags repos
3840 /// * get `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`
3841 /// * docs <https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch>
3842 ///
3843 /// Get users with access to the protected branch
3844 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3845 ///
3846 /// Lists the people who have push access to this branch.
3847 GetReposownerrepoBranchesbranchProtectionRestrictionsUsers(String, String, String),
3848 /// * tags repos
3849 /// * post `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`
3850 /// * docs <https://docs.github.com/rest/reference/repos#add-user-access-restrictions>
3851 ///
3852 /// Add user access restrictions
3853 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3854 ///
3855 /// Grants the specified people push access for this branch.
3856 ///
3857 /// | Type | Description |
3858 /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
3859 /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3860 PostReposownerrepoBranchesbranchProtectionRestrictionsUsers(String, String, String),
3861 /// * tags repos
3862 /// * put `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`
3863 /// * docs <https://docs.github.com/rest/reference/repos#set-user-access-restrictions>
3864 ///
3865 /// Set user access restrictions
3866 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3867 ///
3868 /// Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
3869 ///
3870 /// | Type | Description |
3871 /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
3872 /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3873 PutReposownerrepoBranchesbranchProtectionRestrictionsUsers(String, String, String),
3874 /// * tags repos
3875 /// * delete `/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`
3876 /// * docs <https://docs.github.com/rest/reference/repos#remove-user-access-restrictions>
3877 ///
3878 /// Remove user access restrictions
3879 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
3880 ///
3881 /// Removes the ability of a user to push to this branch.
3882 ///
3883 /// | Type | Description |
3884 /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
3885 /// | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |
3886 DeleteReposownerrepoBranchesbranchProtectionRestrictionsUsers(String, String, String),
3887 /// * tags repos
3888 /// * post `/repos/{owner}/{repo}/branches/{branch}/rename`
3889 /// * docs <https://docs.github.com/rest/reference/repos#rename-a-branch>
3890 ///
3891 /// Rename a branch
3892 /// Renames a branch in a repository.
3893 ///
3894 /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
3895 ///
3896 /// The permissions required to use this endpoint depends on whether you are renaming the default branch.
3897 ///
3898 /// To rename a non-default branch:
3899 ///
3900 /// * Users must have push access.
3901 /// * GitHub Apps must have the `contents:write` repository permission.
3902 ///
3903 /// To rename the default branch:
3904 ///
3905 /// * Users must have admin or owner permissions.
3906 /// * GitHub Apps must have the `administration:write` repository permission.
3907 PostReposownerrepoBranchesbranchRename(String, String, String),
3908 /// * tags checks
3909 /// * post `/repos/{owner}/{repo}/check-runs`
3910 /// * docs <https://docs.github.com/rest/reference/checks#create-a-check-run>
3911 ///
3912 /// Create a check run
3913 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
3914 ///
3915 /// Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
3916 ///
3917 /// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
3918 PostReposownerrepoCheckRuns(String, String),
3919 /// * tags checks
3920 /// * get `/repos/{owner}/{repo}/check-runs/{check_run_id}`
3921 /// * docs <https://docs.github.com/rest/reference/checks#get-a-check-run>
3922 ///
3923 /// Get a check run
3924 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
3925 ///
3926 /// Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
3927 GetReposownerrepoCheckRunscheckRunId(String, String, String),
3928 /// * tags checks
3929 /// * patch `/repos/{owner}/{repo}/check-runs/{check_run_id}`
3930 /// * docs <https://docs.github.com/rest/reference/checks#update-a-check-run>
3931 ///
3932 /// Update a check run
3933 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
3934 ///
3935 /// Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.
3936 PatchReposownerrepoCheckRunscheckRunId(String, String, String),
3937 /// * tags checks
3938 /// * get `/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations`
3939 /// * docs <https://docs.github.com/rest/reference/checks#list-check-run-annotations>
3940 ///
3941 /// List check run annotations
3942 /// Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.
3943 GetReposownerrepoCheckRunscheckRunIdAnnotations(String, String, String),
3944 /// * tags checks
3945 /// * post `/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`
3946 /// * docs <https://docs.github.com/rest/reference/checks#rerequest-a-check-run>
3947 ///
3948 /// Rerequest a check run
3949 /// Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
3950 ///
3951 /// To rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.
3952 PostReposownerrepoCheckRunscheckRunIdRerequest(String, String, String),
3953 /// * tags checks
3954 /// * post `/repos/{owner}/{repo}/check-suites`
3955 /// * docs <https://docs.github.com/rest/reference/checks#create-a-check-suite>
3956 ///
3957 /// Create a check suite
3958 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
3959 ///
3960 /// By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites.
3961 PostReposownerrepoCheckSuites(String, String),
3962 /// * tags checks
3963 /// * patch `/repos/{owner}/{repo}/check-suites/preferences`
3964 /// * docs <https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites>
3965 ///
3966 /// Update repository preferences for check suites
3967 /// Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.
3968 PatchReposownerrepoCheckSuitesPreferences(String, String),
3969 /// * tags checks
3970 /// * get `/repos/{owner}/{repo}/check-suites/{check_suite_id}`
3971 /// * docs <https://docs.github.com/rest/reference/checks#get-a-check-suite>
3972 ///
3973 /// Get a check suite
3974 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
3975 ///
3976 /// Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.
3977 GetReposownerrepoCheckSuitescheckSuiteId(String, String, String),
3978 /// * tags checks
3979 /// * get `/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs`
3980 /// * docs <https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite>
3981 ///
3982 /// List check runs in a check suite
3983 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
3984 ///
3985 /// Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
3986 GetReposownerrepoCheckSuitescheckSuiteIdCheckRuns(String, String, String),
3987 /// * tags checks
3988 /// * post `/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`
3989 /// * docs <https://docs.github.com/rest/reference/checks#rerequest-a-check-suite>
3990 ///
3991 /// Rerequest a check suite
3992 /// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
3993 ///
3994 /// To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.
3995 PostReposownerrepoCheckSuitescheckSuiteIdRerequest(String, String, String),
3996 /// * tags code-scanning
3997 /// * get `/repos/{owner}/{repo}/code-scanning/alerts`
3998 /// * docs <https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository>
3999 ///
4000 /// List code scanning alerts for a repository
4001 /// Lists all open code scanning alerts for the default branch (usually `main`
4002 /// or `master`). You must use an access token with the `security_events` scope to use
4003 /// this endpoint with private repos, the `public_repo` scope also grants permission to read
4004 /// security events on public repos only. GitHub Apps must have the `security_events` read
4005 /// permission to use this endpoint.
4006 ///
4007 /// The response includes a `most_recent_instance` object.
4008 /// This provides details of the most recent instance of this alert
4009 /// for the default branch or for the specified Git reference
4010 /// (if you used `ref` in the request).
4011 GetReposownerrepoCodeScanningAlerts(String, String),
4012 /// * tags code-scanning
4013 /// * get `/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}`
4014 /// * docs <https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert>
4015 ///
4016 /// Get a code scanning alert
4017 /// Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.
4018 ///
4019 /// **Deprecation notice**:
4020 /// The instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.
4021 GetReposownerrepoCodeScanningAlertsalertNumber(String, String, String),
4022 /// * tags code-scanning
4023 /// * patch `/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}`
4024 /// * docs <https://docs.github.com/rest/reference/code-scanning#update-a-code-scanning-alert>
4025 ///
4026 /// Update a code scanning alert
4027 /// Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.
4028 PatchReposownerrepoCodeScanningAlertsalertNumber(String, String, String),
4029 /// * tags code-scanning
4030 /// * get `/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances`
4031 /// * docs <https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert>
4032 ///
4033 /// List instances of a code scanning alert
4034 /// Lists all instances of the specified code scanning alert.
4035 /// You must use an access token with the `security_events` scope to use this endpoint with private repos,
4036 /// the `public_repo` scope also grants permission to read security events on public repos only.
4037 /// GitHub Apps must have the `security_events` read permission to use this endpoint.
4038 GetReposownerrepoCodeScanningAlertsalertNumberInstances(String, String, String),
4039 /// * tags code-scanning
4040 /// * get `/repos/{owner}/{repo}/code-scanning/analyses`
4041 /// * docs <https://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository>
4042 ///
4043 /// List code scanning analyses for a repository
4044 /// Lists the details of all code scanning analyses for a repository,
4045 /// starting with the most recent.
4046 /// The response is paginated and you can use the `page` and `per_page` parameters
4047 /// to list the analyses you're interested in.
4048 /// By default 30 analyses are listed per page.
4049 ///
4050 /// The `rules_count` field in the response give the number of rules
4051 /// that were run in the analysis.
4052 /// For very old analyses this data is not available,
4053 /// and `0` is returned in this field.
4054 ///
4055 /// You must use an access token with the `security_events` scope to use this endpoint with private repos,
4056 /// the `public_repo` scope also grants permission to read security events on public repos only.
4057 /// GitHub Apps must have the `security_events` read permission to use this endpoint.
4058 ///
4059 /// **Deprecation notice**:
4060 /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
4061 GetReposownerrepoCodeScanningAnalyses(String, String),
4062 /// * tags code-scanning
4063 /// * get `/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}`
4064 /// * docs <https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository>
4065 ///
4066 /// Get a code scanning analysis for a repository
4067 /// Gets a specified code scanning analysis for a repository.
4068 /// You must use an access token with the `security_events` scope to use this endpoint with private repos,
4069 /// the `public_repo` scope also grants permission to read security events on public repos only.
4070 /// GitHub Apps must have the `security_events` read permission to use this endpoint.
4071 ///
4072 /// The default JSON response contains fields that describe the analysis.
4073 /// This includes the Git reference and commit SHA to which the analysis relates,
4074 /// the datetime of the analysis, the name of the code scanning tool,
4075 /// and the number of alerts.
4076 ///
4077 /// The `rules_count` field in the default response give the number of rules
4078 /// that were run in the analysis.
4079 /// For very old analyses this data is not available,
4080 /// and `0` is returned in this field.
4081 ///
4082 /// If you use the Accept header `application/sarif+json`,
4083 /// the response contains the analysis data that was uploaded.
4084 /// This is formatted as
4085 /// [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).
4086 GetReposownerrepoCodeScanningAnalysesanalysisId(String, String, String),
4087 /// * tags code-scanning
4088 /// * delete `/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}`
4089 /// * docs <https://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository>
4090 ///
4091 /// Delete a code scanning analysis from a repository
4092 /// Deletes a specified code scanning analysis from a repository. For
4093 /// private repositories, you must use an access token with the `repo` scope. For public repositories,
4094 /// you must use an access token with `public_repo` scope.
4095 /// GitHub Apps must have the `security_events` write permission to use this endpoint.
4096 ///
4097 /// You can delete one analysis at a time.
4098 /// To delete a series of analyses, start with the most recent analysis and work backwards.
4099 /// Conceptually, the process is similar to the undo function in a text editor.
4100 ///
4101 /// When you list the analyses for a repository,
4102 /// one or more will be identified as deletable in the response:
4103 ///
4104 /// ```
4105 /// "deletable": true
4106 /// ```
4107 ///
4108 /// An analysis is deletable when it's the most recent in a set of analyses.
4109 /// Typically, a repository will have multiple sets of analyses
4110 /// for each enabled code scanning tool,
4111 /// where a set is determined by a unique combination of analysis values:
4112 ///
4113 /// * `ref`
4114 /// * `tool`
4115 /// * `analysis_key`
4116 /// * `environment`
4117 ///
4118 /// If you attempt to delete an analysis that is not the most recent in a set,
4119 /// you'll get a 400 response with the message:
4120 ///
4121 /// ```
4122 /// Analysis specified is not deletable.
4123 /// ```
4124 ///
4125 /// The response from a successful `DELETE` operation provides you with
4126 /// two alternative URLs for deleting the next analysis in the set:
4127 /// `next_analysis_url` and `confirm_delete_url`.
4128 /// Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis
4129 /// in a set. This is a useful option if you want to preserve at least one analysis
4130 /// for the specified tool in your repository.
4131 /// Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.
4132 /// When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`
4133 /// in the 200 response is `null`.
4134 ///
4135 /// As an example of the deletion process,
4136 /// let's imagine that you added a workflow that configured a particular code scanning tool
4137 /// to analyze the code in a repository. This tool has added 15 analyses:
4138 /// 10 on the default branch, and another 5 on a topic branch.
4139 /// You therefore have two separate sets of analyses for this tool.
4140 /// You've now decided that you want to remove all of the analyses for the tool.
4141 /// To do this you must make 15 separate deletion requests.
4142 /// To start, you must find an analysis that's identified as deletable.
4143 /// Each set of analyses always has one that's identified as deletable.
4144 /// Having found the deletable analysis for one of the two sets,
4145 /// delete this analysis and then continue deleting the next analysis in the set until they're all deleted.
4146 /// Then repeat the process for the second set.
4147 /// The procedure therefore consists of a nested loop:
4148 ///
4149 /// **Outer loop**:
4150 /// * List the analyses for the repository, filtered by tool.
4151 /// * Parse this list to find a deletable analysis. If found:
4152 ///
4153 /// **Inner loop**:
4154 /// * Delete the identified analysis.
4155 /// * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.
4156 ///
4157 /// The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.
4158 DeleteReposownerrepoCodeScanningAnalysesanalysisId(String, String, String),
4159 /// * tags code-scanning
4160 /// * post `/repos/{owner}/{repo}/code-scanning/sarifs`
4161 /// * docs <https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file>
4162 ///
4163 /// Upload an analysis as SARIF data
4164 /// Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.
4165 ///
4166 /// There are two places where you can upload code scanning results.
4167 /// - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
4168 /// - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
4169 ///
4170 /// You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:
4171 ///
4172 /// ```
4173 /// gzip -c analysis-data.sarif | base64 -w0
4174 /// ```
4175 ///
4176 /// SARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.
4177 ///
4178 /// The `202 Accepted`, response includes an `id` value.
4179 /// You can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.
4180 /// For more information, see "[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload)."
4181 PostReposownerrepoCodeScanningSarifs(String, String),
4182 /// * tags code-scanning
4183 /// * get `/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}`
4184 /// * docs <https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository>
4185 ///
4186 /// Get information about a SARIF upload
4187 /// Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository)." You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.
4188 GetReposownerrepoCodeScanningSarifssarifId(String, String, String),
4189 /// * tags codespaces
4190 /// * get `/repos/{owner}/{repo}/codespaces`
4191 /// * docs <https://docs.github.com/rest/reference/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user>
4192 ///
4193 /// List codespaces in a repository for the authenticated user
4194 /// Lists the codespaces associated to a specified repository and the authenticated user.
4195 ///
4196 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
4197 GetReposownerrepoCodespaces(String, String),
4198 /// * tags codespaces
4199 /// * post `/repos/{owner}/{repo}/codespaces`
4200 /// * docs <https://docs.github.com/rest/reference/codespaces#create-a-codespace-in-a-repository>
4201 ///
4202 /// Create a codespace in a repository
4203 /// Creates a codespace owned by the authenticated user in the specified repository.
4204 ///
4205 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
4206 PostReposownerrepoCodespaces(String, String),
4207 /// * tags codespaces
4208 /// * get `/repos/{owner}/{repo}/codespaces/machines`
4209 /// * docs <https://docs.github.com/rest/reference/codespaces#list-available-machine-types-for-a-repository>
4210 ///
4211 /// List available machine types for a repository
4212 /// List the machine types available for a given repository based on its configuration.
4213 ///
4214 /// Location is required.
4215 ///
4216 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
4217 GetReposownerrepoCodespacesMachines(String, String),
4218 /// * tags repos
4219 /// * get `/repos/{owner}/{repo}/collaborators`
4220 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-collaborators>
4221 ///
4222 /// List repository collaborators
4223 /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
4224 ///
4225 /// Team members will include the members of child teams.
4226 ///
4227 /// You must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this
4228 /// endpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this
4229 /// endpoint.
4230 GetReposownerrepoCollaborators(String, String),
4231 /// * tags repos
4232 /// * get `/repos/{owner}/{repo}/collaborators/{username}`
4233 /// * docs <https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator>
4234 ///
4235 /// Check if a user is a repository collaborator
4236 /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
4237 ///
4238 /// Team members will include the members of child teams.
4239 ///
4240 /// You must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this
4241 /// endpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this
4242 /// endpoint.
4243 GetReposownerrepoCollaboratorsusername(String, String, String),
4244 /// * tags repos
4245 /// * put `/repos/{owner}/{repo}/collaborators/{username}`
4246 /// * docs <https://docs.github.com/rest/reference/repos#add-a-repository-collaborator>
4247 ///
4248 /// Add a repository collaborator
4249 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
4250 ///
4251 /// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
4252 ///
4253 /// ```
4254 /// Cannot assign {member} permission of {role name}
4255 /// ```
4256 ///
4257 /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
4258 ///
4259 /// The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).
4260 ///
4261 /// **Rate limits**
4262 ///
4263 /// You are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
4264 PutReposownerrepoCollaboratorsusername(String, String, String),
4265 /// * tags repos
4266 /// * delete `/repos/{owner}/{repo}/collaborators/{username}`
4267 /// * docs <https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator>
4268 ///
4269 /// Remove a repository collaborator
4270 ///
4271 DeleteReposownerrepoCollaboratorsusername(String, String, String),
4272 /// * tags repos
4273 /// * get `/repos/{owner}/{repo}/collaborators/{username}/permission`
4274 /// * docs <https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user>
4275 ///
4276 /// Get repository permissions for a user
4277 /// Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.
4278 GetReposownerrepoCollaboratorsusernamePermission(String, String, String),
4279 /// * tags repos
4280 /// * get `/repos/{owner}/{repo}/comments`
4281 /// * docs <https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository>
4282 ///
4283 /// List commit comments for a repository
4284 /// Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).
4285 ///
4286 /// Comments are ordered by ascending ID.
4287 GetReposownerrepoComments(String, String),
4288 /// * tags repos
4289 /// * get `/repos/{owner}/{repo}/comments/{comment_id}`
4290 /// * docs <https://docs.github.com/rest/reference/repos#get-a-commit-comment>
4291 ///
4292 /// Get a commit comment
4293 ///
4294 GetReposownerrepoCommentscommentId(String, String, String),
4295 /// * tags repos
4296 /// * patch `/repos/{owner}/{repo}/comments/{comment_id}`
4297 /// * docs <https://docs.github.com/rest/reference/repos#update-a-commit-comment>
4298 ///
4299 /// Update a commit comment
4300 ///
4301 PatchReposownerrepoCommentscommentId(String, String, String),
4302 /// * tags repos
4303 /// * delete `/repos/{owner}/{repo}/comments/{comment_id}`
4304 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-commit-comment>
4305 ///
4306 /// Delete a commit comment
4307 ///
4308 DeleteReposownerrepoCommentscommentId(String, String, String),
4309 /// * tags reactions
4310 /// * get `/repos/{owner}/{repo}/comments/{comment_id}/reactions`
4311 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment>
4312 ///
4313 /// List reactions for a commit comment
4314 /// List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).
4315 GetReposownerrepoCommentscommentIdReactions(String, String, String),
4316 /// * tags reactions
4317 /// * post `/repos/{owner}/{repo}/comments/{comment_id}/reactions`
4318 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment>
4319 ///
4320 /// Create reaction for a commit comment
4321 /// Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.
4322 PostReposownerrepoCommentscommentIdReactions(String, String, String),
4323 /// * tags reactions
4324 /// * delete `/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}`
4325 /// * docs <https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction>
4326 ///
4327 /// Delete a commit comment reaction
4328 /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
4329 ///
4330 /// Delete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).
4331 DeleteReposownerrepoCommentscommentIdReactionsreactionId(String, String, String, String),
4332 /// * tags repos
4333 /// * get `/repos/{owner}/{repo}/commits`
4334 /// * docs <https://docs.github.com/rest/reference/repos#list-commits>
4335 ///
4336 /// List commits
4337 /// **Signature verification object**
4338 ///
4339 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
4340 ///
4341 /// | Name | Type | Description |
4342 /// | ---- | ---- | ----------- |
4343 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
4344 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
4345 /// | `signature` | `string` | The signature that was extracted from the commit. |
4346 /// | `payload` | `string` | The value that was signed. |
4347 ///
4348 /// These are the possible values for `reason` in the `verification` object:
4349 ///
4350 /// | Value | Description |
4351 /// | ----- | ----------- |
4352 /// | `expired_key` | The key that made the signature is expired. |
4353 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
4354 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
4355 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
4356 /// | `unsigned` | The object does not include a signature. |
4357 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
4358 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
4359 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
4360 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
4361 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
4362 /// | `malformed_signature` | There was an error parsing the signature. |
4363 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
4364 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
4365 GetReposownerrepoCommits(String, String),
4366 /// * tags repos
4367 /// * get `/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head`
4368 /// * docs <https://docs.github.com/rest/reference/repos#list-branches-for-head-commit>
4369 ///
4370 /// List branches for HEAD commit
4371 /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
4372 ///
4373 /// Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.
4374 GetReposownerrepoCommitscommitShaBranchesWhereHead(String, String, String),
4375 /// * tags repos
4376 /// * get `/repos/{owner}/{repo}/commits/{commit_sha}/comments`
4377 /// * docs <https://docs.github.com/rest/reference/repos#list-commit-comments>
4378 ///
4379 /// List commit comments
4380 /// Use the `:commit_sha` to specify the commit that will have its comments listed.
4381 GetReposownerrepoCommitscommitShaComments(String, String, String),
4382 /// * tags repos
4383 /// * post `/repos/{owner}/{repo}/commits/{commit_sha}/comments`
4384 /// * docs <https://docs.github.com/rest/reference/repos#create-a-commit-comment>
4385 ///
4386 /// Create a commit comment
4387 /// Create a comment for a commit using its `:commit_sha`.
4388 ///
4389 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
4390 PostReposownerrepoCommitscommitShaComments(String, String, String),
4391 /// * tags repos
4392 /// * get `/repos/{owner}/{repo}/commits/{commit_sha}/pulls`
4393 /// * docs <https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit>
4394 ///
4395 /// List pull requests associated with a commit
4396 /// Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint.
4397 GetReposownerrepoCommitscommitShaPulls(String, String, String),
4398 /// * tags repos
4399 /// * get `/repos/{owner}/{repo}/commits/{ref}`
4400 /// * docs <https://docs.github.com/rest/reference/repos#get-a-commit>
4401 ///
4402 /// Get a commit
4403 /// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
4404 ///
4405 /// **Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
4406 ///
4407 /// You can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.
4408 ///
4409 /// To return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
4410 ///
4411 /// **Signature verification object**
4412 ///
4413 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
4414 ///
4415 /// | Name | Type | Description |
4416 /// | ---- | ---- | ----------- |
4417 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
4418 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
4419 /// | `signature` | `string` | The signature that was extracted from the commit. |
4420 /// | `payload` | `string` | The value that was signed. |
4421 ///
4422 /// These are the possible values for `reason` in the `verification` object:
4423 ///
4424 /// | Value | Description |
4425 /// | ----- | ----------- |
4426 /// | `expired_key` | The key that made the signature is expired. |
4427 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
4428 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
4429 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
4430 /// | `unsigned` | The object does not include a signature. |
4431 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
4432 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
4433 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
4434 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
4435 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
4436 /// | `malformed_signature` | There was an error parsing the signature. |
4437 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
4438 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
4439 GetReposownerrepoCommitsref(String, String, String),
4440 /// * tags checks
4441 /// * get `/repos/{owner}/{repo}/commits/{ref}/check-runs`
4442 /// * docs <https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference>
4443 ///
4444 /// List check runs for a Git reference
4445 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
4446 ///
4447 /// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
4448 GetReposownerrepoCommitsrefCheckRuns(String, String, String),
4449 /// * tags checks
4450 /// * get `/repos/{owner}/{repo}/commits/{ref}/check-suites`
4451 /// * docs <https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference>
4452 ///
4453 /// List check suites for a Git reference
4454 /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
4455 ///
4456 /// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.
4457 GetReposownerrepoCommitsrefCheckSuites(String, String, String),
4458 /// * tags repos
4459 /// * get `/repos/{owner}/{repo}/commits/{ref}/status`
4460 /// * docs <https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference>
4461 ///
4462 /// Get the combined status for a specific reference
4463 /// Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
4464 ///
4465 ///
4466 /// Additionally, a combined `state` is returned. The `state` is one of:
4467 ///
4468 /// * **failure** if any of the contexts report as `error` or `failure`
4469 /// * **pending** if there are no statuses or a context is `pending`
4470 /// * **success** if the latest status for all contexts is `success`
4471 GetReposownerrepoCommitsrefStatus(String, String, String),
4472 /// * tags repos
4473 /// * get `/repos/{owner}/{repo}/commits/{ref}/statuses`
4474 /// * docs <https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference>
4475 ///
4476 /// List commit statuses for a reference
4477 /// Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
4478 ///
4479 /// This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.
4480 GetReposownerrepoCommitsrefStatuses(String, String, String),
4481 /// * tags repos
4482 /// * get `/repos/{owner}/{repo}/community/profile`
4483 /// * docs <https://docs.github.com/rest/reference/repos#get-community-profile-metrics>
4484 ///
4485 /// Get community profile metrics
4486 /// This endpoint will return all community profile metrics, including an
4487 /// overall health score, repository description, the presence of documentation, detected
4488 /// code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE,
4489 /// README, and CONTRIBUTING files.
4490 ///
4491 /// The `health_percentage` score is defined as a percentage of how many of
4492 /// these four documents are present: README, CONTRIBUTING, LICENSE, and
4493 /// CODE_OF_CONDUCT. For example, if all four documents are present, then
4494 /// the `health_percentage` is `100`. If only one is present, then the
4495 /// `health_percentage` is `25`.
4496 ///
4497 /// `content_reports_enabled` is only returned for organization-owned repositories.
4498 GetReposownerrepoCommunityProfile(String, String),
4499 /// * tags repos
4500 /// * get `/repos/{owner}/{repo}/compare/{basehead}`
4501 /// * docs <https://docs.github.com/rest/reference/repos#compare-two-commits>
4502 ///
4503 /// Compare two commits
4504 /// The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `<USERNAME>:branch`.
4505 ///
4506 /// The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
4507 ///
4508 /// The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.
4509 ///
4510 /// **Working with large comparisons**
4511 ///
4512 /// To process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see "[Traversing with pagination](/rest/guides/traversing-with-pagination)."
4513 ///
4514 /// When calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.
4515 ///
4516 /// **Signature verification object**
4517 ///
4518 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
4519 ///
4520 /// | Name | Type | Description |
4521 /// | ---- | ---- | ----------- |
4522 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
4523 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
4524 /// | `signature` | `string` | The signature that was extracted from the commit. |
4525 /// | `payload` | `string` | The value that was signed. |
4526 ///
4527 /// These are the possible values for `reason` in the `verification` object:
4528 ///
4529 /// | Value | Description |
4530 /// | ----- | ----------- |
4531 /// | `expired_key` | The key that made the signature is expired. |
4532 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
4533 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
4534 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
4535 /// | `unsigned` | The object does not include a signature. |
4536 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
4537 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
4538 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
4539 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
4540 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
4541 /// | `malformed_signature` | There was an error parsing the signature. |
4542 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
4543 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
4544 GetReposownerrepoComparebasehead(String, String, String),
4545 /// * tags repos
4546 /// * get `/repos/{owner}/{repo}/contents/{path}`
4547 /// * docs <https://docs.github.com/rest/reference/repos#get-repository-content>
4548 ///
4549 /// Get repository content
4550 /// Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit
4551 /// `:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories.
4552 ///
4553 /// Files and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for
4554 /// retrieving the raw content or rendered HTML (when supported). All content types support [a custom media
4555 /// type](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent
4556 /// object format.
4557 ///
4558 /// **Note**:
4559 /// * To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).
4560 /// * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees
4561 /// API](https://docs.github.com/rest/reference/git#get-a-tree).
4562 /// * This API supports files up to 1 megabyte in size.
4563 ///
4564 /// #### If the content is a directory
4565 /// The response will be an array of objects, one object for each item in the directory.
4566 /// When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value
4567 /// _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).
4568 /// In the next major version of the API, the type will be returned as "submodule".
4569 ///
4570 /// #### If the content is a symlink
4571 /// If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the
4572 /// API responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object
4573 /// describing the symlink itself.
4574 ///
4575 /// #### If the content is a submodule
4576 /// The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific
4577 /// commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out
4578 /// the submodule at that specific commit.
4579 ///
4580 /// If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the
4581 /// github.com URLs (`html_url` and `_links["html"]`) will have null values.
4582 GetReposownerrepoContentspath(String, String, String),
4583 /// * tags repos
4584 /// * put `/repos/{owner}/{repo}/contents/{path}`
4585 /// * docs <https://docs.github.com/rest/reference/repos#create-or-update-file-contents>
4586 ///
4587 /// Create or update file contents
4588 /// Creates a new file or replaces an existing file in a repository.
4589 PutReposownerrepoContentspath(String, String, String),
4590 /// * tags repos
4591 /// * delete `/repos/{owner}/{repo}/contents/{path}`
4592 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-file>
4593 ///
4594 /// Delete a file
4595 /// Deletes a file in a repository.
4596 ///
4597 /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
4598 ///
4599 /// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
4600 ///
4601 /// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
4602 DeleteReposownerrepoContentspath(String, String, String),
4603 /// * tags repos
4604 /// * get `/repos/{owner}/{repo}/contributors`
4605 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-contributors>
4606 ///
4607 /// List repository contributors
4608 /// Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
4609 ///
4610 /// GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
4611 GetReposownerrepoContributors(String, String),
4612 /// * tags dependabot
4613 /// * get `/repos/{owner}/{repo}/dependabot/secrets`
4614 /// * docs <https://docs.github.com/rest/reference/dependabot#list-repository-secrets>
4615 ///
4616 /// List repository secrets
4617 /// Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.
4618 GetReposownerrepoDependabotSecrets(String, String),
4619 /// * tags dependabot
4620 /// * get `/repos/{owner}/{repo}/dependabot/secrets/public-key`
4621 /// * docs <https://docs.github.com/rest/reference/dependabot#get-a-repository-public-key>
4622 ///
4623 /// Get a repository public key
4624 /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.
4625 GetReposownerrepoDependabotSecretsPublicKey(String, String),
4626 /// * tags dependabot
4627 /// * get `/repos/{owner}/{repo}/dependabot/secrets/{secret_name}`
4628 /// * docs <https://docs.github.com/rest/reference/dependabot#get-a-repository-secret>
4629 ///
4630 /// Get a repository secret
4631 /// Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.
4632 GetReposownerrepoDependabotSecretssecretName(String, String, String),
4633 /// * tags dependabot
4634 /// * put `/repos/{owner}/{repo}/dependabot/secrets/{secret_name}`
4635 /// * docs <https://docs.github.com/rest/reference/dependabot#create-or-update-a-repository-secret>
4636 ///
4637 /// Create or update a repository secret
4638 /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
4639 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access
4640 /// token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository
4641 /// permission to use this endpoint.
4642 ///
4643 /// #### Example encrypting a secret using Node.js
4644 ///
4645 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
4646 ///
4647 /// ```
4648 /// const sodium = require('tweetsodium');
4649 ///
4650 /// const key = "base64-encoded-public-key";
4651 /// const value = "plain-text-secret";
4652 ///
4653 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
4654 /// const messageBytes = Buffer.from(value);
4655 /// const keyBytes = Buffer.from(key, 'base64');
4656 ///
4657 /// // Encrypt using LibSodium.
4658 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
4659 ///
4660 /// // Base64 the encrypted secret
4661 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
4662 ///
4663 /// console.log(encrypted);
4664 /// ```
4665 ///
4666 ///
4667 /// #### Example encrypting a secret using Python
4668 ///
4669 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
4670 ///
4671 /// ```
4672 /// from base64 import b64encode
4673 /// from nacl import encoding, public
4674 ///
4675 /// def encrypt(public_key: str, secret_value: str) -> str:
4676 /// """Encrypt a Unicode string using the public key."""
4677 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
4678 /// sealed_box = public.SealedBox(public_key)
4679 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
4680 /// return b64encode(encrypted).decode("utf-8")
4681 /// ```
4682 ///
4683 /// #### Example encrypting a secret using C#
4684 ///
4685 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
4686 ///
4687 /// ```
4688 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
4689 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
4690 ///
4691 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
4692 ///
4693 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
4694 /// ```
4695 ///
4696 /// #### Example encrypting a secret using Ruby
4697 ///
4698 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
4699 ///
4700 /// ```ruby
4701 /// require "rbnacl"
4702 /// require "base64"
4703 ///
4704 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
4705 /// public_key = RbNaCl::PublicKey.new(key)
4706 ///
4707 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
4708 /// encrypted_secret = box.encrypt("my_secret")
4709 ///
4710 /// # Print the base64 encoded secret
4711 /// puts Base64.strict_encode64(encrypted_secret)
4712 /// ```
4713 PutReposownerrepoDependabotSecretssecretName(String, String, String),
4714 /// * tags dependabot
4715 /// * delete `/repos/{owner}/{repo}/dependabot/secrets/{secret_name}`
4716 /// * docs <https://docs.github.com/rest/reference/dependabot#delete-a-repository-secret>
4717 ///
4718 /// Delete a repository secret
4719 /// Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.
4720 DeleteReposownerrepoDependabotSecretssecretName(String, String, String),
4721 /// * tags repos
4722 /// * get `/repos/{owner}/{repo}/deployments`
4723 /// * docs <https://docs.github.com/rest/reference/repos#list-deployments>
4724 ///
4725 /// List deployments
4726 /// Simple filtering of deployments is available via query parameters:
4727 GetReposownerrepoDeployments(String, String),
4728 /// * tags repos
4729 /// * post `/repos/{owner}/{repo}/deployments`
4730 /// * docs <https://docs.github.com/rest/reference/repos#create-a-deployment>
4731 ///
4732 /// Create a deployment
4733 /// Deployments offer a few configurable parameters with certain defaults.
4734 ///
4735 /// The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them
4736 /// before we merge a pull request.
4737 ///
4738 /// The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have
4739 /// multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter
4740 /// makes it easier to track which environments have requested deployments. The default environment is `production`.
4741 ///
4742 /// The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If
4743 /// the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,
4744 /// the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will
4745 /// return a failure response.
4746 ///
4747 /// By default, [commit statuses](https://docs.github.com/rest/reference/commits#commit-statuses) for every submitted context must be in a `success`
4748 /// state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to
4749 /// specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do
4750 /// not require any contexts or create any commit statuses, the deployment will always succeed.
4751 ///
4752 /// The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text
4753 /// field that will be passed on when a deployment event is dispatched.
4754 ///
4755 /// The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might
4756 /// be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an
4757 /// application with debugging enabled.
4758 ///
4759 /// Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref.
4760 ///
4761 /// #### Merged branch response
4762 /// You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating
4763 /// a deployment. This auto-merge happens when:
4764 /// * Auto-merge option is enabled in the repository
4765 /// * Topic branch does not include the latest changes on the base branch, which is `master` in the response example
4766 /// * There are no merge conflicts
4767 ///
4768 /// If there are no new commits in the base branch, a new request to create a deployment should give a successful
4769 /// response.
4770 ///
4771 /// #### Merge conflict response
4772 /// This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't
4773 /// be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.
4774 ///
4775 /// #### Failed commit status checks
4776 /// This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`
4777 /// status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
4778 PostReposownerrepoDeployments(String, String),
4779 /// * tags repos
4780 /// * get `/repos/{owner}/{repo}/deployments/{deployment_id}`
4781 /// * docs <https://docs.github.com/rest/reference/repos#get-a-deployment>
4782 ///
4783 /// Get a deployment
4784 ///
4785 GetReposownerrepoDeploymentsdeploymentId(String, String, String),
4786 /// * tags repos
4787 /// * delete `/repos/{owner}/{repo}/deployments/{deployment_id}`
4788 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-deployment>
4789 ///
4790 /// Delete a deployment
4791 /// If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.
4792 ///
4793 /// To set a deployment as inactive, you must:
4794 ///
4795 /// * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.
4796 /// * Mark the active deployment as inactive by adding any non-successful deployment status.
4797 ///
4798 /// For more information, see "[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status)."
4799 DeleteReposownerrepoDeploymentsdeploymentId(String, String, String),
4800 /// * tags repos
4801 /// * get `/repos/{owner}/{repo}/deployments/{deployment_id}/statuses`
4802 /// * docs <https://docs.github.com/rest/reference/repos#list-deployment-statuses>
4803 ///
4804 /// List deployment statuses
4805 /// Users with pull access can view deployment statuses for a deployment:
4806 GetReposownerrepoDeploymentsdeploymentIdStatuses(String, String, String),
4807 /// * tags repos
4808 /// * post `/repos/{owner}/{repo}/deployments/{deployment_id}/statuses`
4809 /// * docs <https://docs.github.com/rest/reference/repos#create-a-deployment-status>
4810 ///
4811 /// Create a deployment status
4812 /// Users with `push` access can create deployment statuses for a given deployment.
4813 ///
4814 /// GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope.
4815 PostReposownerrepoDeploymentsdeploymentIdStatuses(String, String, String),
4816 /// * tags repos
4817 /// * get `/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}`
4818 /// * docs <https://docs.github.com/rest/reference/repos#get-a-deployment-status>
4819 ///
4820 /// Get a deployment status
4821 /// Users with pull access can view a deployment status for a deployment:
4822 GetReposownerrepoDeploymentsdeploymentIdStatusesstatusId(String, String, String, String),
4823 /// * tags repos
4824 /// * post `/repos/{owner}/{repo}/dispatches`
4825 /// * docs <https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event>
4826 ///
4827 /// Create a repository dispatch event
4828 /// You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)."
4829 ///
4830 /// The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.
4831 ///
4832 /// This endpoint requires write access to the repository by providing either:
4833 ///
4834 /// - Personal access tokens with `repo` scope. For more information, see "[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)" in the GitHub Help documentation.
4835 /// - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.
4836 ///
4837 /// This input example shows how you can use the `client_payload` as a test to debug your workflow.
4838 PostReposownerrepoDispatches(String, String),
4839 /// * tags repos
4840 /// * get `/repos/{owner}/{repo}/environments`
4841 /// * docs <https://docs.github.com/rest/reference/repos#get-all-environments>
4842 ///
4843 /// Get all environments
4844 /// Get all environments for a repository.
4845 ///
4846 /// Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
4847 GetReposownerrepoEnvironments(String, String),
4848 /// * tags repos
4849 /// * get `/repos/{owner}/{repo}/environments/{environment_name}`
4850 /// * docs <https://docs.github.com/rest/reference/repos#get-an-environment>
4851 ///
4852 /// Get an environment
4853 /// Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
4854 GetReposownerrepoEnvironmentsenvironmentName(String, String, String),
4855 /// * tags repos
4856 /// * put `/repos/{owner}/{repo}/environments/{environment_name}`
4857 /// * docs <https://docs.github.com/rest/reference/repos#create-or-update-an-environment>
4858 ///
4859 /// Create or update an environment
4860 /// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
4861 ///
4862 /// **Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see "[Environments](/actions/reference/environments#deployment-branches)."
4863 ///
4864 /// **Note:** To create or update secrets for an environment, see "[Secrets](/rest/reference/actions#secrets)."
4865 ///
4866 /// You must authenticate using an access token with the repo scope to use this endpoint.
4867 PutReposownerrepoEnvironmentsenvironmentName(String, String, String),
4868 /// * tags repos
4869 /// * delete `/repos/{owner}/{repo}/environments/{environment_name}`
4870 /// * docs <https://docs.github.com/rest/reference/repos#delete-an-environment>
4871 ///
4872 /// Delete an environment
4873 /// You must authenticate using an access token with the repo scope to use this endpoint.
4874 DeleteReposownerrepoEnvironmentsenvironmentName(String, String, String),
4875 /// * tags activity
4876 /// * get `/repos/{owner}/{repo}/events`
4877 /// * docs <https://docs.github.com/rest/reference/activity#list-repository-events>
4878 ///
4879 /// List repository events
4880 ///
4881 GetReposownerrepoEvents(String, String),
4882 /// * tags repos
4883 /// * get `/repos/{owner}/{repo}/forks`
4884 /// * docs <https://docs.github.com/rest/reference/repos#list-forks>
4885 ///
4886 /// List forks
4887 ///
4888 GetReposownerrepoForks(String, String),
4889 /// * tags repos
4890 /// * post `/repos/{owner}/{repo}/forks`
4891 /// * docs <https://docs.github.com/rest/reference/repos#create-a-fork>
4892 ///
4893 /// Create a fork
4894 /// Create a fork for the authenticated user.
4895 ///
4896 /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
4897 PostReposownerrepoForks(String, String),
4898 /// * tags git
4899 /// * post `/repos/{owner}/{repo}/git/blobs`
4900 /// * docs <https://docs.github.com/rest/reference/git#create-a-blob>
4901 ///
4902 /// Create a blob
4903 ///
4904 PostReposownerrepoGitBlobs(String, String),
4905 /// * tags git
4906 /// * get `/repos/{owner}/{repo}/git/blobs/{file_sha}`
4907 /// * docs <https://docs.github.com/rest/reference/git#get-a-blob>
4908 ///
4909 /// Get a blob
4910 /// The `content` in the response will always be Base64 encoded.
4911 ///
4912 /// _Note_: This API supports blobs up to 100 megabytes in size.
4913 GetReposownerrepoGitBlobsfileSha(String, String, String),
4914 /// * tags git
4915 /// * post `/repos/{owner}/{repo}/git/commits`
4916 /// * docs <https://docs.github.com/rest/reference/git#create-a-commit>
4917 ///
4918 /// Create a commit
4919 /// Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).
4920 ///
4921 /// **Signature verification object**
4922 ///
4923 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
4924 ///
4925 /// | Name | Type | Description |
4926 /// | ---- | ---- | ----------- |
4927 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
4928 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
4929 /// | `signature` | `string` | The signature that was extracted from the commit. |
4930 /// | `payload` | `string` | The value that was signed. |
4931 ///
4932 /// These are the possible values for `reason` in the `verification` object:
4933 ///
4934 /// | Value | Description |
4935 /// | ----- | ----------- |
4936 /// | `expired_key` | The key that made the signature is expired. |
4937 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
4938 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
4939 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
4940 /// | `unsigned` | The object does not include a signature. |
4941 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
4942 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
4943 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
4944 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
4945 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
4946 /// | `malformed_signature` | There was an error parsing the signature. |
4947 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
4948 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
4949 PostReposownerrepoGitCommits(String, String),
4950 /// * tags git
4951 /// * get `/repos/{owner}/{repo}/git/commits/{commit_sha}`
4952 /// * docs <https://docs.github.com/rest/reference/git#get-a-commit>
4953 ///
4954 /// Get a commit
4955 /// Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).
4956 ///
4957 /// **Signature verification object**
4958 ///
4959 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
4960 ///
4961 /// | Name | Type | Description |
4962 /// | ---- | ---- | ----------- |
4963 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
4964 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
4965 /// | `signature` | `string` | The signature that was extracted from the commit. |
4966 /// | `payload` | `string` | The value that was signed. |
4967 ///
4968 /// These are the possible values for `reason` in the `verification` object:
4969 ///
4970 /// | Value | Description |
4971 /// | ----- | ----------- |
4972 /// | `expired_key` | The key that made the signature is expired. |
4973 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
4974 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
4975 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
4976 /// | `unsigned` | The object does not include a signature. |
4977 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
4978 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
4979 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
4980 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
4981 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
4982 /// | `malformed_signature` | There was an error parsing the signature. |
4983 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
4984 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
4985 GetReposownerrepoGitCommitscommitSha(String, String, String),
4986 /// * tags git
4987 /// * get `/repos/{owner}/{repo}/git/matching-refs/{ref}`
4988 /// * docs <https://docs.github.com/rest/reference/git#list-matching-references>
4989 ///
4990 /// List matching references
4991 /// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
4992 ///
4993 /// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
4994 ///
4995 /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
4996 ///
4997 /// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.
4998 GetReposownerrepoGitMatchingRefsref(String, String, String),
4999 /// * tags git
5000 /// * get `/repos/{owner}/{repo}/git/ref/{ref}`
5001 /// * docs <https://docs.github.com/rest/reference/git#get-a-reference>
5002 ///
5003 /// Get a reference
5004 /// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
5005 ///
5006 /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
5007 GetReposownerrepoGitRefref(String, String, String),
5008 /// * tags git
5009 /// * post `/repos/{owner}/{repo}/git/refs`
5010 /// * docs <https://docs.github.com/rest/reference/git#create-a-reference>
5011 ///
5012 /// Create a reference
5013 /// Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.
5014 PostReposownerrepoGitRefs(String, String),
5015 /// * tags git
5016 /// * patch `/repos/{owner}/{repo}/git/refs/{ref}`
5017 /// * docs <https://docs.github.com/rest/reference/git#update-a-reference>
5018 ///
5019 /// Update a reference
5020 ///
5021 PatchReposownerrepoGitRefsref(String, String, String),
5022 /// * tags git
5023 /// * delete `/repos/{owner}/{repo}/git/refs/{ref}`
5024 /// * docs <https://docs.github.com/rest/reference/git#delete-a-reference>
5025 ///
5026 /// Delete a reference
5027 ///
5028 DeleteReposownerrepoGitRefsref(String, String, String),
5029 /// * tags git
5030 /// * post `/repos/{owner}/{repo}/git/tags`
5031 /// * docs <https://docs.github.com/rest/reference/git#create-a-tag-object>
5032 ///
5033 /// Create a tag object
5034 /// Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.
5035 ///
5036 /// **Signature verification object**
5037 ///
5038 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
5039 ///
5040 /// | Name | Type | Description |
5041 /// | ---- | ---- | ----------- |
5042 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
5043 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
5044 /// | `signature` | `string` | The signature that was extracted from the commit. |
5045 /// | `payload` | `string` | The value that was signed. |
5046 ///
5047 /// These are the possible values for `reason` in the `verification` object:
5048 ///
5049 /// | Value | Description |
5050 /// | ----- | ----------- |
5051 /// | `expired_key` | The key that made the signature is expired. |
5052 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
5053 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
5054 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
5055 /// | `unsigned` | The object does not include a signature. |
5056 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
5057 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
5058 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
5059 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
5060 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
5061 /// | `malformed_signature` | There was an error parsing the signature. |
5062 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
5063 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
5064 PostReposownerrepoGitTags(String, String),
5065 /// * tags git
5066 /// * get `/repos/{owner}/{repo}/git/tags/{tag_sha}`
5067 /// * docs <https://docs.github.com/rest/reference/git#get-a-tag>
5068 ///
5069 /// Get a tag
5070 /// **Signature verification object**
5071 ///
5072 /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
5073 ///
5074 /// | Name | Type | Description |
5075 /// | ---- | ---- | ----------- |
5076 /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
5077 /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
5078 /// | `signature` | `string` | The signature that was extracted from the commit. |
5079 /// | `payload` | `string` | The value that was signed. |
5080 ///
5081 /// These are the possible values for `reason` in the `verification` object:
5082 ///
5083 /// | Value | Description |
5084 /// | ----- | ----------- |
5085 /// | `expired_key` | The key that made the signature is expired. |
5086 /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
5087 /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
5088 /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
5089 /// | `unsigned` | The object does not include a signature. |
5090 /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
5091 /// | `no_user` | No user was associated with the `committer` email address in the commit. |
5092 /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |
5093 /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
5094 /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
5095 /// | `malformed_signature` | There was an error parsing the signature. |
5096 /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
5097 /// | `valid` | None of the above errors applied, so the signature is considered to be verified. |
5098 GetReposownerrepoGitTagstagSha(String, String, String),
5099 /// * tags git
5100 /// * post `/repos/{owner}/{repo}/git/trees`
5101 /// * docs <https://docs.github.com/rest/reference/git#create-a-tree>
5102 ///
5103 /// Create a tree
5104 /// The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.
5105 ///
5106 /// If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference)."
5107 PostReposownerrepoGitTrees(String, String),
5108 /// * tags git
5109 /// * get `/repos/{owner}/{repo}/git/trees/{tree_sha}`
5110 /// * docs <https://docs.github.com/rest/reference/git#get-a-tree>
5111 ///
5112 /// Get a tree
5113 /// Returns a single tree using the SHA1 value for that tree.
5114 ///
5115 /// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
5116 GetReposownerrepoGitTreestreeSha(String, String, String),
5117 /// * tags repos
5118 /// * get `/repos/{owner}/{repo}/hooks`
5119 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-webhooks>
5120 ///
5121 /// List repository webhooks
5122 ///
5123 GetReposownerrepoHooks(String, String),
5124 /// * tags repos
5125 /// * post `/repos/{owner}/{repo}/hooks`
5126 /// * docs <https://docs.github.com/rest/reference/repos#create-a-repository-webhook>
5127 ///
5128 /// Create a repository webhook
5129 /// Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
5130 /// share the same `config` as long as those webhooks do not have any `events` that overlap.
5131 PostReposownerrepoHooks(String, String),
5132 /// * tags repos
5133 /// * get `/repos/{owner}/{repo}/hooks/{hook_id}`
5134 /// * docs <https://docs.github.com/rest/reference/repos#get-a-repository-webhook>
5135 ///
5136 /// Get a repository webhook
5137 /// Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository)."
5138 GetReposownerrepoHookshookId(String, String, String),
5139 /// * tags repos
5140 /// * patch `/repos/{owner}/{repo}/hooks/{hook_id}`
5141 /// * docs <https://docs.github.com/rest/reference/repos#update-a-repository-webhook>
5142 ///
5143 /// Update a repository webhook
5144 /// Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository)."
5145 PatchReposownerrepoHookshookId(String, String, String),
5146 /// * tags repos
5147 /// * delete `/repos/{owner}/{repo}/hooks/{hook_id}`
5148 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-repository-webhook>
5149 ///
5150 /// Delete a repository webhook
5151 ///
5152 DeleteReposownerrepoHookshookId(String, String, String),
5153 /// * tags repos
5154 /// * get `/repos/{owner}/{repo}/hooks/{hook_id}/config`
5155 /// * docs <https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository>
5156 ///
5157 /// Get a webhook configuration for a repository
5158 /// Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook)."
5159 ///
5160 /// Access tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.
5161 GetReposownerrepoHookshookIdConfig(String, String, String),
5162 /// * tags repos
5163 /// * patch `/repos/{owner}/{repo}/hooks/{hook_id}/config`
5164 /// * docs <https://docs.github.com/rest/reference/repos#update-a-webhook-configuration-for-a-repository>
5165 ///
5166 /// Update a webhook configuration for a repository
5167 /// Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook)."
5168 ///
5169 /// Access tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.
5170 PatchReposownerrepoHookshookIdConfig(String, String, String),
5171 /// * tags repos
5172 /// * get `/repos/{owner}/{repo}/hooks/{hook_id}/deliveries`
5173 /// * docs <https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook>
5174 ///
5175 /// List deliveries for a repository webhook
5176 /// Returns a list of webhook deliveries for a webhook configured in a repository.
5177 GetReposownerrepoHookshookIdDeliveries(String, String, String),
5178 /// * tags repos
5179 /// * get `/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}`
5180 /// * docs <https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook>
5181 ///
5182 /// Get a delivery for a repository webhook
5183 /// Returns a delivery for a webhook configured in a repository.
5184 GetReposownerrepoHookshookIdDeliveriesdeliveryId(String, String, String, String),
5185 /// * tags repos
5186 /// * post `/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts`
5187 /// * docs <https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook>
5188 ///
5189 /// Redeliver a delivery for a repository webhook
5190 /// Redeliver a webhook delivery for a webhook configured in a repository.
5191 PostReposownerrepoHookshookIdDeliveriesdeliveryIdAttempts(String, String, String, String),
5192 /// * tags repos
5193 /// * post `/repos/{owner}/{repo}/hooks/{hook_id}/pings`
5194 /// * docs <https://docs.github.com/rest/reference/repos#ping-a-repository-webhook>
5195 ///
5196 /// Ping a repository webhook
5197 /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.
5198 PostReposownerrepoHookshookIdPings(String, String, String),
5199 /// * tags repos
5200 /// * post `/repos/{owner}/{repo}/hooks/{hook_id}/tests`
5201 /// * docs <https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook>
5202 ///
5203 /// Test the push repository webhook
5204 /// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
5205 ///
5206 /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`
5207 PostReposownerrepoHookshookIdTests(String, String, String),
5208 /// * tags migrations
5209 /// * get `/repos/{owner}/{repo}/import`
5210 /// * docs <https://docs.github.com/rest/reference/migrations#get-an-import-status>
5211 ///
5212 /// Get an import status
5213 /// View the progress of an import.
5214 ///
5215 /// **Import status**
5216 ///
5217 /// This section includes details about the possible values of the `status` field of the Import Progress response.
5218 ///
5219 /// An import that does not have errors will progress through these steps:
5220 ///
5221 /// * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
5222 /// * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
5223 /// * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
5224 /// * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
5225 /// * `complete` - the import is complete, and the repository is ready on GitHub.
5226 ///
5227 /// If there are problems, you will see one of these in the `status` field:
5228 ///
5229 /// * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.
5230 /// * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
5231 /// * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.
5232 /// * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL.
5233 /// * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.
5234 ///
5235 /// **The project_choices field**
5236 ///
5237 /// When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
5238 ///
5239 /// **Git LFS related fields**
5240 ///
5241 /// This section includes details about Git LFS related fields that may be present in the Import Progress response.
5242 ///
5243 /// * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
5244 /// * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
5245 /// * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
5246 /// * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request.
5247 GetReposownerrepoImport(String, String),
5248 /// * tags migrations
5249 /// * put `/repos/{owner}/{repo}/import`
5250 /// * docs <https://docs.github.com/rest/reference/migrations#start-an-import>
5251 ///
5252 /// Start an import
5253 /// Start a source import to a GitHub repository using GitHub Importer.
5254 PutReposownerrepoImport(String, String),
5255 /// * tags migrations
5256 /// * patch `/repos/{owner}/{repo}/import`
5257 /// * docs <https://docs.github.com/rest/reference/migrations#update-an-import>
5258 ///
5259 /// Update an import
5260 /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
5261 /// request. If no parameters are provided, the import will be restarted.
5262 PatchReposownerrepoImport(String, String),
5263 /// * tags migrations
5264 /// * delete `/repos/{owner}/{repo}/import`
5265 /// * docs <https://docs.github.com/rest/reference/migrations#cancel-an-import>
5266 ///
5267 /// Cancel an import
5268 /// Stop an import for a repository.
5269 DeleteReposownerrepoImport(String, String),
5270 /// * tags migrations
5271 /// * get `/repos/{owner}/{repo}/import/authors`
5272 /// * docs <https://docs.github.com/rest/reference/migrations#get-commit-authors>
5273 ///
5274 /// Get commit authors
5275 /// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
5276 ///
5277 /// This endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information.
5278 GetReposownerrepoImportAuthors(String, String),
5279 /// * tags migrations
5280 /// * patch `/repos/{owner}/{repo}/import/authors/{author_id}`
5281 /// * docs <https://docs.github.com/rest/reference/migrations#map-a-commit-author>
5282 ///
5283 /// Map a commit author
5284 /// Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.
5285 PatchReposownerrepoImportAuthorsauthorId(String, String, String),
5286 /// * tags migrations
5287 /// * get `/repos/{owner}/{repo}/import/large_files`
5288 /// * docs <https://docs.github.com/rest/reference/migrations#get-large-files>
5289 ///
5290 /// Get large files
5291 /// List files larger than 100MB found during the import
5292 GetReposownerrepoImportLargeFiles(String, String),
5293 /// * tags migrations
5294 /// * patch `/repos/{owner}/{repo}/import/lfs`
5295 /// * docs <https://docs.github.com/rest/reference/migrations#update-git-lfs-preference>
5296 ///
5297 /// Update Git LFS preference
5298 /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/articles/versioning-large-files/).
5299 PatchReposownerrepoImportLfs(String, String),
5300 /// * tags apps
5301 /// * get `/repos/{owner}/{repo}/installation`
5302 /// * docs <https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app>
5303 ///
5304 /// Get a repository installation for the authenticated app
5305 /// Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.
5306 ///
5307 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
5308 GetReposownerrepoInstallation(String, String),
5309 /// * tags interactions
5310 /// * get `/repos/{owner}/{repo}/interaction-limits`
5311 /// * docs <https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository>
5312 ///
5313 /// Get interaction restrictions for a repository
5314 /// Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.
5315 GetReposownerrepoInteractionLimits(String, String),
5316 /// * tags interactions
5317 /// * put `/repos/{owner}/{repo}/interaction-limits`
5318 /// * docs <https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository>
5319 ///
5320 /// Set interaction restrictions for a repository
5321 /// Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.
5322 PutReposownerrepoInteractionLimits(String, String),
5323 /// * tags interactions
5324 /// * delete `/repos/{owner}/{repo}/interaction-limits`
5325 /// * docs <https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository>
5326 ///
5327 /// Remove interaction restrictions for a repository
5328 /// Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.
5329 DeleteReposownerrepoInteractionLimits(String, String),
5330 /// * tags repos
5331 /// * get `/repos/{owner}/{repo}/invitations`
5332 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-invitations>
5333 ///
5334 /// List repository invitations
5335 /// When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
5336 GetReposownerrepoInvitations(String, String),
5337 /// * tags repos
5338 /// * patch `/repos/{owner}/{repo}/invitations/{invitation_id}`
5339 /// * docs <https://docs.github.com/rest/reference/repos#update-a-repository-invitation>
5340 ///
5341 /// Update a repository invitation
5342 ///
5343 PatchReposownerrepoInvitationsinvitationId(String, String, String),
5344 /// * tags repos
5345 /// * delete `/repos/{owner}/{repo}/invitations/{invitation_id}`
5346 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-repository-invitation>
5347 ///
5348 /// Delete a repository invitation
5349 ///
5350 DeleteReposownerrepoInvitationsinvitationId(String, String, String),
5351 /// * tags issues
5352 /// * get `/repos/{owner}/{repo}/issues`
5353 /// * docs <https://docs.github.com/rest/reference/issues#list-repository-issues>
5354 ///
5355 /// List repository issues
5356 /// List issues in a repository.
5357 ///
5358 /// **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
5359 /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
5360 /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
5361 /// request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint.
5362 GetReposownerrepoIssues(String, String),
5363 /// * tags issues
5364 /// * post `/repos/{owner}/{repo}/issues`
5365 /// * docs <https://docs.github.com/rest/reference/issues#create-an-issue>
5366 ///
5367 /// Create an issue
5368 /// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
5369 ///
5370 /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
5371 PostReposownerrepoIssues(String, String),
5372 /// * tags issues
5373 /// * get `/repos/{owner}/{repo}/issues/comments`
5374 /// * docs <https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository>
5375 ///
5376 /// List issue comments for a repository
5377 /// By default, Issue Comments are ordered by ascending ID.
5378 GetReposownerrepoIssuesComments(String, String),
5379 /// * tags issues
5380 /// * get `/repos/{owner}/{repo}/issues/comments/{comment_id}`
5381 /// * docs <https://docs.github.com/rest/reference/issues#get-an-issue-comment>
5382 ///
5383 /// Get an issue comment
5384 ///
5385 GetReposownerrepoIssuesCommentscommentId(String, String, String),
5386 /// * tags issues
5387 /// * patch `/repos/{owner}/{repo}/issues/comments/{comment_id}`
5388 /// * docs <https://docs.github.com/rest/reference/issues#update-an-issue-comment>
5389 ///
5390 /// Update an issue comment
5391 ///
5392 PatchReposownerrepoIssuesCommentscommentId(String, String, String),
5393 /// * tags issues
5394 /// * delete `/repos/{owner}/{repo}/issues/comments/{comment_id}`
5395 /// * docs <https://docs.github.com/rest/reference/issues#delete-an-issue-comment>
5396 ///
5397 /// Delete an issue comment
5398 ///
5399 DeleteReposownerrepoIssuesCommentscommentId(String, String, String),
5400 /// * tags reactions
5401 /// * get `/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions`
5402 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment>
5403 ///
5404 /// List reactions for an issue comment
5405 /// List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).
5406 GetReposownerrepoIssuesCommentscommentIdReactions(String, String, String),
5407 /// * tags reactions
5408 /// * post `/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions`
5409 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment>
5410 ///
5411 /// Create reaction for an issue comment
5412 /// Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.
5413 PostReposownerrepoIssuesCommentscommentIdReactions(String, String, String),
5414 /// * tags reactions
5415 /// * delete `/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}`
5416 /// * docs <https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction>
5417 ///
5418 /// Delete an issue comment reaction
5419 /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
5420 ///
5421 /// Delete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).
5422 DeleteReposownerrepoIssuesCommentscommentIdReactionsreactionId(String, String, String, String),
5423 /// * tags issues
5424 /// * get `/repos/{owner}/{repo}/issues/events`
5425 /// * docs <https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository>
5426 ///
5427 /// List issue events for a repository
5428 ///
5429 GetReposownerrepoIssuesEvents(String, String),
5430 /// * tags issues
5431 /// * get `/repos/{owner}/{repo}/issues/events/{event_id}`
5432 /// * docs <https://docs.github.com/rest/reference/issues#get-an-issue-event>
5433 ///
5434 /// Get an issue event
5435 ///
5436 GetReposownerrepoIssuesEventseventId(String, String, String),
5437 /// * tags issues
5438 /// * get `/repos/{owner}/{repo}/issues/{issue_number}`
5439 /// * docs <https://docs.github.com/rest/reference/issues#get-an-issue>
5440 ///
5441 /// Get an issue
5442 /// The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was
5443 /// [transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If
5444 /// the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API
5445 /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
5446 /// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
5447 /// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
5448 ///
5449 /// **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
5450 /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
5451 /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
5452 /// request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint.
5453 GetReposownerrepoIssuesissueNumber(String, String, String),
5454 /// * tags issues
5455 /// * patch `/repos/{owner}/{repo}/issues/{issue_number}`
5456 /// * docs <https://docs.github.com/rest/reference/issues/#update-an-issue>
5457 ///
5458 /// Update an issue
5459 /// Issue owners and users with push access can edit an issue.
5460 PatchReposownerrepoIssuesissueNumber(String, String, String),
5461 /// * tags issues
5462 /// * post `/repos/{owner}/{repo}/issues/{issue_number}/assignees`
5463 /// * docs <https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue>
5464 ///
5465 /// Add assignees to an issue
5466 /// Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
5467 PostReposownerrepoIssuesissueNumberAssignees(String, String, String),
5468 /// * tags issues
5469 /// * delete `/repos/{owner}/{repo}/issues/{issue_number}/assignees`
5470 /// * docs <https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue>
5471 ///
5472 /// Remove assignees from an issue
5473 /// Removes one or more assignees from an issue.
5474 DeleteReposownerrepoIssuesissueNumberAssignees(String, String, String),
5475 /// * tags issues
5476 /// * get `/repos/{owner}/{repo}/issues/{issue_number}/comments`
5477 /// * docs <https://docs.github.com/rest/reference/issues#list-issue-comments>
5478 ///
5479 /// List issue comments
5480 /// Issue Comments are ordered by ascending ID.
5481 GetReposownerrepoIssuesissueNumberComments(String, String, String),
5482 /// * tags issues
5483 /// * post `/repos/{owner}/{repo}/issues/{issue_number}/comments`
5484 /// * docs <https://docs.github.com/rest/reference/issues#create-an-issue-comment>
5485 ///
5486 /// Create an issue comment
5487 /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
5488 PostReposownerrepoIssuesissueNumberComments(String, String, String),
5489 /// * tags issues
5490 /// * get `/repos/{owner}/{repo}/issues/{issue_number}/events`
5491 /// * docs <https://docs.github.com/rest/reference/issues#list-issue-events>
5492 ///
5493 /// List issue events
5494 ///
5495 GetReposownerrepoIssuesissueNumberEvents(String, String, String),
5496 /// * tags issues
5497 /// * get `/repos/{owner}/{repo}/issues/{issue_number}/labels`
5498 /// * docs <https://docs.github.com/rest/reference/issues#list-labels-for-an-issue>
5499 ///
5500 /// List labels for an issue
5501 ///
5502 GetReposownerrepoIssuesissueNumberLabels(String, String, String),
5503 /// * tags issues
5504 /// * post `/repos/{owner}/{repo}/issues/{issue_number}/labels`
5505 /// * docs <https://docs.github.com/rest/reference/issues#add-labels-to-an-issue>
5506 ///
5507 /// Add labels to an issue
5508 ///
5509 PostReposownerrepoIssuesissueNumberLabels(String, String, String),
5510 /// * tags issues
5511 /// * put `/repos/{owner}/{repo}/issues/{issue_number}/labels`
5512 /// * docs <https://docs.github.com/rest/reference/issues#set-labels-for-an-issue>
5513 ///
5514 /// Set labels for an issue
5515 /// Removes any previous labels and sets the new labels for an issue.
5516 PutReposownerrepoIssuesissueNumberLabels(String, String, String),
5517 /// * tags issues
5518 /// * delete `/repos/{owner}/{repo}/issues/{issue_number}/labels`
5519 /// * docs <https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue>
5520 ///
5521 /// Remove all labels from an issue
5522 ///
5523 DeleteReposownerrepoIssuesissueNumberLabels(String, String, String),
5524 /// * tags issues
5525 /// * delete `/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}`
5526 /// * docs <https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue>
5527 ///
5528 /// Remove a label from an issue
5529 /// Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.
5530 DeleteReposownerrepoIssuesissueNumberLabelsname(String, String, String, String),
5531 /// * tags issues
5532 /// * put `/repos/{owner}/{repo}/issues/{issue_number}/lock`
5533 /// * docs <https://docs.github.com/rest/reference/issues#lock-an-issue>
5534 ///
5535 /// Lock an issue
5536 /// Users with push access can lock an issue or pull request's conversation.
5537 ///
5538 /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
5539 PutReposownerrepoIssuesissueNumberLock(String, String, String),
5540 /// * tags issues
5541 /// * delete `/repos/{owner}/{repo}/issues/{issue_number}/lock`
5542 /// * docs <https://docs.github.com/rest/reference/issues#unlock-an-issue>
5543 ///
5544 /// Unlock an issue
5545 /// Users with push access can unlock an issue's conversation.
5546 DeleteReposownerrepoIssuesissueNumberLock(String, String, String),
5547 /// * tags reactions
5548 /// * get `/repos/{owner}/{repo}/issues/{issue_number}/reactions`
5549 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue>
5550 ///
5551 /// List reactions for an issue
5552 /// List the reactions to an [issue](https://docs.github.com/rest/reference/issues).
5553 GetReposownerrepoIssuesissueNumberReactions(String, String, String),
5554 /// * tags reactions
5555 /// * post `/repos/{owner}/{repo}/issues/{issue_number}/reactions`
5556 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue>
5557 ///
5558 /// Create reaction for an issue
5559 /// Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.
5560 PostReposownerrepoIssuesissueNumberReactions(String, String, String),
5561 /// * tags reactions
5562 /// * delete `/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}`
5563 /// * docs <https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction>
5564 ///
5565 /// Delete an issue reaction
5566 /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
5567 ///
5568 /// Delete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).
5569 DeleteReposownerrepoIssuesissueNumberReactionsreactionId(String, String, String, String),
5570 /// * tags issues
5571 /// * get `/repos/{owner}/{repo}/issues/{issue_number}/timeline`
5572 /// * docs <https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue>
5573 ///
5574 /// List timeline events for an issue
5575 ///
5576 GetReposownerrepoIssuesissueNumberTimeline(String, String, String),
5577 /// * tags repos
5578 /// * get `/repos/{owner}/{repo}/keys`
5579 /// * docs <https://docs.github.com/rest/reference/repos#list-deploy-keys>
5580 ///
5581 /// List deploy keys
5582 ///
5583 GetReposownerrepoKeys(String, String),
5584 /// * tags repos
5585 /// * post `/repos/{owner}/{repo}/keys`
5586 /// * docs <https://docs.github.com/rest/reference/repos#create-a-deploy-key>
5587 ///
5588 /// Create a deploy key
5589 /// You can create a read-only deploy key.
5590 PostReposownerrepoKeys(String, String),
5591 /// * tags repos
5592 /// * get `/repos/{owner}/{repo}/keys/{key_id}`
5593 /// * docs <https://docs.github.com/rest/reference/repos#get-a-deploy-key>
5594 ///
5595 /// Get a deploy key
5596 ///
5597 GetReposownerrepoKeyskeyId(String, String, String),
5598 /// * tags repos
5599 /// * delete `/repos/{owner}/{repo}/keys/{key_id}`
5600 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-deploy-key>
5601 ///
5602 /// Delete a deploy key
5603 /// Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.
5604 DeleteReposownerrepoKeyskeyId(String, String, String),
5605 /// * tags issues
5606 /// * get `/repos/{owner}/{repo}/labels`
5607 /// * docs <https://docs.github.com/rest/reference/issues#list-labels-for-a-repository>
5608 ///
5609 /// List labels for a repository
5610 ///
5611 GetReposownerrepoLabels(String, String),
5612 /// * tags issues
5613 /// * post `/repos/{owner}/{repo}/labels`
5614 /// * docs <https://docs.github.com/rest/reference/issues#create-a-label>
5615 ///
5616 /// Create a label
5617 ///
5618 PostReposownerrepoLabels(String, String),
5619 /// * tags issues
5620 /// * get `/repos/{owner}/{repo}/labels/{name}`
5621 /// * docs <https://docs.github.com/rest/reference/issues#get-a-label>
5622 ///
5623 /// Get a label
5624 ///
5625 GetReposownerrepoLabelsname(String, String, String),
5626 /// * tags issues
5627 /// * patch `/repos/{owner}/{repo}/labels/{name}`
5628 /// * docs <https://docs.github.com/rest/reference/issues#update-a-label>
5629 ///
5630 /// Update a label
5631 ///
5632 PatchReposownerrepoLabelsname(String, String, String),
5633 /// * tags issues
5634 /// * delete `/repos/{owner}/{repo}/labels/{name}`
5635 /// * docs <https://docs.github.com/rest/reference/issues#delete-a-label>
5636 ///
5637 /// Delete a label
5638 ///
5639 DeleteReposownerrepoLabelsname(String, String, String),
5640 /// * tags repos
5641 /// * get `/repos/{owner}/{repo}/languages`
5642 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-languages>
5643 ///
5644 /// List repository languages
5645 /// Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
5646 GetReposownerrepoLanguages(String, String),
5647 /// * tags repos
5648 /// * put `/repos/{owner}/{repo}/lfs`
5649 /// * docs <https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository>
5650 ///
5651 /// Enable Git LFS for a repository
5652 ///
5653 PutReposownerrepoLfs(String, String),
5654 /// * tags repos
5655 /// * delete `/repos/{owner}/{repo}/lfs`
5656 /// * docs <https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository>
5657 ///
5658 /// Disable Git LFS for a repository
5659 ///
5660 DeleteReposownerrepoLfs(String, String),
5661 /// * tags licenses
5662 /// * get `/repos/{owner}/{repo}/license`
5663 /// * docs <https://docs.github.com/rest/reference/licenses/#get-the-license-for-a-repository>
5664 ///
5665 /// Get the license for a repository
5666 /// This method returns the contents of the repository's license file, if one is detected.
5667 ///
5668 /// Similar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.
5669 GetReposownerrepoLicense(String, String),
5670 /// * tags repos
5671 /// * post `/repos/{owner}/{repo}/merge-upstream`
5672 /// * docs <https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository>
5673 ///
5674 /// Sync a fork branch with the upstream repository
5675 /// Sync a branch of a forked repository to keep it up-to-date with the upstream repository.
5676 PostReposownerrepoMergeUpstream(String, String),
5677 /// * tags repos
5678 /// * post `/repos/{owner}/{repo}/merges`
5679 /// * docs <https://docs.github.com/rest/reference/repos#merge-a-branch>
5680 ///
5681 /// Merge a branch
5682 ///
5683 PostReposownerrepoMerges(String, String),
5684 /// * tags issues
5685 /// * get `/repos/{owner}/{repo}/milestones`
5686 /// * docs <https://docs.github.com/rest/reference/issues#list-milestones>
5687 ///
5688 /// List milestones
5689 ///
5690 GetReposownerrepoMilestones(String, String),
5691 /// * tags issues
5692 /// * post `/repos/{owner}/{repo}/milestones`
5693 /// * docs <https://docs.github.com/rest/reference/issues#create-a-milestone>
5694 ///
5695 /// Create a milestone
5696 ///
5697 PostReposownerrepoMilestones(String, String),
5698 /// * tags issues
5699 /// * get `/repos/{owner}/{repo}/milestones/{milestone_number}`
5700 /// * docs <https://docs.github.com/rest/reference/issues#get-a-milestone>
5701 ///
5702 /// Get a milestone
5703 ///
5704 GetReposownerrepoMilestonesmilestoneNumber(String, String, String),
5705 /// * tags issues
5706 /// * patch `/repos/{owner}/{repo}/milestones/{milestone_number}`
5707 /// * docs <https://docs.github.com/rest/reference/issues#update-a-milestone>
5708 ///
5709 /// Update a milestone
5710 ///
5711 PatchReposownerrepoMilestonesmilestoneNumber(String, String, String),
5712 /// * tags issues
5713 /// * delete `/repos/{owner}/{repo}/milestones/{milestone_number}`
5714 /// * docs <https://docs.github.com/rest/reference/issues#delete-a-milestone>
5715 ///
5716 /// Delete a milestone
5717 ///
5718 DeleteReposownerrepoMilestonesmilestoneNumber(String, String, String),
5719 /// * tags issues
5720 /// * get `/repos/{owner}/{repo}/milestones/{milestone_number}/labels`
5721 /// * docs <https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone>
5722 ///
5723 /// List labels for issues in a milestone
5724 ///
5725 GetReposownerrepoMilestonesmilestoneNumberLabels(String, String, String),
5726 /// * tags activity
5727 /// * get `/repos/{owner}/{repo}/notifications`
5728 /// * docs <https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user>
5729 ///
5730 /// List repository notifications for the authenticated user
5731 /// List all notifications for the current user.
5732 GetReposownerrepoNotifications(String, String),
5733 /// * tags activity
5734 /// * put `/repos/{owner}/{repo}/notifications`
5735 /// * docs <https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read>
5736 ///
5737 /// Mark repository notifications as read
5738 /// Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
5739 PutReposownerrepoNotifications(String, String),
5740 /// * tags repos
5741 /// * get `/repos/{owner}/{repo}/pages`
5742 /// * docs <https://docs.github.com/rest/reference/repos#get-a-github-pages-site>
5743 ///
5744 /// Get a GitHub Pages site
5745 ///
5746 GetReposownerrepoPages(String, String),
5747 /// * tags repos
5748 /// * post `/repos/{owner}/{repo}/pages`
5749 /// * docs <https://docs.github.com/rest/reference/repos#create-a-github-pages-site>
5750 ///
5751 /// Create a GitHub Pages site
5752 /// Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."
5753 PostReposownerrepoPages(String, String),
5754 /// * tags repos
5755 /// * put `/repos/{owner}/{repo}/pages`
5756 /// * docs <https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site>
5757 ///
5758 /// Update information about a GitHub Pages site
5759 /// Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
5760 PutReposownerrepoPages(String, String),
5761 /// * tags repos
5762 /// * delete `/repos/{owner}/{repo}/pages`
5763 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-github-pages-site>
5764 ///
5765 /// Delete a GitHub Pages site
5766 ///
5767 DeleteReposownerrepoPages(String, String),
5768 /// * tags repos
5769 /// * get `/repos/{owner}/{repo}/pages/builds`
5770 /// * docs <https://docs.github.com/rest/reference/repos#list-github-pages-builds>
5771 ///
5772 /// List GitHub Pages builds
5773 ///
5774 GetReposownerrepoPagesBuilds(String, String),
5775 /// * tags repos
5776 /// * post `/repos/{owner}/{repo}/pages/builds`
5777 /// * docs <https://docs.github.com/rest/reference/repos#request-a-github-pages-build>
5778 ///
5779 /// Request a GitHub Pages build
5780 /// You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
5781 ///
5782 /// Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
5783 PostReposownerrepoPagesBuilds(String, String),
5784 /// * tags repos
5785 /// * get `/repos/{owner}/{repo}/pages/builds/latest`
5786 /// * docs <https://docs.github.com/rest/reference/repos#get-latest-pages-build>
5787 ///
5788 /// Get latest Pages build
5789 ///
5790 GetReposownerrepoPagesBuildsLatest(String, String),
5791 /// * tags repos
5792 /// * get `/repos/{owner}/{repo}/pages/builds/{build_id}`
5793 /// * docs <https://docs.github.com/rest/reference/repos#get-github-pages-build>
5794 ///
5795 /// Get GitHub Pages build
5796 ///
5797 GetReposownerrepoPagesBuildsbuildId(String, String, String),
5798 /// * tags repos
5799 /// * get `/repos/{owner}/{repo}/pages/health`
5800 /// * docs <https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages>
5801 ///
5802 /// Get a DNS health check for GitHub Pages
5803 /// Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.
5804 ///
5805 /// The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.
5806 ///
5807 /// Users must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint.
5808 GetReposownerrepoPagesHealth(String, String),
5809 /// * tags projects
5810 /// * get `/repos/{owner}/{repo}/projects`
5811 /// * docs <https://docs.github.com/rest/reference/projects#list-repository-projects>
5812 ///
5813 /// List repository projects
5814 /// Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
5815 GetReposownerrepoProjects(String, String),
5816 /// * tags projects
5817 /// * post `/repos/{owner}/{repo}/projects`
5818 /// * docs <https://docs.github.com/rest/reference/projects#create-a-repository-project>
5819 ///
5820 /// Create a repository project
5821 /// Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
5822 PostReposownerrepoProjects(String, String),
5823 /// * tags pulls
5824 /// * get `/repos/{owner}/{repo}/pulls`
5825 /// * docs <https://docs.github.com/rest/reference/pulls#list-pull-requests>
5826 ///
5827 /// List pull requests
5828 /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
5829 GetReposownerrepoPulls(String, String),
5830 /// * tags pulls
5831 /// * post `/repos/{owner}/{repo}/pulls`
5832 /// * docs <https://docs.github.com/rest/reference/pulls#create-a-pull-request>
5833 ///
5834 /// Create a pull request
5835 /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
5836 ///
5837 /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
5838 ///
5839 /// You can create a new pull request.
5840 ///
5841 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)" for details.
5842 PostReposownerrepoPulls(String, String),
5843 /// * tags pulls
5844 /// * get `/repos/{owner}/{repo}/pulls/comments`
5845 /// * docs <https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository>
5846 ///
5847 /// List review comments in a repository
5848 /// Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.
5849 GetReposownerrepoPullsComments(String, String),
5850 /// * tags pulls
5851 /// * get `/repos/{owner}/{repo}/pulls/comments/{comment_id}`
5852 /// * docs <https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request>
5853 ///
5854 /// Get a review comment for a pull request
5855 /// Provides details for a review comment.
5856 GetReposownerrepoPullsCommentscommentId(String, String, String),
5857 /// * tags pulls
5858 /// * patch `/repos/{owner}/{repo}/pulls/comments/{comment_id}`
5859 /// * docs <https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request>
5860 ///
5861 /// Update a review comment for a pull request
5862 /// Enables you to edit a review comment.
5863 PatchReposownerrepoPullsCommentscommentId(String, String, String),
5864 /// * tags pulls
5865 /// * delete `/repos/{owner}/{repo}/pulls/comments/{comment_id}`
5866 /// * docs <https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request>
5867 ///
5868 /// Delete a review comment for a pull request
5869 /// Deletes a review comment.
5870 DeleteReposownerrepoPullsCommentscommentId(String, String, String),
5871 /// * tags reactions
5872 /// * get `/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions`
5873 /// * docs <https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment>
5874 ///
5875 /// List reactions for a pull request review comment
5876 /// List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).
5877 GetReposownerrepoPullsCommentscommentIdReactions(String, String, String),
5878 /// * tags reactions
5879 /// * post `/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions`
5880 /// * docs <https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment>
5881 ///
5882 /// Create reaction for a pull request review comment
5883 /// Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.
5884 PostReposownerrepoPullsCommentscommentIdReactions(String, String, String),
5885 /// * tags reactions
5886 /// * delete `/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}`
5887 /// * docs <https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction>
5888 ///
5889 /// Delete a pull request comment reaction
5890 /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
5891 ///
5892 /// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).
5893 DeleteReposownerrepoPullsCommentscommentIdReactionsreactionId(String, String, String, String),
5894 /// * tags pulls
5895 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}`
5896 /// * docs <https://docs.github.com/rest/reference/pulls#get-a-pull-request>
5897 ///
5898 /// Get a pull request
5899 /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
5900 ///
5901 /// Lists details of a pull request by providing its number.
5902 ///
5903 /// When you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
5904 ///
5905 /// The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.
5906 ///
5907 /// The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:
5908 ///
5909 /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
5910 /// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
5911 /// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
5912 ///
5913 /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
5914 GetReposownerrepoPullspullNumber(String, String, String),
5915 /// * tags pulls
5916 /// * patch `/repos/{owner}/{repo}/pulls/{pull_number}`
5917 /// * docs <https://docs.github.com/rest/reference/pulls/#update-a-pull-request>
5918 ///
5919 /// Update a pull request
5920 /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
5921 ///
5922 /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
5923 PatchReposownerrepoPullspullNumber(String, String, String),
5924 /// * tags codespaces
5925 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/codespaces`
5926 /// * docs <https://docs.github.com/rest/reference/codespaces#create-a-codespace-from-a-pull-request>
5927 ///
5928 /// Create a codespace from a pull request
5929 /// Creates a codespace owned by the authenticated user for the specified pull request.
5930 ///
5931 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
5932 PostReposownerrepoPullspullNumberCodespaces(String, String, String),
5933 /// * tags pulls
5934 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/comments`
5935 /// * docs <https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request>
5936 ///
5937 /// List review comments on a pull request
5938 /// Lists all review comments for a pull request. By default, review comments are in ascending order by ID.
5939 GetReposownerrepoPullspullNumberComments(String, String, String),
5940 /// * tags pulls
5941 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/comments`
5942 /// * docs <https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request>
5943 ///
5944 /// Create a review comment for a pull request
5945 ///
5946 /// Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment)." We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.
5947 ///
5948 /// You can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
5949 ///
5950 /// **Note:** The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
5951 ///
5952 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
5953 PostReposownerrepoPullspullNumberComments(String, String, String),
5954 /// * tags pulls
5955 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies`
5956 /// * docs <https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment>
5957 ///
5958 /// Create a reply for a review comment
5959 /// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
5960 ///
5961 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
5962 PostReposownerrepoPullspullNumberCommentscommentIdReplies(String, String, String, String),
5963 /// * tags pulls
5964 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/commits`
5965 /// * docs <https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request>
5966 ///
5967 /// List commits on a pull request
5968 /// Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.
5969 GetReposownerrepoPullspullNumberCommits(String, String, String),
5970 /// * tags pulls
5971 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/files`
5972 /// * docs <https://docs.github.com/rest/reference/pulls#list-pull-requests-files>
5973 ///
5974 /// List pull requests files
5975 /// **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
5976 GetReposownerrepoPullspullNumberFiles(String, String, String),
5977 /// * tags pulls
5978 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/merge`
5979 /// * docs <https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged>
5980 ///
5981 /// Check if a pull request has been merged
5982 ///
5983 GetReposownerrepoPullspullNumberMerge(String, String, String),
5984 /// * tags pulls
5985 /// * put `/repos/{owner}/{repo}/pulls/{pull_number}/merge`
5986 /// * docs <https://docs.github.com/rest/reference/pulls#merge-a-pull-request>
5987 ///
5988 /// Merge a pull request
5989 /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
5990 PutReposownerrepoPullspullNumberMerge(String, String, String),
5991 /// * tags pulls
5992 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`
5993 /// * docs <https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request>
5994 ///
5995 /// List requested reviewers for a pull request
5996 ///
5997 GetReposownerrepoPullspullNumberRequestedReviewers(String, String, String),
5998 /// * tags pulls
5999 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`
6000 /// * docs <https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request>
6001 ///
6002 /// Request reviewers for a pull request
6003 /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
6004 PostReposownerrepoPullspullNumberRequestedReviewers(String, String, String),
6005 /// * tags pulls
6006 /// * delete `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`
6007 /// * docs <https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request>
6008 ///
6009 /// Remove requested reviewers from a pull request
6010 ///
6011 DeleteReposownerrepoPullspullNumberRequestedReviewers(String, String, String),
6012 /// * tags pulls
6013 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/reviews`
6014 /// * docs <https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request>
6015 ///
6016 /// List reviews for a pull request
6017 /// The list of reviews returns in chronological order.
6018 GetReposownerrepoPullspullNumberReviews(String, String, String),
6019 /// * tags pulls
6020 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/reviews`
6021 /// * docs <https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request>
6022 ///
6023 /// Create a review for a pull request
6024 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
6025 ///
6026 /// Pull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.
6027 ///
6028 /// **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.
6029 ///
6030 /// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
6031 PostReposownerrepoPullspullNumberReviews(String, String, String),
6032 /// * tags pulls
6033 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`
6034 /// * docs <https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request>
6035 ///
6036 /// Get a review for a pull request
6037 ///
6038 GetReposownerrepoPullspullNumberReviewsreviewId(String, String, String, String),
6039 /// * tags pulls
6040 /// * put `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`
6041 /// * docs <https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request>
6042 ///
6043 /// Update a review for a pull request
6044 /// Update the review summary comment with new text.
6045 PutReposownerrepoPullspullNumberReviewsreviewId(String, String, String, String),
6046 /// * tags pulls
6047 /// * delete `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`
6048 /// * docs <https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request>
6049 ///
6050 /// Delete a pending review for a pull request
6051 ///
6052 DeleteReposownerrepoPullspullNumberReviewsreviewId(String, String, String, String),
6053 /// * tags pulls
6054 /// * get `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments`
6055 /// * docs <https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review>
6056 ///
6057 /// List comments for a pull request review
6058 /// List comments for a specific pull request review.
6059 GetReposownerrepoPullspullNumberReviewsreviewIdComments(String, String, String, String),
6060 /// * tags pulls
6061 /// * put `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals`
6062 /// * docs <https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request>
6063 ///
6064 /// Dismiss a review for a pull request
6065 /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
6066 PutReposownerrepoPullspullNumberReviewsreviewIdDismissals(String, String, String, String),
6067 /// * tags pulls
6068 /// * post `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events`
6069 /// * docs <https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request>
6070 ///
6071 /// Submit a review for a pull request
6072 ///
6073 PostReposownerrepoPullspullNumberReviewsreviewIdEvents(String, String, String, String),
6074 /// * tags pulls
6075 /// * put `/repos/{owner}/{repo}/pulls/{pull_number}/update-branch`
6076 /// * docs <https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch>
6077 ///
6078 /// Update a pull request branch
6079 /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
6080 PutReposownerrepoPullspullNumberUpdateBranch(String, String, String),
6081 /// * tags repos
6082 /// * get `/repos/{owner}/{repo}/readme`
6083 /// * docs <https://docs.github.com/rest/reference/repos#get-a-repository-readme>
6084 ///
6085 /// Get a repository README
6086 /// Gets the preferred README for a repository.
6087 ///
6088 /// READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.
6089 GetReposownerrepoReadme(String, String),
6090 /// * tags repos
6091 /// * get `/repos/{owner}/{repo}/readme/{dir}`
6092 /// * docs <https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme>
6093 ///
6094 /// Get a repository README for a directory
6095 /// Gets the README from a repository directory.
6096 ///
6097 /// READMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.
6098 GetReposownerrepoReadmedir(String, String, String),
6099 /// * tags repos
6100 /// * get `/repos/{owner}/{repo}/releases`
6101 /// * docs <https://docs.github.com/rest/reference/repos#list-releases>
6102 ///
6103 /// List releases
6104 /// This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags).
6105 ///
6106 /// Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.
6107 GetReposownerrepoReleases(String, String),
6108 /// * tags repos
6109 /// * post `/repos/{owner}/{repo}/releases`
6110 /// * docs <https://docs.github.com/rest/reference/repos#create-a-release>
6111 ///
6112 /// Create a release
6113 /// Users with push access to the repository can create a release.
6114 ///
6115 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
6116 PostReposownerrepoReleases(String, String),
6117 /// * tags repos
6118 /// * get `/repos/{owner}/{repo}/releases/assets/{asset_id}`
6119 /// * docs <https://docs.github.com/rest/reference/repos#get-a-release-asset>
6120 ///
6121 /// Get a release asset
6122 /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
6123 GetReposownerrepoReleasesAssetsassetId(String, String, String),
6124 /// * tags repos
6125 /// * patch `/repos/{owner}/{repo}/releases/assets/{asset_id}`
6126 /// * docs <https://docs.github.com/rest/reference/repos#update-a-release-asset>
6127 ///
6128 /// Update a release asset
6129 /// Users with push access to the repository can edit a release asset.
6130 PatchReposownerrepoReleasesAssetsassetId(String, String, String),
6131 /// * tags repos
6132 /// * delete `/repos/{owner}/{repo}/releases/assets/{asset_id}`
6133 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-release-asset>
6134 ///
6135 /// Delete a release asset
6136 ///
6137 DeleteReposownerrepoReleasesAssetsassetId(String, String, String),
6138 /// * tags repos
6139 /// * post `/repos/{owner}/{repo}/releases/generate-notes`
6140 /// * docs <https://docs.github.com/rest/reference/repos#generate-release-notes>
6141 ///
6142 /// Generate release notes content for a release
6143 /// Generate a name and body describing a [release](https://docs.github.com/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.
6144 PostReposownerrepoReleasesGenerateNotes(String, String),
6145 /// * tags repos
6146 /// * get `/repos/{owner}/{repo}/releases/latest`
6147 /// * docs <https://docs.github.com/rest/reference/repos#get-the-latest-release>
6148 ///
6149 /// Get the latest release
6150 /// View the latest published full release for the repository.
6151 ///
6152 /// The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.
6153 GetReposownerrepoReleasesLatest(String, String),
6154 /// * tags repos
6155 /// * get `/repos/{owner}/{repo}/releases/tags/{tag}`
6156 /// * docs <https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name>
6157 ///
6158 /// Get a release by tag name
6159 /// Get a published release with the specified tag.
6160 GetReposownerrepoReleasesTagstag(String, String, String),
6161 /// * tags repos
6162 /// * get `/repos/{owner}/{repo}/releases/{release_id}`
6163 /// * docs <https://docs.github.com/rest/reference/repos#get-a-release>
6164 ///
6165 /// Get a release
6166 /// **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia).
6167 GetReposownerrepoReleasesreleaseId(String, String, String),
6168 /// * tags repos
6169 /// * patch `/repos/{owner}/{repo}/releases/{release_id}`
6170 /// * docs <https://docs.github.com/rest/reference/repos#update-a-release>
6171 ///
6172 /// Update a release
6173 /// Users with push access to the repository can edit a release.
6174 PatchReposownerrepoReleasesreleaseId(String, String, String),
6175 /// * tags repos
6176 /// * delete `/repos/{owner}/{repo}/releases/{release_id}`
6177 /// * docs <https://docs.github.com/rest/reference/repos#delete-a-release>
6178 ///
6179 /// Delete a release
6180 /// Users with push access to the repository can delete a release.
6181 DeleteReposownerrepoReleasesreleaseId(String, String, String),
6182 /// * tags repos
6183 /// * get `/repos/{owner}/{repo}/releases/{release_id}/assets`
6184 /// * docs <https://docs.github.com/rest/reference/repos#list-release-assets>
6185 ///
6186 /// List release assets
6187 ///
6188 GetReposownerrepoReleasesreleaseIdAssets(String, String, String),
6189 /// * tags repos
6190 /// * post `/repos/{owner}/{repo}/releases/{release_id}/assets`
6191 /// * docs <https://docs.github.com/rest/reference/repos#upload-a-release-asset>
6192 ///
6193 /// Upload a release asset
6194 /// This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in
6195 /// the response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset.
6196 ///
6197 /// You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.
6198 ///
6199 /// Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:
6200 ///
6201 /// `application/zip`
6202 ///
6203 /// GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,
6204 /// you'll still need to pass your authentication to be able to upload an asset.
6205 ///
6206 /// When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.
6207 ///
6208 /// **Notes:**
6209 /// * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)"
6210 /// endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
6211 /// * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.
6212 PostReposownerrepoReleasesreleaseIdAssets(String, String, String),
6213 /// * tags reactions
6214 /// * post `/repos/{owner}/{repo}/releases/{release_id}/reactions`
6215 /// * docs <https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-release>
6216 ///
6217 /// Create reaction for a release
6218 /// Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.
6219 PostReposownerrepoReleasesreleaseIdReactions(String, String, String),
6220 /// * tags secret-scanning
6221 /// * get `/repos/{owner}/{repo}/secret-scanning/alerts`
6222 /// * docs <https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository>
6223 ///
6224 /// List secret scanning alerts for a repository
6225 /// Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.
6226 ///
6227 /// GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
6228 GetReposownerrepoSecretScanningAlerts(String, String),
6229 /// * tags secret-scanning
6230 /// * get `/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}`
6231 /// * docs <https://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert>
6232 ///
6233 /// Get a secret scanning alert
6234 /// Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.
6235 ///
6236 /// GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
6237 GetReposownerrepoSecretScanningAlertsalertNumber(String, String, String),
6238 /// * tags secret-scanning
6239 /// * patch `/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}`
6240 /// * docs <https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert>
6241 ///
6242 /// Update a secret scanning alert
6243 /// Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.
6244 ///
6245 /// GitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.
6246 PatchReposownerrepoSecretScanningAlertsalertNumber(String, String, String),
6247 /// * tags secret-scanning
6248 /// * get `/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations`
6249 /// * docs <https://docs.github.com/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert>
6250 ///
6251 /// List locations for a secret scanning alert
6252 /// Lists all locations for a given secret scanning alert for a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.
6253 ///
6254 /// GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
6255 GetReposownerrepoSecretScanningAlertsalertNumberLocations(String, String, String),
6256 /// * tags activity
6257 /// * get `/repos/{owner}/{repo}/stargazers`
6258 /// * docs <https://docs.github.com/rest/reference/activity#list-stargazers>
6259 ///
6260 /// List stargazers
6261 /// Lists the people that have starred the repository.
6262 ///
6263 /// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:
6264 GetReposownerrepoStargazers(String, String),
6265 /// * tags repos
6266 /// * get `/repos/{owner}/{repo}/stats/code_frequency`
6267 /// * docs <https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity>
6268 ///
6269 /// Get the weekly commit activity
6270 /// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
6271 GetReposownerrepoStatsCodeFrequency(String, String),
6272 /// * tags repos
6273 /// * get `/repos/{owner}/{repo}/stats/commit_activity`
6274 /// * docs <https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity>
6275 ///
6276 /// Get the last year of commit activity
6277 /// Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.
6278 GetReposownerrepoStatsCommitActivity(String, String),
6279 /// * tags repos
6280 /// * get `/repos/{owner}/{repo}/stats/contributors`
6281 /// * docs <https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity>
6282 ///
6283 /// Get all contributor commit activity
6284 ///
6285 /// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
6286 ///
6287 /// * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
6288 /// * `a` - Number of additions
6289 /// * `d` - Number of deletions
6290 /// * `c` - Number of commits
6291 GetReposownerrepoStatsContributors(String, String),
6292 /// * tags repos
6293 /// * get `/repos/{owner}/{repo}/stats/participation`
6294 /// * docs <https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count>
6295 ///
6296 /// Get the weekly commit count
6297 /// Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.
6298 ///
6299 /// The array order is oldest week (index 0) to most recent week.
6300 GetReposownerrepoStatsParticipation(String, String),
6301 /// * tags repos
6302 /// * get `/repos/{owner}/{repo}/stats/punch_card`
6303 /// * docs <https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day>
6304 ///
6305 /// Get the hourly commit count for each day
6306 /// Each array contains the day number, hour number, and number of commits:
6307 ///
6308 /// * `0-6`: Sunday - Saturday
6309 /// * `0-23`: Hour of day
6310 /// * Number of commits
6311 ///
6312 /// For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
6313 GetReposownerrepoStatsPunchCard(String, String),
6314 /// * tags repos
6315 /// * post `/repos/{owner}/{repo}/statuses/{sha}`
6316 /// * docs <https://docs.github.com/rest/reference/repos#create-a-commit-status>
6317 ///
6318 /// Create a commit status
6319 /// Users with push access in a repository can create commit statuses for a given SHA.
6320 ///
6321 /// Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.
6322 PostReposownerrepoStatusessha(String, String, String),
6323 /// * tags activity
6324 /// * get `/repos/{owner}/{repo}/subscribers`
6325 /// * docs <https://docs.github.com/rest/reference/activity#list-watchers>
6326 ///
6327 /// List watchers
6328 /// Lists the people watching the specified repository.
6329 GetReposownerrepoSubscribers(String, String),
6330 /// * tags activity
6331 /// * get `/repos/{owner}/{repo}/subscription`
6332 /// * docs <https://docs.github.com/rest/reference/activity#get-a-repository-subscription>
6333 ///
6334 /// Get a repository subscription
6335 ///
6336 GetReposownerrepoSubscription(String, String),
6337 /// * tags activity
6338 /// * put `/repos/{owner}/{repo}/subscription`
6339 /// * docs <https://docs.github.com/rest/reference/activity#set-a-repository-subscription>
6340 ///
6341 /// Set a repository subscription
6342 /// If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely.
6343 PutReposownerrepoSubscription(String, String),
6344 /// * tags activity
6345 /// * delete `/repos/{owner}/{repo}/subscription`
6346 /// * docs <https://docs.github.com/rest/reference/activity#delete-a-repository-subscription>
6347 ///
6348 /// Delete a repository subscription
6349 /// This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription).
6350 DeleteReposownerrepoSubscription(String, String),
6351 /// * tags repos
6352 /// * get `/repos/{owner}/{repo}/tags`
6353 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-tags>
6354 ///
6355 /// List repository tags
6356 ///
6357 GetReposownerrepoTags(String, String),
6358 /// * tags repos
6359 /// * get `/repos/{owner}/{repo}/tarball/{ref}`
6360 /// * docs <https://docs.github.com/rest/reference/repos#download-a-repository-archive>
6361 ///
6362 /// Download a repository archive (tar)
6363 /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
6364 /// `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
6365 /// the `Location` header to make a second `GET` request.
6366 /// **Note**: For private repositories, these links are temporary and expire after five minutes.
6367 GetReposownerrepoTarballref(String, String, String),
6368 /// * tags repos
6369 /// * get `/repos/{owner}/{repo}/teams`
6370 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-teams>
6371 ///
6372 /// List repository teams
6373 ///
6374 GetReposownerrepoTeams(String, String),
6375 /// * tags repos
6376 /// * get `/repos/{owner}/{repo}/topics`
6377 /// * docs <https://docs.github.com/rest/reference/repos#get-all-repository-topics>
6378 ///
6379 /// Get all repository topics
6380 ///
6381 GetReposownerrepoTopics(String, String),
6382 /// * tags repos
6383 /// * put `/repos/{owner}/{repo}/topics`
6384 /// * docs <https://docs.github.com/rest/reference/repos#replace-all-repository-topics>
6385 ///
6386 /// Replace all repository topics
6387 ///
6388 PutReposownerrepoTopics(String, String),
6389 /// * tags repos
6390 /// * get `/repos/{owner}/{repo}/traffic/clones`
6391 /// * docs <https://docs.github.com/rest/reference/repos#get-repository-clones>
6392 ///
6393 /// Get repository clones
6394 /// Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
6395 GetReposownerrepoTrafficClones(String, String),
6396 /// * tags repos
6397 /// * get `/repos/{owner}/{repo}/traffic/popular/paths`
6398 /// * docs <https://docs.github.com/rest/reference/repos#get-top-referral-paths>
6399 ///
6400 /// Get top referral paths
6401 /// Get the top 10 popular contents over the last 14 days.
6402 GetReposownerrepoTrafficPopularPaths(String, String),
6403 /// * tags repos
6404 /// * get `/repos/{owner}/{repo}/traffic/popular/referrers`
6405 /// * docs <https://docs.github.com/rest/reference/repos#get-top-referral-sources>
6406 ///
6407 /// Get top referral sources
6408 /// Get the top 10 referrers over the last 14 days.
6409 GetReposownerrepoTrafficPopularReferrers(String, String),
6410 /// * tags repos
6411 /// * get `/repos/{owner}/{repo}/traffic/views`
6412 /// * docs <https://docs.github.com/rest/reference/repos#get-page-views>
6413 ///
6414 /// Get page views
6415 /// Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
6416 GetReposownerrepoTrafficViews(String, String),
6417 /// * tags repos
6418 /// * post `/repos/{owner}/{repo}/transfer`
6419 /// * docs <https://docs.github.com/rest/reference/repos#transfer-a-repository>
6420 ///
6421 /// Transfer a repository
6422 /// A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).
6423 PostReposownerrepoTransfer(String, String),
6424 /// * tags repos
6425 /// * get `/repos/{owner}/{repo}/vulnerability-alerts`
6426 /// * docs <https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository>
6427 ///
6428 /// Check if vulnerability alerts are enabled for a repository
6429 /// Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)".
6430 GetReposownerrepoVulnerabilityAlerts(String, String),
6431 /// * tags repos
6432 /// * put `/repos/{owner}/{repo}/vulnerability-alerts`
6433 /// * docs <https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts>
6434 ///
6435 /// Enable vulnerability alerts
6436 /// Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)".
6437 PutReposownerrepoVulnerabilityAlerts(String, String),
6438 /// * tags repos
6439 /// * delete `/repos/{owner}/{repo}/vulnerability-alerts`
6440 /// * docs <https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts>
6441 ///
6442 /// Disable vulnerability alerts
6443 /// Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)".
6444 DeleteReposownerrepoVulnerabilityAlerts(String, String),
6445 /// * tags repos
6446 /// * get `/repos/{owner}/{repo}/zipball/{ref}`
6447 /// * docs <https://docs.github.com/rest/reference/repos#download-a-repository-archive>
6448 ///
6449 /// Download a repository archive (zip)
6450 /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
6451 /// `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
6452 /// the `Location` header to make a second `GET` request.
6453 /// **Note**: For private repositories, these links are temporary and expire after five minutes.
6454 GetReposownerrepoZipballref(String, String, String),
6455 /// * tags repos
6456 /// * post `/repos/{template_owner}/{template_repo}/generate`
6457 /// * docs <https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template>
6458 ///
6459 /// Create a repository using a template
6460 /// Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.
6461 ///
6462 /// **OAuth scope requirements**
6463 ///
6464 /// When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:
6465 ///
6466 /// * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.
6467 /// * `repo` scope to create a private repository
6468 PostRepostemplateOwnertemplateRepoGenerate(String, String),
6469 /// * tags repos
6470 /// * get `/repositories`
6471 /// * docs <https://docs.github.com/rest/reference/repos#list-public-repositories>
6472 ///
6473 /// List public repositories
6474 /// Lists all public repositories in the order that they were created.
6475 ///
6476 /// Note:
6477 /// - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
6478 /// - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.
6479 GetRepositories(),
6480 /// * tags actions
6481 /// * get `/repositories/{repository_id}/environments/{environment_name}/secrets`
6482 /// * docs <https://docs.github.com/rest/reference/actions#list-environment-secrets>
6483 ///
6484 /// List environment secrets
6485 /// Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
6486 GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecrets(String, String),
6487 /// * tags actions
6488 /// * get `/repositories/{repository_id}/environments/{environment_name}/secrets/public-key`
6489 /// * docs <https://docs.github.com/rest/reference/actions#get-an-environment-public-key>
6490 ///
6491 /// Get an environment public key
6492 /// Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.
6493 GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretsPublicKey(String, String),
6494 /// * tags actions
6495 /// * get `/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`
6496 /// * docs <https://docs.github.com/rest/reference/actions#get-an-environment-secret>
6497 ///
6498 /// Get an environment secret
6499 /// Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
6500 GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(String, String, String),
6501 /// * tags actions
6502 /// * put `/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`
6503 /// * docs <https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret>
6504 ///
6505 /// Create or update an environment secret
6506 /// Creates or updates an environment secret with an encrypted value. Encrypt your secret using
6507 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access
6508 /// token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use
6509 /// this endpoint.
6510 ///
6511 /// #### Example encrypting a secret using Node.js
6512 ///
6513 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
6514 ///
6515 /// ```
6516 /// const sodium = require('tweetsodium');
6517 ///
6518 /// const key = "base64-encoded-public-key";
6519 /// const value = "plain-text-secret";
6520 ///
6521 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
6522 /// const messageBytes = Buffer.from(value);
6523 /// const keyBytes = Buffer.from(key, 'base64');
6524 ///
6525 /// // Encrypt using LibSodium.
6526 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
6527 ///
6528 /// // Base64 the encrypted secret
6529 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
6530 ///
6531 /// console.log(encrypted);
6532 /// ```
6533 ///
6534 ///
6535 /// #### Example encrypting a secret using Python
6536 ///
6537 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
6538 ///
6539 /// ```
6540 /// from base64 import b64encode
6541 /// from nacl import encoding, public
6542 ///
6543 /// def encrypt(public_key: str, secret_value: str) -> str:
6544 /// """Encrypt a Unicode string using the public key."""
6545 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
6546 /// sealed_box = public.SealedBox(public_key)
6547 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
6548 /// return b64encode(encrypted).decode("utf-8")
6549 /// ```
6550 ///
6551 /// #### Example encrypting a secret using C#
6552 ///
6553 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
6554 ///
6555 /// ```
6556 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
6557 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
6558 ///
6559 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
6560 ///
6561 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
6562 /// ```
6563 ///
6564 /// #### Example encrypting a secret using Ruby
6565 ///
6566 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
6567 ///
6568 /// ```ruby
6569 /// require "rbnacl"
6570 /// require "base64"
6571 ///
6572 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
6573 /// public_key = RbNaCl::PublicKey.new(key)
6574 ///
6575 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
6576 /// encrypted_secret = box.encrypt("my_secret")
6577 ///
6578 /// # Print the base64 encoded secret
6579 /// puts Base64.strict_encode64(encrypted_secret)
6580 /// ```
6581 PutRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(String, String, String),
6582 /// * tags actions
6583 /// * delete `/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`
6584 /// * docs <https://docs.github.com/rest/reference/actions#delete-an-environment-secret>
6585 ///
6586 /// Delete an environment secret
6587 /// Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
6588 DeleteRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(
6589 String,
6590 String,
6591 String,
6592 ),
6593 /// * tags enterprise-admin
6594 /// * get `/scim/v2/enterprises/{enterprise}/Groups`
6595 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise>
6596 ///
6597 /// List provisioned SCIM groups for an enterprise
6598 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6599 GetScimV2EnterprisesenterpriseGroups(String),
6600 /// * tags enterprise-admin
6601 /// * post `/scim/v2/enterprises/{enterprise}/Groups`
6602 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users>
6603 ///
6604 /// Provision a SCIM enterprise group and invite users
6605 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6606 ///
6607 /// Provision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.
6608 PostScimV2EnterprisesenterpriseGroups(String),
6609 /// * tags enterprise-admin
6610 /// * get `/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`
6611 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group>
6612 ///
6613 /// Get SCIM provisioning information for an enterprise group
6614 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6615 GetScimV2EnterprisesenterpriseGroupsscimGroupId(String, String),
6616 /// * tags enterprise-admin
6617 /// * put `/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`
6618 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group>
6619 ///
6620 /// Set SCIM information for a provisioned enterprise group
6621 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6622 ///
6623 /// Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.
6624 PutScimV2EnterprisesenterpriseGroupsscimGroupId(String, String),
6625 /// * tags enterprise-admin
6626 /// * patch `/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`
6627 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group>
6628 ///
6629 /// Update an attribute for a SCIM enterprise group
6630 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6631 ///
6632 /// Allows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).
6633 PatchScimV2EnterprisesenterpriseGroupsscimGroupId(String, String),
6634 /// * tags enterprise-admin
6635 /// * delete `/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`
6636 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise>
6637 ///
6638 /// Delete a SCIM group from an enterprise
6639 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6640 DeleteScimV2EnterprisesenterpriseGroupsscimGroupId(String, String),
6641 /// * tags enterprise-admin
6642 /// * get `/scim/v2/enterprises/{enterprise}/Users`
6643 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise>
6644 ///
6645 /// List SCIM provisioned identities for an enterprise
6646 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6647 ///
6648 /// Retrieves a paginated list of all provisioned enterprise members, including pending invitations.
6649 ///
6650 /// When a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:
6651 /// - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future.
6652 /// - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).
6653 /// - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.
6654 ///
6655 /// The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:
6656 ///
6657 /// 1. The user is granted access by the IdP and is not a member of the GitHub enterprise.
6658 ///
6659 /// 1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account.
6660 ///
6661 /// 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:
6662 /// - If the user signs in, their GitHub account is linked to this entry.
6663 /// - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place.
6664 GetScimV2EnterprisesenterpriseUsers(String),
6665 /// * tags enterprise-admin
6666 /// * post `/scim/v2/enterprises/{enterprise}/Users`
6667 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user>
6668 ///
6669 /// Provision and invite a SCIM enterprise user
6670 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6671 ///
6672 /// Provision enterprise membership for a user, and send organization invitation emails to the email address.
6673 ///
6674 /// You can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent.
6675 PostScimV2EnterprisesenterpriseUsers(String),
6676 /// * tags enterprise-admin
6677 /// * get `/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}`
6678 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user>
6679 ///
6680 /// Get SCIM provisioning information for an enterprise user
6681 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6682 GetScimV2EnterprisesenterpriseUsersscimUserId(String, String),
6683 /// * tags enterprise-admin
6684 /// * put `/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}`
6685 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user>
6686 ///
6687 /// Set SCIM information for a provisioned enterprise user
6688 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6689 ///
6690 /// Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead.
6691 ///
6692 /// You must at least provide the required values for the user: `userName`, `name`, and `emails`.
6693 ///
6694 /// **Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`.
6695 PutScimV2EnterprisesenterpriseUsersscimUserId(String, String),
6696 /// * tags enterprise-admin
6697 /// * patch `/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}`
6698 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user>
6699 ///
6700 /// Update an attribute for a SCIM enterprise user
6701 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6702 ///
6703 /// Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).
6704 ///
6705 /// **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work.
6706 ///
6707 /// **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated `:scim_user_id`.
6708 ///
6709 /// ```
6710 /// {
6711 /// "Operations":[{
6712 /// "op":"replace",
6713 /// "value":{
6714 /// "active":false
6715 /// }
6716 /// }]
6717 /// }
6718 /// ```
6719 PatchScimV2EnterprisesenterpriseUsersscimUserId(String, String),
6720 /// * tags enterprise-admin
6721 /// * delete `/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}`
6722 /// * docs <https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise>
6723 ///
6724 /// Delete a SCIM user from an enterprise
6725 /// **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.
6726 DeleteScimV2EnterprisesenterpriseUsersscimUserId(String, String),
6727 /// * tags scim
6728 /// * get `/scim/v2/organizations/{org}/Users`
6729 /// * docs <https://docs.github.com/rest/reference/scim#list-scim-provisioned-identities>
6730 ///
6731 /// List SCIM provisioned identities
6732 /// Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned.
6733 ///
6734 /// When a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:
6735 /// - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future.
6736 /// - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).
6737 /// - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.
6738 ///
6739 /// The returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:
6740 ///
6741 /// 1. The user is granted access by the IdP and is not a member of the GitHub organization.
6742 ///
6743 /// 1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account.
6744 ///
6745 /// 1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:
6746 /// - If the user signs in, their GitHub account is linked to this entry.
6747 /// - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place.
6748 GetScimV2OrganizationsorgUsers(String),
6749 /// * tags scim
6750 /// * post `/scim/v2/organizations/{org}/Users`
6751 /// * docs <https://docs.github.com/rest/reference/scim#provision-and-invite-a-scim-user>
6752 ///
6753 /// Provision and invite a SCIM user
6754 /// Provision organization membership for a user, and send an activation email to the email address.
6755 PostScimV2OrganizationsorgUsers(String),
6756 /// * tags scim
6757 /// * get `/scim/v2/organizations/{org}/Users/{scim_user_id}`
6758 /// * docs <https://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user>
6759 ///
6760 /// Get SCIM provisioning information for a user
6761 ///
6762 GetScimV2OrganizationsorgUsersscimUserId(String, String),
6763 /// * tags scim
6764 /// * put `/scim/v2/organizations/{org}/Users/{scim_user_id}`
6765 /// * docs <https://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user>
6766 ///
6767 /// Update a provisioned organization membership
6768 /// Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead.
6769 ///
6770 /// You must at least provide the required values for the user: `userName`, `name`, and `emails`.
6771 ///
6772 /// **Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.
6773 PutScimV2OrganizationsorgUsersscimUserId(String, String),
6774 /// * tags scim
6775 /// * patch `/scim/v2/organizations/{org}/Users/{scim_user_id}`
6776 /// * docs <https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user>
6777 ///
6778 /// Update an attribute for a SCIM user
6779 /// Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).
6780 ///
6781 /// **Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will not work.
6782 ///
6783 /// **Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.
6784 ///
6785 /// ```
6786 /// {
6787 /// "Operations":[{
6788 /// "op":"replace",
6789 /// "value":{
6790 /// "active":false
6791 /// }
6792 /// }]
6793 /// }
6794 /// ```
6795 PatchScimV2OrganizationsorgUsersscimUserId(String, String),
6796 /// * tags scim
6797 /// * delete `/scim/v2/organizations/{org}/Users/{scim_user_id}`
6798 /// * docs <https://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization>
6799 ///
6800 /// Delete a SCIM user from an organization
6801 ///
6802 DeleteScimV2OrganizationsorgUsersscimUserId(String, String),
6803 /// * tags search
6804 /// * get `/search/code`
6805 /// * docs <https://docs.github.com/rest/reference/search#search-code>
6806 ///
6807 /// Search code
6808 /// Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6809 ///
6810 /// When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6811 ///
6812 /// For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:
6813 ///
6814 /// `q=addClass+in:file+language:js+repo:jquery/jquery`
6815 ///
6816 /// This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.
6817 ///
6818 /// #### Considerations for code search
6819 ///
6820 /// Due to the complexity of searching code, there are a few restrictions on how searches are performed:
6821 ///
6822 /// * Only the _default branch_ is considered. In most cases, this will be the `master` branch.
6823 /// * Only files smaller than 384 KB are searchable.
6824 /// * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing
6825 /// language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.
6826 GetSearchCode(),
6827 /// * tags search
6828 /// * get `/search/commits`
6829 /// * docs <https://docs.github.com/rest/reference/search#search-commits>
6830 ///
6831 /// Search commits
6832 /// Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6833 ///
6834 /// When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match
6835 /// metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6836 ///
6837 /// For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:
6838 ///
6839 /// `q=repo:octocat/Spoon-Knife+css`
6840 GetSearchCommits(),
6841 /// * tags search
6842 /// * get `/search/issues`
6843 /// * docs <https://docs.github.com/rest/reference/search#search-issues-and-pull-requests>
6844 ///
6845 /// Search issues and pull requests
6846 /// Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6847 ///
6848 /// When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted
6849 /// search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6850 ///
6851 /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
6852 ///
6853 /// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
6854 ///
6855 /// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
6856 ///
6857 /// **Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)."
6858 GetSearchIssues(),
6859 /// * tags search
6860 /// * get `/search/labels`
6861 /// * docs <https://docs.github.com/rest/reference/search#search-labels>
6862 ///
6863 /// Search labels
6864 /// Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6865 ///
6866 /// When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6867 ///
6868 /// For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:
6869 ///
6870 /// `q=bug+defect+enhancement&repository_id=64778136`
6871 ///
6872 /// The labels that best match the query appear first in the search results.
6873 GetSearchLabels(),
6874 /// * tags search
6875 /// * get `/search/repositories`
6876 /// * docs <https://docs.github.com/rest/reference/search#search-repositories>
6877 ///
6878 /// Search repositories
6879 /// Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6880 ///
6881 /// When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6882 ///
6883 /// For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:
6884 ///
6885 /// `q=tetris+language:assembly&sort=stars&order=desc`
6886 ///
6887 /// This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.
6888 GetSearchRepositories(),
6889 /// * tags search
6890 /// * get `/search/topics`
6891 /// * docs <https://docs.github.com/rest/reference/search#search-topics>
6892 ///
6893 /// Search topics
6894 /// Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See "[Searching topics](https://docs.github.com/articles/searching-topics/)" for a detailed list of qualifiers.
6895 ///
6896 /// When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6897 ///
6898 /// For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:
6899 ///
6900 /// `q=ruby+is:featured`
6901 ///
6902 /// This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.
6903 GetSearchTopics(),
6904 /// * tags search
6905 /// * get `/search/users`
6906 /// * docs <https://docs.github.com/rest/reference/search#search-users>
6907 ///
6908 /// Search users
6909 /// Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).
6910 ///
6911 /// When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).
6912 ///
6913 /// For example, if you're looking for a list of popular users, you might try this query:
6914 ///
6915 /// `q=tom+repos:%3E42+followers:%3E1000`
6916 ///
6917 /// This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.
6918 GetSearchUsers(),
6919 /// * tags teams
6920 /// * get `/teams/{team_id}`
6921 /// * docs <https://docs.github.com/rest/reference/teams/#get-a-team-legacy>
6922 ///
6923 /// Get a team (Legacy)
6924 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint.
6925 GetTeamsteamId(String),
6926 /// * tags teams
6927 /// * patch `/teams/{team_id}`
6928 /// * docs <https://docs.github.com/rest/reference/teams/#update-a-team-legacy>
6929 ///
6930 /// Update a team (Legacy)
6931 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint.
6932 ///
6933 /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
6934 ///
6935 /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.
6936 PatchTeamsteamId(String),
6937 /// * tags teams
6938 /// * delete `/teams/{team_id}`
6939 /// * docs <https://docs.github.com/rest/reference/teams/#delete-a-team-legacy>
6940 ///
6941 /// Delete a team (Legacy)
6942 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint.
6943 ///
6944 /// To delete a team, the authenticated user must be an organization owner or team maintainer.
6945 ///
6946 /// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
6947 DeleteTeamsteamId(String),
6948 /// * tags teams
6949 /// * get `/teams/{team_id}/discussions`
6950 /// * docs <https://docs.github.com/rest/reference/teams#list-discussions-legacy>
6951 ///
6952 /// List discussions (Legacy)
6953 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint.
6954 ///
6955 /// List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
6956 GetTeamsteamIdDiscussions(String),
6957 /// * tags teams
6958 /// * post `/teams/{team_id}/discussions`
6959 /// * docs <https://docs.github.com/rest/reference/teams#create-a-discussion-legacy>
6960 ///
6961 /// Create a discussion (Legacy)
6962 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint.
6963 ///
6964 /// Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
6965 ///
6966 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
6967 PostTeamsteamIdDiscussions(String),
6968 /// * tags teams
6969 /// * get `/teams/{team_id}/discussions/{discussion_number}`
6970 /// * docs <https://docs.github.com/rest/reference/teams#get-a-discussion-legacy>
6971 ///
6972 /// Get a discussion (Legacy)
6973 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint.
6974 ///
6975 /// Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
6976 GetTeamsteamIdDiscussionsdiscussionNumber(String, String),
6977 /// * tags teams
6978 /// * patch `/teams/{team_id}/discussions/{discussion_number}`
6979 /// * docs <https://docs.github.com/rest/reference/teams#update-a-discussion-legacy>
6980 ///
6981 /// Update a discussion (Legacy)
6982 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint.
6983 ///
6984 /// Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
6985 PatchTeamsteamIdDiscussionsdiscussionNumber(String, String),
6986 /// * tags teams
6987 /// * delete `/teams/{team_id}/discussions/{discussion_number}`
6988 /// * docs <https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy>
6989 ///
6990 /// Delete a discussion (Legacy)
6991 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint.
6992 ///
6993 /// Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
6994 DeleteTeamsteamIdDiscussionsdiscussionNumber(String, String),
6995 /// * tags teams
6996 /// * get `/teams/{team_id}/discussions/{discussion_number}/comments`
6997 /// * docs <https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy>
6998 ///
6999 /// List discussion comments (Legacy)
7000 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint.
7001 ///
7002 /// List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7003 GetTeamsteamIdDiscussionsdiscussionNumberComments(String, String),
7004 /// * tags teams
7005 /// * post `/teams/{team_id}/discussions/{discussion_number}/comments`
7006 /// * docs <https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy>
7007 ///
7008 /// Create a discussion comment (Legacy)
7009 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint.
7010 ///
7011 /// Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7012 ///
7013 /// This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details.
7014 PostTeamsteamIdDiscussionsdiscussionNumberComments(String, String),
7015 /// * tags teams
7016 /// * get `/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}`
7017 /// * docs <https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy>
7018 ///
7019 /// Get a discussion comment (Legacy)
7020 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint.
7021 ///
7022 /// Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7023 GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(String, String, String),
7024 /// * tags teams
7025 /// * patch `/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}`
7026 /// * docs <https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy>
7027 ///
7028 /// Update a discussion comment (Legacy)
7029 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint.
7030 ///
7031 /// Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7032 PatchTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(String, String, String),
7033 /// * tags teams
7034 /// * delete `/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}`
7035 /// * docs <https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy>
7036 ///
7037 /// Delete a discussion comment (Legacy)
7038 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint.
7039 ///
7040 /// Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7041 DeleteTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(String, String, String),
7042 /// * tags reactions
7043 /// * get `/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions`
7044 /// * docs <https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy>
7045 ///
7046 /// List reactions for a team discussion comment (Legacy)
7047 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
7048 ///
7049 /// List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7050 GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(String, String, String),
7051 /// * tags reactions
7052 /// * post `/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions`
7053 /// * docs <https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy>
7054 ///
7055 /// Create reaction for a team discussion comment (Legacy)
7056 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
7057 ///
7058 /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
7059 PostTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(
7060 String,
7061 String,
7062 String,
7063 ),
7064 /// * tags reactions
7065 /// * get `/teams/{team_id}/discussions/{discussion_number}/reactions`
7066 /// * docs <https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy>
7067 ///
7068 /// List reactions for a team discussion (Legacy)
7069 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.
7070 ///
7071 /// List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7072 GetTeamsteamIdDiscussionsdiscussionNumberReactions(String, String),
7073 /// * tags reactions
7074 /// * post `/teams/{team_id}/discussions/{discussion_number}/reactions`
7075 /// * docs <https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy>
7076 ///
7077 /// Create reaction for a team discussion (Legacy)
7078 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.
7079 ///
7080 /// Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
7081 PostTeamsteamIdDiscussionsdiscussionNumberReactions(String, String),
7082 /// * tags teams
7083 /// * get `/teams/{team_id}/invitations`
7084 /// * docs <https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy>
7085 ///
7086 /// List pending team invitations (Legacy)
7087 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint.
7088 ///
7089 /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
7090 GetTeamsteamIdInvitations(String),
7091 /// * tags teams
7092 /// * get `/teams/{team_id}/members`
7093 /// * docs <https://docs.github.com/rest/reference/teams#list-team-members-legacy>
7094 ///
7095 /// List team members (Legacy)
7096 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint.
7097 ///
7098 /// Team members will include the members of child teams.
7099 GetTeamsteamIdMembers(String),
7100 /// * tags teams
7101 /// * get `/teams/{team_id}/members/{username}`
7102 /// * docs <https://docs.github.com/rest/reference/teams#get-team-member-legacy>
7103 ///
7104 /// Get team member (Legacy)
7105 /// The "Get team member" endpoint (described below) is deprecated.
7106 ///
7107 /// We recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.
7108 ///
7109 /// To list members in a team, the team must be visible to the authenticated user.
7110 GetTeamsteamIdMembersusername(String, String),
7111 /// * tags teams
7112 /// * put `/teams/{team_id}/members/{username}`
7113 /// * docs <https://docs.github.com/rest/reference/teams#add-team-member-legacy>
7114 ///
7115 /// Add team member (Legacy)
7116 /// The "Add team member" endpoint (described below) is deprecated.
7117 ///
7118 /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
7119 ///
7120 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7121 ///
7122 /// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
7123 ///
7124 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
7125 ///
7126 /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
7127 PutTeamsteamIdMembersusername(String, String),
7128 /// * tags teams
7129 /// * delete `/teams/{team_id}/members/{username}`
7130 /// * docs <https://docs.github.com/rest/reference/teams#remove-team-member-legacy>
7131 ///
7132 /// Remove team member (Legacy)
7133 /// The "Remove team member" endpoint (described below) is deprecated.
7134 ///
7135 /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
7136 ///
7137 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7138 ///
7139 /// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
7140 ///
7141 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
7142 DeleteTeamsteamIdMembersusername(String, String),
7143 /// * tags teams
7144 /// * get `/teams/{team_id}/memberships/{username}`
7145 /// * docs <https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy>
7146 ///
7147 /// Get team membership for a user (Legacy)
7148 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint.
7149 ///
7150 /// Team members will include the members of child teams.
7151 ///
7152 /// To get a user's membership with a team, the team must be visible to the authenticated user.
7153 ///
7154 /// **Note:**
7155 /// The response contains the `state` of the membership and the member's `role`.
7156 ///
7157 /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).
7158 GetTeamsteamIdMembershipsusername(String, String),
7159 /// * tags teams
7160 /// * put `/teams/{team_id}/memberships/{username}`
7161 /// * docs <https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy>
7162 ///
7163 /// Add or update team membership for a user (Legacy)
7164 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.
7165 ///
7166 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7167 ///
7168 /// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
7169 ///
7170 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
7171 ///
7172 /// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
7173 ///
7174 /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
7175 PutTeamsteamIdMembershipsusername(String, String),
7176 /// * tags teams
7177 /// * delete `/teams/{team_id}/memberships/{username}`
7178 /// * docs <https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy>
7179 ///
7180 /// Remove team membership for a user (Legacy)
7181 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint.
7182 ///
7183 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7184 ///
7185 /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
7186 ///
7187 /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
7188 DeleteTeamsteamIdMembershipsusername(String, String),
7189 /// * tags teams
7190 /// * get `/teams/{team_id}/projects`
7191 /// * docs <https://docs.github.com/rest/reference/teams/#list-team-projects-legacy>
7192 ///
7193 /// List team projects (Legacy)
7194 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint.
7195 ///
7196 /// Lists the organization projects for a team.
7197 GetTeamsteamIdProjects(String),
7198 /// * tags teams
7199 /// * get `/teams/{team_id}/projects/{project_id}`
7200 /// * docs <https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy>
7201 ///
7202 /// Check team permissions for a project (Legacy)
7203 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint.
7204 ///
7205 /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
7206 GetTeamsteamIdProjectsprojectId(String, String),
7207 /// * tags teams
7208 /// * put `/teams/{team_id}/projects/{project_id}`
7209 /// * docs <https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy>
7210 ///
7211 /// Add or update team project permissions (Legacy)
7212 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint.
7213 ///
7214 /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
7215 PutTeamsteamIdProjectsprojectId(String, String),
7216 /// * tags teams
7217 /// * delete `/teams/{team_id}/projects/{project_id}`
7218 /// * docs <https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy>
7219 ///
7220 /// Remove a project from a team (Legacy)
7221 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint.
7222 ///
7223 /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.
7224 DeleteTeamsteamIdProjectsprojectId(String, String),
7225 /// * tags teams
7226 /// * get `/teams/{team_id}/repos`
7227 /// * docs <https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy>
7228 ///
7229 /// List team repositories (Legacy)
7230 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint.
7231 GetTeamsteamIdRepos(String),
7232 /// * tags teams
7233 /// * get `/teams/{team_id}/repos/{owner}/{repo}`
7234 /// * docs <https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy>
7235 ///
7236 /// Check team permissions for a repository (Legacy)
7237 /// **Note**: Repositories inherited through a parent team will also be checked.
7238 ///
7239 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.
7240 ///
7241 /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:
7242 GetTeamsteamIdReposownerrepo(String, String, String),
7243 /// * tags teams
7244 /// * put `/teams/{team_id}/repos/{owner}/{repo}`
7245 /// * docs <https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy>
7246 ///
7247 /// Add or update team repository permissions (Legacy)
7248 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)" endpoint.
7249 ///
7250 /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
7251 ///
7252 /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
7253 PutTeamsteamIdReposownerrepo(String, String, String),
7254 /// * tags teams
7255 /// * delete `/teams/{team_id}/repos/{owner}/{repo}`
7256 /// * docs <https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy>
7257 ///
7258 /// Remove a repository from a team (Legacy)
7259 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint.
7260 ///
7261 /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.
7262 DeleteTeamsteamIdReposownerrepo(String, String, String),
7263 /// * tags teams
7264 /// * get `/teams/{team_id}/team-sync/group-mappings`
7265 /// * docs <https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy>
7266 ///
7267 /// List IdP groups for a team (Legacy)
7268 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint.
7269 ///
7270 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7271 ///
7272 /// List IdP groups connected to a team on GitHub.
7273 GetTeamsteamIdTeamSyncGroupMappings(String),
7274 /// * tags teams
7275 /// * patch `/teams/{team_id}/team-sync/group-mappings`
7276 /// * docs <https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy>
7277 ///
7278 /// Create or update IdP group connections (Legacy)
7279 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint.
7280 ///
7281 /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
7282 ///
7283 /// Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.
7284 PatchTeamsteamIdTeamSyncGroupMappings(String),
7285 /// * tags teams
7286 /// * get `/teams/{team_id}/teams`
7287 /// * docs <https://docs.github.com/rest/reference/teams/#list-child-teams-legacy>
7288 ///
7289 /// List child teams (Legacy)
7290 /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint.
7291 GetTeamsteamIdTeams(String),
7292 /// * tags users
7293 /// * get `/user`
7294 /// * docs <https://docs.github.com/rest/reference/users#get-the-authenticated-user>
7295 ///
7296 /// Get the authenticated user
7297 /// If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.
7298 ///
7299 /// If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.
7300 GetUser(),
7301 /// * tags users
7302 /// * patch `/user`
7303 /// * docs <https://docs.github.com/rest/reference/users/#update-the-authenticated-user>
7304 ///
7305 /// Update the authenticated user
7306 /// **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.
7307 PatchUser(),
7308 /// * tags users
7309 /// * get `/user/blocks`
7310 /// * docs <https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user>
7311 ///
7312 /// List users blocked by the authenticated user
7313 /// List the users you've blocked on your personal account.
7314 GetUserBlocks(),
7315 /// * tags users
7316 /// * get `/user/blocks/{username}`
7317 /// * docs <https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user>
7318 ///
7319 /// Check if a user is blocked by the authenticated user
7320 ///
7321 GetUserBlocksusername(String),
7322 /// * tags users
7323 /// * put `/user/blocks/{username}`
7324 /// * docs <https://docs.github.com/rest/reference/users#block-a-user>
7325 ///
7326 /// Block a user
7327 ///
7328 PutUserBlocksusername(String),
7329 /// * tags users
7330 /// * delete `/user/blocks/{username}`
7331 /// * docs <https://docs.github.com/rest/reference/users#unblock-a-user>
7332 ///
7333 /// Unblock a user
7334 ///
7335 DeleteUserBlocksusername(String),
7336 /// * tags codespaces
7337 /// * get `/user/codespaces`
7338 /// * docs <https://docs.github.com/rest/reference/codespaces#list-codespaces-for-the-authenticated-user>
7339 ///
7340 /// List codespaces for the authenticated user
7341 /// Lists the authenticated user's codespaces.
7342 ///
7343 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7344 GetUserCodespaces(),
7345 /// * tags codespaces
7346 /// * post `/user/codespaces`
7347 /// * docs <https://docs.github.com/rest/reference/codespaces#create-a-codespace-for-the-authenticated-user>
7348 ///
7349 /// Create a codespace for the authenticated user
7350 /// Creates a new codespace, owned by the authenticated user.
7351 ///
7352 /// This endpoint requires either a `repository_id` OR a `pull_request` but not both.
7353 ///
7354 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7355 PostUserCodespaces(),
7356 /// * tags codespaces
7357 /// * get `/user/codespaces/secrets`
7358 /// * docs <https://docs.github.com/rest/reference/codespaces#list-secrets-for-the-authenticated-user>
7359 ///
7360 /// List secrets for the authenticated user
7361 /// Lists all secrets available for a user's Codespaces without revealing their
7362 /// encrypted values.
7363 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7364 GetUserCodespacesSecrets(),
7365 /// * tags codespaces
7366 /// * get `/user/codespaces/secrets/public-key`
7367 /// * docs <https://docs.github.com/rest/reference/codespaces#get-public-key-for-the-authenticated-user>
7368 ///
7369 /// Get public key for the authenticated user
7370 /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with one of the 'read:user' or 'user' scopes in their personal access token. User must have Codespaces access to use this endpoint.
7371 GetUserCodespacesSecretsPublicKey(),
7372 /// * tags codespaces
7373 /// * get `/user/codespaces/secrets/{secret_name}`
7374 /// * docs <https://docs.github.com/rest/reference/codespaces#get-a-secret-for-the-authenticated-user>
7375 ///
7376 /// Get a secret for the authenticated user
7377 /// Gets a secret available to a user's codespaces without revealing its encrypted value.
7378 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7379 GetUserCodespacesSecretssecretName(String),
7380 /// * tags codespaces
7381 /// * put `/user/codespaces/secrets/{secret_name}`
7382 /// * docs <https://docs.github.com/rest/reference/codespaces#create-or-update-a-secret-for-the-authenticated-user>
7383 ///
7384 /// Create or update a secret for the authenticated user
7385 /// Creates or updates a secret for a user's codespace with an encrypted value. Encrypt your secret using
7386 /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `user` scope to use this endpoint. User must also have Codespaces access to use this endpoint.
7387 ///
7388 /// #### Example encrypting a secret using Node.js
7389 ///
7390 /// Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
7391 ///
7392 /// ```
7393 /// const sodium = require('tweetsodium');
7394 ///
7395 /// const key = "base64-encoded-public-key";
7396 /// const value = "plain-text-secret";
7397 ///
7398 /// // Convert the message and key to Uint8Array's (Buffer implements that interface)
7399 /// const messageBytes = Buffer.from(value);
7400 /// const keyBytes = Buffer.from(key, 'base64');
7401 ///
7402 /// // Encrypt using LibSodium.
7403 /// const encryptedBytes = sodium.seal(messageBytes, keyBytes);
7404 ///
7405 /// // Base64 the encrypted secret
7406 /// const encrypted = Buffer.from(encryptedBytes).toString('base64');
7407 ///
7408 /// console.log(encrypted);
7409 /// ```
7410 ///
7411 ///
7412 /// #### Example encrypting a secret using Python
7413 ///
7414 /// Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.
7415 ///
7416 /// ```
7417 /// from base64 import b64encode
7418 /// from nacl import encoding, public
7419 ///
7420 /// def encrypt(public_key: str, secret_value: str) -> str:
7421 /// """Encrypt a Unicode string using the public key."""
7422 /// public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
7423 /// sealed_box = public.SealedBox(public_key)
7424 /// encrypted = sealed_box.encrypt(secret_value.encode("utf-8"))
7425 /// return b64encode(encrypted).decode("utf-8")
7426 /// ```
7427 ///
7428 /// #### Example encrypting a secret using C#
7429 ///
7430 /// Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
7431 ///
7432 /// ```
7433 /// var secretValue = System.Text.Encoding.UTF8.GetBytes("mySecret");
7434 /// var publicKey = Convert.FromBase64String("2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=");
7435 ///
7436 /// var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);
7437 ///
7438 /// Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));
7439 /// ```
7440 ///
7441 /// #### Example encrypting a secret using Ruby
7442 ///
7443 /// Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
7444 ///
7445 /// ```ruby
7446 /// require "rbnacl"
7447 /// require "base64"
7448 ///
7449 /// key = Base64.decode64("+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=")
7450 /// public_key = RbNaCl::PublicKey.new(key)
7451 ///
7452 /// box = RbNaCl::Boxes::Sealed.from_public_key(public_key)
7453 /// encrypted_secret = box.encrypt("my_secret")
7454 ///
7455 /// # Print the base64 encoded secret
7456 /// puts Base64.strict_encode64(encrypted_secret)
7457 /// ```
7458 PutUserCodespacesSecretssecretName(String),
7459 /// * tags codespaces
7460 /// * delete `/user/codespaces/secrets/{secret_name}`
7461 /// * docs <https://docs.github.com/rest/reference/codespaces#delete-a-secret-for-the-authenticated-user>
7462 ///
7463 /// Delete a secret for the authenticated user
7464 /// Deletes a secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret. You must authenticate using an access token with the `user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7465 DeleteUserCodespacesSecretssecretName(String),
7466 /// * tags codespaces
7467 /// * get `/user/codespaces/secrets/{secret_name}/repositories`
7468 /// * docs <https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret>
7469 ///
7470 /// List selected repositories for a user secret
7471 /// List the repositories that have been granted the ability to use a user's codespace secret.
7472 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7473 GetUserCodespacesSecretssecretNameRepositories(String),
7474 /// * tags codespaces
7475 /// * put `/user/codespaces/secrets/{secret_name}/repositories`
7476 /// * docs <https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-a-user-secret>
7477 ///
7478 /// Set selected repositories for a user secret
7479 /// Select the repositories that will use a user's codespace secret.
7480 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7481 PutUserCodespacesSecretssecretNameRepositories(String),
7482 /// * tags codespaces
7483 /// * put `/user/codespaces/secrets/{secret_name}/repositories/{repository_id}`
7484 /// * docs <https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret>
7485 ///
7486 /// Add a selected repository to a user secret
7487 /// Adds a repository to the selected repositories for a user's codespace secret.
7488 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7489 PutUserCodespacesSecretssecretNameRepositoriesrepositoryId(String, String),
7490 /// * tags codespaces
7491 /// * delete `/user/codespaces/secrets/{secret_name}/repositories/{repository_id}`
7492 /// * docs <https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret>
7493 ///
7494 /// Remove a selected repository from a user secret
7495 /// Removes a repository from the selected repositories for a user's codespace secret.
7496 /// You must authenticate using an access token with the `user` or `read:user` scope to use this endpoint. User must have Codespaces access to use this endpoint.
7497 DeleteUserCodespacesSecretssecretNameRepositoriesrepositoryId(String, String),
7498 /// * tags codespaces
7499 /// * get `/user/codespaces/{codespace_name}`
7500 /// * docs <https://docs.github.com/rest/reference/codespaces#get-a-codespace-for-the-authenticated-user>
7501 ///
7502 /// Get a codespace for the authenticated user
7503 /// Gets information about a user's codespace.
7504 ///
7505 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7506 GetUserCodespacescodespaceName(String),
7507 /// * tags codespaces
7508 /// * patch `/user/codespaces/{codespace_name}`
7509 /// * docs <https://docs.github.com/rest/reference/codespaces#update-a-codespace-for-the-authenticated-user>
7510 ///
7511 /// Update a codespace for the authenticated user
7512 /// Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
7513 ///
7514 /// If you specify a new machine type it will be applied the next time your codespace is started.
7515 ///
7516 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7517 PatchUserCodespacescodespaceName(String),
7518 /// * tags codespaces
7519 /// * delete `/user/codespaces/{codespace_name}`
7520 /// * docs <https://docs.github.com/rest/reference/codespaces#delete-a-codespace-for-the-authenticated-user>
7521 ///
7522 /// Delete a codespace for the authenticated user
7523 /// Deletes a user's codespace.
7524 ///
7525 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7526 DeleteUserCodespacescodespaceName(String),
7527 /// * tags codespaces
7528 /// * post `/user/codespaces/{codespace_name}/exports`
7529 ///
7530 ///
7531 /// Export a codespace for the authenticated user
7532 /// Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.
7533 ///
7534 /// You must authenticate using a personal access token with the `codespace` scope to use this endpoint.
7535 PostUserCodespacescodespaceNameExports(String),
7536 /// * tags codespaces
7537 /// * get `/user/codespaces/{codespace_name}/exports/{export_id}`
7538 ///
7539 ///
7540 /// Get details about a codespace export
7541 /// Gets information about an export of a codespace.
7542 ///
7543 /// You must authenticate using a personal access token with the `codespace` scope to use this endpoint.
7544 GetUserCodespacescodespaceNameExportsexportId(String, String),
7545 /// * tags codespaces
7546 /// * get `/user/codespaces/{codespace_name}/machines`
7547 /// * docs <https://docs.github.com/rest/reference/codespaces#list-machine-types-for-a-codespace>
7548 ///
7549 /// List machine types for a codespace
7550 /// List the machine types a codespace can transition to use.
7551 ///
7552 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7553 GetUserCodespacescodespaceNameMachines(String),
7554 /// * tags codespaces
7555 /// * post `/user/codespaces/{codespace_name}/start`
7556 /// * docs <https://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user>
7557 ///
7558 /// Start a codespace for the authenticated user
7559 /// Starts a user's codespace.
7560 ///
7561 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7562 PostUserCodespacescodespaceNameStart(String),
7563 /// * tags codespaces
7564 /// * post `/user/codespaces/{codespace_name}/stop`
7565 /// * docs <https://docs.github.com/rest/reference/codespaces#stop-a-codespace-for-the-authenticated-user>
7566 ///
7567 /// Stop a codespace for the authenticated user
7568 /// Stops a user's codespace.
7569 ///
7570 /// You must authenticate using an access token with the `codespace` scope to use this endpoint.
7571 PostUserCodespacescodespaceNameStop(String),
7572 /// * tags users
7573 /// * patch `/user/email/visibility`
7574 /// * docs <https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user>
7575 ///
7576 /// Set primary email visibility for the authenticated user
7577 /// Sets the visibility for your primary email addresses.
7578 PatchUserEmailVisibility(),
7579 /// * tags users
7580 /// * get `/user/emails`
7581 /// * docs <https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user>
7582 ///
7583 /// List email addresses for the authenticated user
7584 /// Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.
7585 GetUserEmails(),
7586 /// * tags users
7587 /// * post `/user/emails`
7588 /// * docs <https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user>
7589 ///
7590 /// Add an email address for the authenticated user
7591 /// This endpoint is accessible with the `user` scope.
7592 PostUserEmails(),
7593 /// * tags users
7594 /// * delete `/user/emails`
7595 /// * docs <https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user>
7596 ///
7597 /// Delete an email address for the authenticated user
7598 /// This endpoint is accessible with the `user` scope.
7599 DeleteUserEmails(),
7600 /// * tags users
7601 /// * get `/user/followers`
7602 /// * docs <https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user>
7603 ///
7604 /// List followers of the authenticated user
7605 /// Lists the people following the authenticated user.
7606 GetUserFollowers(),
7607 /// * tags users
7608 /// * get `/user/following`
7609 /// * docs <https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows>
7610 ///
7611 /// List the people the authenticated user follows
7612 /// Lists the people who the authenticated user follows.
7613 GetUserFollowing(),
7614 /// * tags users
7615 /// * get `/user/following/{username}`
7616 /// * docs <https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user>
7617 ///
7618 /// Check if a person is followed by the authenticated user
7619 ///
7620 GetUserFollowingusername(String),
7621 /// * tags users
7622 /// * put `/user/following/{username}`
7623 /// * docs <https://docs.github.com/rest/reference/users#follow-a-user>
7624 ///
7625 /// Follow a user
7626 /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
7627 ///
7628 /// Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.
7629 PutUserFollowingusername(String),
7630 /// * tags users
7631 /// * delete `/user/following/{username}`
7632 /// * docs <https://docs.github.com/rest/reference/users#unfollow-a-user>
7633 ///
7634 /// Unfollow a user
7635 /// Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.
7636 DeleteUserFollowingusername(String),
7637 /// * tags users
7638 /// * get `/user/gpg_keys`
7639 /// * docs <https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user>
7640 ///
7641 /// List GPG keys for the authenticated user
7642 /// Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7643 GetUserGpgKeys(),
7644 /// * tags users
7645 /// * post `/user/gpg_keys`
7646 /// * docs <https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user>
7647 ///
7648 /// Create a GPG key for the authenticated user
7649 /// Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7650 PostUserGpgKeys(),
7651 /// * tags users
7652 /// * get `/user/gpg_keys/{gpg_key_id}`
7653 /// * docs <https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user>
7654 ///
7655 /// Get a GPG key for the authenticated user
7656 /// View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7657 GetUserGpgKeysgpgKeyId(String),
7658 /// * tags users
7659 /// * delete `/user/gpg_keys/{gpg_key_id}`
7660 /// * docs <https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user>
7661 ///
7662 /// Delete a GPG key for the authenticated user
7663 /// Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7664 DeleteUserGpgKeysgpgKeyId(String),
7665 /// * tags apps
7666 /// * get `/user/installations`
7667 /// * docs <https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token>
7668 ///
7669 /// List app installations accessible to the user access token
7670 /// Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
7671 ///
7672 /// You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.
7673 ///
7674 /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
7675 ///
7676 /// You can find the permissions for the installation under the `permissions` key.
7677 GetUserInstallations(),
7678 /// * tags apps
7679 /// * get `/user/installations/{installation_id}/repositories`
7680 /// * docs <https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token>
7681 ///
7682 /// List repositories accessible to the user access token
7683 /// List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.
7684 ///
7685 /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
7686 ///
7687 /// You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.
7688 ///
7689 /// The access the user has to each repository is included in the hash under the `permissions` key.
7690 GetUserInstallationsinstallationIdRepositories(String),
7691 /// * tags apps
7692 /// * put `/user/installations/{installation_id}/repositories/{repository_id}`
7693 /// * docs <https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation>
7694 ///
7695 /// Add a repository to an app installation
7696 /// Add a single repository to an installation. The authenticated user must have admin access to the repository.
7697 ///
7698 /// You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.
7699 PutUserInstallationsinstallationIdRepositoriesrepositoryId(String, String),
7700 /// * tags apps
7701 /// * delete `/user/installations/{installation_id}/repositories/{repository_id}`
7702 /// * docs <https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation>
7703 ///
7704 /// Remove a repository from an app installation
7705 /// Remove a single repository from an installation. The authenticated user must have admin access to the repository.
7706 ///
7707 /// You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.
7708 DeleteUserInstallationsinstallationIdRepositoriesrepositoryId(String, String),
7709 /// * tags interactions
7710 /// * get `/user/interaction-limits`
7711 /// * docs <https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories>
7712 ///
7713 /// Get interaction restrictions for your public repositories
7714 /// Shows which type of GitHub user can interact with your public repositories and when the restriction expires.
7715 GetUserInteractionLimits(),
7716 /// * tags interactions
7717 /// * put `/user/interaction-limits`
7718 /// * docs <https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories>
7719 ///
7720 /// Set interaction restrictions for your public repositories
7721 /// Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.
7722 PutUserInteractionLimits(),
7723 /// * tags interactions
7724 /// * delete `/user/interaction-limits`
7725 /// * docs <https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories>
7726 ///
7727 /// Remove interaction restrictions from your public repositories
7728 /// Removes any interaction restrictions from your public repositories.
7729 DeleteUserInteractionLimits(),
7730 /// * tags issues
7731 /// * get `/user/issues`
7732 /// * docs <https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user>
7733 ///
7734 /// List user account issues assigned to the authenticated user
7735 /// List issues across owned and member repositories assigned to the authenticated user.
7736 ///
7737 /// **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
7738 /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
7739 /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
7740 /// request id, use the "[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)" endpoint.
7741 GetUserIssues(),
7742 /// * tags users
7743 /// * get `/user/keys`
7744 /// * docs <https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user>
7745 ///
7746 /// List public SSH keys for the authenticated user
7747 /// Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7748 GetUserKeys(),
7749 /// * tags users
7750 /// * post `/user/keys`
7751 /// * docs <https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user>
7752 ///
7753 /// Create a public SSH key for the authenticated user
7754 /// Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7755 PostUserKeys(),
7756 /// * tags users
7757 /// * get `/user/keys/{key_id}`
7758 /// * docs <https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user>
7759 ///
7760 /// Get a public SSH key for the authenticated user
7761 /// View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7762 GetUserKeyskeyId(String),
7763 /// * tags users
7764 /// * delete `/user/keys/{key_id}`
7765 /// * docs <https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user>
7766 ///
7767 /// Delete a public SSH key for the authenticated user
7768 /// Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
7769 DeleteUserKeyskeyId(String),
7770 /// * tags apps
7771 /// * get `/user/marketplace_purchases`
7772 /// * docs <https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user>
7773 ///
7774 /// List subscriptions for the authenticated user
7775 /// Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).
7776 GetUserMarketplacePurchases(),
7777 /// * tags apps
7778 /// * get `/user/marketplace_purchases/stubbed`
7779 /// * docs <https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed>
7780 ///
7781 /// List subscriptions for the authenticated user (stubbed)
7782 /// Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).
7783 GetUserMarketplacePurchasesStubbed(),
7784 /// * tags orgs
7785 /// * get `/user/memberships/orgs`
7786 /// * docs <https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user>
7787 ///
7788 /// List organization memberships for the authenticated user
7789 ///
7790 GetUserMembershipsOrgs(),
7791 /// * tags orgs
7792 /// * get `/user/memberships/orgs/{org}`
7793 /// * docs <https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user>
7794 ///
7795 /// Get an organization membership for the authenticated user
7796 ///
7797 GetUserMembershipsOrgsorg(String),
7798 /// * tags orgs
7799 /// * patch `/user/memberships/orgs/{org}`
7800 /// * docs <https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user>
7801 ///
7802 /// Update an organization membership for the authenticated user
7803 ///
7804 PatchUserMembershipsOrgsorg(String),
7805 /// * tags migrations
7806 /// * get `/user/migrations`
7807 /// * docs <https://docs.github.com/rest/reference/migrations#list-user-migrations>
7808 ///
7809 /// List user migrations
7810 /// Lists all migrations a user has started.
7811 GetUserMigrations(),
7812 /// * tags migrations
7813 /// * post `/user/migrations`
7814 /// * docs <https://docs.github.com/rest/reference/migrations#start-a-user-migration>
7815 ///
7816 /// Start a user migration
7817 /// Initiates the generation of a user migration archive.
7818 PostUserMigrations(),
7819 /// * tags migrations
7820 /// * get `/user/migrations/{migration_id}`
7821 /// * docs <https://docs.github.com/rest/reference/migrations#get-a-user-migration-status>
7822 ///
7823 /// Get a user migration status
7824 /// Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
7825 ///
7826 /// * `pending` - the migration hasn't started yet.
7827 /// * `exporting` - the migration is in progress.
7828 /// * `exported` - the migration finished successfully.
7829 /// * `failed` - the migration failed.
7830 ///
7831 /// Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive).
7832 GetUserMigrationsmigrationId(String),
7833 /// * tags migrations
7834 /// * get `/user/migrations/{migration_id}/archive`
7835 /// * docs <https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive>
7836 ///
7837 /// Download a user migration archive
7838 /// Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
7839 ///
7840 /// * attachments
7841 /// * bases
7842 /// * commit\_comments
7843 /// * issue\_comments
7844 /// * issue\_events
7845 /// * issues
7846 /// * milestones
7847 /// * organizations
7848 /// * projects
7849 /// * protected\_branches
7850 /// * pull\_request\_reviews
7851 /// * pull\_requests
7852 /// * releases
7853 /// * repositories
7854 /// * review\_comments
7855 /// * schema
7856 /// * users
7857 ///
7858 /// The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.
7859 GetUserMigrationsmigrationIdArchive(String),
7860 /// * tags migrations
7861 /// * delete `/user/migrations/{migration_id}/archive`
7862 /// * docs <https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive>
7863 ///
7864 /// Delete a user migration archive
7865 /// Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.
7866 DeleteUserMigrationsmigrationIdArchive(String),
7867 /// * tags migrations
7868 /// * delete `/user/migrations/{migration_id}/repos/{repo_name}/lock`
7869 /// * docs <https://docs.github.com/rest/reference/migrations#unlock-a-user-repository>
7870 ///
7871 /// Unlock a user repository
7872 /// Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.
7873 DeleteUserMigrationsmigrationIdReposrepoNameLock(String, String),
7874 /// * tags migrations
7875 /// * get `/user/migrations/{migration_id}/repositories`
7876 /// * docs <https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration>
7877 ///
7878 /// List repositories for a user migration
7879 /// Lists all the repositories for this user migration.
7880 GetUserMigrationsmigrationIdRepositories(String),
7881 /// * tags orgs
7882 /// * get `/user/orgs`
7883 /// * docs <https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user>
7884 ///
7885 /// List organizations for the authenticated user
7886 /// List organizations for the authenticated user.
7887 ///
7888 /// **OAuth scope requirements**
7889 ///
7890 /// This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.
7891 GetUserOrgs(),
7892 /// * tags packages
7893 /// * get `/user/packages`
7894 /// * docs <https://docs.github.com/rest/reference/packages#list-packages-for-the-authenticated-user>
7895 ///
7896 /// List packages for the authenticated user's namespace
7897 /// Lists packages owned by the authenticated user within the user's namespace.
7898 ///
7899 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
7900 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7901 GetUserPackages(),
7902 /// * tags packages
7903 /// * get `/user/packages/{package_type}/{package_name}`
7904 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user>
7905 ///
7906 /// Get a package for the authenticated user
7907 /// Gets a specific package for a package owned by the authenticated user.
7908 ///
7909 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
7910 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7911 GetUserPackagespackageTypepackageName(String, String),
7912 /// * tags packages
7913 /// * delete `/user/packages/{package_type}/{package_name}`
7914 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user>
7915 ///
7916 /// Delete a package for the authenticated user
7917 /// Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
7918 ///
7919 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes.
7920 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7921 DeleteUserPackagespackageTypepackageName(String, String),
7922 /// * tags packages
7923 /// * post `/user/packages/{package_type}/{package_name}/restore`
7924 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-for-the-authenticated-user>
7925 ///
7926 /// Restore a package for the authenticated user
7927 /// Restores a package owned by the authenticated user.
7928 ///
7929 /// You can restore a deleted package under the following conditions:
7930 /// - The package was deleted within the last 30 days.
7931 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
7932 ///
7933 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. If `package_type` is not `container`, your token must also include the `repo` scope.
7934 PostUserPackagespackageTypepackageNameRestore(String, String),
7935 /// * tags packages
7936 /// * get `/user/packages/{package_type}/{package_name}/versions`
7937 /// * docs <https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user>
7938 ///
7939 /// Get all package versions for a package owned by the authenticated user
7940 /// Returns all package versions for a package owned by the authenticated user.
7941 ///
7942 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
7943 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7944 GetUserPackagespackageTypepackageNameVersions(String, String),
7945 /// * tags packages
7946 /// * get `/user/packages/{package_type}/{package_name}/versions/{package_version_id}`
7947 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-version-for-the-authenticated-user>
7948 ///
7949 /// Get a package version for the authenticated user
7950 /// Gets a specific package version for a package owned by the authenticated user.
7951 ///
7952 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
7953 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7954 GetUserPackagespackageTypepackageNameVersionspackageVersionId(String, String, String),
7955 /// * tags packages
7956 /// * delete `/user/packages/{package_type}/{package_name}/versions/{package_version_id}`
7957 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-version-for-the-authenticated-user>
7958 ///
7959 /// Delete a package version for the authenticated user
7960 /// Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
7961 ///
7962 /// To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes.
7963 /// If `package_type` is not `container`, your token must also include the `repo` scope.
7964 DeleteUserPackagespackageTypepackageNameVersionspackageVersionId(String, String, String),
7965 /// * tags packages
7966 /// * post `/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`
7967 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-version-for-the-authenticated-user>
7968 ///
7969 /// Restore a package version for the authenticated user
7970 /// Restores a package version owned by the authenticated user.
7971 ///
7972 /// You can restore a deleted package version under the following conditions:
7973 /// - The package was deleted within the last 30 days.
7974 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
7975 ///
7976 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. If `package_type` is not `container`, your token must also include the `repo` scope.
7977 PostUserPackagespackageTypepackageNameVersionspackageVersionIdRestore(String, String, String),
7978 /// * tags projects
7979 /// * post `/user/projects`
7980 /// * docs <https://docs.github.com/rest/reference/projects#create-a-user-project>
7981 ///
7982 /// Create a user project
7983 ///
7984 PostUserProjects(),
7985 /// * tags users
7986 /// * get `/user/public_emails`
7987 /// * docs <https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user>
7988 ///
7989 /// List public email addresses for the authenticated user
7990 /// Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.
7991 GetUserPublicEmails(),
7992 /// * tags repos
7993 /// * get `/user/repos`
7994 /// * docs <https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user>
7995 ///
7996 /// List repositories for the authenticated user
7997 /// Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
7998 ///
7999 /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
8000 GetUserRepos(),
8001 /// * tags repos
8002 /// * post `/user/repos`
8003 /// * docs <https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user>
8004 ///
8005 /// Create a repository for the authenticated user
8006 /// Creates a new repository for the authenticated user.
8007 ///
8008 /// **OAuth scope requirements**
8009 ///
8010 /// When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:
8011 ///
8012 /// * `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.
8013 /// * `repo` scope to create a private repository.
8014 PostUserRepos(),
8015 /// * tags repos
8016 /// * get `/user/repository_invitations`
8017 /// * docs <https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user>
8018 ///
8019 /// List repository invitations for the authenticated user
8020 /// When authenticating as a user, this endpoint will list all currently open repository invitations for that user.
8021 GetUserRepositoryInvitations(),
8022 /// * tags repos
8023 /// * patch `/user/repository_invitations/{invitation_id}`
8024 /// * docs <https://docs.github.com/rest/reference/repos#accept-a-repository-invitation>
8025 ///
8026 /// Accept a repository invitation
8027 ///
8028 PatchUserRepositoryInvitationsinvitationId(String),
8029 /// * tags repos
8030 /// * delete `/user/repository_invitations/{invitation_id}`
8031 /// * docs <https://docs.github.com/rest/reference/repos#decline-a-repository-invitation>
8032 ///
8033 /// Decline a repository invitation
8034 ///
8035 DeleteUserRepositoryInvitationsinvitationId(String),
8036 /// * tags activity
8037 /// * get `/user/starred`
8038 /// * docs <https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user>
8039 ///
8040 /// List repositories starred by the authenticated user
8041 /// Lists repositories the authenticated user has starred.
8042 ///
8043 /// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:
8044 GetUserStarred(),
8045 /// * tags activity
8046 /// * get `/user/starred/{owner}/{repo}`
8047 /// * docs <https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user>
8048 ///
8049 /// Check if a repository is starred by the authenticated user
8050 ///
8051 GetUserStarredownerrepo(String, String),
8052 /// * tags activity
8053 /// * put `/user/starred/{owner}/{repo}`
8054 /// * docs <https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user>
8055 ///
8056 /// Star a repository for the authenticated user
8057 /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
8058 PutUserStarredownerrepo(String, String),
8059 /// * tags activity
8060 /// * delete `/user/starred/{owner}/{repo}`
8061 /// * docs <https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user>
8062 ///
8063 /// Unstar a repository for the authenticated user
8064 ///
8065 DeleteUserStarredownerrepo(String, String),
8066 /// * tags activity
8067 /// * get `/user/subscriptions`
8068 /// * docs <https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user>
8069 ///
8070 /// List repositories watched by the authenticated user
8071 /// Lists repositories the authenticated user is watching.
8072 GetUserSubscriptions(),
8073 /// * tags teams
8074 /// * get `/user/teams`
8075 /// * docs <https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user>
8076 ///
8077 /// List teams for the authenticated user
8078 /// List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).
8079 GetUserTeams(),
8080 /// * tags users
8081 /// * get `/users`
8082 /// * docs <https://docs.github.com/rest/reference/users#list-users>
8083 ///
8084 /// List users
8085 /// Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.
8086 ///
8087 /// Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.
8088 GetUsers(),
8089 /// * tags users
8090 /// * get `/users/{username}`
8091 /// * docs <https://docs.github.com/rest/reference/users#get-a-user>
8092 ///
8093 /// Get a user
8094 /// Provides publicly available information about someone with a GitHub account.
8095 ///
8096 /// GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"
8097 ///
8098 /// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).
8099 ///
8100 /// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/reference/users#emails)".
8101 GetUsersusername(String),
8102 /// * tags activity
8103 /// * get `/users/{username}/events`
8104 /// * docs <https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user>
8105 ///
8106 /// List events for the authenticated user
8107 /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
8108 GetUsersusernameEvents(String),
8109 /// * tags activity
8110 /// * get `/users/{username}/events/orgs/{org}`
8111 /// * docs <https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user>
8112 ///
8113 /// List organization events for the authenticated user
8114 /// This is the user's organization dashboard. You must be authenticated as the user to view this.
8115 GetUsersusernameEventsOrgsorg(String, String),
8116 /// * tags activity
8117 /// * get `/users/{username}/events/public`
8118 /// * docs <https://docs.github.com/rest/reference/activity#list-public-events-for-a-user>
8119 ///
8120 /// List public events for a user
8121 ///
8122 GetUsersusernameEventsPublic(String),
8123 /// * tags users
8124 /// * get `/users/{username}/followers`
8125 /// * docs <https://docs.github.com/rest/reference/users#list-followers-of-a-user>
8126 ///
8127 /// List followers of a user
8128 /// Lists the people following the specified user.
8129 GetUsersusernameFollowers(String),
8130 /// * tags users
8131 /// * get `/users/{username}/following`
8132 /// * docs <https://docs.github.com/rest/reference/users#list-the-people-a-user-follows>
8133 ///
8134 /// List the people a user follows
8135 /// Lists the people who the specified user follows.
8136 GetUsersusernameFollowing(String),
8137 /// * tags users
8138 /// * get `/users/{username}/following/{target_user}`
8139 /// * docs <https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user>
8140 ///
8141 /// Check if a user follows another user
8142 ///
8143 GetUsersusernameFollowingtargetUser(String, String),
8144 /// * tags gists
8145 /// * get `/users/{username}/gists`
8146 /// * docs <https://docs.github.com/rest/reference/gists#list-gists-for-a-user>
8147 ///
8148 /// List gists for a user
8149 /// Lists public gists for the specified user:
8150 GetUsersusernameGists(String),
8151 /// * tags users
8152 /// * get `/users/{username}/gpg_keys`
8153 /// * docs <https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user>
8154 ///
8155 /// List GPG keys for a user
8156 /// Lists the GPG keys for a user. This information is accessible by anyone.
8157 GetUsersusernameGpgKeys(String),
8158 /// * tags users
8159 /// * get `/users/{username}/hovercard`
8160 /// * docs <https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user>
8161 ///
8162 /// Get contextual information for a user
8163 /// Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
8164 ///
8165 /// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
8166 ///
8167 /// ```shell
8168 /// curl -u username:token
8169 /// https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
8170 /// ```
8171 GetUsersusernameHovercard(String),
8172 /// * tags apps
8173 /// * get `/users/{username}/installation`
8174 /// * docs <https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app>
8175 ///
8176 /// Get a user installation for the authenticated app
8177 /// Enables an authenticated GitHub App to find the user’s installation information.
8178 ///
8179 /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
8180 GetUsersusernameInstallation(String),
8181 /// * tags users
8182 /// * get `/users/{username}/keys`
8183 /// * docs <https://docs.github.com/rest/reference/users#list-public-keys-for-a-user>
8184 ///
8185 /// List public keys for a user
8186 /// Lists the _verified_ public SSH keys for a user. This is accessible by anyone.
8187 GetUsersusernameKeys(String),
8188 /// * tags orgs
8189 /// * get `/users/{username}/orgs`
8190 /// * docs <https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user>
8191 ///
8192 /// List organizations for a user
8193 /// List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.
8194 ///
8195 /// This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.
8196 GetUsersusernameOrgs(String),
8197 /// * tags packages
8198 /// * get `/users/{username}/packages`
8199 /// * docs <https://docs.github.com/rest/reference/packages#list-packages-for-user>
8200 ///
8201 /// List packages for a user
8202 /// Lists all packages in a user's namespace for which the requesting user has access.
8203 ///
8204 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
8205 /// If `package_type` is not `container`, your token must also include the `repo` scope.
8206 GetUsersusernamePackages(String),
8207 /// * tags packages
8208 /// * get `/users/{username}/packages/{package_type}/{package_name}`
8209 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-for-a-user>
8210 ///
8211 /// Get a package for a user
8212 /// Gets a specific package metadata for a public package owned by a user.
8213 ///
8214 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
8215 /// If `package_type` is not `container`, your token must also include the `repo` scope.
8216 GetUsersusernamePackagespackageTypepackageName(String, String, String),
8217 /// * tags packages
8218 /// * delete `/users/{username}/packages/{package_type}/{package_name}`
8219 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-for-a-user>
8220 ///
8221 /// Delete a package for a user
8222 /// Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
8223 ///
8224 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:
8225 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
8226 /// - If `package_type` is `container`, you must also have admin permissions to the container you want to delete.
8227 DeleteUsersusernamePackagespackageTypepackageName(String, String, String),
8228 /// * tags packages
8229 /// * post `/users/{username}/packages/{package_type}/{package_name}/restore`
8230 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-for-a-user>
8231 ///
8232 /// Restore a package for a user
8233 /// Restores an entire package for a user.
8234 ///
8235 /// You can restore a deleted package under the following conditions:
8236 /// - The package was deleted within the last 30 days.
8237 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
8238 ///
8239 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:
8240 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
8241 /// - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.
8242 PostUsersusernamePackagespackageTypepackageNameRestore(String, String, String),
8243 /// * tags packages
8244 /// * get `/users/{username}/packages/{package_type}/{package_name}/versions`
8245 /// * docs <https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-a-user>
8246 ///
8247 /// Get all package versions for a package owned by a user
8248 /// Returns all package versions for a public package owned by a specified user.
8249 ///
8250 /// To use this endpoint, you must authenticate using an access token with the `packages:read` scope.
8251 /// If `package_type` is not `container`, your token must also include the `repo` scope.
8252 GetUsersusernamePackagespackageTypepackageNameVersions(String, String, String),
8253 /// * tags packages
8254 /// * get `/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}`
8255 /// * docs <https://docs.github.com/rest/reference/packages#get-a-package-version-for-a-user>
8256 ///
8257 /// Get a package version for a user
8258 /// Gets a specific package version for a public package owned by a specified user.
8259 ///
8260 /// At this time, to use this endpoint, you must authenticate using an access token with the `packages:read` scope.
8261 /// If `package_type` is not `container`, your token must also include the `repo` scope.
8262 GetUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(
8263 String,
8264 String,
8265 String,
8266 String,
8267 ),
8268 /// * tags packages
8269 /// * delete `/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}`
8270 /// * docs <https://docs.github.com/rest/reference/packages#delete-a-package-version-for-a-user>
8271 ///
8272 /// Delete package version for a user
8273 /// Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
8274 ///
8275 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:
8276 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
8277 /// - If `package_type` is `container`, you must also have admin permissions to the container you want to delete.
8278 DeleteUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(
8279 String,
8280 String,
8281 String,
8282 String,
8283 ),
8284 /// * tags packages
8285 /// * post `/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`
8286 /// * docs <https://docs.github.com/rest/reference/packages#restore-a-package-version-for-a-user>
8287 ///
8288 /// Restore package version for a user
8289 /// Restores a specific package version for a user.
8290 ///
8291 /// You can restore a deleted package under the following conditions:
8292 /// - The package was deleted within the last 30 days.
8293 /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
8294 ///
8295 /// To use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:
8296 /// - If `package_type` is not `container`, your token must also include the `repo` scope.
8297 /// - If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.
8298 PostUsersusernamePackagespackageTypepackageNameVersionspackageVersionIdRestore(
8299 String,
8300 String,
8301 String,
8302 String,
8303 ),
8304 /// * tags projects
8305 /// * get `/users/{username}/projects`
8306 /// * docs <https://docs.github.com/rest/reference/projects#list-user-projects>
8307 ///
8308 /// List user projects
8309 ///
8310 GetUsersusernameProjects(String),
8311 /// * tags activity
8312 /// * get `/users/{username}/received_events`
8313 /// * docs <https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user>
8314 ///
8315 /// List events received by the authenticated user
8316 /// These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
8317 GetUsersusernameReceivedEvents(String),
8318 /// * tags activity
8319 /// * get `/users/{username}/received_events/public`
8320 /// * docs <https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user>
8321 ///
8322 /// List public events received by a user
8323 ///
8324 GetUsersusernameReceivedEventsPublic(String),
8325 /// * tags repos
8326 /// * get `/users/{username}/repos`
8327 /// * docs <https://docs.github.com/rest/reference/repos#list-repositories-for-a-user>
8328 ///
8329 /// List repositories for a user
8330 /// Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.
8331 GetUsersusernameRepos(String),
8332 /// * tags billing
8333 /// * get `/users/{username}/settings/billing/actions`
8334 /// * docs <https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user>
8335 ///
8336 /// Get GitHub Actions billing for a user
8337 /// Gets the summary of the free and paid GitHub Actions minutes used.
8338 ///
8339 /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
8340 ///
8341 /// Access tokens must have the `user` scope.
8342 GetUsersusernameSettingsBillingActions(String),
8343 /// * tags billing
8344 /// * get `/users/{username}/settings/billing/packages`
8345 /// * docs <https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user>
8346 ///
8347 /// Get GitHub Packages billing for a user
8348 /// Gets the free and paid storage used for GitHub Packages in gigabytes.
8349 ///
8350 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
8351 ///
8352 /// Access tokens must have the `user` scope.
8353 GetUsersusernameSettingsBillingPackages(String),
8354 /// * tags billing
8355 /// * get `/users/{username}/settings/billing/shared-storage`
8356 /// * docs <https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user>
8357 ///
8358 /// Get shared storage billing for a user
8359 /// Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.
8360 ///
8361 /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
8362 ///
8363 /// Access tokens must have the `user` scope.
8364 GetUsersusernameSettingsBillingSharedStorage(String),
8365 /// * tags activity
8366 /// * get `/users/{username}/starred`
8367 /// * docs <https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user>
8368 ///
8369 /// List repositories starred by a user
8370 /// Lists repositories a user has starred.
8371 ///
8372 /// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:
8373 GetUsersusernameStarred(String),
8374 /// * tags activity
8375 /// * get `/users/{username}/subscriptions`
8376 /// * docs <https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user>
8377 ///
8378 /// List repositories watched by a user
8379 /// Lists repositories a user is watching.
8380 GetUsersusernameSubscriptions(String),
8381 /// * tags meta
8382 /// * get `/zen`
8383 ///
8384 ///
8385 /// Get the Zen of GitHub
8386 /// Get a random sentence from the Zen of GitHub
8387 GetZen(),
8388}
8389
8390impl EndPoints {
8391 pub const fn method(&self) -> Methods {
8392 match *self { EndPoints::Get(..) => Methods::Get,
8393 EndPoints::GetApp(..) => Methods::Get,
8394 EndPoints::PostAppManifestscodeConversions(..) => Methods::Post,
8395 EndPoints::GetAppHookConfig(..) => Methods::Get,
8396 EndPoints::PatchAppHookConfig(..) => Methods::Patch,
8397 EndPoints::GetAppHookDeliveries(..) => Methods::Get,
8398 EndPoints::GetAppHookDeliveriesdeliveryId(..) => Methods::Get,
8399 EndPoints::PostAppHookDeliveriesdeliveryIdAttempts(..) => Methods::Post,
8400 EndPoints::GetAppInstallations(..) => Methods::Get,
8401 EndPoints::GetAppInstallationsinstallationId(..) => Methods::Get,
8402 EndPoints::DeleteAppInstallationsinstallationId(..) => Methods::Delete,
8403 EndPoints::PostAppInstallationsinstallationIdAccessTokens(..) => Methods::Post,
8404 EndPoints::PutAppInstallationsinstallationIdSuspended(..) => Methods::Put,
8405 EndPoints::DeleteAppInstallationsinstallationIdSuspended(..) => Methods::Delete,
8406 EndPoints::GetApplicationsGrants(..) => Methods::Get,
8407 EndPoints::GetApplicationsGrantsgrantId(..) => Methods::Get,
8408 EndPoints::DeleteApplicationsGrantsgrantId(..) => Methods::Delete,
8409 EndPoints::DeleteApplicationsclientIdGrant(..) => Methods::Delete,
8410 EndPoints::PostApplicationsclientIdToken(..) => Methods::Post,
8411 EndPoints::PatchApplicationsclientIdToken(..) => Methods::Patch,
8412 EndPoints::DeleteApplicationsclientIdToken(..) => Methods::Delete,
8413 EndPoints::PostApplicationsclientIdTokenScoped(..) => Methods::Post,
8414 EndPoints::GetAppsappSlug(..) => Methods::Get,
8415 EndPoints::GetAuthorizations(..) => Methods::Get,
8416 EndPoints::PostAuthorizations(..) => Methods::Post,
8417 EndPoints::PutAuthorizationsClientsclientId(..) => Methods::Put,
8418 EndPoints::PutAuthorizationsClientsclientIdfingerprint(..) => Methods::Put,
8419 EndPoints::GetAuthorizationsauthorizationId(..) => Methods::Get,
8420 EndPoints::PatchAuthorizationsauthorizationId(..) => Methods::Patch,
8421 EndPoints::DeleteAuthorizationsauthorizationId(..) => Methods::Delete,
8422 EndPoints::GetCodesOfConduct(..) => Methods::Get,
8423 EndPoints::GetCodesOfConductkey(..) => Methods::Get,
8424 EndPoints::GetEmojis(..) => Methods::Get,
8425 EndPoints::GetEnterprisesenterpriseActionsPermissions(..) => Methods::Get,
8426 EndPoints::PutEnterprisesenterpriseActionsPermissions(..) => Methods::Put,
8427 EndPoints::GetEnterprisesenterpriseActionsPermissionsOrganizations(..) => Methods::Get,
8428 EndPoints::PutEnterprisesenterpriseActionsPermissionsOrganizations(..) => Methods::Put,
8429 EndPoints::PutEnterprisesenterpriseActionsPermissionsOrganizationsorgId(..) => Methods::Put,
8430 EndPoints::DeleteEnterprisesenterpriseActionsPermissionsOrganizationsorgId(..) => Methods::Delete,
8431 EndPoints::GetEnterprisesenterpriseActionsPermissionsSelectedActions(..) => Methods::Get,
8432 EndPoints::PutEnterprisesenterpriseActionsPermissionsSelectedActions(..) => Methods::Put,
8433 EndPoints::GetEnterprisesenterpriseActionsRunnerGroups(..) => Methods::Get,
8434 EndPoints::PostEnterprisesenterpriseActionsRunnerGroups(..) => Methods::Post,
8435 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(..) => Methods::Get,
8436 EndPoints::PatchEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(..) => Methods::Patch,
8437 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(..) => Methods::Delete,
8438 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(..) => Methods::Get,
8439 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(..) => Methods::Put,
8440 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(..) => Methods::Put,
8441 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(..) => Methods::Delete,
8442 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(..) => Methods::Get,
8443 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(..) => Methods::Put,
8444 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(..) => Methods::Put,
8445 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(..) => Methods::Delete,
8446 EndPoints::GetEnterprisesenterpriseActionsRunners(..) => Methods::Get,
8447 EndPoints::GetEnterprisesenterpriseActionsRunnersDownloads(..) => Methods::Get,
8448 EndPoints::PostEnterprisesenterpriseActionsRunnersRegistrationToken(..) => Methods::Post,
8449 EndPoints::PostEnterprisesenterpriseActionsRunnersRemoveToken(..) => Methods::Post,
8450 EndPoints::GetEnterprisesenterpriseActionsRunnersrunnerId(..) => Methods::Get,
8451 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerId(..) => Methods::Delete,
8452 EndPoints::GetEnterprisesenterpriseActionsRunnersrunnerIdLabels(..) => Methods::Get,
8453 EndPoints::PostEnterprisesenterpriseActionsRunnersrunnerIdLabels(..) => Methods::Post,
8454 EndPoints::PutEnterprisesenterpriseActionsRunnersrunnerIdLabels(..) => Methods::Put,
8455 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabels(..) => Methods::Delete,
8456 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabelsname(..) => Methods::Delete,
8457 EndPoints::GetEnterprisesenterpriseAuditLog(..) => Methods::Get,
8458 EndPoints::GetEnterprisesenterpriseSecretScanningAlerts(..) => Methods::Get,
8459 EndPoints::GetEnterprisesenterpriseSettingsBillingActions(..) => Methods::Get,
8460 EndPoints::GetEnterprisesenterpriseSettingsBillingAdvancedSecurity(..) => Methods::Get,
8461 EndPoints::GetEnterprisesenterpriseSettingsBillingPackages(..) => Methods::Get,
8462 EndPoints::GetEnterprisesenterpriseSettingsBillingSharedStorage(..) => Methods::Get,
8463 EndPoints::GetEvents(..) => Methods::Get,
8464 EndPoints::GetFeeds(..) => Methods::Get,
8465 EndPoints::GetGists(..) => Methods::Get,
8466 EndPoints::PostGists(..) => Methods::Post,
8467 EndPoints::GetGistsPublic(..) => Methods::Get,
8468 EndPoints::GetGistsStarred(..) => Methods::Get,
8469 EndPoints::GetGistsgistId(..) => Methods::Get,
8470 EndPoints::PatchGistsgistId(..) => Methods::Patch,
8471 EndPoints::DeleteGistsgistId(..) => Methods::Delete,
8472 EndPoints::GetGistsgistIdComments(..) => Methods::Get,
8473 EndPoints::PostGistsgistIdComments(..) => Methods::Post,
8474 EndPoints::GetGistsgistIdCommentscommentId(..) => Methods::Get,
8475 EndPoints::PatchGistsgistIdCommentscommentId(..) => Methods::Patch,
8476 EndPoints::DeleteGistsgistIdCommentscommentId(..) => Methods::Delete,
8477 EndPoints::GetGistsgistIdCommits(..) => Methods::Get,
8478 EndPoints::GetGistsgistIdForks(..) => Methods::Get,
8479 EndPoints::PostGistsgistIdForks(..) => Methods::Post,
8480 EndPoints::GetGistsgistIdStar(..) => Methods::Get,
8481 EndPoints::PutGistsgistIdStar(..) => Methods::Put,
8482 EndPoints::DeleteGistsgistIdStar(..) => Methods::Delete,
8483 EndPoints::GetGistsgistIdsha(..) => Methods::Get,
8484 EndPoints::GetGitignoreTemplates(..) => Methods::Get,
8485 EndPoints::GetGitignoreTemplatesname(..) => Methods::Get,
8486 EndPoints::GetInstallationRepositories(..) => Methods::Get,
8487 EndPoints::DeleteInstallationToken(..) => Methods::Delete,
8488 EndPoints::GetIssues(..) => Methods::Get,
8489 EndPoints::GetLicenses(..) => Methods::Get,
8490 EndPoints::GetLicenseslicense(..) => Methods::Get,
8491 EndPoints::PostMarkdown(..) => Methods::Post,
8492 EndPoints::PostMarkdownRaw(..) => Methods::Post,
8493 EndPoints::GetMarketplaceListingAccountsaccountId(..) => Methods::Get,
8494 EndPoints::GetMarketplaceListingPlans(..) => Methods::Get,
8495 EndPoints::GetMarketplaceListingPlansplanIdAccounts(..) => Methods::Get,
8496 EndPoints::GetMarketplaceListingStubbedAccountsaccountId(..) => Methods::Get,
8497 EndPoints::GetMarketplaceListingStubbedPlans(..) => Methods::Get,
8498 EndPoints::GetMarketplaceListingStubbedPlansplanIdAccounts(..) => Methods::Get,
8499 EndPoints::GetMeta(..) => Methods::Get,
8500 EndPoints::GetNetworksownerrepoEvents(..) => Methods::Get,
8501 EndPoints::GetNotifications(..) => Methods::Get,
8502 EndPoints::PutNotifications(..) => Methods::Put,
8503 EndPoints::GetNotificationsThreadsthreadId(..) => Methods::Get,
8504 EndPoints::PatchNotificationsThreadsthreadId(..) => Methods::Patch,
8505 EndPoints::GetNotificationsThreadsthreadIdSubscription(..) => Methods::Get,
8506 EndPoints::PutNotificationsThreadsthreadIdSubscription(..) => Methods::Put,
8507 EndPoints::DeleteNotificationsThreadsthreadIdSubscription(..) => Methods::Delete,
8508 EndPoints::GetOctocat(..) => Methods::Get,
8509 EndPoints::GetOrganizations(..) => Methods::Get,
8510 EndPoints::GetOrganizationsorganizationIdCustomRoles(..) => Methods::Get,
8511 EndPoints::GetOrganizationsorgTeamteamSlugExternalGroups(..) => Methods::Get,
8512 EndPoints::GetOrgsorg(..) => Methods::Get,
8513 EndPoints::PatchOrgsorg(..) => Methods::Patch,
8514 EndPoints::GetOrgsorgActionsPermissions(..) => Methods::Get,
8515 EndPoints::PutOrgsorgActionsPermissions(..) => Methods::Put,
8516 EndPoints::GetOrgsorgActionsPermissionsRepositories(..) => Methods::Get,
8517 EndPoints::PutOrgsorgActionsPermissionsRepositories(..) => Methods::Put,
8518 EndPoints::PutOrgsorgActionsPermissionsRepositoriesrepositoryId(..) => Methods::Put,
8519 EndPoints::DeleteOrgsorgActionsPermissionsRepositoriesrepositoryId(..) => Methods::Delete,
8520 EndPoints::GetOrgsorgActionsPermissionsSelectedActions(..) => Methods::Get,
8521 EndPoints::PutOrgsorgActionsPermissionsSelectedActions(..) => Methods::Put,
8522 EndPoints::GetOrgsorgActionsPermissionsWorkflow(..) => Methods::Get,
8523 EndPoints::PutOrgsorgActionsPermissionsWorkflow(..) => Methods::Put,
8524 EndPoints::GetOrgsorgActionsRunnerGroups(..) => Methods::Get,
8525 EndPoints::PostOrgsorgActionsRunnerGroups(..) => Methods::Post,
8526 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupId(..) => Methods::Get,
8527 EndPoints::PatchOrgsorgActionsRunnerGroupsrunnerGroupId(..) => Methods::Patch,
8528 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupId(..) => Methods::Delete,
8529 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(..) => Methods::Get,
8530 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(..) => Methods::Put,
8531 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(..) => Methods::Put,
8532 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(..) => Methods::Delete,
8533 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(..) => Methods::Get,
8534 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(..) => Methods::Put,
8535 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(..) => Methods::Put,
8536 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(..) => Methods::Delete,
8537 EndPoints::GetOrgsorgActionsRunners(..) => Methods::Get,
8538 EndPoints::GetOrgsorgActionsRunnersDownloads(..) => Methods::Get,
8539 EndPoints::PostOrgsorgActionsRunnersRegistrationToken(..) => Methods::Post,
8540 EndPoints::PostOrgsorgActionsRunnersRemoveToken(..) => Methods::Post,
8541 EndPoints::GetOrgsorgActionsRunnersrunnerId(..) => Methods::Get,
8542 EndPoints::DeleteOrgsorgActionsRunnersrunnerId(..) => Methods::Delete,
8543 EndPoints::GetOrgsorgActionsRunnersrunnerIdLabels(..) => Methods::Get,
8544 EndPoints::PostOrgsorgActionsRunnersrunnerIdLabels(..) => Methods::Post,
8545 EndPoints::PutOrgsorgActionsRunnersrunnerIdLabels(..) => Methods::Put,
8546 EndPoints::DeleteOrgsorgActionsRunnersrunnerIdLabels(..) => Methods::Delete,
8547 EndPoints::DeleteOrgsorgActionsRunnersrunnerIdLabelsname(..) => Methods::Delete,
8548 EndPoints::GetOrgsorgActionsSecrets(..) => Methods::Get,
8549 EndPoints::GetOrgsorgActionsSecretsPublicKey(..) => Methods::Get,
8550 EndPoints::GetOrgsorgActionsSecretssecretName(..) => Methods::Get,
8551 EndPoints::PutOrgsorgActionsSecretssecretName(..) => Methods::Put,
8552 EndPoints::DeleteOrgsorgActionsSecretssecretName(..) => Methods::Delete,
8553 EndPoints::GetOrgsorgActionsSecretssecretNameRepositories(..) => Methods::Get,
8554 EndPoints::PutOrgsorgActionsSecretssecretNameRepositories(..) => Methods::Put,
8555 EndPoints::PutOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(..) => Methods::Put,
8556 EndPoints::DeleteOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(..) => Methods::Delete,
8557 EndPoints::GetOrgsorgAuditLog(..) => Methods::Get,
8558 EndPoints::GetOrgsorgBlocks(..) => Methods::Get,
8559 EndPoints::GetOrgsorgBlocksusername(..) => Methods::Get,
8560 EndPoints::PutOrgsorgBlocksusername(..) => Methods::Put,
8561 EndPoints::DeleteOrgsorgBlocksusername(..) => Methods::Delete,
8562 EndPoints::GetOrgsorgCodeScanningAlerts(..) => Methods::Get,
8563 EndPoints::GetOrgsorgCredentialAuthorizations(..) => Methods::Get,
8564 EndPoints::DeleteOrgsorgCredentialAuthorizationscredentialId(..) => Methods::Delete,
8565 EndPoints::GetOrgsorgDependabotSecrets(..) => Methods::Get,
8566 EndPoints::GetOrgsorgDependabotSecretsPublicKey(..) => Methods::Get,
8567 EndPoints::GetOrgsorgDependabotSecretssecretName(..) => Methods::Get,
8568 EndPoints::PutOrgsorgDependabotSecretssecretName(..) => Methods::Put,
8569 EndPoints::DeleteOrgsorgDependabotSecretssecretName(..) => Methods::Delete,
8570 EndPoints::GetOrgsorgDependabotSecretssecretNameRepositories(..) => Methods::Get,
8571 EndPoints::PutOrgsorgDependabotSecretssecretNameRepositories(..) => Methods::Put,
8572 EndPoints::PutOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(..) => Methods::Put,
8573 EndPoints::DeleteOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(..) => Methods::Delete,
8574 EndPoints::GetOrgsorgEvents(..) => Methods::Get,
8575 EndPoints::GetOrgsorgExternalGroupgroupId(..) => Methods::Get,
8576 EndPoints::GetOrgsorgExternalGroups(..) => Methods::Get,
8577 EndPoints::GetOrgsorgFailedInvitations(..) => Methods::Get,
8578 EndPoints::GetOrgsorgHooks(..) => Methods::Get,
8579 EndPoints::PostOrgsorgHooks(..) => Methods::Post,
8580 EndPoints::GetOrgsorgHookshookId(..) => Methods::Get,
8581 EndPoints::PatchOrgsorgHookshookId(..) => Methods::Patch,
8582 EndPoints::DeleteOrgsorgHookshookId(..) => Methods::Delete,
8583 EndPoints::GetOrgsorgHookshookIdConfig(..) => Methods::Get,
8584 EndPoints::PatchOrgsorgHookshookIdConfig(..) => Methods::Patch,
8585 EndPoints::GetOrgsorgHookshookIdDeliveries(..) => Methods::Get,
8586 EndPoints::GetOrgsorgHookshookIdDeliveriesdeliveryId(..) => Methods::Get,
8587 EndPoints::PostOrgsorgHookshookIdDeliveriesdeliveryIdAttempts(..) => Methods::Post,
8588 EndPoints::PostOrgsorgHookshookIdPings(..) => Methods::Post,
8589 EndPoints::GetOrgsorgInstallation(..) => Methods::Get,
8590 EndPoints::GetOrgsorgInstallations(..) => Methods::Get,
8591 EndPoints::GetOrgsorgInteractionLimits(..) => Methods::Get,
8592 EndPoints::PutOrgsorgInteractionLimits(..) => Methods::Put,
8593 EndPoints::DeleteOrgsorgInteractionLimits(..) => Methods::Delete,
8594 EndPoints::GetOrgsorgInvitations(..) => Methods::Get,
8595 EndPoints::PostOrgsorgInvitations(..) => Methods::Post,
8596 EndPoints::DeleteOrgsorgInvitationsinvitationId(..) => Methods::Delete,
8597 EndPoints::GetOrgsorgInvitationsinvitationIdTeams(..) => Methods::Get,
8598 EndPoints::GetOrgsorgIssues(..) => Methods::Get,
8599 EndPoints::GetOrgsorgMembers(..) => Methods::Get,
8600 EndPoints::GetOrgsorgMembersusername(..) => Methods::Get,
8601 EndPoints::DeleteOrgsorgMembersusername(..) => Methods::Delete,
8602 EndPoints::GetOrgsorgMembershipsusername(..) => Methods::Get,
8603 EndPoints::PutOrgsorgMembershipsusername(..) => Methods::Put,
8604 EndPoints::DeleteOrgsorgMembershipsusername(..) => Methods::Delete,
8605 EndPoints::GetOrgsorgMigrations(..) => Methods::Get,
8606 EndPoints::PostOrgsorgMigrations(..) => Methods::Post,
8607 EndPoints::GetOrgsorgMigrationsmigrationId(..) => Methods::Get,
8608 EndPoints::GetOrgsorgMigrationsmigrationIdArchive(..) => Methods::Get,
8609 EndPoints::DeleteOrgsorgMigrationsmigrationIdArchive(..) => Methods::Delete,
8610 EndPoints::DeleteOrgsorgMigrationsmigrationIdReposrepoNameLock(..) => Methods::Delete,
8611 EndPoints::GetOrgsorgMigrationsmigrationIdRepositories(..) => Methods::Get,
8612 EndPoints::GetOrgsorgOutsideCollaborators(..) => Methods::Get,
8613 EndPoints::PutOrgsorgOutsideCollaboratorsusername(..) => Methods::Put,
8614 EndPoints::DeleteOrgsorgOutsideCollaboratorsusername(..) => Methods::Delete,
8615 EndPoints::GetOrgsorgPackages(..) => Methods::Get,
8616 EndPoints::GetOrgsorgPackagespackageTypepackageName(..) => Methods::Get,
8617 EndPoints::DeleteOrgsorgPackagespackageTypepackageName(..) => Methods::Delete,
8618 EndPoints::PostOrgsorgPackagespackageTypepackageNameRestore(..) => Methods::Post,
8619 EndPoints::GetOrgsorgPackagespackageTypepackageNameVersions(..) => Methods::Get,
8620 EndPoints::GetOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Get,
8621 EndPoints::DeleteOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Delete,
8622 EndPoints::PostOrgsorgPackagespackageTypepackageNameVersionspackageVersionIdRestore(..) => Methods::Post,
8623 EndPoints::GetOrgsorgProjects(..) => Methods::Get,
8624 EndPoints::PostOrgsorgProjects(..) => Methods::Post,
8625 EndPoints::GetOrgsorgPublicMembers(..) => Methods::Get,
8626 EndPoints::GetOrgsorgPublicMembersusername(..) => Methods::Get,
8627 EndPoints::PutOrgsorgPublicMembersusername(..) => Methods::Put,
8628 EndPoints::DeleteOrgsorgPublicMembersusername(..) => Methods::Delete,
8629 EndPoints::GetOrgsorgRepos(..) => Methods::Get,
8630 EndPoints::PostOrgsorgRepos(..) => Methods::Post,
8631 EndPoints::GetOrgsorgSecretScanningAlerts(..) => Methods::Get,
8632 EndPoints::GetOrgsorgSettingsBillingActions(..) => Methods::Get,
8633 EndPoints::GetOrgsorgSettingsBillingAdvancedSecurity(..) => Methods::Get,
8634 EndPoints::GetOrgsorgSettingsBillingPackages(..) => Methods::Get,
8635 EndPoints::GetOrgsorgSettingsBillingSharedStorage(..) => Methods::Get,
8636 EndPoints::GetOrgsorgTeamSyncGroups(..) => Methods::Get,
8637 EndPoints::GetOrgsorgTeams(..) => Methods::Get,
8638 EndPoints::PostOrgsorgTeams(..) => Methods::Post,
8639 EndPoints::GetOrgsorgTeamsteamSlug(..) => Methods::Get,
8640 EndPoints::PatchOrgsorgTeamsteamSlug(..) => Methods::Patch,
8641 EndPoints::DeleteOrgsorgTeamsteamSlug(..) => Methods::Delete,
8642 EndPoints::GetOrgsorgTeamsteamSlugDiscussions(..) => Methods::Get,
8643 EndPoints::PostOrgsorgTeamsteamSlugDiscussions(..) => Methods::Post,
8644 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(..) => Methods::Get,
8645 EndPoints::PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(..) => Methods::Patch,
8646 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(..) => Methods::Delete,
8647 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(..) => Methods::Get,
8648 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(..) => Methods::Post,
8649 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Get,
8650 EndPoints::PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Patch,
8651 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Delete,
8652 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(..) => Methods::Get,
8653 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(..) => Methods::Post,
8654 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactionsreactionId(..) => Methods::Delete,
8655 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(..) => Methods::Get,
8656 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(..) => Methods::Post,
8657 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactionsreactionId(..) => Methods::Delete,
8658 EndPoints::PatchOrgsorgTeamsteamSlugExternalGroups(..) => Methods::Patch,
8659 EndPoints::DeleteOrgsorgTeamsteamSlugExternalGroups(..) => Methods::Delete,
8660 EndPoints::GetOrgsorgTeamsteamSlugInvitations(..) => Methods::Get,
8661 EndPoints::GetOrgsorgTeamsteamSlugMembers(..) => Methods::Get,
8662 EndPoints::GetOrgsorgTeamsteamSlugMembershipsusername(..) => Methods::Get,
8663 EndPoints::PutOrgsorgTeamsteamSlugMembershipsusername(..) => Methods::Put,
8664 EndPoints::DeleteOrgsorgTeamsteamSlugMembershipsusername(..) => Methods::Delete,
8665 EndPoints::GetOrgsorgTeamsteamSlugProjects(..) => Methods::Get,
8666 EndPoints::GetOrgsorgTeamsteamSlugProjectsprojectId(..) => Methods::Get,
8667 EndPoints::PutOrgsorgTeamsteamSlugProjectsprojectId(..) => Methods::Put,
8668 EndPoints::DeleteOrgsorgTeamsteamSlugProjectsprojectId(..) => Methods::Delete,
8669 EndPoints::GetOrgsorgTeamsteamSlugRepos(..) => Methods::Get,
8670 EndPoints::GetOrgsorgTeamsteamSlugReposownerrepo(..) => Methods::Get,
8671 EndPoints::PutOrgsorgTeamsteamSlugReposownerrepo(..) => Methods::Put,
8672 EndPoints::DeleteOrgsorgTeamsteamSlugReposownerrepo(..) => Methods::Delete,
8673 EndPoints::GetOrgsorgTeamsteamSlugTeamSyncGroupMappings(..) => Methods::Get,
8674 EndPoints::PatchOrgsorgTeamsteamSlugTeamSyncGroupMappings(..) => Methods::Patch,
8675 EndPoints::GetOrgsorgTeamsteamSlugTeams(..) => Methods::Get,
8676 EndPoints::GetProjectsColumnsCardscardId(..) => Methods::Get,
8677 EndPoints::PatchProjectsColumnsCardscardId(..) => Methods::Patch,
8678 EndPoints::DeleteProjectsColumnsCardscardId(..) => Methods::Delete,
8679 EndPoints::PostProjectsColumnsCardscardIdMoves(..) => Methods::Post,
8680 EndPoints::GetProjectsColumnscolumnId(..) => Methods::Get,
8681 EndPoints::PatchProjectsColumnscolumnId(..) => Methods::Patch,
8682 EndPoints::DeleteProjectsColumnscolumnId(..) => Methods::Delete,
8683 EndPoints::GetProjectsColumnscolumnIdCards(..) => Methods::Get,
8684 EndPoints::PostProjectsColumnscolumnIdCards(..) => Methods::Post,
8685 EndPoints::PostProjectsColumnscolumnIdMoves(..) => Methods::Post,
8686 EndPoints::GetProjectsprojectId(..) => Methods::Get,
8687 EndPoints::PatchProjectsprojectId(..) => Methods::Patch,
8688 EndPoints::DeleteProjectsprojectId(..) => Methods::Delete,
8689 EndPoints::GetProjectsprojectIdCollaborators(..) => Methods::Get,
8690 EndPoints::PutProjectsprojectIdCollaboratorsusername(..) => Methods::Put,
8691 EndPoints::DeleteProjectsprojectIdCollaboratorsusername(..) => Methods::Delete,
8692 EndPoints::GetProjectsprojectIdCollaboratorsusernamePermission(..) => Methods::Get,
8693 EndPoints::GetProjectsprojectIdColumns(..) => Methods::Get,
8694 EndPoints::PostProjectsprojectIdColumns(..) => Methods::Post,
8695 EndPoints::GetRateLimit(..) => Methods::Get,
8696 EndPoints::DeleteReactionsreactionId(..) => Methods::Delete,
8697 EndPoints::GetReposownerrepo(..) => Methods::Get,
8698 EndPoints::PatchReposownerrepo(..) => Methods::Patch,
8699 EndPoints::DeleteReposownerrepo(..) => Methods::Delete,
8700 EndPoints::GetReposownerrepoActionsArtifacts(..) => Methods::Get,
8701 EndPoints::GetReposownerrepoActionsArtifactsartifactId(..) => Methods::Get,
8702 EndPoints::DeleteReposownerrepoActionsArtifactsartifactId(..) => Methods::Delete,
8703 EndPoints::GetReposownerrepoActionsArtifactsartifactIdarchiveFormat(..) => Methods::Get,
8704 EndPoints::GetReposownerrepoActionsJobsjobId(..) => Methods::Get,
8705 EndPoints::GetReposownerrepoActionsJobsjobIdLogs(..) => Methods::Get,
8706 EndPoints::GetReposownerrepoActionsPermissions(..) => Methods::Get,
8707 EndPoints::PutReposownerrepoActionsPermissions(..) => Methods::Put,
8708 EndPoints::GetReposownerrepoActionsPermissionsSelectedActions(..) => Methods::Get,
8709 EndPoints::PutReposownerrepoActionsPermissionsSelectedActions(..) => Methods::Put,
8710 EndPoints::GetReposownerrepoActionsRunners(..) => Methods::Get,
8711 EndPoints::GetReposownerrepoActionsRunnersDownloads(..) => Methods::Get,
8712 EndPoints::PostReposownerrepoActionsRunnersRegistrationToken(..) => Methods::Post,
8713 EndPoints::PostReposownerrepoActionsRunnersRemoveToken(..) => Methods::Post,
8714 EndPoints::GetReposownerrepoActionsRunnersrunnerId(..) => Methods::Get,
8715 EndPoints::DeleteReposownerrepoActionsRunnersrunnerId(..) => Methods::Delete,
8716 EndPoints::GetReposownerrepoActionsRunnersrunnerIdLabels(..) => Methods::Get,
8717 EndPoints::PostReposownerrepoActionsRunnersrunnerIdLabels(..) => Methods::Post,
8718 EndPoints::PutReposownerrepoActionsRunnersrunnerIdLabels(..) => Methods::Put,
8719 EndPoints::DeleteReposownerrepoActionsRunnersrunnerIdLabels(..) => Methods::Delete,
8720 EndPoints::DeleteReposownerrepoActionsRunnersrunnerIdLabelsname(..) => Methods::Delete,
8721 EndPoints::GetReposownerrepoActionsRuns(..) => Methods::Get,
8722 EndPoints::GetReposownerrepoActionsRunsrunId(..) => Methods::Get,
8723 EndPoints::DeleteReposownerrepoActionsRunsrunId(..) => Methods::Delete,
8724 EndPoints::GetReposownerrepoActionsRunsrunIdApprovals(..) => Methods::Get,
8725 EndPoints::PostReposownerrepoActionsRunsrunIdApprove(..) => Methods::Post,
8726 EndPoints::GetReposownerrepoActionsRunsrunIdArtifacts(..) => Methods::Get,
8727 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumber(..) => Methods::Get,
8728 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberJobs(..) => Methods::Get,
8729 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberLogs(..) => Methods::Get,
8730 EndPoints::PostReposownerrepoActionsRunsrunIdCancel(..) => Methods::Post,
8731 EndPoints::GetReposownerrepoActionsRunsrunIdJobs(..) => Methods::Get,
8732 EndPoints::GetReposownerrepoActionsRunsrunIdLogs(..) => Methods::Get,
8733 EndPoints::DeleteReposownerrepoActionsRunsrunIdLogs(..) => Methods::Delete,
8734 EndPoints::GetReposownerrepoActionsRunsrunIdPendingDeployments(..) => Methods::Get,
8735 EndPoints::PostReposownerrepoActionsRunsrunIdPendingDeployments(..) => Methods::Post,
8736 EndPoints::PostReposownerrepoActionsRunsrunIdRerun(..) => Methods::Post,
8737 EndPoints::GetReposownerrepoActionsRunsrunIdTiming(..) => Methods::Get,
8738 EndPoints::GetReposownerrepoActionsSecrets(..) => Methods::Get,
8739 EndPoints::GetReposownerrepoActionsSecretsPublicKey(..) => Methods::Get,
8740 EndPoints::GetReposownerrepoActionsSecretssecretName(..) => Methods::Get,
8741 EndPoints::PutReposownerrepoActionsSecretssecretName(..) => Methods::Put,
8742 EndPoints::DeleteReposownerrepoActionsSecretssecretName(..) => Methods::Delete,
8743 EndPoints::GetReposownerrepoActionsWorkflows(..) => Methods::Get,
8744 EndPoints::GetReposownerrepoActionsWorkflowsworkflowId(..) => Methods::Get,
8745 EndPoints::PutReposownerrepoActionsWorkflowsworkflowIdDisable(..) => Methods::Put,
8746 EndPoints::PostReposownerrepoActionsWorkflowsworkflowIdDispatches(..) => Methods::Post,
8747 EndPoints::PutReposownerrepoActionsWorkflowsworkflowIdEnable(..) => Methods::Put,
8748 EndPoints::GetReposownerrepoActionsWorkflowsworkflowIdRuns(..) => Methods::Get,
8749 EndPoints::GetReposownerrepoActionsWorkflowsworkflowIdTiming(..) => Methods::Get,
8750 EndPoints::GetReposownerrepoAssignees(..) => Methods::Get,
8751 EndPoints::GetReposownerrepoAssigneesassignee(..) => Methods::Get,
8752 EndPoints::GetReposownerrepoAutolinks(..) => Methods::Get,
8753 EndPoints::PostReposownerrepoAutolinks(..) => Methods::Post,
8754 EndPoints::GetReposownerrepoAutolinksautolinkId(..) => Methods::Get,
8755 EndPoints::DeleteReposownerrepoAutolinksautolinkId(..) => Methods::Delete,
8756 EndPoints::PutReposownerrepoAutomatedSecurityFixes(..) => Methods::Put,
8757 EndPoints::DeleteReposownerrepoAutomatedSecurityFixes(..) => Methods::Delete,
8758 EndPoints::GetReposownerrepoBranches(..) => Methods::Get,
8759 EndPoints::GetReposownerrepoBranchesbranch(..) => Methods::Get,
8760 EndPoints::GetReposownerrepoBranchesbranchProtection(..) => Methods::Get,
8761 EndPoints::PutReposownerrepoBranchesbranchProtection(..) => Methods::Put,
8762 EndPoints::DeleteReposownerrepoBranchesbranchProtection(..) => Methods::Delete,
8763 EndPoints::GetReposownerrepoBranchesbranchProtectionEnforceAdmins(..) => Methods::Get,
8764 EndPoints::PostReposownerrepoBranchesbranchProtectionEnforceAdmins(..) => Methods::Post,
8765 EndPoints::DeleteReposownerrepoBranchesbranchProtectionEnforceAdmins(..) => Methods::Delete,
8766 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(..) => Methods::Get,
8767 EndPoints::PatchReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(..) => Methods::Patch,
8768 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(..) => Methods::Delete,
8769 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredSignatures(..) => Methods::Get,
8770 EndPoints::PostReposownerrepoBranchesbranchProtectionRequiredSignatures(..) => Methods::Post,
8771 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredSignatures(..) => Methods::Delete,
8772 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredStatusChecks(..) => Methods::Get,
8773 EndPoints::PatchReposownerrepoBranchesbranchProtectionRequiredStatusChecks(..) => Methods::Patch,
8774 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecks(..) => Methods::Delete,
8775 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(..) => Methods::Get,
8776 EndPoints::PostReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(..) => Methods::Post,
8777 EndPoints::PutReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(..) => Methods::Put,
8778 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(..) => Methods::Delete,
8779 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictions(..) => Methods::Get,
8780 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictions(..) => Methods::Delete,
8781 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsApps(..) => Methods::Get,
8782 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsApps(..) => Methods::Post,
8783 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsApps(..) => Methods::Put,
8784 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsApps(..) => Methods::Delete,
8785 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsTeams(..) => Methods::Get,
8786 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsTeams(..) => Methods::Post,
8787 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsTeams(..) => Methods::Put,
8788 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsTeams(..) => Methods::Delete,
8789 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsUsers(..) => Methods::Get,
8790 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsUsers(..) => Methods::Post,
8791 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsUsers(..) => Methods::Put,
8792 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsUsers(..) => Methods::Delete,
8793 EndPoints::PostReposownerrepoBranchesbranchRename(..) => Methods::Post,
8794 EndPoints::PostReposownerrepoCheckRuns(..) => Methods::Post,
8795 EndPoints::GetReposownerrepoCheckRunscheckRunId(..) => Methods::Get,
8796 EndPoints::PatchReposownerrepoCheckRunscheckRunId(..) => Methods::Patch,
8797 EndPoints::GetReposownerrepoCheckRunscheckRunIdAnnotations(..) => Methods::Get,
8798 EndPoints::PostReposownerrepoCheckRunscheckRunIdRerequest(..) => Methods::Post,
8799 EndPoints::PostReposownerrepoCheckSuites(..) => Methods::Post,
8800 EndPoints::PatchReposownerrepoCheckSuitesPreferences(..) => Methods::Patch,
8801 EndPoints::GetReposownerrepoCheckSuitescheckSuiteId(..) => Methods::Get,
8802 EndPoints::GetReposownerrepoCheckSuitescheckSuiteIdCheckRuns(..) => Methods::Get,
8803 EndPoints::PostReposownerrepoCheckSuitescheckSuiteIdRerequest(..) => Methods::Post,
8804 EndPoints::GetReposownerrepoCodeScanningAlerts(..) => Methods::Get,
8805 EndPoints::GetReposownerrepoCodeScanningAlertsalertNumber(..) => Methods::Get,
8806 EndPoints::PatchReposownerrepoCodeScanningAlertsalertNumber(..) => Methods::Patch,
8807 EndPoints::GetReposownerrepoCodeScanningAlertsalertNumberInstances(..) => Methods::Get,
8808 EndPoints::GetReposownerrepoCodeScanningAnalyses(..) => Methods::Get,
8809 EndPoints::GetReposownerrepoCodeScanningAnalysesanalysisId(..) => Methods::Get,
8810 EndPoints::DeleteReposownerrepoCodeScanningAnalysesanalysisId(..) => Methods::Delete,
8811 EndPoints::PostReposownerrepoCodeScanningSarifs(..) => Methods::Post,
8812 EndPoints::GetReposownerrepoCodeScanningSarifssarifId(..) => Methods::Get,
8813 EndPoints::GetReposownerrepoCodespaces(..) => Methods::Get,
8814 EndPoints::PostReposownerrepoCodespaces(..) => Methods::Post,
8815 EndPoints::GetReposownerrepoCodespacesMachines(..) => Methods::Get,
8816 EndPoints::GetReposownerrepoCollaborators(..) => Methods::Get,
8817 EndPoints::GetReposownerrepoCollaboratorsusername(..) => Methods::Get,
8818 EndPoints::PutReposownerrepoCollaboratorsusername(..) => Methods::Put,
8819 EndPoints::DeleteReposownerrepoCollaboratorsusername(..) => Methods::Delete,
8820 EndPoints::GetReposownerrepoCollaboratorsusernamePermission(..) => Methods::Get,
8821 EndPoints::GetReposownerrepoComments(..) => Methods::Get,
8822 EndPoints::GetReposownerrepoCommentscommentId(..) => Methods::Get,
8823 EndPoints::PatchReposownerrepoCommentscommentId(..) => Methods::Patch,
8824 EndPoints::DeleteReposownerrepoCommentscommentId(..) => Methods::Delete,
8825 EndPoints::GetReposownerrepoCommentscommentIdReactions(..) => Methods::Get,
8826 EndPoints::PostReposownerrepoCommentscommentIdReactions(..) => Methods::Post,
8827 EndPoints::DeleteReposownerrepoCommentscommentIdReactionsreactionId(..) => Methods::Delete,
8828 EndPoints::GetReposownerrepoCommits(..) => Methods::Get,
8829 EndPoints::GetReposownerrepoCommitscommitShaBranchesWhereHead(..) => Methods::Get,
8830 EndPoints::GetReposownerrepoCommitscommitShaComments(..) => Methods::Get,
8831 EndPoints::PostReposownerrepoCommitscommitShaComments(..) => Methods::Post,
8832 EndPoints::GetReposownerrepoCommitscommitShaPulls(..) => Methods::Get,
8833 EndPoints::GetReposownerrepoCommitsref(..) => Methods::Get,
8834 EndPoints::GetReposownerrepoCommitsrefCheckRuns(..) => Methods::Get,
8835 EndPoints::GetReposownerrepoCommitsrefCheckSuites(..) => Methods::Get,
8836 EndPoints::GetReposownerrepoCommitsrefStatus(..) => Methods::Get,
8837 EndPoints::GetReposownerrepoCommitsrefStatuses(..) => Methods::Get,
8838 EndPoints::GetReposownerrepoCommunityProfile(..) => Methods::Get,
8839 EndPoints::GetReposownerrepoComparebasehead(..) => Methods::Get,
8840 EndPoints::GetReposownerrepoContentspath(..) => Methods::Get,
8841 EndPoints::PutReposownerrepoContentspath(..) => Methods::Put,
8842 EndPoints::DeleteReposownerrepoContentspath(..) => Methods::Delete,
8843 EndPoints::GetReposownerrepoContributors(..) => Methods::Get,
8844 EndPoints::GetReposownerrepoDependabotSecrets(..) => Methods::Get,
8845 EndPoints::GetReposownerrepoDependabotSecretsPublicKey(..) => Methods::Get,
8846 EndPoints::GetReposownerrepoDependabotSecretssecretName(..) => Methods::Get,
8847 EndPoints::PutReposownerrepoDependabotSecretssecretName(..) => Methods::Put,
8848 EndPoints::DeleteReposownerrepoDependabotSecretssecretName(..) => Methods::Delete,
8849 EndPoints::GetReposownerrepoDeployments(..) => Methods::Get,
8850 EndPoints::PostReposownerrepoDeployments(..) => Methods::Post,
8851 EndPoints::GetReposownerrepoDeploymentsdeploymentId(..) => Methods::Get,
8852 EndPoints::DeleteReposownerrepoDeploymentsdeploymentId(..) => Methods::Delete,
8853 EndPoints::GetReposownerrepoDeploymentsdeploymentIdStatuses(..) => Methods::Get,
8854 EndPoints::PostReposownerrepoDeploymentsdeploymentIdStatuses(..) => Methods::Post,
8855 EndPoints::GetReposownerrepoDeploymentsdeploymentIdStatusesstatusId(..) => Methods::Get,
8856 EndPoints::PostReposownerrepoDispatches(..) => Methods::Post,
8857 EndPoints::GetReposownerrepoEnvironments(..) => Methods::Get,
8858 EndPoints::GetReposownerrepoEnvironmentsenvironmentName(..) => Methods::Get,
8859 EndPoints::PutReposownerrepoEnvironmentsenvironmentName(..) => Methods::Put,
8860 EndPoints::DeleteReposownerrepoEnvironmentsenvironmentName(..) => Methods::Delete,
8861 EndPoints::GetReposownerrepoEvents(..) => Methods::Get,
8862 EndPoints::GetReposownerrepoForks(..) => Methods::Get,
8863 EndPoints::PostReposownerrepoForks(..) => Methods::Post,
8864 EndPoints::PostReposownerrepoGitBlobs(..) => Methods::Post,
8865 EndPoints::GetReposownerrepoGitBlobsfileSha(..) => Methods::Get,
8866 EndPoints::PostReposownerrepoGitCommits(..) => Methods::Post,
8867 EndPoints::GetReposownerrepoGitCommitscommitSha(..) => Methods::Get,
8868 EndPoints::GetReposownerrepoGitMatchingRefsref(..) => Methods::Get,
8869 EndPoints::GetReposownerrepoGitRefref(..) => Methods::Get,
8870 EndPoints::PostReposownerrepoGitRefs(..) => Methods::Post,
8871 EndPoints::PatchReposownerrepoGitRefsref(..) => Methods::Patch,
8872 EndPoints::DeleteReposownerrepoGitRefsref(..) => Methods::Delete,
8873 EndPoints::PostReposownerrepoGitTags(..) => Methods::Post,
8874 EndPoints::GetReposownerrepoGitTagstagSha(..) => Methods::Get,
8875 EndPoints::PostReposownerrepoGitTrees(..) => Methods::Post,
8876 EndPoints::GetReposownerrepoGitTreestreeSha(..) => Methods::Get,
8877 EndPoints::GetReposownerrepoHooks(..) => Methods::Get,
8878 EndPoints::PostReposownerrepoHooks(..) => Methods::Post,
8879 EndPoints::GetReposownerrepoHookshookId(..) => Methods::Get,
8880 EndPoints::PatchReposownerrepoHookshookId(..) => Methods::Patch,
8881 EndPoints::DeleteReposownerrepoHookshookId(..) => Methods::Delete,
8882 EndPoints::GetReposownerrepoHookshookIdConfig(..) => Methods::Get,
8883 EndPoints::PatchReposownerrepoHookshookIdConfig(..) => Methods::Patch,
8884 EndPoints::GetReposownerrepoHookshookIdDeliveries(..) => Methods::Get,
8885 EndPoints::GetReposownerrepoHookshookIdDeliveriesdeliveryId(..) => Methods::Get,
8886 EndPoints::PostReposownerrepoHookshookIdDeliveriesdeliveryIdAttempts(..) => Methods::Post,
8887 EndPoints::PostReposownerrepoHookshookIdPings(..) => Methods::Post,
8888 EndPoints::PostReposownerrepoHookshookIdTests(..) => Methods::Post,
8889 EndPoints::GetReposownerrepoImport(..) => Methods::Get,
8890 EndPoints::PutReposownerrepoImport(..) => Methods::Put,
8891 EndPoints::PatchReposownerrepoImport(..) => Methods::Patch,
8892 EndPoints::DeleteReposownerrepoImport(..) => Methods::Delete,
8893 EndPoints::GetReposownerrepoImportAuthors(..) => Methods::Get,
8894 EndPoints::PatchReposownerrepoImportAuthorsauthorId(..) => Methods::Patch,
8895 EndPoints::GetReposownerrepoImportLargeFiles(..) => Methods::Get,
8896 EndPoints::PatchReposownerrepoImportLfs(..) => Methods::Patch,
8897 EndPoints::GetReposownerrepoInstallation(..) => Methods::Get,
8898 EndPoints::GetReposownerrepoInteractionLimits(..) => Methods::Get,
8899 EndPoints::PutReposownerrepoInteractionLimits(..) => Methods::Put,
8900 EndPoints::DeleteReposownerrepoInteractionLimits(..) => Methods::Delete,
8901 EndPoints::GetReposownerrepoInvitations(..) => Methods::Get,
8902 EndPoints::PatchReposownerrepoInvitationsinvitationId(..) => Methods::Patch,
8903 EndPoints::DeleteReposownerrepoInvitationsinvitationId(..) => Methods::Delete,
8904 EndPoints::GetReposownerrepoIssues(..) => Methods::Get,
8905 EndPoints::PostReposownerrepoIssues(..) => Methods::Post,
8906 EndPoints::GetReposownerrepoIssuesComments(..) => Methods::Get,
8907 EndPoints::GetReposownerrepoIssuesCommentscommentId(..) => Methods::Get,
8908 EndPoints::PatchReposownerrepoIssuesCommentscommentId(..) => Methods::Patch,
8909 EndPoints::DeleteReposownerrepoIssuesCommentscommentId(..) => Methods::Delete,
8910 EndPoints::GetReposownerrepoIssuesCommentscommentIdReactions(..) => Methods::Get,
8911 EndPoints::PostReposownerrepoIssuesCommentscommentIdReactions(..) => Methods::Post,
8912 EndPoints::DeleteReposownerrepoIssuesCommentscommentIdReactionsreactionId(..) => Methods::Delete,
8913 EndPoints::GetReposownerrepoIssuesEvents(..) => Methods::Get,
8914 EndPoints::GetReposownerrepoIssuesEventseventId(..) => Methods::Get,
8915 EndPoints::GetReposownerrepoIssuesissueNumber(..) => Methods::Get,
8916 EndPoints::PatchReposownerrepoIssuesissueNumber(..) => Methods::Patch,
8917 EndPoints::PostReposownerrepoIssuesissueNumberAssignees(..) => Methods::Post,
8918 EndPoints::DeleteReposownerrepoIssuesissueNumberAssignees(..) => Methods::Delete,
8919 EndPoints::GetReposownerrepoIssuesissueNumberComments(..) => Methods::Get,
8920 EndPoints::PostReposownerrepoIssuesissueNumberComments(..) => Methods::Post,
8921 EndPoints::GetReposownerrepoIssuesissueNumberEvents(..) => Methods::Get,
8922 EndPoints::GetReposownerrepoIssuesissueNumberLabels(..) => Methods::Get,
8923 EndPoints::PostReposownerrepoIssuesissueNumberLabels(..) => Methods::Post,
8924 EndPoints::PutReposownerrepoIssuesissueNumberLabels(..) => Methods::Put,
8925 EndPoints::DeleteReposownerrepoIssuesissueNumberLabels(..) => Methods::Delete,
8926 EndPoints::DeleteReposownerrepoIssuesissueNumberLabelsname(..) => Methods::Delete,
8927 EndPoints::PutReposownerrepoIssuesissueNumberLock(..) => Methods::Put,
8928 EndPoints::DeleteReposownerrepoIssuesissueNumberLock(..) => Methods::Delete,
8929 EndPoints::GetReposownerrepoIssuesissueNumberReactions(..) => Methods::Get,
8930 EndPoints::PostReposownerrepoIssuesissueNumberReactions(..) => Methods::Post,
8931 EndPoints::DeleteReposownerrepoIssuesissueNumberReactionsreactionId(..) => Methods::Delete,
8932 EndPoints::GetReposownerrepoIssuesissueNumberTimeline(..) => Methods::Get,
8933 EndPoints::GetReposownerrepoKeys(..) => Methods::Get,
8934 EndPoints::PostReposownerrepoKeys(..) => Methods::Post,
8935 EndPoints::GetReposownerrepoKeyskeyId(..) => Methods::Get,
8936 EndPoints::DeleteReposownerrepoKeyskeyId(..) => Methods::Delete,
8937 EndPoints::GetReposownerrepoLabels(..) => Methods::Get,
8938 EndPoints::PostReposownerrepoLabels(..) => Methods::Post,
8939 EndPoints::GetReposownerrepoLabelsname(..) => Methods::Get,
8940 EndPoints::PatchReposownerrepoLabelsname(..) => Methods::Patch,
8941 EndPoints::DeleteReposownerrepoLabelsname(..) => Methods::Delete,
8942 EndPoints::GetReposownerrepoLanguages(..) => Methods::Get,
8943 EndPoints::PutReposownerrepoLfs(..) => Methods::Put,
8944 EndPoints::DeleteReposownerrepoLfs(..) => Methods::Delete,
8945 EndPoints::GetReposownerrepoLicense(..) => Methods::Get,
8946 EndPoints::PostReposownerrepoMergeUpstream(..) => Methods::Post,
8947 EndPoints::PostReposownerrepoMerges(..) => Methods::Post,
8948 EndPoints::GetReposownerrepoMilestones(..) => Methods::Get,
8949 EndPoints::PostReposownerrepoMilestones(..) => Methods::Post,
8950 EndPoints::GetReposownerrepoMilestonesmilestoneNumber(..) => Methods::Get,
8951 EndPoints::PatchReposownerrepoMilestonesmilestoneNumber(..) => Methods::Patch,
8952 EndPoints::DeleteReposownerrepoMilestonesmilestoneNumber(..) => Methods::Delete,
8953 EndPoints::GetReposownerrepoMilestonesmilestoneNumberLabels(..) => Methods::Get,
8954 EndPoints::GetReposownerrepoNotifications(..) => Methods::Get,
8955 EndPoints::PutReposownerrepoNotifications(..) => Methods::Put,
8956 EndPoints::GetReposownerrepoPages(..) => Methods::Get,
8957 EndPoints::PostReposownerrepoPages(..) => Methods::Post,
8958 EndPoints::PutReposownerrepoPages(..) => Methods::Put,
8959 EndPoints::DeleteReposownerrepoPages(..) => Methods::Delete,
8960 EndPoints::GetReposownerrepoPagesBuilds(..) => Methods::Get,
8961 EndPoints::PostReposownerrepoPagesBuilds(..) => Methods::Post,
8962 EndPoints::GetReposownerrepoPagesBuildsLatest(..) => Methods::Get,
8963 EndPoints::GetReposownerrepoPagesBuildsbuildId(..) => Methods::Get,
8964 EndPoints::GetReposownerrepoPagesHealth(..) => Methods::Get,
8965 EndPoints::GetReposownerrepoProjects(..) => Methods::Get,
8966 EndPoints::PostReposownerrepoProjects(..) => Methods::Post,
8967 EndPoints::GetReposownerrepoPulls(..) => Methods::Get,
8968 EndPoints::PostReposownerrepoPulls(..) => Methods::Post,
8969 EndPoints::GetReposownerrepoPullsComments(..) => Methods::Get,
8970 EndPoints::GetReposownerrepoPullsCommentscommentId(..) => Methods::Get,
8971 EndPoints::PatchReposownerrepoPullsCommentscommentId(..) => Methods::Patch,
8972 EndPoints::DeleteReposownerrepoPullsCommentscommentId(..) => Methods::Delete,
8973 EndPoints::GetReposownerrepoPullsCommentscommentIdReactions(..) => Methods::Get,
8974 EndPoints::PostReposownerrepoPullsCommentscommentIdReactions(..) => Methods::Post,
8975 EndPoints::DeleteReposownerrepoPullsCommentscommentIdReactionsreactionId(..) => Methods::Delete,
8976 EndPoints::GetReposownerrepoPullspullNumber(..) => Methods::Get,
8977 EndPoints::PatchReposownerrepoPullspullNumber(..) => Methods::Patch,
8978 EndPoints::PostReposownerrepoPullspullNumberCodespaces(..) => Methods::Post,
8979 EndPoints::GetReposownerrepoPullspullNumberComments(..) => Methods::Get,
8980 EndPoints::PostReposownerrepoPullspullNumberComments(..) => Methods::Post,
8981 EndPoints::PostReposownerrepoPullspullNumberCommentscommentIdReplies(..) => Methods::Post,
8982 EndPoints::GetReposownerrepoPullspullNumberCommits(..) => Methods::Get,
8983 EndPoints::GetReposownerrepoPullspullNumberFiles(..) => Methods::Get,
8984 EndPoints::GetReposownerrepoPullspullNumberMerge(..) => Methods::Get,
8985 EndPoints::PutReposownerrepoPullspullNumberMerge(..) => Methods::Put,
8986 EndPoints::GetReposownerrepoPullspullNumberRequestedReviewers(..) => Methods::Get,
8987 EndPoints::PostReposownerrepoPullspullNumberRequestedReviewers(..) => Methods::Post,
8988 EndPoints::DeleteReposownerrepoPullspullNumberRequestedReviewers(..) => Methods::Delete,
8989 EndPoints::GetReposownerrepoPullspullNumberReviews(..) => Methods::Get,
8990 EndPoints::PostReposownerrepoPullspullNumberReviews(..) => Methods::Post,
8991 EndPoints::GetReposownerrepoPullspullNumberReviewsreviewId(..) => Methods::Get,
8992 EndPoints::PutReposownerrepoPullspullNumberReviewsreviewId(..) => Methods::Put,
8993 EndPoints::DeleteReposownerrepoPullspullNumberReviewsreviewId(..) => Methods::Delete,
8994 EndPoints::GetReposownerrepoPullspullNumberReviewsreviewIdComments(..) => Methods::Get,
8995 EndPoints::PutReposownerrepoPullspullNumberReviewsreviewIdDismissals(..) => Methods::Put,
8996 EndPoints::PostReposownerrepoPullspullNumberReviewsreviewIdEvents(..) => Methods::Post,
8997 EndPoints::PutReposownerrepoPullspullNumberUpdateBranch(..) => Methods::Put,
8998 EndPoints::GetReposownerrepoReadme(..) => Methods::Get,
8999 EndPoints::GetReposownerrepoReadmedir(..) => Methods::Get,
9000 EndPoints::GetReposownerrepoReleases(..) => Methods::Get,
9001 EndPoints::PostReposownerrepoReleases(..) => Methods::Post,
9002 EndPoints::GetReposownerrepoReleasesAssetsassetId(..) => Methods::Get,
9003 EndPoints::PatchReposownerrepoReleasesAssetsassetId(..) => Methods::Patch,
9004 EndPoints::DeleteReposownerrepoReleasesAssetsassetId(..) => Methods::Delete,
9005 EndPoints::PostReposownerrepoReleasesGenerateNotes(..) => Methods::Post,
9006 EndPoints::GetReposownerrepoReleasesLatest(..) => Methods::Get,
9007 EndPoints::GetReposownerrepoReleasesTagstag(..) => Methods::Get,
9008 EndPoints::GetReposownerrepoReleasesreleaseId(..) => Methods::Get,
9009 EndPoints::PatchReposownerrepoReleasesreleaseId(..) => Methods::Patch,
9010 EndPoints::DeleteReposownerrepoReleasesreleaseId(..) => Methods::Delete,
9011 EndPoints::GetReposownerrepoReleasesreleaseIdAssets(..) => Methods::Get,
9012 EndPoints::PostReposownerrepoReleasesreleaseIdAssets(..) => Methods::Post,
9013 EndPoints::PostReposownerrepoReleasesreleaseIdReactions(..) => Methods::Post,
9014 EndPoints::GetReposownerrepoSecretScanningAlerts(..) => Methods::Get,
9015 EndPoints::GetReposownerrepoSecretScanningAlertsalertNumber(..) => Methods::Get,
9016 EndPoints::PatchReposownerrepoSecretScanningAlertsalertNumber(..) => Methods::Patch,
9017 EndPoints::GetReposownerrepoSecretScanningAlertsalertNumberLocations(..) => Methods::Get,
9018 EndPoints::GetReposownerrepoStargazers(..) => Methods::Get,
9019 EndPoints::GetReposownerrepoStatsCodeFrequency(..) => Methods::Get,
9020 EndPoints::GetReposownerrepoStatsCommitActivity(..) => Methods::Get,
9021 EndPoints::GetReposownerrepoStatsContributors(..) => Methods::Get,
9022 EndPoints::GetReposownerrepoStatsParticipation(..) => Methods::Get,
9023 EndPoints::GetReposownerrepoStatsPunchCard(..) => Methods::Get,
9024 EndPoints::PostReposownerrepoStatusessha(..) => Methods::Post,
9025 EndPoints::GetReposownerrepoSubscribers(..) => Methods::Get,
9026 EndPoints::GetReposownerrepoSubscription(..) => Methods::Get,
9027 EndPoints::PutReposownerrepoSubscription(..) => Methods::Put,
9028 EndPoints::DeleteReposownerrepoSubscription(..) => Methods::Delete,
9029 EndPoints::GetReposownerrepoTags(..) => Methods::Get,
9030 EndPoints::GetReposownerrepoTarballref(..) => Methods::Get,
9031 EndPoints::GetReposownerrepoTeams(..) => Methods::Get,
9032 EndPoints::GetReposownerrepoTopics(..) => Methods::Get,
9033 EndPoints::PutReposownerrepoTopics(..) => Methods::Put,
9034 EndPoints::GetReposownerrepoTrafficClones(..) => Methods::Get,
9035 EndPoints::GetReposownerrepoTrafficPopularPaths(..) => Methods::Get,
9036 EndPoints::GetReposownerrepoTrafficPopularReferrers(..) => Methods::Get,
9037 EndPoints::GetReposownerrepoTrafficViews(..) => Methods::Get,
9038 EndPoints::PostReposownerrepoTransfer(..) => Methods::Post,
9039 EndPoints::GetReposownerrepoVulnerabilityAlerts(..) => Methods::Get,
9040 EndPoints::PutReposownerrepoVulnerabilityAlerts(..) => Methods::Put,
9041 EndPoints::DeleteReposownerrepoVulnerabilityAlerts(..) => Methods::Delete,
9042 EndPoints::GetReposownerrepoZipballref(..) => Methods::Get,
9043 EndPoints::PostRepostemplateOwnertemplateRepoGenerate(..) => Methods::Post,
9044 EndPoints::GetRepositories(..) => Methods::Get,
9045 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecrets(..) => Methods::Get,
9046 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretsPublicKey(..) => Methods::Get,
9047 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(..) => Methods::Get,
9048 EndPoints::PutRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(..) => Methods::Put,
9049 EndPoints::DeleteRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(..) => Methods::Delete,
9050 EndPoints::GetScimV2EnterprisesenterpriseGroups(..) => Methods::Get,
9051 EndPoints::PostScimV2EnterprisesenterpriseGroups(..) => Methods::Post,
9052 EndPoints::GetScimV2EnterprisesenterpriseGroupsscimGroupId(..) => Methods::Get,
9053 EndPoints::PutScimV2EnterprisesenterpriseGroupsscimGroupId(..) => Methods::Put,
9054 EndPoints::PatchScimV2EnterprisesenterpriseGroupsscimGroupId(..) => Methods::Patch,
9055 EndPoints::DeleteScimV2EnterprisesenterpriseGroupsscimGroupId(..) => Methods::Delete,
9056 EndPoints::GetScimV2EnterprisesenterpriseUsers(..) => Methods::Get,
9057 EndPoints::PostScimV2EnterprisesenterpriseUsers(..) => Methods::Post,
9058 EndPoints::GetScimV2EnterprisesenterpriseUsersscimUserId(..) => Methods::Get,
9059 EndPoints::PutScimV2EnterprisesenterpriseUsersscimUserId(..) => Methods::Put,
9060 EndPoints::PatchScimV2EnterprisesenterpriseUsersscimUserId(..) => Methods::Patch,
9061 EndPoints::DeleteScimV2EnterprisesenterpriseUsersscimUserId(..) => Methods::Delete,
9062 EndPoints::GetScimV2OrganizationsorgUsers(..) => Methods::Get,
9063 EndPoints::PostScimV2OrganizationsorgUsers(..) => Methods::Post,
9064 EndPoints::GetScimV2OrganizationsorgUsersscimUserId(..) => Methods::Get,
9065 EndPoints::PutScimV2OrganizationsorgUsersscimUserId(..) => Methods::Put,
9066 EndPoints::PatchScimV2OrganizationsorgUsersscimUserId(..) => Methods::Patch,
9067 EndPoints::DeleteScimV2OrganizationsorgUsersscimUserId(..) => Methods::Delete,
9068 EndPoints::GetSearchCode(..) => Methods::Get,
9069 EndPoints::GetSearchCommits(..) => Methods::Get,
9070 EndPoints::GetSearchIssues(..) => Methods::Get,
9071 EndPoints::GetSearchLabels(..) => Methods::Get,
9072 EndPoints::GetSearchRepositories(..) => Methods::Get,
9073 EndPoints::GetSearchTopics(..) => Methods::Get,
9074 EndPoints::GetSearchUsers(..) => Methods::Get,
9075 EndPoints::GetTeamsteamId(..) => Methods::Get,
9076 EndPoints::PatchTeamsteamId(..) => Methods::Patch,
9077 EndPoints::DeleteTeamsteamId(..) => Methods::Delete,
9078 EndPoints::GetTeamsteamIdDiscussions(..) => Methods::Get,
9079 EndPoints::PostTeamsteamIdDiscussions(..) => Methods::Post,
9080 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumber(..) => Methods::Get,
9081 EndPoints::PatchTeamsteamIdDiscussionsdiscussionNumber(..) => Methods::Patch,
9082 EndPoints::DeleteTeamsteamIdDiscussionsdiscussionNumber(..) => Methods::Delete,
9083 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberComments(..) => Methods::Get,
9084 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberComments(..) => Methods::Post,
9085 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Get,
9086 EndPoints::PatchTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Patch,
9087 EndPoints::DeleteTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(..) => Methods::Delete,
9088 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(..) => Methods::Get,
9089 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(..) => Methods::Post,
9090 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberReactions(..) => Methods::Get,
9091 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberReactions(..) => Methods::Post,
9092 EndPoints::GetTeamsteamIdInvitations(..) => Methods::Get,
9093 EndPoints::GetTeamsteamIdMembers(..) => Methods::Get,
9094 EndPoints::GetTeamsteamIdMembersusername(..) => Methods::Get,
9095 EndPoints::PutTeamsteamIdMembersusername(..) => Methods::Put,
9096 EndPoints::DeleteTeamsteamIdMembersusername(..) => Methods::Delete,
9097 EndPoints::GetTeamsteamIdMembershipsusername(..) => Methods::Get,
9098 EndPoints::PutTeamsteamIdMembershipsusername(..) => Methods::Put,
9099 EndPoints::DeleteTeamsteamIdMembershipsusername(..) => Methods::Delete,
9100 EndPoints::GetTeamsteamIdProjects(..) => Methods::Get,
9101 EndPoints::GetTeamsteamIdProjectsprojectId(..) => Methods::Get,
9102 EndPoints::PutTeamsteamIdProjectsprojectId(..) => Methods::Put,
9103 EndPoints::DeleteTeamsteamIdProjectsprojectId(..) => Methods::Delete,
9104 EndPoints::GetTeamsteamIdRepos(..) => Methods::Get,
9105 EndPoints::GetTeamsteamIdReposownerrepo(..) => Methods::Get,
9106 EndPoints::PutTeamsteamIdReposownerrepo(..) => Methods::Put,
9107 EndPoints::DeleteTeamsteamIdReposownerrepo(..) => Methods::Delete,
9108 EndPoints::GetTeamsteamIdTeamSyncGroupMappings(..) => Methods::Get,
9109 EndPoints::PatchTeamsteamIdTeamSyncGroupMappings(..) => Methods::Patch,
9110 EndPoints::GetTeamsteamIdTeams(..) => Methods::Get,
9111 EndPoints::GetUser(..) => Methods::Get,
9112 EndPoints::PatchUser(..) => Methods::Patch,
9113 EndPoints::GetUserBlocks(..) => Methods::Get,
9114 EndPoints::GetUserBlocksusername(..) => Methods::Get,
9115 EndPoints::PutUserBlocksusername(..) => Methods::Put,
9116 EndPoints::DeleteUserBlocksusername(..) => Methods::Delete,
9117 EndPoints::GetUserCodespaces(..) => Methods::Get,
9118 EndPoints::PostUserCodespaces(..) => Methods::Post,
9119 EndPoints::GetUserCodespacesSecrets(..) => Methods::Get,
9120 EndPoints::GetUserCodespacesSecretsPublicKey(..) => Methods::Get,
9121 EndPoints::GetUserCodespacesSecretssecretName(..) => Methods::Get,
9122 EndPoints::PutUserCodespacesSecretssecretName(..) => Methods::Put,
9123 EndPoints::DeleteUserCodespacesSecretssecretName(..) => Methods::Delete,
9124 EndPoints::GetUserCodespacesSecretssecretNameRepositories(..) => Methods::Get,
9125 EndPoints::PutUserCodespacesSecretssecretNameRepositories(..) => Methods::Put,
9126 EndPoints::PutUserCodespacesSecretssecretNameRepositoriesrepositoryId(..) => Methods::Put,
9127 EndPoints::DeleteUserCodespacesSecretssecretNameRepositoriesrepositoryId(..) => Methods::Delete,
9128 EndPoints::GetUserCodespacescodespaceName(..) => Methods::Get,
9129 EndPoints::PatchUserCodespacescodespaceName(..) => Methods::Patch,
9130 EndPoints::DeleteUserCodespacescodespaceName(..) => Methods::Delete,
9131 EndPoints::PostUserCodespacescodespaceNameExports(..) => Methods::Post,
9132 EndPoints::GetUserCodespacescodespaceNameExportsexportId(..) => Methods::Get,
9133 EndPoints::GetUserCodespacescodespaceNameMachines(..) => Methods::Get,
9134 EndPoints::PostUserCodespacescodespaceNameStart(..) => Methods::Post,
9135 EndPoints::PostUserCodespacescodespaceNameStop(..) => Methods::Post,
9136 EndPoints::PatchUserEmailVisibility(..) => Methods::Patch,
9137 EndPoints::GetUserEmails(..) => Methods::Get,
9138 EndPoints::PostUserEmails(..) => Methods::Post,
9139 EndPoints::DeleteUserEmails(..) => Methods::Delete,
9140 EndPoints::GetUserFollowers(..) => Methods::Get,
9141 EndPoints::GetUserFollowing(..) => Methods::Get,
9142 EndPoints::GetUserFollowingusername(..) => Methods::Get,
9143 EndPoints::PutUserFollowingusername(..) => Methods::Put,
9144 EndPoints::DeleteUserFollowingusername(..) => Methods::Delete,
9145 EndPoints::GetUserGpgKeys(..) => Methods::Get,
9146 EndPoints::PostUserGpgKeys(..) => Methods::Post,
9147 EndPoints::GetUserGpgKeysgpgKeyId(..) => Methods::Get,
9148 EndPoints::DeleteUserGpgKeysgpgKeyId(..) => Methods::Delete,
9149 EndPoints::GetUserInstallations(..) => Methods::Get,
9150 EndPoints::GetUserInstallationsinstallationIdRepositories(..) => Methods::Get,
9151 EndPoints::PutUserInstallationsinstallationIdRepositoriesrepositoryId(..) => Methods::Put,
9152 EndPoints::DeleteUserInstallationsinstallationIdRepositoriesrepositoryId(..) => Methods::Delete,
9153 EndPoints::GetUserInteractionLimits(..) => Methods::Get,
9154 EndPoints::PutUserInteractionLimits(..) => Methods::Put,
9155 EndPoints::DeleteUserInteractionLimits(..) => Methods::Delete,
9156 EndPoints::GetUserIssues(..) => Methods::Get,
9157 EndPoints::GetUserKeys(..) => Methods::Get,
9158 EndPoints::PostUserKeys(..) => Methods::Post,
9159 EndPoints::GetUserKeyskeyId(..) => Methods::Get,
9160 EndPoints::DeleteUserKeyskeyId(..) => Methods::Delete,
9161 EndPoints::GetUserMarketplacePurchases(..) => Methods::Get,
9162 EndPoints::GetUserMarketplacePurchasesStubbed(..) => Methods::Get,
9163 EndPoints::GetUserMembershipsOrgs(..) => Methods::Get,
9164 EndPoints::GetUserMembershipsOrgsorg(..) => Methods::Get,
9165 EndPoints::PatchUserMembershipsOrgsorg(..) => Methods::Patch,
9166 EndPoints::GetUserMigrations(..) => Methods::Get,
9167 EndPoints::PostUserMigrations(..) => Methods::Post,
9168 EndPoints::GetUserMigrationsmigrationId(..) => Methods::Get,
9169 EndPoints::GetUserMigrationsmigrationIdArchive(..) => Methods::Get,
9170 EndPoints::DeleteUserMigrationsmigrationIdArchive(..) => Methods::Delete,
9171 EndPoints::DeleteUserMigrationsmigrationIdReposrepoNameLock(..) => Methods::Delete,
9172 EndPoints::GetUserMigrationsmigrationIdRepositories(..) => Methods::Get,
9173 EndPoints::GetUserOrgs(..) => Methods::Get,
9174 EndPoints::GetUserPackages(..) => Methods::Get,
9175 EndPoints::GetUserPackagespackageTypepackageName(..) => Methods::Get,
9176 EndPoints::DeleteUserPackagespackageTypepackageName(..) => Methods::Delete,
9177 EndPoints::PostUserPackagespackageTypepackageNameRestore(..) => Methods::Post,
9178 EndPoints::GetUserPackagespackageTypepackageNameVersions(..) => Methods::Get,
9179 EndPoints::GetUserPackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Get,
9180 EndPoints::DeleteUserPackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Delete,
9181 EndPoints::PostUserPackagespackageTypepackageNameVersionspackageVersionIdRestore(..) => Methods::Post,
9182 EndPoints::PostUserProjects(..) => Methods::Post,
9183 EndPoints::GetUserPublicEmails(..) => Methods::Get,
9184 EndPoints::GetUserRepos(..) => Methods::Get,
9185 EndPoints::PostUserRepos(..) => Methods::Post,
9186 EndPoints::GetUserRepositoryInvitations(..) => Methods::Get,
9187 EndPoints::PatchUserRepositoryInvitationsinvitationId(..) => Methods::Patch,
9188 EndPoints::DeleteUserRepositoryInvitationsinvitationId(..) => Methods::Delete,
9189 EndPoints::GetUserStarred(..) => Methods::Get,
9190 EndPoints::GetUserStarredownerrepo(..) => Methods::Get,
9191 EndPoints::PutUserStarredownerrepo(..) => Methods::Put,
9192 EndPoints::DeleteUserStarredownerrepo(..) => Methods::Delete,
9193 EndPoints::GetUserSubscriptions(..) => Methods::Get,
9194 EndPoints::GetUserTeams(..) => Methods::Get,
9195 EndPoints::GetUsers(..) => Methods::Get,
9196 EndPoints::GetUsersusername(..) => Methods::Get,
9197 EndPoints::GetUsersusernameEvents(..) => Methods::Get,
9198 EndPoints::GetUsersusernameEventsOrgsorg(..) => Methods::Get,
9199 EndPoints::GetUsersusernameEventsPublic(..) => Methods::Get,
9200 EndPoints::GetUsersusernameFollowers(..) => Methods::Get,
9201 EndPoints::GetUsersusernameFollowing(..) => Methods::Get,
9202 EndPoints::GetUsersusernameFollowingtargetUser(..) => Methods::Get,
9203 EndPoints::GetUsersusernameGists(..) => Methods::Get,
9204 EndPoints::GetUsersusernameGpgKeys(..) => Methods::Get,
9205 EndPoints::GetUsersusernameHovercard(..) => Methods::Get,
9206 EndPoints::GetUsersusernameInstallation(..) => Methods::Get,
9207 EndPoints::GetUsersusernameKeys(..) => Methods::Get,
9208 EndPoints::GetUsersusernameOrgs(..) => Methods::Get,
9209 EndPoints::GetUsersusernamePackages(..) => Methods::Get,
9210 EndPoints::GetUsersusernamePackagespackageTypepackageName(..) => Methods::Get,
9211 EndPoints::DeleteUsersusernamePackagespackageTypepackageName(..) => Methods::Delete,
9212 EndPoints::PostUsersusernamePackagespackageTypepackageNameRestore(..) => Methods::Post,
9213 EndPoints::GetUsersusernamePackagespackageTypepackageNameVersions(..) => Methods::Get,
9214 EndPoints::GetUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Get,
9215 EndPoints::DeleteUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(..) => Methods::Delete,
9216 EndPoints::PostUsersusernamePackagespackageTypepackageNameVersionspackageVersionIdRestore(..) => Methods::Post,
9217 EndPoints::GetUsersusernameProjects(..) => Methods::Get,
9218 EndPoints::GetUsersusernameReceivedEvents(..) => Methods::Get,
9219 EndPoints::GetUsersusernameReceivedEventsPublic(..) => Methods::Get,
9220 EndPoints::GetUsersusernameRepos(..) => Methods::Get,
9221 EndPoints::GetUsersusernameSettingsBillingActions(..) => Methods::Get,
9222 EndPoints::GetUsersusernameSettingsBillingPackages(..) => Methods::Get,
9223 EndPoints::GetUsersusernameSettingsBillingSharedStorage(..) => Methods::Get,
9224 EndPoints::GetUsersusernameStarred(..) => Methods::Get,
9225 EndPoints::GetUsersusernameSubscriptions(..) => Methods::Get,
9226 EndPoints::GetZen(..) => Methods::Get}
9227 }
9228 pub fn path(&self) -> String {
9229 match self { EndPoints::Get() => "/".to_string(),
9230 EndPoints::GetApp() => "/app".to_string(),
9231 EndPoints::PostAppManifestscodeConversions(code) => format!("/app-manifests/{code}/conversions", code = code),
9232 EndPoints::GetAppHookConfig() => "/app/hook/config".to_string(),
9233 EndPoints::PatchAppHookConfig() => "/app/hook/config".to_string(),
9234 EndPoints::GetAppHookDeliveries() => "/app/hook/deliveries".to_string(),
9235 EndPoints::GetAppHookDeliveriesdeliveryId(delivery_id) => format!("/app/hook/deliveries/{delivery_id}", delivery_id = delivery_id),
9236 EndPoints::PostAppHookDeliveriesdeliveryIdAttempts(delivery_id) => format!("/app/hook/deliveries/{delivery_id}/attempts", delivery_id = delivery_id),
9237 EndPoints::GetAppInstallations() => "/app/installations".to_string(),
9238 EndPoints::GetAppInstallationsinstallationId(installation_id) => format!("/app/installations/{installation_id}", installation_id = installation_id),
9239 EndPoints::DeleteAppInstallationsinstallationId(installation_id) => format!("/app/installations/{installation_id}", installation_id = installation_id),
9240 EndPoints::PostAppInstallationsinstallationIdAccessTokens(installation_id) => format!("/app/installations/{installation_id}/access_tokens", installation_id = installation_id),
9241 EndPoints::PutAppInstallationsinstallationIdSuspended(installation_id) => format!("/app/installations/{installation_id}/suspended", installation_id = installation_id),
9242 EndPoints::DeleteAppInstallationsinstallationIdSuspended(installation_id) => format!("/app/installations/{installation_id}/suspended", installation_id = installation_id),
9243 EndPoints::GetApplicationsGrants() => "/applications/grants".to_string(),
9244 EndPoints::GetApplicationsGrantsgrantId(grant_id) => format!("/applications/grants/{grant_id}", grant_id = grant_id),
9245 EndPoints::DeleteApplicationsGrantsgrantId(grant_id) => format!("/applications/grants/{grant_id}", grant_id = grant_id),
9246 EndPoints::DeleteApplicationsclientIdGrant(client_id) => format!("/applications/{client_id}/grant", client_id = client_id),
9247 EndPoints::PostApplicationsclientIdToken(client_id) => format!("/applications/{client_id}/token", client_id = client_id),
9248 EndPoints::PatchApplicationsclientIdToken(client_id) => format!("/applications/{client_id}/token", client_id = client_id),
9249 EndPoints::DeleteApplicationsclientIdToken(client_id) => format!("/applications/{client_id}/token", client_id = client_id),
9250 EndPoints::PostApplicationsclientIdTokenScoped(client_id) => format!("/applications/{client_id}/token/scoped", client_id = client_id),
9251 EndPoints::GetAppsappSlug(app_slug) => format!("/apps/{app_slug}", app_slug = app_slug),
9252 EndPoints::GetAuthorizations() => "/authorizations".to_string(),
9253 EndPoints::PostAuthorizations() => "/authorizations".to_string(),
9254 EndPoints::PutAuthorizationsClientsclientId(client_id) => format!("/authorizations/clients/{client_id}", client_id = client_id),
9255 EndPoints::PutAuthorizationsClientsclientIdfingerprint(client_id,fingerprint) => format!("/authorizations/clients/{client_id}/{fingerprint}", client_id = client_id,fingerprint = fingerprint),
9256 EndPoints::GetAuthorizationsauthorizationId(authorization_id) => format!("/authorizations/{authorization_id}", authorization_id = authorization_id),
9257 EndPoints::PatchAuthorizationsauthorizationId(authorization_id) => format!("/authorizations/{authorization_id}", authorization_id = authorization_id),
9258 EndPoints::DeleteAuthorizationsauthorizationId(authorization_id) => format!("/authorizations/{authorization_id}", authorization_id = authorization_id),
9259 EndPoints::GetCodesOfConduct() => "/codes_of_conduct".to_string(),
9260 EndPoints::GetCodesOfConductkey(key) => format!("/codes_of_conduct/{key}", key = key),
9261 EndPoints::GetEmojis() => "/emojis".to_string(),
9262 EndPoints::GetEnterprisesenterpriseActionsPermissions(enterprise) => format!("/enterprises/{enterprise}/actions/permissions", enterprise = enterprise),
9263 EndPoints::PutEnterprisesenterpriseActionsPermissions(enterprise) => format!("/enterprises/{enterprise}/actions/permissions", enterprise = enterprise),
9264 EndPoints::GetEnterprisesenterpriseActionsPermissionsOrganizations(enterprise) => format!("/enterprises/{enterprise}/actions/permissions/organizations", enterprise = enterprise),
9265 EndPoints::PutEnterprisesenterpriseActionsPermissionsOrganizations(enterprise) => format!("/enterprises/{enterprise}/actions/permissions/organizations", enterprise = enterprise),
9266 EndPoints::PutEnterprisesenterpriseActionsPermissionsOrganizationsorgId(enterprise,org_id) => format!("/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", enterprise = enterprise,org_id = org_id),
9267 EndPoints::DeleteEnterprisesenterpriseActionsPermissionsOrganizationsorgId(enterprise,org_id) => format!("/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", enterprise = enterprise,org_id = org_id),
9268 EndPoints::GetEnterprisesenterpriseActionsPermissionsSelectedActions(enterprise) => format!("/enterprises/{enterprise}/actions/permissions/selected-actions", enterprise = enterprise),
9269 EndPoints::PutEnterprisesenterpriseActionsPermissionsSelectedActions(enterprise) => format!("/enterprises/{enterprise}/actions/permissions/selected-actions", enterprise = enterprise),
9270 EndPoints::GetEnterprisesenterpriseActionsRunnerGroups(enterprise) => format!("/enterprises/{enterprise}/actions/runner-groups", enterprise = enterprise),
9271 EndPoints::PostEnterprisesenterpriseActionsRunnerGroups(enterprise) => format!("/enterprises/{enterprise}/actions/runner-groups", enterprise = enterprise),
9272 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", enterprise = enterprise,runner_group_id = runner_group_id),
9273 EndPoints::PatchEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", enterprise = enterprise,runner_group_id = runner_group_id),
9274 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupId(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", enterprise = enterprise,runner_group_id = runner_group_id),
9275 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", enterprise = enterprise,runner_group_id = runner_group_id),
9276 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizations(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", enterprise = enterprise,runner_group_id = runner_group_id),
9277 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(enterprise,runner_group_id,org_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", enterprise = enterprise,runner_group_id = runner_group_id,org_id = org_id),
9278 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdOrganizationsorgId(enterprise,runner_group_id,org_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", enterprise = enterprise,runner_group_id = runner_group_id,org_id = org_id),
9279 EndPoints::GetEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", enterprise = enterprise,runner_group_id = runner_group_id),
9280 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunners(enterprise,runner_group_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", enterprise = enterprise,runner_group_id = runner_group_id),
9281 EndPoints::PutEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(enterprise,runner_group_id,runner_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", enterprise = enterprise,runner_group_id = runner_group_id,runner_id = runner_id),
9282 EndPoints::DeleteEnterprisesenterpriseActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(enterprise,runner_group_id,runner_id) => format!("/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", enterprise = enterprise,runner_group_id = runner_group_id,runner_id = runner_id),
9283 EndPoints::GetEnterprisesenterpriseActionsRunners(enterprise) => format!("/enterprises/{enterprise}/actions/runners", enterprise = enterprise),
9284 EndPoints::GetEnterprisesenterpriseActionsRunnersDownloads(enterprise) => format!("/enterprises/{enterprise}/actions/runners/downloads", enterprise = enterprise),
9285 EndPoints::PostEnterprisesenterpriseActionsRunnersRegistrationToken(enterprise) => format!("/enterprises/{enterprise}/actions/runners/registration-token", enterprise = enterprise),
9286 EndPoints::PostEnterprisesenterpriseActionsRunnersRemoveToken(enterprise) => format!("/enterprises/{enterprise}/actions/runners/remove-token", enterprise = enterprise),
9287 EndPoints::GetEnterprisesenterpriseActionsRunnersrunnerId(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}", enterprise = enterprise,runner_id = runner_id),
9288 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerId(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}", enterprise = enterprise,runner_id = runner_id),
9289 EndPoints::GetEnterprisesenterpriseActionsRunnersrunnerIdLabels(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}/labels", enterprise = enterprise,runner_id = runner_id),
9290 EndPoints::PostEnterprisesenterpriseActionsRunnersrunnerIdLabels(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}/labels", enterprise = enterprise,runner_id = runner_id),
9291 EndPoints::PutEnterprisesenterpriseActionsRunnersrunnerIdLabels(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}/labels", enterprise = enterprise,runner_id = runner_id),
9292 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabels(enterprise,runner_id) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}/labels", enterprise = enterprise,runner_id = runner_id),
9293 EndPoints::DeleteEnterprisesenterpriseActionsRunnersrunnerIdLabelsname(enterprise,runner_id,name) => format!("/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}", enterprise = enterprise,runner_id = runner_id,name = name),
9294 EndPoints::GetEnterprisesenterpriseAuditLog(enterprise) => format!("/enterprises/{enterprise}/audit-log", enterprise = enterprise),
9295 EndPoints::GetEnterprisesenterpriseSecretScanningAlerts(enterprise) => format!("/enterprises/{enterprise}/secret-scanning/alerts", enterprise = enterprise),
9296 EndPoints::GetEnterprisesenterpriseSettingsBillingActions(enterprise) => format!("/enterprises/{enterprise}/settings/billing/actions", enterprise = enterprise),
9297 EndPoints::GetEnterprisesenterpriseSettingsBillingAdvancedSecurity(enterprise) => format!("/enterprises/{enterprise}/settings/billing/advanced-security", enterprise = enterprise),
9298 EndPoints::GetEnterprisesenterpriseSettingsBillingPackages(enterprise) => format!("/enterprises/{enterprise}/settings/billing/packages", enterprise = enterprise),
9299 EndPoints::GetEnterprisesenterpriseSettingsBillingSharedStorage(enterprise) => format!("/enterprises/{enterprise}/settings/billing/shared-storage", enterprise = enterprise),
9300 EndPoints::GetEvents() => "/events".to_string(),
9301 EndPoints::GetFeeds() => "/feeds".to_string(),
9302 EndPoints::GetGists() => "/gists".to_string(),
9303 EndPoints::PostGists() => "/gists".to_string(),
9304 EndPoints::GetGistsPublic() => "/gists/public".to_string(),
9305 EndPoints::GetGistsStarred() => "/gists/starred".to_string(),
9306 EndPoints::GetGistsgistId(gist_id) => format!("/gists/{gist_id}", gist_id = gist_id),
9307 EndPoints::PatchGistsgistId(gist_id) => format!("/gists/{gist_id}", gist_id = gist_id),
9308 EndPoints::DeleteGistsgistId(gist_id) => format!("/gists/{gist_id}", gist_id = gist_id),
9309 EndPoints::GetGistsgistIdComments(gist_id) => format!("/gists/{gist_id}/comments", gist_id = gist_id),
9310 EndPoints::PostGistsgistIdComments(gist_id) => format!("/gists/{gist_id}/comments", gist_id = gist_id),
9311 EndPoints::GetGistsgistIdCommentscommentId(gist_id,comment_id) => format!("/gists/{gist_id}/comments/{comment_id}", gist_id = gist_id,comment_id = comment_id),
9312 EndPoints::PatchGistsgistIdCommentscommentId(gist_id,comment_id) => format!("/gists/{gist_id}/comments/{comment_id}", gist_id = gist_id,comment_id = comment_id),
9313 EndPoints::DeleteGistsgistIdCommentscommentId(gist_id,comment_id) => format!("/gists/{gist_id}/comments/{comment_id}", gist_id = gist_id,comment_id = comment_id),
9314 EndPoints::GetGistsgistIdCommits(gist_id) => format!("/gists/{gist_id}/commits", gist_id = gist_id),
9315 EndPoints::GetGistsgistIdForks(gist_id) => format!("/gists/{gist_id}/forks", gist_id = gist_id),
9316 EndPoints::PostGistsgistIdForks(gist_id) => format!("/gists/{gist_id}/forks", gist_id = gist_id),
9317 EndPoints::GetGistsgistIdStar(gist_id) => format!("/gists/{gist_id}/star", gist_id = gist_id),
9318 EndPoints::PutGistsgistIdStar(gist_id) => format!("/gists/{gist_id}/star", gist_id = gist_id),
9319 EndPoints::DeleteGistsgistIdStar(gist_id) => format!("/gists/{gist_id}/star", gist_id = gist_id),
9320 EndPoints::GetGistsgistIdsha(gist_id,sha) => format!("/gists/{gist_id}/{sha}", gist_id = gist_id,sha = sha),
9321 EndPoints::GetGitignoreTemplates() => "/gitignore/templates".to_string(),
9322 EndPoints::GetGitignoreTemplatesname(name) => format!("/gitignore/templates/{name}", name = name),
9323 EndPoints::GetInstallationRepositories() => "/installation/repositories".to_string(),
9324 EndPoints::DeleteInstallationToken() => "/installation/token".to_string(),
9325 EndPoints::GetIssues() => "/issues".to_string(),
9326 EndPoints::GetLicenses() => "/licenses".to_string(),
9327 EndPoints::GetLicenseslicense(license) => format!("/licenses/{license}", license = license),
9328 EndPoints::PostMarkdown() => "/markdown".to_string(),
9329 EndPoints::PostMarkdownRaw() => "/markdown/raw".to_string(),
9330 EndPoints::GetMarketplaceListingAccountsaccountId(account_id) => format!("/marketplace_listing/accounts/{account_id}", account_id = account_id),
9331 EndPoints::GetMarketplaceListingPlans() => "/marketplace_listing/plans".to_string(),
9332 EndPoints::GetMarketplaceListingPlansplanIdAccounts(plan_id) => format!("/marketplace_listing/plans/{plan_id}/accounts", plan_id = plan_id),
9333 EndPoints::GetMarketplaceListingStubbedAccountsaccountId(account_id) => format!("/marketplace_listing/stubbed/accounts/{account_id}", account_id = account_id),
9334 EndPoints::GetMarketplaceListingStubbedPlans() => "/marketplace_listing/stubbed/plans".to_string(),
9335 EndPoints::GetMarketplaceListingStubbedPlansplanIdAccounts(plan_id) => format!("/marketplace_listing/stubbed/plans/{plan_id}/accounts", plan_id = plan_id),
9336 EndPoints::GetMeta() => "/meta".to_string(),
9337 EndPoints::GetNetworksownerrepoEvents(owner,repo) => format!("/networks/{owner}/{repo}/events", owner = owner,repo = repo),
9338 EndPoints::GetNotifications() => "/notifications".to_string(),
9339 EndPoints::PutNotifications() => "/notifications".to_string(),
9340 EndPoints::GetNotificationsThreadsthreadId(thread_id) => format!("/notifications/threads/{thread_id}", thread_id = thread_id),
9341 EndPoints::PatchNotificationsThreadsthreadId(thread_id) => format!("/notifications/threads/{thread_id}", thread_id = thread_id),
9342 EndPoints::GetNotificationsThreadsthreadIdSubscription(thread_id) => format!("/notifications/threads/{thread_id}/subscription", thread_id = thread_id),
9343 EndPoints::PutNotificationsThreadsthreadIdSubscription(thread_id) => format!("/notifications/threads/{thread_id}/subscription", thread_id = thread_id),
9344 EndPoints::DeleteNotificationsThreadsthreadIdSubscription(thread_id) => format!("/notifications/threads/{thread_id}/subscription", thread_id = thread_id),
9345 EndPoints::GetOctocat() => "/octocat".to_string(),
9346 EndPoints::GetOrganizations() => "/organizations".to_string(),
9347 EndPoints::GetOrganizationsorganizationIdCustomRoles(organization_id) => format!("/organizations/{organization_id}/custom_roles", organization_id = organization_id),
9348 EndPoints::GetOrganizationsorgTeamteamSlugExternalGroups(org,team_slug) => format!("/organizations/{org}/team/{team_slug}/external-groups", org = org,team_slug = team_slug),
9349 EndPoints::GetOrgsorg(org) => format!("/orgs/{org}", org = org),
9350 EndPoints::PatchOrgsorg(org) => format!("/orgs/{org}", org = org),
9351 EndPoints::GetOrgsorgActionsPermissions(org) => format!("/orgs/{org}/actions/permissions", org = org),
9352 EndPoints::PutOrgsorgActionsPermissions(org) => format!("/orgs/{org}/actions/permissions", org = org),
9353 EndPoints::GetOrgsorgActionsPermissionsRepositories(org) => format!("/orgs/{org}/actions/permissions/repositories", org = org),
9354 EndPoints::PutOrgsorgActionsPermissionsRepositories(org) => format!("/orgs/{org}/actions/permissions/repositories", org = org),
9355 EndPoints::PutOrgsorgActionsPermissionsRepositoriesrepositoryId(org,repository_id) => format!("/orgs/{org}/actions/permissions/repositories/{repository_id}", org = org,repository_id = repository_id),
9356 EndPoints::DeleteOrgsorgActionsPermissionsRepositoriesrepositoryId(org,repository_id) => format!("/orgs/{org}/actions/permissions/repositories/{repository_id}", org = org,repository_id = repository_id),
9357 EndPoints::GetOrgsorgActionsPermissionsSelectedActions(org) => format!("/orgs/{org}/actions/permissions/selected-actions", org = org),
9358 EndPoints::PutOrgsorgActionsPermissionsSelectedActions(org) => format!("/orgs/{org}/actions/permissions/selected-actions", org = org),
9359 EndPoints::GetOrgsorgActionsPermissionsWorkflow(org) => format!("/orgs/{org}/actions/permissions/workflow", org = org),
9360 EndPoints::PutOrgsorgActionsPermissionsWorkflow(org) => format!("/orgs/{org}/actions/permissions/workflow", org = org),
9361 EndPoints::GetOrgsorgActionsRunnerGroups(org) => format!("/orgs/{org}/actions/runner-groups", org = org),
9362 EndPoints::PostOrgsorgActionsRunnerGroups(org) => format!("/orgs/{org}/actions/runner-groups", org = org),
9363 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupId(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}", org = org,runner_group_id = runner_group_id),
9364 EndPoints::PatchOrgsorgActionsRunnerGroupsrunnerGroupId(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}", org = org,runner_group_id = runner_group_id),
9365 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupId(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}", org = org,runner_group_id = runner_group_id),
9366 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", org = org,runner_group_id = runner_group_id),
9367 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositories(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", org = org,runner_group_id = runner_group_id),
9368 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(org,runner_group_id,repository_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", org = org,runner_group_id = runner_group_id,repository_id = repository_id),
9369 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRepositoriesrepositoryId(org,runner_group_id,repository_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", org = org,runner_group_id = runner_group_id,repository_id = repository_id),
9370 EndPoints::GetOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", org = org,runner_group_id = runner_group_id),
9371 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunners(org,runner_group_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", org = org,runner_group_id = runner_group_id),
9372 EndPoints::PutOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(org,runner_group_id,runner_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", org = org,runner_group_id = runner_group_id,runner_id = runner_id),
9373 EndPoints::DeleteOrgsorgActionsRunnerGroupsrunnerGroupIdRunnersrunnerId(org,runner_group_id,runner_id) => format!("/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", org = org,runner_group_id = runner_group_id,runner_id = runner_id),
9374 EndPoints::GetOrgsorgActionsRunners(org) => format!("/orgs/{org}/actions/runners", org = org),
9375 EndPoints::GetOrgsorgActionsRunnersDownloads(org) => format!("/orgs/{org}/actions/runners/downloads", org = org),
9376 EndPoints::PostOrgsorgActionsRunnersRegistrationToken(org) => format!("/orgs/{org}/actions/runners/registration-token", org = org),
9377 EndPoints::PostOrgsorgActionsRunnersRemoveToken(org) => format!("/orgs/{org}/actions/runners/remove-token", org = org),
9378 EndPoints::GetOrgsorgActionsRunnersrunnerId(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}", org = org,runner_id = runner_id),
9379 EndPoints::DeleteOrgsorgActionsRunnersrunnerId(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}", org = org,runner_id = runner_id),
9380 EndPoints::GetOrgsorgActionsRunnersrunnerIdLabels(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}/labels", org = org,runner_id = runner_id),
9381 EndPoints::PostOrgsorgActionsRunnersrunnerIdLabels(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}/labels", org = org,runner_id = runner_id),
9382 EndPoints::PutOrgsorgActionsRunnersrunnerIdLabels(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}/labels", org = org,runner_id = runner_id),
9383 EndPoints::DeleteOrgsorgActionsRunnersrunnerIdLabels(org,runner_id) => format!("/orgs/{org}/actions/runners/{runner_id}/labels", org = org,runner_id = runner_id),
9384 EndPoints::DeleteOrgsorgActionsRunnersrunnerIdLabelsname(org,runner_id,name) => format!("/orgs/{org}/actions/runners/{runner_id}/labels/{name}", org = org,runner_id = runner_id,name = name),
9385 EndPoints::GetOrgsorgActionsSecrets(org) => format!("/orgs/{org}/actions/secrets", org = org),
9386 EndPoints::GetOrgsorgActionsSecretsPublicKey(org) => format!("/orgs/{org}/actions/secrets/public-key", org = org),
9387 EndPoints::GetOrgsorgActionsSecretssecretName(org,secret_name) => format!("/orgs/{org}/actions/secrets/{secret_name}", org = org,secret_name = secret_name),
9388 EndPoints::PutOrgsorgActionsSecretssecretName(org,secret_name) => format!("/orgs/{org}/actions/secrets/{secret_name}", org = org,secret_name = secret_name),
9389 EndPoints::DeleteOrgsorgActionsSecretssecretName(org,secret_name) => format!("/orgs/{org}/actions/secrets/{secret_name}", org = org,secret_name = secret_name),
9390 EndPoints::GetOrgsorgActionsSecretssecretNameRepositories(org,secret_name) => format!("/orgs/{org}/actions/secrets/{secret_name}/repositories", org = org,secret_name = secret_name),
9391 EndPoints::PutOrgsorgActionsSecretssecretNameRepositories(org,secret_name) => format!("/orgs/{org}/actions/secrets/{secret_name}/repositories", org = org,secret_name = secret_name),
9392 EndPoints::PutOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(org,secret_name,repository_id) => format!("/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", org = org,secret_name = secret_name,repository_id = repository_id),
9393 EndPoints::DeleteOrgsorgActionsSecretssecretNameRepositoriesrepositoryId(org,secret_name,repository_id) => format!("/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", org = org,secret_name = secret_name,repository_id = repository_id),
9394 EndPoints::GetOrgsorgAuditLog(org) => format!("/orgs/{org}/audit-log", org = org),
9395 EndPoints::GetOrgsorgBlocks(org) => format!("/orgs/{org}/blocks", org = org),
9396 EndPoints::GetOrgsorgBlocksusername(org,username) => format!("/orgs/{org}/blocks/{username}", org = org,username = username),
9397 EndPoints::PutOrgsorgBlocksusername(org,username) => format!("/orgs/{org}/blocks/{username}", org = org,username = username),
9398 EndPoints::DeleteOrgsorgBlocksusername(org,username) => format!("/orgs/{org}/blocks/{username}", org = org,username = username),
9399 EndPoints::GetOrgsorgCodeScanningAlerts(org) => format!("/orgs/{org}/code-scanning/alerts", org = org),
9400 EndPoints::GetOrgsorgCredentialAuthorizations(org) => format!("/orgs/{org}/credential-authorizations", org = org),
9401 EndPoints::DeleteOrgsorgCredentialAuthorizationscredentialId(org,credential_id) => format!("/orgs/{org}/credential-authorizations/{credential_id}", org = org,credential_id = credential_id),
9402 EndPoints::GetOrgsorgDependabotSecrets(org) => format!("/orgs/{org}/dependabot/secrets", org = org),
9403 EndPoints::GetOrgsorgDependabotSecretsPublicKey(org) => format!("/orgs/{org}/dependabot/secrets/public-key", org = org),
9404 EndPoints::GetOrgsorgDependabotSecretssecretName(org,secret_name) => format!("/orgs/{org}/dependabot/secrets/{secret_name}", org = org,secret_name = secret_name),
9405 EndPoints::PutOrgsorgDependabotSecretssecretName(org,secret_name) => format!("/orgs/{org}/dependabot/secrets/{secret_name}", org = org,secret_name = secret_name),
9406 EndPoints::DeleteOrgsorgDependabotSecretssecretName(org,secret_name) => format!("/orgs/{org}/dependabot/secrets/{secret_name}", org = org,secret_name = secret_name),
9407 EndPoints::GetOrgsorgDependabotSecretssecretNameRepositories(org,secret_name) => format!("/orgs/{org}/dependabot/secrets/{secret_name}/repositories", org = org,secret_name = secret_name),
9408 EndPoints::PutOrgsorgDependabotSecretssecretNameRepositories(org,secret_name) => format!("/orgs/{org}/dependabot/secrets/{secret_name}/repositories", org = org,secret_name = secret_name),
9409 EndPoints::PutOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(org,secret_name,repository_id) => format!("/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}", org = org,secret_name = secret_name,repository_id = repository_id),
9410 EndPoints::DeleteOrgsorgDependabotSecretssecretNameRepositoriesrepositoryId(org,secret_name,repository_id) => format!("/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}", org = org,secret_name = secret_name,repository_id = repository_id),
9411 EndPoints::GetOrgsorgEvents(org) => format!("/orgs/{org}/events", org = org),
9412 EndPoints::GetOrgsorgExternalGroupgroupId(org,group_id) => format!("/orgs/{org}/external-group/{group_id}", org = org,group_id = group_id),
9413 EndPoints::GetOrgsorgExternalGroups(org) => format!("/orgs/{org}/external-groups", org = org),
9414 EndPoints::GetOrgsorgFailedInvitations(org) => format!("/orgs/{org}/failed_invitations", org = org),
9415 EndPoints::GetOrgsorgHooks(org) => format!("/orgs/{org}/hooks", org = org),
9416 EndPoints::PostOrgsorgHooks(org) => format!("/orgs/{org}/hooks", org = org),
9417 EndPoints::GetOrgsorgHookshookId(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}", org = org,hook_id = hook_id),
9418 EndPoints::PatchOrgsorgHookshookId(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}", org = org,hook_id = hook_id),
9419 EndPoints::DeleteOrgsorgHookshookId(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}", org = org,hook_id = hook_id),
9420 EndPoints::GetOrgsorgHookshookIdConfig(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}/config", org = org,hook_id = hook_id),
9421 EndPoints::PatchOrgsorgHookshookIdConfig(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}/config", org = org,hook_id = hook_id),
9422 EndPoints::GetOrgsorgHookshookIdDeliveries(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}/deliveries", org = org,hook_id = hook_id),
9423 EndPoints::GetOrgsorgHookshookIdDeliveriesdeliveryId(org,hook_id,delivery_id) => format!("/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", org = org,hook_id = hook_id,delivery_id = delivery_id),
9424 EndPoints::PostOrgsorgHookshookIdDeliveriesdeliveryIdAttempts(org,hook_id,delivery_id) => format!("/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", org = org,hook_id = hook_id,delivery_id = delivery_id),
9425 EndPoints::PostOrgsorgHookshookIdPings(org,hook_id) => format!("/orgs/{org}/hooks/{hook_id}/pings", org = org,hook_id = hook_id),
9426 EndPoints::GetOrgsorgInstallation(org) => format!("/orgs/{org}/installation", org = org),
9427 EndPoints::GetOrgsorgInstallations(org) => format!("/orgs/{org}/installations", org = org),
9428 EndPoints::GetOrgsorgInteractionLimits(org) => format!("/orgs/{org}/interaction-limits", org = org),
9429 EndPoints::PutOrgsorgInteractionLimits(org) => format!("/orgs/{org}/interaction-limits", org = org),
9430 EndPoints::DeleteOrgsorgInteractionLimits(org) => format!("/orgs/{org}/interaction-limits", org = org),
9431 EndPoints::GetOrgsorgInvitations(org) => format!("/orgs/{org}/invitations", org = org),
9432 EndPoints::PostOrgsorgInvitations(org) => format!("/orgs/{org}/invitations", org = org),
9433 EndPoints::DeleteOrgsorgInvitationsinvitationId(org,invitation_id) => format!("/orgs/{org}/invitations/{invitation_id}", org = org,invitation_id = invitation_id),
9434 EndPoints::GetOrgsorgInvitationsinvitationIdTeams(org,invitation_id) => format!("/orgs/{org}/invitations/{invitation_id}/teams", org = org,invitation_id = invitation_id),
9435 EndPoints::GetOrgsorgIssues(org) => format!("/orgs/{org}/issues", org = org),
9436 EndPoints::GetOrgsorgMembers(org) => format!("/orgs/{org}/members", org = org),
9437 EndPoints::GetOrgsorgMembersusername(org,username) => format!("/orgs/{org}/members/{username}", org = org,username = username),
9438 EndPoints::DeleteOrgsorgMembersusername(org,username) => format!("/orgs/{org}/members/{username}", org = org,username = username),
9439 EndPoints::GetOrgsorgMembershipsusername(org,username) => format!("/orgs/{org}/memberships/{username}", org = org,username = username),
9440 EndPoints::PutOrgsorgMembershipsusername(org,username) => format!("/orgs/{org}/memberships/{username}", org = org,username = username),
9441 EndPoints::DeleteOrgsorgMembershipsusername(org,username) => format!("/orgs/{org}/memberships/{username}", org = org,username = username),
9442 EndPoints::GetOrgsorgMigrations(org) => format!("/orgs/{org}/migrations", org = org),
9443 EndPoints::PostOrgsorgMigrations(org) => format!("/orgs/{org}/migrations", org = org),
9444 EndPoints::GetOrgsorgMigrationsmigrationId(org,migration_id) => format!("/orgs/{org}/migrations/{migration_id}", org = org,migration_id = migration_id),
9445 EndPoints::GetOrgsorgMigrationsmigrationIdArchive(org,migration_id) => format!("/orgs/{org}/migrations/{migration_id}/archive", org = org,migration_id = migration_id),
9446 EndPoints::DeleteOrgsorgMigrationsmigrationIdArchive(org,migration_id) => format!("/orgs/{org}/migrations/{migration_id}/archive", org = org,migration_id = migration_id),
9447 EndPoints::DeleteOrgsorgMigrationsmigrationIdReposrepoNameLock(org,migration_id,repo_name) => format!("/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", org = org,migration_id = migration_id,repo_name = repo_name),
9448 EndPoints::GetOrgsorgMigrationsmigrationIdRepositories(org,migration_id) => format!("/orgs/{org}/migrations/{migration_id}/repositories", org = org,migration_id = migration_id),
9449 EndPoints::GetOrgsorgOutsideCollaborators(org) => format!("/orgs/{org}/outside_collaborators", org = org),
9450 EndPoints::PutOrgsorgOutsideCollaboratorsusername(org,username) => format!("/orgs/{org}/outside_collaborators/{username}", org = org,username = username),
9451 EndPoints::DeleteOrgsorgOutsideCollaboratorsusername(org,username) => format!("/orgs/{org}/outside_collaborators/{username}", org = org,username = username),
9452 EndPoints::GetOrgsorgPackages(org) => format!("/orgs/{org}/packages", org = org),
9453 EndPoints::GetOrgsorgPackagespackageTypepackageName(org,package_type,package_name) => format!("/orgs/{org}/packages/{package_type}/{package_name}", org = org,package_type = package_type,package_name = package_name),
9454 EndPoints::DeleteOrgsorgPackagespackageTypepackageName(org,package_type,package_name) => format!("/orgs/{org}/packages/{package_type}/{package_name}", org = org,package_type = package_type,package_name = package_name),
9455 EndPoints::PostOrgsorgPackagespackageTypepackageNameRestore(org,package_type,package_name) => format!("/orgs/{org}/packages/{package_type}/{package_name}/restore", org = org,package_type = package_type,package_name = package_name),
9456 EndPoints::GetOrgsorgPackagespackageTypepackageNameVersions(org,package_type,package_name) => format!("/orgs/{org}/packages/{package_type}/{package_name}/versions", org = org,package_type = package_type,package_name = package_name),
9457 EndPoints::GetOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(org,package_type,package_name,package_version_id) => format!("/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", org = org,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
9458 EndPoints::DeleteOrgsorgPackagespackageTypepackageNameVersionspackageVersionId(org,package_type,package_name,package_version_id) => format!("/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", org = org,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
9459 EndPoints::PostOrgsorgPackagespackageTypepackageNameVersionspackageVersionIdRestore(org,package_type,package_name,package_version_id) => format!("/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", org = org,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
9460 EndPoints::GetOrgsorgProjects(org) => format!("/orgs/{org}/projects", org = org),
9461 EndPoints::PostOrgsorgProjects(org) => format!("/orgs/{org}/projects", org = org),
9462 EndPoints::GetOrgsorgPublicMembers(org) => format!("/orgs/{org}/public_members", org = org),
9463 EndPoints::GetOrgsorgPublicMembersusername(org,username) => format!("/orgs/{org}/public_members/{username}", org = org,username = username),
9464 EndPoints::PutOrgsorgPublicMembersusername(org,username) => format!("/orgs/{org}/public_members/{username}", org = org,username = username),
9465 EndPoints::DeleteOrgsorgPublicMembersusername(org,username) => format!("/orgs/{org}/public_members/{username}", org = org,username = username),
9466 EndPoints::GetOrgsorgRepos(org) => format!("/orgs/{org}/repos", org = org),
9467 EndPoints::PostOrgsorgRepos(org) => format!("/orgs/{org}/repos", org = org),
9468 EndPoints::GetOrgsorgSecretScanningAlerts(org) => format!("/orgs/{org}/secret-scanning/alerts", org = org),
9469 EndPoints::GetOrgsorgSettingsBillingActions(org) => format!("/orgs/{org}/settings/billing/actions", org = org),
9470 EndPoints::GetOrgsorgSettingsBillingAdvancedSecurity(org) => format!("/orgs/{org}/settings/billing/advanced-security", org = org),
9471 EndPoints::GetOrgsorgSettingsBillingPackages(org) => format!("/orgs/{org}/settings/billing/packages", org = org),
9472 EndPoints::GetOrgsorgSettingsBillingSharedStorage(org) => format!("/orgs/{org}/settings/billing/shared-storage", org = org),
9473 EndPoints::GetOrgsorgTeamSyncGroups(org) => format!("/orgs/{org}/team-sync/groups", org = org),
9474 EndPoints::GetOrgsorgTeams(org) => format!("/orgs/{org}/teams", org = org),
9475 EndPoints::PostOrgsorgTeams(org) => format!("/orgs/{org}/teams", org = org),
9476 EndPoints::GetOrgsorgTeamsteamSlug(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}", org = org,team_slug = team_slug),
9477 EndPoints::PatchOrgsorgTeamsteamSlug(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}", org = org,team_slug = team_slug),
9478 EndPoints::DeleteOrgsorgTeamsteamSlug(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}", org = org,team_slug = team_slug),
9479 EndPoints::GetOrgsorgTeamsteamSlugDiscussions(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/discussions", org = org,team_slug = team_slug),
9480 EndPoints::PostOrgsorgTeamsteamSlugDiscussions(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/discussions", org = org,team_slug = team_slug),
9481 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", org = org,team_slug = team_slug,discussion_number = discussion_number),
9482 EndPoints::PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", org = org,team_slug = team_slug,discussion_number = discussion_number),
9483 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumber(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", org = org,team_slug = team_slug,discussion_number = discussion_number),
9484 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", org = org,team_slug = team_slug,discussion_number = discussion_number),
9485 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberComments(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", org = org,team_slug = team_slug,discussion_number = discussion_number),
9486 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(org,team_slug,discussion_number,comment_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number),
9487 EndPoints::PatchOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(org,team_slug,discussion_number,comment_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number),
9488 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumber(org,team_slug,discussion_number,comment_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number),
9489 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(org,team_slug,discussion_number,comment_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number),
9490 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactions(org,team_slug,discussion_number,comment_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number),
9491 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberCommentscommentNumberReactionsreactionId(org,team_slug,discussion_number,comment_number,reaction_id) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", org = org,team_slug = team_slug,discussion_number = discussion_number,comment_number = comment_number,reaction_id = reaction_id),
9492 EndPoints::GetOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", org = org,team_slug = team_slug,discussion_number = discussion_number),
9493 EndPoints::PostOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactions(org,team_slug,discussion_number) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", org = org,team_slug = team_slug,discussion_number = discussion_number),
9494 EndPoints::DeleteOrgsorgTeamsteamSlugDiscussionsdiscussionNumberReactionsreactionId(org,team_slug,discussion_number,reaction_id) => format!("/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", org = org,team_slug = team_slug,discussion_number = discussion_number,reaction_id = reaction_id),
9495 EndPoints::PatchOrgsorgTeamsteamSlugExternalGroups(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/external-groups", org = org,team_slug = team_slug),
9496 EndPoints::DeleteOrgsorgTeamsteamSlugExternalGroups(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/external-groups", org = org,team_slug = team_slug),
9497 EndPoints::GetOrgsorgTeamsteamSlugInvitations(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/invitations", org = org,team_slug = team_slug),
9498 EndPoints::GetOrgsorgTeamsteamSlugMembers(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/members", org = org,team_slug = team_slug),
9499 EndPoints::GetOrgsorgTeamsteamSlugMembershipsusername(org,team_slug,username) => format!("/orgs/{org}/teams/{team_slug}/memberships/{username}", org = org,team_slug = team_slug,username = username),
9500 EndPoints::PutOrgsorgTeamsteamSlugMembershipsusername(org,team_slug,username) => format!("/orgs/{org}/teams/{team_slug}/memberships/{username}", org = org,team_slug = team_slug,username = username),
9501 EndPoints::DeleteOrgsorgTeamsteamSlugMembershipsusername(org,team_slug,username) => format!("/orgs/{org}/teams/{team_slug}/memberships/{username}", org = org,team_slug = team_slug,username = username),
9502 EndPoints::GetOrgsorgTeamsteamSlugProjects(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/projects", org = org,team_slug = team_slug),
9503 EndPoints::GetOrgsorgTeamsteamSlugProjectsprojectId(org,team_slug,project_id) => format!("/orgs/{org}/teams/{team_slug}/projects/{project_id}", org = org,team_slug = team_slug,project_id = project_id),
9504 EndPoints::PutOrgsorgTeamsteamSlugProjectsprojectId(org,team_slug,project_id) => format!("/orgs/{org}/teams/{team_slug}/projects/{project_id}", org = org,team_slug = team_slug,project_id = project_id),
9505 EndPoints::DeleteOrgsorgTeamsteamSlugProjectsprojectId(org,team_slug,project_id) => format!("/orgs/{org}/teams/{team_slug}/projects/{project_id}", org = org,team_slug = team_slug,project_id = project_id),
9506 EndPoints::GetOrgsorgTeamsteamSlugRepos(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/repos", org = org,team_slug = team_slug),
9507 EndPoints::GetOrgsorgTeamsteamSlugReposownerrepo(org,team_slug,owner,repo) => format!("/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", org = org,team_slug = team_slug,owner = owner,repo = repo),
9508 EndPoints::PutOrgsorgTeamsteamSlugReposownerrepo(org,team_slug,owner,repo) => format!("/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", org = org,team_slug = team_slug,owner = owner,repo = repo),
9509 EndPoints::DeleteOrgsorgTeamsteamSlugReposownerrepo(org,team_slug,owner,repo) => format!("/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", org = org,team_slug = team_slug,owner = owner,repo = repo),
9510 EndPoints::GetOrgsorgTeamsteamSlugTeamSyncGroupMappings(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", org = org,team_slug = team_slug),
9511 EndPoints::PatchOrgsorgTeamsteamSlugTeamSyncGroupMappings(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", org = org,team_slug = team_slug),
9512 EndPoints::GetOrgsorgTeamsteamSlugTeams(org,team_slug) => format!("/orgs/{org}/teams/{team_slug}/teams", org = org,team_slug = team_slug),
9513 EndPoints::GetProjectsColumnsCardscardId(card_id) => format!("/projects/columns/cards/{card_id}", card_id = card_id),
9514 EndPoints::PatchProjectsColumnsCardscardId(card_id) => format!("/projects/columns/cards/{card_id}", card_id = card_id),
9515 EndPoints::DeleteProjectsColumnsCardscardId(card_id) => format!("/projects/columns/cards/{card_id}", card_id = card_id),
9516 EndPoints::PostProjectsColumnsCardscardIdMoves(card_id) => format!("/projects/columns/cards/{card_id}/moves", card_id = card_id),
9517 EndPoints::GetProjectsColumnscolumnId(column_id) => format!("/projects/columns/{column_id}", column_id = column_id),
9518 EndPoints::PatchProjectsColumnscolumnId(column_id) => format!("/projects/columns/{column_id}", column_id = column_id),
9519 EndPoints::DeleteProjectsColumnscolumnId(column_id) => format!("/projects/columns/{column_id}", column_id = column_id),
9520 EndPoints::GetProjectsColumnscolumnIdCards(column_id) => format!("/projects/columns/{column_id}/cards", column_id = column_id),
9521 EndPoints::PostProjectsColumnscolumnIdCards(column_id) => format!("/projects/columns/{column_id}/cards", column_id = column_id),
9522 EndPoints::PostProjectsColumnscolumnIdMoves(column_id) => format!("/projects/columns/{column_id}/moves", column_id = column_id),
9523 EndPoints::GetProjectsprojectId(project_id) => format!("/projects/{project_id}", project_id = project_id),
9524 EndPoints::PatchProjectsprojectId(project_id) => format!("/projects/{project_id}", project_id = project_id),
9525 EndPoints::DeleteProjectsprojectId(project_id) => format!("/projects/{project_id}", project_id = project_id),
9526 EndPoints::GetProjectsprojectIdCollaborators(project_id) => format!("/projects/{project_id}/collaborators", project_id = project_id),
9527 EndPoints::PutProjectsprojectIdCollaboratorsusername(project_id,username) => format!("/projects/{project_id}/collaborators/{username}", project_id = project_id,username = username),
9528 EndPoints::DeleteProjectsprojectIdCollaboratorsusername(project_id,username) => format!("/projects/{project_id}/collaborators/{username}", project_id = project_id,username = username),
9529 EndPoints::GetProjectsprojectIdCollaboratorsusernamePermission(project_id,username) => format!("/projects/{project_id}/collaborators/{username}/permission", project_id = project_id,username = username),
9530 EndPoints::GetProjectsprojectIdColumns(project_id) => format!("/projects/{project_id}/columns", project_id = project_id),
9531 EndPoints::PostProjectsprojectIdColumns(project_id) => format!("/projects/{project_id}/columns", project_id = project_id),
9532 EndPoints::GetRateLimit() => "/rate_limit".to_string(),
9533 EndPoints::DeleteReactionsreactionId(reaction_id) => format!("/reactions/{reaction_id}", reaction_id = reaction_id),
9534 EndPoints::GetReposownerrepo(owner,repo) => format!("/repos/{owner}/{repo}", owner = owner,repo = repo),
9535 EndPoints::PatchReposownerrepo(owner,repo) => format!("/repos/{owner}/{repo}", owner = owner,repo = repo),
9536 EndPoints::DeleteReposownerrepo(owner,repo) => format!("/repos/{owner}/{repo}", owner = owner,repo = repo),
9537 EndPoints::GetReposownerrepoActionsArtifacts(owner,repo) => format!("/repos/{owner}/{repo}/actions/artifacts", owner = owner,repo = repo),
9538 EndPoints::GetReposownerrepoActionsArtifactsartifactId(owner,repo,artifact_id) => format!("/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", owner = owner,repo = repo,artifact_id = artifact_id),
9539 EndPoints::DeleteReposownerrepoActionsArtifactsartifactId(owner,repo,artifact_id) => format!("/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", owner = owner,repo = repo,artifact_id = artifact_id),
9540 EndPoints::GetReposownerrepoActionsArtifactsartifactIdarchiveFormat(owner,repo,artifact_id,archive_format) => format!("/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", owner = owner,repo = repo,artifact_id = artifact_id,archive_format = archive_format),
9541 EndPoints::GetReposownerrepoActionsJobsjobId(owner,repo,job_id) => format!("/repos/{owner}/{repo}/actions/jobs/{job_id}", owner = owner,repo = repo,job_id = job_id),
9542 EndPoints::GetReposownerrepoActionsJobsjobIdLogs(owner,repo,job_id) => format!("/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", owner = owner,repo = repo,job_id = job_id),
9543 EndPoints::GetReposownerrepoActionsPermissions(owner,repo) => format!("/repos/{owner}/{repo}/actions/permissions", owner = owner,repo = repo),
9544 EndPoints::PutReposownerrepoActionsPermissions(owner,repo) => format!("/repos/{owner}/{repo}/actions/permissions", owner = owner,repo = repo),
9545 EndPoints::GetReposownerrepoActionsPermissionsSelectedActions(owner,repo) => format!("/repos/{owner}/{repo}/actions/permissions/selected-actions", owner = owner,repo = repo),
9546 EndPoints::PutReposownerrepoActionsPermissionsSelectedActions(owner,repo) => format!("/repos/{owner}/{repo}/actions/permissions/selected-actions", owner = owner,repo = repo),
9547 EndPoints::GetReposownerrepoActionsRunners(owner,repo) => format!("/repos/{owner}/{repo}/actions/runners", owner = owner,repo = repo),
9548 EndPoints::GetReposownerrepoActionsRunnersDownloads(owner,repo) => format!("/repos/{owner}/{repo}/actions/runners/downloads", owner = owner,repo = repo),
9549 EndPoints::PostReposownerrepoActionsRunnersRegistrationToken(owner,repo) => format!("/repos/{owner}/{repo}/actions/runners/registration-token", owner = owner,repo = repo),
9550 EndPoints::PostReposownerrepoActionsRunnersRemoveToken(owner,repo) => format!("/repos/{owner}/{repo}/actions/runners/remove-token", owner = owner,repo = repo),
9551 EndPoints::GetReposownerrepoActionsRunnersrunnerId(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}", owner = owner,repo = repo,runner_id = runner_id),
9552 EndPoints::DeleteReposownerrepoActionsRunnersrunnerId(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}", owner = owner,repo = repo,runner_id = runner_id),
9553 EndPoints::GetReposownerrepoActionsRunnersrunnerIdLabels(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", owner = owner,repo = repo,runner_id = runner_id),
9554 EndPoints::PostReposownerrepoActionsRunnersrunnerIdLabels(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", owner = owner,repo = repo,runner_id = runner_id),
9555 EndPoints::PutReposownerrepoActionsRunnersrunnerIdLabels(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", owner = owner,repo = repo,runner_id = runner_id),
9556 EndPoints::DeleteReposownerrepoActionsRunnersrunnerIdLabels(owner,repo,runner_id) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", owner = owner,repo = repo,runner_id = runner_id),
9557 EndPoints::DeleteReposownerrepoActionsRunnersrunnerIdLabelsname(owner,repo,runner_id,name) => format!("/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}", owner = owner,repo = repo,runner_id = runner_id,name = name),
9558 EndPoints::GetReposownerrepoActionsRuns(owner,repo) => format!("/repos/{owner}/{repo}/actions/runs", owner = owner,repo = repo),
9559 EndPoints::GetReposownerrepoActionsRunsrunId(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}", owner = owner,repo = repo,run_id = run_id),
9560 EndPoints::DeleteReposownerrepoActionsRunsrunId(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}", owner = owner,repo = repo,run_id = run_id),
9561 EndPoints::GetReposownerrepoActionsRunsrunIdApprovals(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/approvals", owner = owner,repo = repo,run_id = run_id),
9562 EndPoints::PostReposownerrepoActionsRunsrunIdApprove(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/approve", owner = owner,repo = repo,run_id = run_id),
9563 EndPoints::GetReposownerrepoActionsRunsrunIdArtifacts(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", owner = owner,repo = repo,run_id = run_id),
9564 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumber(owner,repo,run_id,attempt_number) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}", owner = owner,repo = repo,run_id = run_id,attempt_number = attempt_number),
9565 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberJobs(owner,repo,run_id,attempt_number) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs", owner = owner,repo = repo,run_id = run_id,attempt_number = attempt_number),
9566 EndPoints::GetReposownerrepoActionsRunsrunIdAttemptsattemptNumberLogs(owner,repo,run_id,attempt_number) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs", owner = owner,repo = repo,run_id = run_id,attempt_number = attempt_number),
9567 EndPoints::PostReposownerrepoActionsRunsrunIdCancel(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", owner = owner,repo = repo,run_id = run_id),
9568 EndPoints::GetReposownerrepoActionsRunsrunIdJobs(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", owner = owner,repo = repo,run_id = run_id),
9569 EndPoints::GetReposownerrepoActionsRunsrunIdLogs(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/logs", owner = owner,repo = repo,run_id = run_id),
9570 EndPoints::DeleteReposownerrepoActionsRunsrunIdLogs(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/logs", owner = owner,repo = repo,run_id = run_id),
9571 EndPoints::GetReposownerrepoActionsRunsrunIdPendingDeployments(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", owner = owner,repo = repo,run_id = run_id),
9572 EndPoints::PostReposownerrepoActionsRunsrunIdPendingDeployments(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", owner = owner,repo = repo,run_id = run_id),
9573 EndPoints::PostReposownerrepoActionsRunsrunIdRerun(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", owner = owner,repo = repo,run_id = run_id),
9574 EndPoints::GetReposownerrepoActionsRunsrunIdTiming(owner,repo,run_id) => format!("/repos/{owner}/{repo}/actions/runs/{run_id}/timing", owner = owner,repo = repo,run_id = run_id),
9575 EndPoints::GetReposownerrepoActionsSecrets(owner,repo) => format!("/repos/{owner}/{repo}/actions/secrets", owner = owner,repo = repo),
9576 EndPoints::GetReposownerrepoActionsSecretsPublicKey(owner,repo) => format!("/repos/{owner}/{repo}/actions/secrets/public-key", owner = owner,repo = repo),
9577 EndPoints::GetReposownerrepoActionsSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/actions/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9578 EndPoints::PutReposownerrepoActionsSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/actions/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9579 EndPoints::DeleteReposownerrepoActionsSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/actions/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9580 EndPoints::GetReposownerrepoActionsWorkflows(owner,repo) => format!("/repos/{owner}/{repo}/actions/workflows", owner = owner,repo = repo),
9581 EndPoints::GetReposownerrepoActionsWorkflowsworkflowId(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}", owner = owner,repo = repo,workflow_id = workflow_id),
9582 EndPoints::PutReposownerrepoActionsWorkflowsworkflowIdDisable(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", owner = owner,repo = repo,workflow_id = workflow_id),
9583 EndPoints::PostReposownerrepoActionsWorkflowsworkflowIdDispatches(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", owner = owner,repo = repo,workflow_id = workflow_id),
9584 EndPoints::PutReposownerrepoActionsWorkflowsworkflowIdEnable(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", owner = owner,repo = repo,workflow_id = workflow_id),
9585 EndPoints::GetReposownerrepoActionsWorkflowsworkflowIdRuns(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", owner = owner,repo = repo,workflow_id = workflow_id),
9586 EndPoints::GetReposownerrepoActionsWorkflowsworkflowIdTiming(owner,repo,workflow_id) => format!("/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", owner = owner,repo = repo,workflow_id = workflow_id),
9587 EndPoints::GetReposownerrepoAssignees(owner,repo) => format!("/repos/{owner}/{repo}/assignees", owner = owner,repo = repo),
9588 EndPoints::GetReposownerrepoAssigneesassignee(owner,repo,assignee) => format!("/repos/{owner}/{repo}/assignees/{assignee}", owner = owner,repo = repo,assignee = assignee),
9589 EndPoints::GetReposownerrepoAutolinks(owner,repo) => format!("/repos/{owner}/{repo}/autolinks", owner = owner,repo = repo),
9590 EndPoints::PostReposownerrepoAutolinks(owner,repo) => format!("/repos/{owner}/{repo}/autolinks", owner = owner,repo = repo),
9591 EndPoints::GetReposownerrepoAutolinksautolinkId(owner,repo,autolink_id) => format!("/repos/{owner}/{repo}/autolinks/{autolink_id}", owner = owner,repo = repo,autolink_id = autolink_id),
9592 EndPoints::DeleteReposownerrepoAutolinksautolinkId(owner,repo,autolink_id) => format!("/repos/{owner}/{repo}/autolinks/{autolink_id}", owner = owner,repo = repo,autolink_id = autolink_id),
9593 EndPoints::PutReposownerrepoAutomatedSecurityFixes(owner,repo) => format!("/repos/{owner}/{repo}/automated-security-fixes", owner = owner,repo = repo),
9594 EndPoints::DeleteReposownerrepoAutomatedSecurityFixes(owner,repo) => format!("/repos/{owner}/{repo}/automated-security-fixes", owner = owner,repo = repo),
9595 EndPoints::GetReposownerrepoBranches(owner,repo) => format!("/repos/{owner}/{repo}/branches", owner = owner,repo = repo),
9596 EndPoints::GetReposownerrepoBranchesbranch(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}", owner = owner,repo = repo,branch = branch),
9597 EndPoints::GetReposownerrepoBranchesbranchProtection(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection", owner = owner,repo = repo,branch = branch),
9598 EndPoints::PutReposownerrepoBranchesbranchProtection(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection", owner = owner,repo = repo,branch = branch),
9599 EndPoints::DeleteReposownerrepoBranchesbranchProtection(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection", owner = owner,repo = repo,branch = branch),
9600 EndPoints::GetReposownerrepoBranchesbranchProtectionEnforceAdmins(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", owner = owner,repo = repo,branch = branch),
9601 EndPoints::PostReposownerrepoBranchesbranchProtectionEnforceAdmins(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", owner = owner,repo = repo,branch = branch),
9602 EndPoints::DeleteReposownerrepoBranchesbranchProtectionEnforceAdmins(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", owner = owner,repo = repo,branch = branch),
9603 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", owner = owner,repo = repo,branch = branch),
9604 EndPoints::PatchReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", owner = owner,repo = repo,branch = branch),
9605 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredPullRequestReviews(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", owner = owner,repo = repo,branch = branch),
9606 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredSignatures(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", owner = owner,repo = repo,branch = branch),
9607 EndPoints::PostReposownerrepoBranchesbranchProtectionRequiredSignatures(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", owner = owner,repo = repo,branch = branch),
9608 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredSignatures(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", owner = owner,repo = repo,branch = branch),
9609 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredStatusChecks(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", owner = owner,repo = repo,branch = branch),
9610 EndPoints::PatchReposownerrepoBranchesbranchProtectionRequiredStatusChecks(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", owner = owner,repo = repo,branch = branch),
9611 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecks(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", owner = owner,repo = repo,branch = branch),
9612 EndPoints::GetReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", owner = owner,repo = repo,branch = branch),
9613 EndPoints::PostReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", owner = owner,repo = repo,branch = branch),
9614 EndPoints::PutReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", owner = owner,repo = repo,branch = branch),
9615 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRequiredStatusChecksContexts(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", owner = owner,repo = repo,branch = branch),
9616 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictions(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", owner = owner,repo = repo,branch = branch),
9617 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictions(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", owner = owner,repo = repo,branch = branch),
9618 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsApps(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", owner = owner,repo = repo,branch = branch),
9619 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsApps(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", owner = owner,repo = repo,branch = branch),
9620 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsApps(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", owner = owner,repo = repo,branch = branch),
9621 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsApps(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", owner = owner,repo = repo,branch = branch),
9622 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsTeams(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", owner = owner,repo = repo,branch = branch),
9623 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsTeams(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", owner = owner,repo = repo,branch = branch),
9624 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsTeams(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", owner = owner,repo = repo,branch = branch),
9625 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsTeams(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", owner = owner,repo = repo,branch = branch),
9626 EndPoints::GetReposownerrepoBranchesbranchProtectionRestrictionsUsers(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", owner = owner,repo = repo,branch = branch),
9627 EndPoints::PostReposownerrepoBranchesbranchProtectionRestrictionsUsers(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", owner = owner,repo = repo,branch = branch),
9628 EndPoints::PutReposownerrepoBranchesbranchProtectionRestrictionsUsers(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", owner = owner,repo = repo,branch = branch),
9629 EndPoints::DeleteReposownerrepoBranchesbranchProtectionRestrictionsUsers(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", owner = owner,repo = repo,branch = branch),
9630 EndPoints::PostReposownerrepoBranchesbranchRename(owner,repo,branch) => format!("/repos/{owner}/{repo}/branches/{branch}/rename", owner = owner,repo = repo,branch = branch),
9631 EndPoints::PostReposownerrepoCheckRuns(owner,repo) => format!("/repos/{owner}/{repo}/check-runs", owner = owner,repo = repo),
9632 EndPoints::GetReposownerrepoCheckRunscheckRunId(owner,repo,check_run_id) => format!("/repos/{owner}/{repo}/check-runs/{check_run_id}", owner = owner,repo = repo,check_run_id = check_run_id),
9633 EndPoints::PatchReposownerrepoCheckRunscheckRunId(owner,repo,check_run_id) => format!("/repos/{owner}/{repo}/check-runs/{check_run_id}", owner = owner,repo = repo,check_run_id = check_run_id),
9634 EndPoints::GetReposownerrepoCheckRunscheckRunIdAnnotations(owner,repo,check_run_id) => format!("/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", owner = owner,repo = repo,check_run_id = check_run_id),
9635 EndPoints::PostReposownerrepoCheckRunscheckRunIdRerequest(owner,repo,check_run_id) => format!("/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest", owner = owner,repo = repo,check_run_id = check_run_id),
9636 EndPoints::PostReposownerrepoCheckSuites(owner,repo) => format!("/repos/{owner}/{repo}/check-suites", owner = owner,repo = repo),
9637 EndPoints::PatchReposownerrepoCheckSuitesPreferences(owner,repo) => format!("/repos/{owner}/{repo}/check-suites/preferences", owner = owner,repo = repo),
9638 EndPoints::GetReposownerrepoCheckSuitescheckSuiteId(owner,repo,check_suite_id) => format!("/repos/{owner}/{repo}/check-suites/{check_suite_id}", owner = owner,repo = repo,check_suite_id = check_suite_id),
9639 EndPoints::GetReposownerrepoCheckSuitescheckSuiteIdCheckRuns(owner,repo,check_suite_id) => format!("/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", owner = owner,repo = repo,check_suite_id = check_suite_id),
9640 EndPoints::PostReposownerrepoCheckSuitescheckSuiteIdRerequest(owner,repo,check_suite_id) => format!("/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", owner = owner,repo = repo,check_suite_id = check_suite_id),
9641 EndPoints::GetReposownerrepoCodeScanningAlerts(owner,repo) => format!("/repos/{owner}/{repo}/code-scanning/alerts", owner = owner,repo = repo),
9642 EndPoints::GetReposownerrepoCodeScanningAlertsalertNumber(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", owner = owner,repo = repo,alert_number = alert_number),
9643 EndPoints::PatchReposownerrepoCodeScanningAlertsalertNumber(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", owner = owner,repo = repo,alert_number = alert_number),
9644 EndPoints::GetReposownerrepoCodeScanningAlertsalertNumberInstances(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", owner = owner,repo = repo,alert_number = alert_number),
9645 EndPoints::GetReposownerrepoCodeScanningAnalyses(owner,repo) => format!("/repos/{owner}/{repo}/code-scanning/analyses", owner = owner,repo = repo),
9646 EndPoints::GetReposownerrepoCodeScanningAnalysesanalysisId(owner,repo,analysis_id) => format!("/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", owner = owner,repo = repo,analysis_id = analysis_id),
9647 EndPoints::DeleteReposownerrepoCodeScanningAnalysesanalysisId(owner,repo,analysis_id) => format!("/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", owner = owner,repo = repo,analysis_id = analysis_id),
9648 EndPoints::PostReposownerrepoCodeScanningSarifs(owner,repo) => format!("/repos/{owner}/{repo}/code-scanning/sarifs", owner = owner,repo = repo),
9649 EndPoints::GetReposownerrepoCodeScanningSarifssarifId(owner,repo,sarif_id) => format!("/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", owner = owner,repo = repo,sarif_id = sarif_id),
9650 EndPoints::GetReposownerrepoCodespaces(owner,repo) => format!("/repos/{owner}/{repo}/codespaces", owner = owner,repo = repo),
9651 EndPoints::PostReposownerrepoCodespaces(owner,repo) => format!("/repos/{owner}/{repo}/codespaces", owner = owner,repo = repo),
9652 EndPoints::GetReposownerrepoCodespacesMachines(owner,repo) => format!("/repos/{owner}/{repo}/codespaces/machines", owner = owner,repo = repo),
9653 EndPoints::GetReposownerrepoCollaborators(owner,repo) => format!("/repos/{owner}/{repo}/collaborators", owner = owner,repo = repo),
9654 EndPoints::GetReposownerrepoCollaboratorsusername(owner,repo,username) => format!("/repos/{owner}/{repo}/collaborators/{username}", owner = owner,repo = repo,username = username),
9655 EndPoints::PutReposownerrepoCollaboratorsusername(owner,repo,username) => format!("/repos/{owner}/{repo}/collaborators/{username}", owner = owner,repo = repo,username = username),
9656 EndPoints::DeleteReposownerrepoCollaboratorsusername(owner,repo,username) => format!("/repos/{owner}/{repo}/collaborators/{username}", owner = owner,repo = repo,username = username),
9657 EndPoints::GetReposownerrepoCollaboratorsusernamePermission(owner,repo,username) => format!("/repos/{owner}/{repo}/collaborators/{username}/permission", owner = owner,repo = repo,username = username),
9658 EndPoints::GetReposownerrepoComments(owner,repo) => format!("/repos/{owner}/{repo}/comments", owner = owner,repo = repo),
9659 EndPoints::GetReposownerrepoCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9660 EndPoints::PatchReposownerrepoCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9661 EndPoints::DeleteReposownerrepoCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9662 EndPoints::GetReposownerrepoCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9663 EndPoints::PostReposownerrepoCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9664 EndPoints::DeleteReposownerrepoCommentscommentIdReactionsreactionId(owner,repo,comment_id,reaction_id) => format!("/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", owner = owner,repo = repo,comment_id = comment_id,reaction_id = reaction_id),
9665 EndPoints::GetReposownerrepoCommits(owner,repo) => format!("/repos/{owner}/{repo}/commits", owner = owner,repo = repo),
9666 EndPoints::GetReposownerrepoCommitscommitShaBranchesWhereHead(owner,repo,commit_sha) => format!("/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", owner = owner,repo = repo,commit_sha = commit_sha),
9667 EndPoints::GetReposownerrepoCommitscommitShaComments(owner,repo,commit_sha) => format!("/repos/{owner}/{repo}/commits/{commit_sha}/comments", owner = owner,repo = repo,commit_sha = commit_sha),
9668 EndPoints::PostReposownerrepoCommitscommitShaComments(owner,repo,commit_sha) => format!("/repos/{owner}/{repo}/commits/{commit_sha}/comments", owner = owner,repo = repo,commit_sha = commit_sha),
9669 EndPoints::GetReposownerrepoCommitscommitShaPulls(owner,repo,commit_sha) => format!("/repos/{owner}/{repo}/commits/{commit_sha}/pulls", owner = owner,repo = repo,commit_sha = commit_sha),
9670 EndPoints::GetReposownerrepoCommitsref(owner,repo,aref) => format!("/repos/{owner}/{repo}/commits/{aref}", owner = owner,repo = repo,aref = aref),
9671 EndPoints::GetReposownerrepoCommitsrefCheckRuns(owner,repo,aref) => format!("/repos/{owner}/{repo}/commits/{aref}/check-runs", owner = owner,repo = repo,aref = aref),
9672 EndPoints::GetReposownerrepoCommitsrefCheckSuites(owner,repo,aref) => format!("/repos/{owner}/{repo}/commits/{aref}/check-suites", owner = owner,repo = repo,aref = aref),
9673 EndPoints::GetReposownerrepoCommitsrefStatus(owner,repo,aref) => format!("/repos/{owner}/{repo}/commits/{aref}/status", owner = owner,repo = repo,aref = aref),
9674 EndPoints::GetReposownerrepoCommitsrefStatuses(owner,repo,aref) => format!("/repos/{owner}/{repo}/commits/{aref}/statuses", owner = owner,repo = repo,aref = aref),
9675 EndPoints::GetReposownerrepoCommunityProfile(owner,repo) => format!("/repos/{owner}/{repo}/community/profile", owner = owner,repo = repo),
9676 EndPoints::GetReposownerrepoComparebasehead(owner,repo,basehead) => format!("/repos/{owner}/{repo}/compare/{basehead}", owner = owner,repo = repo,basehead = basehead),
9677 EndPoints::GetReposownerrepoContentspath(owner,repo,path) => format!("/repos/{owner}/{repo}/contents/{path}", owner = owner,repo = repo,path = path),
9678 EndPoints::PutReposownerrepoContentspath(owner,repo,path) => format!("/repos/{owner}/{repo}/contents/{path}", owner = owner,repo = repo,path = path),
9679 EndPoints::DeleteReposownerrepoContentspath(owner,repo,path) => format!("/repos/{owner}/{repo}/contents/{path}", owner = owner,repo = repo,path = path),
9680 EndPoints::GetReposownerrepoContributors(owner,repo) => format!("/repos/{owner}/{repo}/contributors", owner = owner,repo = repo),
9681 EndPoints::GetReposownerrepoDependabotSecrets(owner,repo) => format!("/repos/{owner}/{repo}/dependabot/secrets", owner = owner,repo = repo),
9682 EndPoints::GetReposownerrepoDependabotSecretsPublicKey(owner,repo) => format!("/repos/{owner}/{repo}/dependabot/secrets/public-key", owner = owner,repo = repo),
9683 EndPoints::GetReposownerrepoDependabotSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9684 EndPoints::PutReposownerrepoDependabotSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9685 EndPoints::DeleteReposownerrepoDependabotSecretssecretName(owner,repo,secret_name) => format!("/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", owner = owner,repo = repo,secret_name = secret_name),
9686 EndPoints::GetReposownerrepoDeployments(owner,repo) => format!("/repos/{owner}/{repo}/deployments", owner = owner,repo = repo),
9687 EndPoints::PostReposownerrepoDeployments(owner,repo) => format!("/repos/{owner}/{repo}/deployments", owner = owner,repo = repo),
9688 EndPoints::GetReposownerrepoDeploymentsdeploymentId(owner,repo,deployment_id) => format!("/repos/{owner}/{repo}/deployments/{deployment_id}", owner = owner,repo = repo,deployment_id = deployment_id),
9689 EndPoints::DeleteReposownerrepoDeploymentsdeploymentId(owner,repo,deployment_id) => format!("/repos/{owner}/{repo}/deployments/{deployment_id}", owner = owner,repo = repo,deployment_id = deployment_id),
9690 EndPoints::GetReposownerrepoDeploymentsdeploymentIdStatuses(owner,repo,deployment_id) => format!("/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", owner = owner,repo = repo,deployment_id = deployment_id),
9691 EndPoints::PostReposownerrepoDeploymentsdeploymentIdStatuses(owner,repo,deployment_id) => format!("/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", owner = owner,repo = repo,deployment_id = deployment_id),
9692 EndPoints::GetReposownerrepoDeploymentsdeploymentIdStatusesstatusId(owner,repo,deployment_id,status_id) => format!("/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", owner = owner,repo = repo,deployment_id = deployment_id,status_id = status_id),
9693 EndPoints::PostReposownerrepoDispatches(owner,repo) => format!("/repos/{owner}/{repo}/dispatches", owner = owner,repo = repo),
9694 EndPoints::GetReposownerrepoEnvironments(owner,repo) => format!("/repos/{owner}/{repo}/environments", owner = owner,repo = repo),
9695 EndPoints::GetReposownerrepoEnvironmentsenvironmentName(owner,repo,environment_name) => format!("/repos/{owner}/{repo}/environments/{environment_name}", owner = owner,repo = repo,environment_name = environment_name),
9696 EndPoints::PutReposownerrepoEnvironmentsenvironmentName(owner,repo,environment_name) => format!("/repos/{owner}/{repo}/environments/{environment_name}", owner = owner,repo = repo,environment_name = environment_name),
9697 EndPoints::DeleteReposownerrepoEnvironmentsenvironmentName(owner,repo,environment_name) => format!("/repos/{owner}/{repo}/environments/{environment_name}", owner = owner,repo = repo,environment_name = environment_name),
9698 EndPoints::GetReposownerrepoEvents(owner,repo) => format!("/repos/{owner}/{repo}/events", owner = owner,repo = repo),
9699 EndPoints::GetReposownerrepoForks(owner,repo) => format!("/repos/{owner}/{repo}/forks", owner = owner,repo = repo),
9700 EndPoints::PostReposownerrepoForks(owner,repo) => format!("/repos/{owner}/{repo}/forks", owner = owner,repo = repo),
9701 EndPoints::PostReposownerrepoGitBlobs(owner,repo) => format!("/repos/{owner}/{repo}/git/blobs", owner = owner,repo = repo),
9702 EndPoints::GetReposownerrepoGitBlobsfileSha(owner,repo,file_sha) => format!("/repos/{owner}/{repo}/git/blobs/{file_sha}", owner = owner,repo = repo,file_sha = file_sha),
9703 EndPoints::PostReposownerrepoGitCommits(owner,repo) => format!("/repos/{owner}/{repo}/git/commits", owner = owner,repo = repo),
9704 EndPoints::GetReposownerrepoGitCommitscommitSha(owner,repo,commit_sha) => format!("/repos/{owner}/{repo}/git/commits/{commit_sha}", owner = owner,repo = repo,commit_sha = commit_sha),
9705 EndPoints::GetReposownerrepoGitMatchingRefsref(owner,repo,aref) => format!("/repos/{owner}/{repo}/git/matching-refs/{aref}", owner = owner,repo = repo,aref = aref),
9706 EndPoints::GetReposownerrepoGitRefref(owner,repo,aref) => format!("/repos/{owner}/{repo}/git/ref/{aref}", owner = owner,repo = repo,aref = aref),
9707 EndPoints::PostReposownerrepoGitRefs(owner,repo) => format!("/repos/{owner}/{repo}/git/refs", owner = owner,repo = repo),
9708 EndPoints::PatchReposownerrepoGitRefsref(owner,repo,aref) => format!("/repos/{owner}/{repo}/git/refs/{aref}", owner = owner,repo = repo,aref = aref),
9709 EndPoints::DeleteReposownerrepoGitRefsref(owner,repo,aref) => format!("/repos/{owner}/{repo}/git/refs/{aref}", owner = owner,repo = repo,aref = aref),
9710 EndPoints::PostReposownerrepoGitTags(owner,repo) => format!("/repos/{owner}/{repo}/git/tags", owner = owner,repo = repo),
9711 EndPoints::GetReposownerrepoGitTagstagSha(owner,repo,tag_sha) => format!("/repos/{owner}/{repo}/git/tags/{tag_sha}", owner = owner,repo = repo,tag_sha = tag_sha),
9712 EndPoints::PostReposownerrepoGitTrees(owner,repo) => format!("/repos/{owner}/{repo}/git/trees", owner = owner,repo = repo),
9713 EndPoints::GetReposownerrepoGitTreestreeSha(owner,repo,tree_sha) => format!("/repos/{owner}/{repo}/git/trees/{tree_sha}", owner = owner,repo = repo,tree_sha = tree_sha),
9714 EndPoints::GetReposownerrepoHooks(owner,repo) => format!("/repos/{owner}/{repo}/hooks", owner = owner,repo = repo),
9715 EndPoints::PostReposownerrepoHooks(owner,repo) => format!("/repos/{owner}/{repo}/hooks", owner = owner,repo = repo),
9716 EndPoints::GetReposownerrepoHookshookId(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}", owner = owner,repo = repo,hook_id = hook_id),
9717 EndPoints::PatchReposownerrepoHookshookId(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}", owner = owner,repo = repo,hook_id = hook_id),
9718 EndPoints::DeleteReposownerrepoHookshookId(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}", owner = owner,repo = repo,hook_id = hook_id),
9719 EndPoints::GetReposownerrepoHookshookIdConfig(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/config", owner = owner,repo = repo,hook_id = hook_id),
9720 EndPoints::PatchReposownerrepoHookshookIdConfig(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/config", owner = owner,repo = repo,hook_id = hook_id),
9721 EndPoints::GetReposownerrepoHookshookIdDeliveries(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", owner = owner,repo = repo,hook_id = hook_id),
9722 EndPoints::GetReposownerrepoHookshookIdDeliveriesdeliveryId(owner,repo,hook_id,delivery_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", owner = owner,repo = repo,hook_id = hook_id,delivery_id = delivery_id),
9723 EndPoints::PostReposownerrepoHookshookIdDeliveriesdeliveryIdAttempts(owner,repo,hook_id,delivery_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", owner = owner,repo = repo,hook_id = hook_id,delivery_id = delivery_id),
9724 EndPoints::PostReposownerrepoHookshookIdPings(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/pings", owner = owner,repo = repo,hook_id = hook_id),
9725 EndPoints::PostReposownerrepoHookshookIdTests(owner,repo,hook_id) => format!("/repos/{owner}/{repo}/hooks/{hook_id}/tests", owner = owner,repo = repo,hook_id = hook_id),
9726 EndPoints::GetReposownerrepoImport(owner,repo) => format!("/repos/{owner}/{repo}/import", owner = owner,repo = repo),
9727 EndPoints::PutReposownerrepoImport(owner,repo) => format!("/repos/{owner}/{repo}/import", owner = owner,repo = repo),
9728 EndPoints::PatchReposownerrepoImport(owner,repo) => format!("/repos/{owner}/{repo}/import", owner = owner,repo = repo),
9729 EndPoints::DeleteReposownerrepoImport(owner,repo) => format!("/repos/{owner}/{repo}/import", owner = owner,repo = repo),
9730 EndPoints::GetReposownerrepoImportAuthors(owner,repo) => format!("/repos/{owner}/{repo}/import/authors", owner = owner,repo = repo),
9731 EndPoints::PatchReposownerrepoImportAuthorsauthorId(owner,repo,author_id) => format!("/repos/{owner}/{repo}/import/authors/{author_id}", owner = owner,repo = repo,author_id = author_id),
9732 EndPoints::GetReposownerrepoImportLargeFiles(owner,repo) => format!("/repos/{owner}/{repo}/import/large_files", owner = owner,repo = repo),
9733 EndPoints::PatchReposownerrepoImportLfs(owner,repo) => format!("/repos/{owner}/{repo}/import/lfs", owner = owner,repo = repo),
9734 EndPoints::GetReposownerrepoInstallation(owner,repo) => format!("/repos/{owner}/{repo}/installation", owner = owner,repo = repo),
9735 EndPoints::GetReposownerrepoInteractionLimits(owner,repo) => format!("/repos/{owner}/{repo}/interaction-limits", owner = owner,repo = repo),
9736 EndPoints::PutReposownerrepoInteractionLimits(owner,repo) => format!("/repos/{owner}/{repo}/interaction-limits", owner = owner,repo = repo),
9737 EndPoints::DeleteReposownerrepoInteractionLimits(owner,repo) => format!("/repos/{owner}/{repo}/interaction-limits", owner = owner,repo = repo),
9738 EndPoints::GetReposownerrepoInvitations(owner,repo) => format!("/repos/{owner}/{repo}/invitations", owner = owner,repo = repo),
9739 EndPoints::PatchReposownerrepoInvitationsinvitationId(owner,repo,invitation_id) => format!("/repos/{owner}/{repo}/invitations/{invitation_id}", owner = owner,repo = repo,invitation_id = invitation_id),
9740 EndPoints::DeleteReposownerrepoInvitationsinvitationId(owner,repo,invitation_id) => format!("/repos/{owner}/{repo}/invitations/{invitation_id}", owner = owner,repo = repo,invitation_id = invitation_id),
9741 EndPoints::GetReposownerrepoIssues(owner,repo) => format!("/repos/{owner}/{repo}/issues", owner = owner,repo = repo),
9742 EndPoints::PostReposownerrepoIssues(owner,repo) => format!("/repos/{owner}/{repo}/issues", owner = owner,repo = repo),
9743 EndPoints::GetReposownerrepoIssuesComments(owner,repo) => format!("/repos/{owner}/{repo}/issues/comments", owner = owner,repo = repo),
9744 EndPoints::GetReposownerrepoIssuesCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9745 EndPoints::PatchReposownerrepoIssuesCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9746 EndPoints::DeleteReposownerrepoIssuesCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9747 EndPoints::GetReposownerrepoIssuesCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9748 EndPoints::PostReposownerrepoIssuesCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9749 EndPoints::DeleteReposownerrepoIssuesCommentscommentIdReactionsreactionId(owner,repo,comment_id,reaction_id) => format!("/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", owner = owner,repo = repo,comment_id = comment_id,reaction_id = reaction_id),
9750 EndPoints::GetReposownerrepoIssuesEvents(owner,repo) => format!("/repos/{owner}/{repo}/issues/events", owner = owner,repo = repo),
9751 EndPoints::GetReposownerrepoIssuesEventseventId(owner,repo,event_id) => format!("/repos/{owner}/{repo}/issues/events/{event_id}", owner = owner,repo = repo,event_id = event_id),
9752 EndPoints::GetReposownerrepoIssuesissueNumber(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}", owner = owner,repo = repo,issue_number = issue_number),
9753 EndPoints::PatchReposownerrepoIssuesissueNumber(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}", owner = owner,repo = repo,issue_number = issue_number),
9754 EndPoints::PostReposownerrepoIssuesissueNumberAssignees(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/assignees", owner = owner,repo = repo,issue_number = issue_number),
9755 EndPoints::DeleteReposownerrepoIssuesissueNumberAssignees(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/assignees", owner = owner,repo = repo,issue_number = issue_number),
9756 EndPoints::GetReposownerrepoIssuesissueNumberComments(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/comments", owner = owner,repo = repo,issue_number = issue_number),
9757 EndPoints::PostReposownerrepoIssuesissueNumberComments(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/comments", owner = owner,repo = repo,issue_number = issue_number),
9758 EndPoints::GetReposownerrepoIssuesissueNumberEvents(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/events", owner = owner,repo = repo,issue_number = issue_number),
9759 EndPoints::GetReposownerrepoIssuesissueNumberLabels(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/labels", owner = owner,repo = repo,issue_number = issue_number),
9760 EndPoints::PostReposownerrepoIssuesissueNumberLabels(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/labels", owner = owner,repo = repo,issue_number = issue_number),
9761 EndPoints::PutReposownerrepoIssuesissueNumberLabels(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/labels", owner = owner,repo = repo,issue_number = issue_number),
9762 EndPoints::DeleteReposownerrepoIssuesissueNumberLabels(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/labels", owner = owner,repo = repo,issue_number = issue_number),
9763 EndPoints::DeleteReposownerrepoIssuesissueNumberLabelsname(owner,repo,issue_number,name) => format!("/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", owner = owner,repo = repo,issue_number = issue_number,name = name),
9764 EndPoints::PutReposownerrepoIssuesissueNumberLock(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/lock", owner = owner,repo = repo,issue_number = issue_number),
9765 EndPoints::DeleteReposownerrepoIssuesissueNumberLock(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/lock", owner = owner,repo = repo,issue_number = issue_number),
9766 EndPoints::GetReposownerrepoIssuesissueNumberReactions(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/reactions", owner = owner,repo = repo,issue_number = issue_number),
9767 EndPoints::PostReposownerrepoIssuesissueNumberReactions(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/reactions", owner = owner,repo = repo,issue_number = issue_number),
9768 EndPoints::DeleteReposownerrepoIssuesissueNumberReactionsreactionId(owner,repo,issue_number,reaction_id) => format!("/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", owner = owner,repo = repo,issue_number = issue_number,reaction_id = reaction_id),
9769 EndPoints::GetReposownerrepoIssuesissueNumberTimeline(owner,repo,issue_number) => format!("/repos/{owner}/{repo}/issues/{issue_number}/timeline", owner = owner,repo = repo,issue_number = issue_number),
9770 EndPoints::GetReposownerrepoKeys(owner,repo) => format!("/repos/{owner}/{repo}/keys", owner = owner,repo = repo),
9771 EndPoints::PostReposownerrepoKeys(owner,repo) => format!("/repos/{owner}/{repo}/keys", owner = owner,repo = repo),
9772 EndPoints::GetReposownerrepoKeyskeyId(owner,repo,key_id) => format!("/repos/{owner}/{repo}/keys/{key_id}", owner = owner,repo = repo,key_id = key_id),
9773 EndPoints::DeleteReposownerrepoKeyskeyId(owner,repo,key_id) => format!("/repos/{owner}/{repo}/keys/{key_id}", owner = owner,repo = repo,key_id = key_id),
9774 EndPoints::GetReposownerrepoLabels(owner,repo) => format!("/repos/{owner}/{repo}/labels", owner = owner,repo = repo),
9775 EndPoints::PostReposownerrepoLabels(owner,repo) => format!("/repos/{owner}/{repo}/labels", owner = owner,repo = repo),
9776 EndPoints::GetReposownerrepoLabelsname(owner,repo,name) => format!("/repos/{owner}/{repo}/labels/{name}", owner = owner,repo = repo,name = name),
9777 EndPoints::PatchReposownerrepoLabelsname(owner,repo,name) => format!("/repos/{owner}/{repo}/labels/{name}", owner = owner,repo = repo,name = name),
9778 EndPoints::DeleteReposownerrepoLabelsname(owner,repo,name) => format!("/repos/{owner}/{repo}/labels/{name}", owner = owner,repo = repo,name = name),
9779 EndPoints::GetReposownerrepoLanguages(owner,repo) => format!("/repos/{owner}/{repo}/languages", owner = owner,repo = repo),
9780 EndPoints::PutReposownerrepoLfs(owner,repo) => format!("/repos/{owner}/{repo}/lfs", owner = owner,repo = repo),
9781 EndPoints::DeleteReposownerrepoLfs(owner,repo) => format!("/repos/{owner}/{repo}/lfs", owner = owner,repo = repo),
9782 EndPoints::GetReposownerrepoLicense(owner,repo) => format!("/repos/{owner}/{repo}/license", owner = owner,repo = repo),
9783 EndPoints::PostReposownerrepoMergeUpstream(owner,repo) => format!("/repos/{owner}/{repo}/merge-upstream", owner = owner,repo = repo),
9784 EndPoints::PostReposownerrepoMerges(owner,repo) => format!("/repos/{owner}/{repo}/merges", owner = owner,repo = repo),
9785 EndPoints::GetReposownerrepoMilestones(owner,repo) => format!("/repos/{owner}/{repo}/milestones", owner = owner,repo = repo),
9786 EndPoints::PostReposownerrepoMilestones(owner,repo) => format!("/repos/{owner}/{repo}/milestones", owner = owner,repo = repo),
9787 EndPoints::GetReposownerrepoMilestonesmilestoneNumber(owner,repo,milestone_number) => format!("/repos/{owner}/{repo}/milestones/{milestone_number}", owner = owner,repo = repo,milestone_number = milestone_number),
9788 EndPoints::PatchReposownerrepoMilestonesmilestoneNumber(owner,repo,milestone_number) => format!("/repos/{owner}/{repo}/milestones/{milestone_number}", owner = owner,repo = repo,milestone_number = milestone_number),
9789 EndPoints::DeleteReposownerrepoMilestonesmilestoneNumber(owner,repo,milestone_number) => format!("/repos/{owner}/{repo}/milestones/{milestone_number}", owner = owner,repo = repo,milestone_number = milestone_number),
9790 EndPoints::GetReposownerrepoMilestonesmilestoneNumberLabels(owner,repo,milestone_number) => format!("/repos/{owner}/{repo}/milestones/{milestone_number}/labels", owner = owner,repo = repo,milestone_number = milestone_number),
9791 EndPoints::GetReposownerrepoNotifications(owner,repo) => format!("/repos/{owner}/{repo}/notifications", owner = owner,repo = repo),
9792 EndPoints::PutReposownerrepoNotifications(owner,repo) => format!("/repos/{owner}/{repo}/notifications", owner = owner,repo = repo),
9793 EndPoints::GetReposownerrepoPages(owner,repo) => format!("/repos/{owner}/{repo}/pages", owner = owner,repo = repo),
9794 EndPoints::PostReposownerrepoPages(owner,repo) => format!("/repos/{owner}/{repo}/pages", owner = owner,repo = repo),
9795 EndPoints::PutReposownerrepoPages(owner,repo) => format!("/repos/{owner}/{repo}/pages", owner = owner,repo = repo),
9796 EndPoints::DeleteReposownerrepoPages(owner,repo) => format!("/repos/{owner}/{repo}/pages", owner = owner,repo = repo),
9797 EndPoints::GetReposownerrepoPagesBuilds(owner,repo) => format!("/repos/{owner}/{repo}/pages/builds", owner = owner,repo = repo),
9798 EndPoints::PostReposownerrepoPagesBuilds(owner,repo) => format!("/repos/{owner}/{repo}/pages/builds", owner = owner,repo = repo),
9799 EndPoints::GetReposownerrepoPagesBuildsLatest(owner,repo) => format!("/repos/{owner}/{repo}/pages/builds/latest", owner = owner,repo = repo),
9800 EndPoints::GetReposownerrepoPagesBuildsbuildId(owner,repo,build_id) => format!("/repos/{owner}/{repo}/pages/builds/{build_id}", owner = owner,repo = repo,build_id = build_id),
9801 EndPoints::GetReposownerrepoPagesHealth(owner,repo) => format!("/repos/{owner}/{repo}/pages/health", owner = owner,repo = repo),
9802 EndPoints::GetReposownerrepoProjects(owner,repo) => format!("/repos/{owner}/{repo}/projects", owner = owner,repo = repo),
9803 EndPoints::PostReposownerrepoProjects(owner,repo) => format!("/repos/{owner}/{repo}/projects", owner = owner,repo = repo),
9804 EndPoints::GetReposownerrepoPulls(owner,repo) => format!("/repos/{owner}/{repo}/pulls", owner = owner,repo = repo),
9805 EndPoints::PostReposownerrepoPulls(owner,repo) => format!("/repos/{owner}/{repo}/pulls", owner = owner,repo = repo),
9806 EndPoints::GetReposownerrepoPullsComments(owner,repo) => format!("/repos/{owner}/{repo}/pulls/comments", owner = owner,repo = repo),
9807 EndPoints::GetReposownerrepoPullsCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9808 EndPoints::PatchReposownerrepoPullsCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9809 EndPoints::DeleteReposownerrepoPullsCommentscommentId(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}", owner = owner,repo = repo,comment_id = comment_id),
9810 EndPoints::GetReposownerrepoPullsCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9811 EndPoints::PostReposownerrepoPullsCommentscommentIdReactions(owner,repo,comment_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", owner = owner,repo = repo,comment_id = comment_id),
9812 EndPoints::DeleteReposownerrepoPullsCommentscommentIdReactionsreactionId(owner,repo,comment_id,reaction_id) => format!("/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", owner = owner,repo = repo,comment_id = comment_id,reaction_id = reaction_id),
9813 EndPoints::GetReposownerrepoPullspullNumber(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}", owner = owner,repo = repo,pull_number = pull_number),
9814 EndPoints::PatchReposownerrepoPullspullNumber(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}", owner = owner,repo = repo,pull_number = pull_number),
9815 EndPoints::PostReposownerrepoPullspullNumberCodespaces(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/codespaces", owner = owner,repo = repo,pull_number = pull_number),
9816 EndPoints::GetReposownerrepoPullspullNumberComments(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/comments", owner = owner,repo = repo,pull_number = pull_number),
9817 EndPoints::PostReposownerrepoPullspullNumberComments(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/comments", owner = owner,repo = repo,pull_number = pull_number),
9818 EndPoints::PostReposownerrepoPullspullNumberCommentscommentIdReplies(owner,repo,pull_number,comment_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", owner = owner,repo = repo,pull_number = pull_number,comment_id = comment_id),
9819 EndPoints::GetReposownerrepoPullspullNumberCommits(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/commits", owner = owner,repo = repo,pull_number = pull_number),
9820 EndPoints::GetReposownerrepoPullspullNumberFiles(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/files", owner = owner,repo = repo,pull_number = pull_number),
9821 EndPoints::GetReposownerrepoPullspullNumberMerge(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/merge", owner = owner,repo = repo,pull_number = pull_number),
9822 EndPoints::PutReposownerrepoPullspullNumberMerge(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/merge", owner = owner,repo = repo,pull_number = pull_number),
9823 EndPoints::GetReposownerrepoPullspullNumberRequestedReviewers(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", owner = owner,repo = repo,pull_number = pull_number),
9824 EndPoints::PostReposownerrepoPullspullNumberRequestedReviewers(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", owner = owner,repo = repo,pull_number = pull_number),
9825 EndPoints::DeleteReposownerrepoPullspullNumberRequestedReviewers(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", owner = owner,repo = repo,pull_number = pull_number),
9826 EndPoints::GetReposownerrepoPullspullNumberReviews(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews", owner = owner,repo = repo,pull_number = pull_number),
9827 EndPoints::PostReposownerrepoPullspullNumberReviews(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews", owner = owner,repo = repo,pull_number = pull_number),
9828 EndPoints::GetReposownerrepoPullspullNumberReviewsreviewId(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9829 EndPoints::PutReposownerrepoPullspullNumberReviewsreviewId(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9830 EndPoints::DeleteReposownerrepoPullspullNumberReviewsreviewId(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9831 EndPoints::GetReposownerrepoPullspullNumberReviewsreviewIdComments(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9832 EndPoints::PutReposownerrepoPullspullNumberReviewsreviewIdDismissals(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9833 EndPoints::PostReposownerrepoPullspullNumberReviewsreviewIdEvents(owner,repo,pull_number,review_id) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", owner = owner,repo = repo,pull_number = pull_number,review_id = review_id),
9834 EndPoints::PutReposownerrepoPullspullNumberUpdateBranch(owner,repo,pull_number) => format!("/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", owner = owner,repo = repo,pull_number = pull_number),
9835 EndPoints::GetReposownerrepoReadme(owner,repo) => format!("/repos/{owner}/{repo}/readme", owner = owner,repo = repo),
9836 EndPoints::GetReposownerrepoReadmedir(owner,repo,dir) => format!("/repos/{owner}/{repo}/readme/{dir}", owner = owner,repo = repo,dir = dir),
9837 EndPoints::GetReposownerrepoReleases(owner,repo) => format!("/repos/{owner}/{repo}/releases", owner = owner,repo = repo),
9838 EndPoints::PostReposownerrepoReleases(owner,repo) => format!("/repos/{owner}/{repo}/releases", owner = owner,repo = repo),
9839 EndPoints::GetReposownerrepoReleasesAssetsassetId(owner,repo,asset_id) => format!("/repos/{owner}/{repo}/releases/assets/{asset_id}", owner = owner,repo = repo,asset_id = asset_id),
9840 EndPoints::PatchReposownerrepoReleasesAssetsassetId(owner,repo,asset_id) => format!("/repos/{owner}/{repo}/releases/assets/{asset_id}", owner = owner,repo = repo,asset_id = asset_id),
9841 EndPoints::DeleteReposownerrepoReleasesAssetsassetId(owner,repo,asset_id) => format!("/repos/{owner}/{repo}/releases/assets/{asset_id}", owner = owner,repo = repo,asset_id = asset_id),
9842 EndPoints::PostReposownerrepoReleasesGenerateNotes(owner,repo) => format!("/repos/{owner}/{repo}/releases/generate-notes", owner = owner,repo = repo),
9843 EndPoints::GetReposownerrepoReleasesLatest(owner,repo) => format!("/repos/{owner}/{repo}/releases/latest", owner = owner,repo = repo),
9844 EndPoints::GetReposownerrepoReleasesTagstag(owner,repo,tag) => format!("/repos/{owner}/{repo}/releases/tags/{tag}", owner = owner,repo = repo,tag = tag),
9845 EndPoints::GetReposownerrepoReleasesreleaseId(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}", owner = owner,repo = repo,release_id = release_id),
9846 EndPoints::PatchReposownerrepoReleasesreleaseId(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}", owner = owner,repo = repo,release_id = release_id),
9847 EndPoints::DeleteReposownerrepoReleasesreleaseId(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}", owner = owner,repo = repo,release_id = release_id),
9848 EndPoints::GetReposownerrepoReleasesreleaseIdAssets(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}/assets", owner = owner,repo = repo,release_id = release_id),
9849 EndPoints::PostReposownerrepoReleasesreleaseIdAssets(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}/assets", owner = owner,repo = repo,release_id = release_id),
9850 EndPoints::PostReposownerrepoReleasesreleaseIdReactions(owner,repo,release_id) => format!("/repos/{owner}/{repo}/releases/{release_id}/reactions", owner = owner,repo = repo,release_id = release_id),
9851 EndPoints::GetReposownerrepoSecretScanningAlerts(owner,repo) => format!("/repos/{owner}/{repo}/secret-scanning/alerts", owner = owner,repo = repo),
9852 EndPoints::GetReposownerrepoSecretScanningAlertsalertNumber(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", owner = owner,repo = repo,alert_number = alert_number),
9853 EndPoints::PatchReposownerrepoSecretScanningAlertsalertNumber(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", owner = owner,repo = repo,alert_number = alert_number),
9854 EndPoints::GetReposownerrepoSecretScanningAlertsalertNumberLocations(owner,repo,alert_number) => format!("/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", owner = owner,repo = repo,alert_number = alert_number),
9855 EndPoints::GetReposownerrepoStargazers(owner,repo) => format!("/repos/{owner}/{repo}/stargazers", owner = owner,repo = repo),
9856 EndPoints::GetReposownerrepoStatsCodeFrequency(owner,repo) => format!("/repos/{owner}/{repo}/stats/code_frequency", owner = owner,repo = repo),
9857 EndPoints::GetReposownerrepoStatsCommitActivity(owner,repo) => format!("/repos/{owner}/{repo}/stats/commit_activity", owner = owner,repo = repo),
9858 EndPoints::GetReposownerrepoStatsContributors(owner,repo) => format!("/repos/{owner}/{repo}/stats/contributors", owner = owner,repo = repo),
9859 EndPoints::GetReposownerrepoStatsParticipation(owner,repo) => format!("/repos/{owner}/{repo}/stats/participation", owner = owner,repo = repo),
9860 EndPoints::GetReposownerrepoStatsPunchCard(owner,repo) => format!("/repos/{owner}/{repo}/stats/punch_card", owner = owner,repo = repo),
9861 EndPoints::PostReposownerrepoStatusessha(owner,repo,sha) => format!("/repos/{owner}/{repo}/statuses/{sha}", owner = owner,repo = repo,sha = sha),
9862 EndPoints::GetReposownerrepoSubscribers(owner,repo) => format!("/repos/{owner}/{repo}/subscribers", owner = owner,repo = repo),
9863 EndPoints::GetReposownerrepoSubscription(owner,repo) => format!("/repos/{owner}/{repo}/subscription", owner = owner,repo = repo),
9864 EndPoints::PutReposownerrepoSubscription(owner,repo) => format!("/repos/{owner}/{repo}/subscription", owner = owner,repo = repo),
9865 EndPoints::DeleteReposownerrepoSubscription(owner,repo) => format!("/repos/{owner}/{repo}/subscription", owner = owner,repo = repo),
9866 EndPoints::GetReposownerrepoTags(owner,repo) => format!("/repos/{owner}/{repo}/tags", owner = owner,repo = repo),
9867 EndPoints::GetReposownerrepoTarballref(owner,repo,aref) => format!("/repos/{owner}/{repo}/tarball/{aref}", owner = owner,repo = repo,aref = aref),
9868 EndPoints::GetReposownerrepoTeams(owner,repo) => format!("/repos/{owner}/{repo}/teams", owner = owner,repo = repo),
9869 EndPoints::GetReposownerrepoTopics(owner,repo) => format!("/repos/{owner}/{repo}/topics", owner = owner,repo = repo),
9870 EndPoints::PutReposownerrepoTopics(owner,repo) => format!("/repos/{owner}/{repo}/topics", owner = owner,repo = repo),
9871 EndPoints::GetReposownerrepoTrafficClones(owner,repo) => format!("/repos/{owner}/{repo}/traffic/clones", owner = owner,repo = repo),
9872 EndPoints::GetReposownerrepoTrafficPopularPaths(owner,repo) => format!("/repos/{owner}/{repo}/traffic/popular/paths", owner = owner,repo = repo),
9873 EndPoints::GetReposownerrepoTrafficPopularReferrers(owner,repo) => format!("/repos/{owner}/{repo}/traffic/popular/referrers", owner = owner,repo = repo),
9874 EndPoints::GetReposownerrepoTrafficViews(owner,repo) => format!("/repos/{owner}/{repo}/traffic/views", owner = owner,repo = repo),
9875 EndPoints::PostReposownerrepoTransfer(owner,repo) => format!("/repos/{owner}/{repo}/transfer", owner = owner,repo = repo),
9876 EndPoints::GetReposownerrepoVulnerabilityAlerts(owner,repo) => format!("/repos/{owner}/{repo}/vulnerability-alerts", owner = owner,repo = repo),
9877 EndPoints::PutReposownerrepoVulnerabilityAlerts(owner,repo) => format!("/repos/{owner}/{repo}/vulnerability-alerts", owner = owner,repo = repo),
9878 EndPoints::DeleteReposownerrepoVulnerabilityAlerts(owner,repo) => format!("/repos/{owner}/{repo}/vulnerability-alerts", owner = owner,repo = repo),
9879 EndPoints::GetReposownerrepoZipballref(owner,repo,aref) => format!("/repos/{owner}/{repo}/zipball/{aref}", owner = owner,repo = repo,aref = aref),
9880 EndPoints::PostRepostemplateOwnertemplateRepoGenerate(template_owner,template_repo) => format!("/repos/{template_owner}/{template_repo}/generate", template_owner = template_owner,template_repo = template_repo),
9881 EndPoints::GetRepositories() => "/repositories".to_string(),
9882 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecrets(repository_id,environment_name) => format!("/repositories/{repository_id}/environments/{environment_name}/secrets", repository_id = repository_id,environment_name = environment_name),
9883 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretsPublicKey(repository_id,environment_name) => format!("/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", repository_id = repository_id,environment_name = environment_name),
9884 EndPoints::GetRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(repository_id,environment_name,secret_name) => format!("/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", repository_id = repository_id,environment_name = environment_name,secret_name = secret_name),
9885 EndPoints::PutRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(repository_id,environment_name,secret_name) => format!("/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", repository_id = repository_id,environment_name = environment_name,secret_name = secret_name),
9886 EndPoints::DeleteRepositoriesrepositoryIdEnvironmentsenvironmentNameSecretssecretName(repository_id,environment_name,secret_name) => format!("/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", repository_id = repository_id,environment_name = environment_name,secret_name = secret_name),
9887 EndPoints::GetScimV2EnterprisesenterpriseGroups(enterprise) => format!("/scim/v2/enterprises/{enterprise}/Groups", enterprise = enterprise),
9888 EndPoints::PostScimV2EnterprisesenterpriseGroups(enterprise) => format!("/scim/v2/enterprises/{enterprise}/Groups", enterprise = enterprise),
9889 EndPoints::GetScimV2EnterprisesenterpriseGroupsscimGroupId(enterprise,scim_group_id) => format!("/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", enterprise = enterprise,scim_group_id = scim_group_id),
9890 EndPoints::PutScimV2EnterprisesenterpriseGroupsscimGroupId(enterprise,scim_group_id) => format!("/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", enterprise = enterprise,scim_group_id = scim_group_id),
9891 EndPoints::PatchScimV2EnterprisesenterpriseGroupsscimGroupId(enterprise,scim_group_id) => format!("/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", enterprise = enterprise,scim_group_id = scim_group_id),
9892 EndPoints::DeleteScimV2EnterprisesenterpriseGroupsscimGroupId(enterprise,scim_group_id) => format!("/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", enterprise = enterprise,scim_group_id = scim_group_id),
9893 EndPoints::GetScimV2EnterprisesenterpriseUsers(enterprise) => format!("/scim/v2/enterprises/{enterprise}/Users", enterprise = enterprise),
9894 EndPoints::PostScimV2EnterprisesenterpriseUsers(enterprise) => format!("/scim/v2/enterprises/{enterprise}/Users", enterprise = enterprise),
9895 EndPoints::GetScimV2EnterprisesenterpriseUsersscimUserId(enterprise,scim_user_id) => format!("/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", enterprise = enterprise,scim_user_id = scim_user_id),
9896 EndPoints::PutScimV2EnterprisesenterpriseUsersscimUserId(enterprise,scim_user_id) => format!("/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", enterprise = enterprise,scim_user_id = scim_user_id),
9897 EndPoints::PatchScimV2EnterprisesenterpriseUsersscimUserId(enterprise,scim_user_id) => format!("/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", enterprise = enterprise,scim_user_id = scim_user_id),
9898 EndPoints::DeleteScimV2EnterprisesenterpriseUsersscimUserId(enterprise,scim_user_id) => format!("/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", enterprise = enterprise,scim_user_id = scim_user_id),
9899 EndPoints::GetScimV2OrganizationsorgUsers(org) => format!("/scim/v2/organizations/{org}/Users", org = org),
9900 EndPoints::PostScimV2OrganizationsorgUsers(org) => format!("/scim/v2/organizations/{org}/Users", org = org),
9901 EndPoints::GetScimV2OrganizationsorgUsersscimUserId(org,scim_user_id) => format!("/scim/v2/organizations/{org}/Users/{scim_user_id}", org = org,scim_user_id = scim_user_id),
9902 EndPoints::PutScimV2OrganizationsorgUsersscimUserId(org,scim_user_id) => format!("/scim/v2/organizations/{org}/Users/{scim_user_id}", org = org,scim_user_id = scim_user_id),
9903 EndPoints::PatchScimV2OrganizationsorgUsersscimUserId(org,scim_user_id) => format!("/scim/v2/organizations/{org}/Users/{scim_user_id}", org = org,scim_user_id = scim_user_id),
9904 EndPoints::DeleteScimV2OrganizationsorgUsersscimUserId(org,scim_user_id) => format!("/scim/v2/organizations/{org}/Users/{scim_user_id}", org = org,scim_user_id = scim_user_id),
9905 EndPoints::GetSearchCode() => "/search/code".to_string(),
9906 EndPoints::GetSearchCommits() => "/search/commits".to_string(),
9907 EndPoints::GetSearchIssues() => "/search/issues".to_string(),
9908 EndPoints::GetSearchLabels() => "/search/labels".to_string(),
9909 EndPoints::GetSearchRepositories() => "/search/repositories".to_string(),
9910 EndPoints::GetSearchTopics() => "/search/topics".to_string(),
9911 EndPoints::GetSearchUsers() => "/search/users".to_string(),
9912 EndPoints::GetTeamsteamId(team_id) => format!("/teams/{team_id}", team_id = team_id),
9913 EndPoints::PatchTeamsteamId(team_id) => format!("/teams/{team_id}", team_id = team_id),
9914 EndPoints::DeleteTeamsteamId(team_id) => format!("/teams/{team_id}", team_id = team_id),
9915 EndPoints::GetTeamsteamIdDiscussions(team_id) => format!("/teams/{team_id}/discussions", team_id = team_id),
9916 EndPoints::PostTeamsteamIdDiscussions(team_id) => format!("/teams/{team_id}/discussions", team_id = team_id),
9917 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumber(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}", team_id = team_id,discussion_number = discussion_number),
9918 EndPoints::PatchTeamsteamIdDiscussionsdiscussionNumber(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}", team_id = team_id,discussion_number = discussion_number),
9919 EndPoints::DeleteTeamsteamIdDiscussionsdiscussionNumber(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}", team_id = team_id,discussion_number = discussion_number),
9920 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberComments(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments", team_id = team_id,discussion_number = discussion_number),
9921 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberComments(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments", team_id = team_id,discussion_number = discussion_number),
9922 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(team_id,discussion_number,comment_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", team_id = team_id,discussion_number = discussion_number,comment_number = comment_number),
9923 EndPoints::PatchTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(team_id,discussion_number,comment_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", team_id = team_id,discussion_number = discussion_number,comment_number = comment_number),
9924 EndPoints::DeleteTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumber(team_id,discussion_number,comment_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", team_id = team_id,discussion_number = discussion_number,comment_number = comment_number),
9925 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(team_id,discussion_number,comment_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", team_id = team_id,discussion_number = discussion_number,comment_number = comment_number),
9926 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberCommentscommentNumberReactions(team_id,discussion_number,comment_number) => format!("/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", team_id = team_id,discussion_number = discussion_number,comment_number = comment_number),
9927 EndPoints::GetTeamsteamIdDiscussionsdiscussionNumberReactions(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}/reactions", team_id = team_id,discussion_number = discussion_number),
9928 EndPoints::PostTeamsteamIdDiscussionsdiscussionNumberReactions(team_id,discussion_number) => format!("/teams/{team_id}/discussions/{discussion_number}/reactions", team_id = team_id,discussion_number = discussion_number),
9929 EndPoints::GetTeamsteamIdInvitations(team_id) => format!("/teams/{team_id}/invitations", team_id = team_id),
9930 EndPoints::GetTeamsteamIdMembers(team_id) => format!("/teams/{team_id}/members", team_id = team_id),
9931 EndPoints::GetTeamsteamIdMembersusername(team_id,username) => format!("/teams/{team_id}/members/{username}", team_id = team_id,username = username),
9932 EndPoints::PutTeamsteamIdMembersusername(team_id,username) => format!("/teams/{team_id}/members/{username}", team_id = team_id,username = username),
9933 EndPoints::DeleteTeamsteamIdMembersusername(team_id,username) => format!("/teams/{team_id}/members/{username}", team_id = team_id,username = username),
9934 EndPoints::GetTeamsteamIdMembershipsusername(team_id,username) => format!("/teams/{team_id}/memberships/{username}", team_id = team_id,username = username),
9935 EndPoints::PutTeamsteamIdMembershipsusername(team_id,username) => format!("/teams/{team_id}/memberships/{username}", team_id = team_id,username = username),
9936 EndPoints::DeleteTeamsteamIdMembershipsusername(team_id,username) => format!("/teams/{team_id}/memberships/{username}", team_id = team_id,username = username),
9937 EndPoints::GetTeamsteamIdProjects(team_id) => format!("/teams/{team_id}/projects", team_id = team_id),
9938 EndPoints::GetTeamsteamIdProjectsprojectId(team_id,project_id) => format!("/teams/{team_id}/projects/{project_id}", team_id = team_id,project_id = project_id),
9939 EndPoints::PutTeamsteamIdProjectsprojectId(team_id,project_id) => format!("/teams/{team_id}/projects/{project_id}", team_id = team_id,project_id = project_id),
9940 EndPoints::DeleteTeamsteamIdProjectsprojectId(team_id,project_id) => format!("/teams/{team_id}/projects/{project_id}", team_id = team_id,project_id = project_id),
9941 EndPoints::GetTeamsteamIdRepos(team_id) => format!("/teams/{team_id}/repos", team_id = team_id),
9942 EndPoints::GetTeamsteamIdReposownerrepo(team_id,owner,repo) => format!("/teams/{team_id}/repos/{owner}/{repo}", team_id = team_id,owner = owner,repo = repo),
9943 EndPoints::PutTeamsteamIdReposownerrepo(team_id,owner,repo) => format!("/teams/{team_id}/repos/{owner}/{repo}", team_id = team_id,owner = owner,repo = repo),
9944 EndPoints::DeleteTeamsteamIdReposownerrepo(team_id,owner,repo) => format!("/teams/{team_id}/repos/{owner}/{repo}", team_id = team_id,owner = owner,repo = repo),
9945 EndPoints::GetTeamsteamIdTeamSyncGroupMappings(team_id) => format!("/teams/{team_id}/team-sync/group-mappings", team_id = team_id),
9946 EndPoints::PatchTeamsteamIdTeamSyncGroupMappings(team_id) => format!("/teams/{team_id}/team-sync/group-mappings", team_id = team_id),
9947 EndPoints::GetTeamsteamIdTeams(team_id) => format!("/teams/{team_id}/teams", team_id = team_id),
9948 EndPoints::GetUser() => "/user".to_string(),
9949 EndPoints::PatchUser() => "/user".to_string(),
9950 EndPoints::GetUserBlocks() => "/user/blocks".to_string(),
9951 EndPoints::GetUserBlocksusername(username) => format!("/user/blocks/{username}", username = username),
9952 EndPoints::PutUserBlocksusername(username) => format!("/user/blocks/{username}", username = username),
9953 EndPoints::DeleteUserBlocksusername(username) => format!("/user/blocks/{username}", username = username),
9954 EndPoints::GetUserCodespaces() => "/user/codespaces".to_string(),
9955 EndPoints::PostUserCodespaces() => "/user/codespaces".to_string(),
9956 EndPoints::GetUserCodespacesSecrets() => "/user/codespaces/secrets".to_string(),
9957 EndPoints::GetUserCodespacesSecretsPublicKey() => "/user/codespaces/secrets/public-key".to_string(),
9958 EndPoints::GetUserCodespacesSecretssecretName(secret_name) => format!("/user/codespaces/secrets/{secret_name}", secret_name = secret_name),
9959 EndPoints::PutUserCodespacesSecretssecretName(secret_name) => format!("/user/codespaces/secrets/{secret_name}", secret_name = secret_name),
9960 EndPoints::DeleteUserCodespacesSecretssecretName(secret_name) => format!("/user/codespaces/secrets/{secret_name}", secret_name = secret_name),
9961 EndPoints::GetUserCodespacesSecretssecretNameRepositories(secret_name) => format!("/user/codespaces/secrets/{secret_name}/repositories", secret_name = secret_name),
9962 EndPoints::PutUserCodespacesSecretssecretNameRepositories(secret_name) => format!("/user/codespaces/secrets/{secret_name}/repositories", secret_name = secret_name),
9963 EndPoints::PutUserCodespacesSecretssecretNameRepositoriesrepositoryId(secret_name,repository_id) => format!("/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", secret_name = secret_name,repository_id = repository_id),
9964 EndPoints::DeleteUserCodespacesSecretssecretNameRepositoriesrepositoryId(secret_name,repository_id) => format!("/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", secret_name = secret_name,repository_id = repository_id),
9965 EndPoints::GetUserCodespacescodespaceName(codespace_name) => format!("/user/codespaces/{codespace_name}", codespace_name = codespace_name),
9966 EndPoints::PatchUserCodespacescodespaceName(codespace_name) => format!("/user/codespaces/{codespace_name}", codespace_name = codespace_name),
9967 EndPoints::DeleteUserCodespacescodespaceName(codespace_name) => format!("/user/codespaces/{codespace_name}", codespace_name = codespace_name),
9968 EndPoints::PostUserCodespacescodespaceNameExports(codespace_name) => format!("/user/codespaces/{codespace_name}/exports", codespace_name = codespace_name),
9969 EndPoints::GetUserCodespacescodespaceNameExportsexportId(codespace_name,export_id) => format!("/user/codespaces/{codespace_name}/exports/{export_id}", codespace_name = codespace_name,export_id = export_id),
9970 EndPoints::GetUserCodespacescodespaceNameMachines(codespace_name) => format!("/user/codespaces/{codespace_name}/machines", codespace_name = codespace_name),
9971 EndPoints::PostUserCodespacescodespaceNameStart(codespace_name) => format!("/user/codespaces/{codespace_name}/start", codespace_name = codespace_name),
9972 EndPoints::PostUserCodespacescodespaceNameStop(codespace_name) => format!("/user/codespaces/{codespace_name}/stop", codespace_name = codespace_name),
9973 EndPoints::PatchUserEmailVisibility() => "/user/email/visibility".to_string(),
9974 EndPoints::GetUserEmails() => "/user/emails".to_string(),
9975 EndPoints::PostUserEmails() => "/user/emails".to_string(),
9976 EndPoints::DeleteUserEmails() => "/user/emails".to_string(),
9977 EndPoints::GetUserFollowers() => "/user/followers".to_string(),
9978 EndPoints::GetUserFollowing() => "/user/following".to_string(),
9979 EndPoints::GetUserFollowingusername(username) => format!("/user/following/{username}", username = username),
9980 EndPoints::PutUserFollowingusername(username) => format!("/user/following/{username}", username = username),
9981 EndPoints::DeleteUserFollowingusername(username) => format!("/user/following/{username}", username = username),
9982 EndPoints::GetUserGpgKeys() => "/user/gpg_keys".to_string(),
9983 EndPoints::PostUserGpgKeys() => "/user/gpg_keys".to_string(),
9984 EndPoints::GetUserGpgKeysgpgKeyId(gpg_key_id) => format!("/user/gpg_keys/{gpg_key_id}", gpg_key_id = gpg_key_id),
9985 EndPoints::DeleteUserGpgKeysgpgKeyId(gpg_key_id) => format!("/user/gpg_keys/{gpg_key_id}", gpg_key_id = gpg_key_id),
9986 EndPoints::GetUserInstallations() => "/user/installations".to_string(),
9987 EndPoints::GetUserInstallationsinstallationIdRepositories(installation_id) => format!("/user/installations/{installation_id}/repositories", installation_id = installation_id),
9988 EndPoints::PutUserInstallationsinstallationIdRepositoriesrepositoryId(installation_id,repository_id) => format!("/user/installations/{installation_id}/repositories/{repository_id}", installation_id = installation_id,repository_id = repository_id),
9989 EndPoints::DeleteUserInstallationsinstallationIdRepositoriesrepositoryId(installation_id,repository_id) => format!("/user/installations/{installation_id}/repositories/{repository_id}", installation_id = installation_id,repository_id = repository_id),
9990 EndPoints::GetUserInteractionLimits() => "/user/interaction-limits".to_string(),
9991 EndPoints::PutUserInteractionLimits() => "/user/interaction-limits".to_string(),
9992 EndPoints::DeleteUserInteractionLimits() => "/user/interaction-limits".to_string(),
9993 EndPoints::GetUserIssues() => "/user/issues".to_string(),
9994 EndPoints::GetUserKeys() => "/user/keys".to_string(),
9995 EndPoints::PostUserKeys() => "/user/keys".to_string(),
9996 EndPoints::GetUserKeyskeyId(key_id) => format!("/user/keys/{key_id}", key_id = key_id),
9997 EndPoints::DeleteUserKeyskeyId(key_id) => format!("/user/keys/{key_id}", key_id = key_id),
9998 EndPoints::GetUserMarketplacePurchases() => "/user/marketplace_purchases".to_string(),
9999 EndPoints::GetUserMarketplacePurchasesStubbed() => "/user/marketplace_purchases/stubbed".to_string(),
10000 EndPoints::GetUserMembershipsOrgs() => "/user/memberships/orgs".to_string(),
10001 EndPoints::GetUserMembershipsOrgsorg(org) => format!("/user/memberships/orgs/{org}", org = org),
10002 EndPoints::PatchUserMembershipsOrgsorg(org) => format!("/user/memberships/orgs/{org}", org = org),
10003 EndPoints::GetUserMigrations() => "/user/migrations".to_string(),
10004 EndPoints::PostUserMigrations() => "/user/migrations".to_string(),
10005 EndPoints::GetUserMigrationsmigrationId(migration_id) => format!("/user/migrations/{migration_id}", migration_id = migration_id),
10006 EndPoints::GetUserMigrationsmigrationIdArchive(migration_id) => format!("/user/migrations/{migration_id}/archive", migration_id = migration_id),
10007 EndPoints::DeleteUserMigrationsmigrationIdArchive(migration_id) => format!("/user/migrations/{migration_id}/archive", migration_id = migration_id),
10008 EndPoints::DeleteUserMigrationsmigrationIdReposrepoNameLock(migration_id,repo_name) => format!("/user/migrations/{migration_id}/repos/{repo_name}/lock", migration_id = migration_id,repo_name = repo_name),
10009 EndPoints::GetUserMigrationsmigrationIdRepositories(migration_id) => format!("/user/migrations/{migration_id}/repositories", migration_id = migration_id),
10010 EndPoints::GetUserOrgs() => "/user/orgs".to_string(),
10011 EndPoints::GetUserPackages() => "/user/packages".to_string(),
10012 EndPoints::GetUserPackagespackageTypepackageName(package_type,package_name) => format!("/user/packages/{package_type}/{package_name}", package_type = package_type,package_name = package_name),
10013 EndPoints::DeleteUserPackagespackageTypepackageName(package_type,package_name) => format!("/user/packages/{package_type}/{package_name}", package_type = package_type,package_name = package_name),
10014 EndPoints::PostUserPackagespackageTypepackageNameRestore(package_type,package_name) => format!("/user/packages/{package_type}/{package_name}/restore", package_type = package_type,package_name = package_name),
10015 EndPoints::GetUserPackagespackageTypepackageNameVersions(package_type,package_name) => format!("/user/packages/{package_type}/{package_name}/versions", package_type = package_type,package_name = package_name),
10016 EndPoints::GetUserPackagespackageTypepackageNameVersionspackageVersionId(package_type,package_name,package_version_id) => format!("/user/packages/{package_type}/{package_name}/versions/{package_version_id}", package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10017 EndPoints::DeleteUserPackagespackageTypepackageNameVersionspackageVersionId(package_type,package_name,package_version_id) => format!("/user/packages/{package_type}/{package_name}/versions/{package_version_id}", package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10018 EndPoints::PostUserPackagespackageTypepackageNameVersionspackageVersionIdRestore(package_type,package_name,package_version_id) => format!("/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10019 EndPoints::PostUserProjects() => "/user/projects".to_string(),
10020 EndPoints::GetUserPublicEmails() => "/user/public_emails".to_string(),
10021 EndPoints::GetUserRepos() => "/user/repos".to_string(),
10022 EndPoints::PostUserRepos() => "/user/repos".to_string(),
10023 EndPoints::GetUserRepositoryInvitations() => "/user/repository_invitations".to_string(),
10024 EndPoints::PatchUserRepositoryInvitationsinvitationId(invitation_id) => format!("/user/repository_invitations/{invitation_id}", invitation_id = invitation_id),
10025 EndPoints::DeleteUserRepositoryInvitationsinvitationId(invitation_id) => format!("/user/repository_invitations/{invitation_id}", invitation_id = invitation_id),
10026 EndPoints::GetUserStarred() => "/user/starred".to_string(),
10027 EndPoints::GetUserStarredownerrepo(owner,repo) => format!("/user/starred/{owner}/{repo}", owner = owner,repo = repo),
10028 EndPoints::PutUserStarredownerrepo(owner,repo) => format!("/user/starred/{owner}/{repo}", owner = owner,repo = repo),
10029 EndPoints::DeleteUserStarredownerrepo(owner,repo) => format!("/user/starred/{owner}/{repo}", owner = owner,repo = repo),
10030 EndPoints::GetUserSubscriptions() => "/user/subscriptions".to_string(),
10031 EndPoints::GetUserTeams() => "/user/teams".to_string(),
10032 EndPoints::GetUsers() => "/users".to_string(),
10033 EndPoints::GetUsersusername(username) => format!("/users/{username}", username = username),
10034 EndPoints::GetUsersusernameEvents(username) => format!("/users/{username}/events", username = username),
10035 EndPoints::GetUsersusernameEventsOrgsorg(username,org) => format!("/users/{username}/events/orgs/{org}", username = username,org = org),
10036 EndPoints::GetUsersusernameEventsPublic(username) => format!("/users/{username}/events/public", username = username),
10037 EndPoints::GetUsersusernameFollowers(username) => format!("/users/{username}/followers", username = username),
10038 EndPoints::GetUsersusernameFollowing(username) => format!("/users/{username}/following", username = username),
10039 EndPoints::GetUsersusernameFollowingtargetUser(username,target_user) => format!("/users/{username}/following/{target_user}", username = username,target_user = target_user),
10040 EndPoints::GetUsersusernameGists(username) => format!("/users/{username}/gists", username = username),
10041 EndPoints::GetUsersusernameGpgKeys(username) => format!("/users/{username}/gpg_keys", username = username),
10042 EndPoints::GetUsersusernameHovercard(username) => format!("/users/{username}/hovercard", username = username),
10043 EndPoints::GetUsersusernameInstallation(username) => format!("/users/{username}/installation", username = username),
10044 EndPoints::GetUsersusernameKeys(username) => format!("/users/{username}/keys", username = username),
10045 EndPoints::GetUsersusernameOrgs(username) => format!("/users/{username}/orgs", username = username),
10046 EndPoints::GetUsersusernamePackages(username) => format!("/users/{username}/packages", username = username),
10047 EndPoints::GetUsersusernamePackagespackageTypepackageName(username,package_type,package_name) => format!("/users/{username}/packages/{package_type}/{package_name}", username = username,package_type = package_type,package_name = package_name),
10048 EndPoints::DeleteUsersusernamePackagespackageTypepackageName(username,package_type,package_name) => format!("/users/{username}/packages/{package_type}/{package_name}", username = username,package_type = package_type,package_name = package_name),
10049 EndPoints::PostUsersusernamePackagespackageTypepackageNameRestore(username,package_type,package_name) => format!("/users/{username}/packages/{package_type}/{package_name}/restore", username = username,package_type = package_type,package_name = package_name),
10050 EndPoints::GetUsersusernamePackagespackageTypepackageNameVersions(username,package_type,package_name) => format!("/users/{username}/packages/{package_type}/{package_name}/versions", username = username,package_type = package_type,package_name = package_name),
10051 EndPoints::GetUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(username,package_type,package_name,package_version_id) => format!("/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", username = username,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10052 EndPoints::DeleteUsersusernamePackagespackageTypepackageNameVersionspackageVersionId(username,package_type,package_name,package_version_id) => format!("/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", username = username,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10053 EndPoints::PostUsersusernamePackagespackageTypepackageNameVersionspackageVersionIdRestore(username,package_type,package_name,package_version_id) => format!("/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", username = username,package_type = package_type,package_name = package_name,package_version_id = package_version_id),
10054 EndPoints::GetUsersusernameProjects(username) => format!("/users/{username}/projects", username = username),
10055 EndPoints::GetUsersusernameReceivedEvents(username) => format!("/users/{username}/received_events", username = username),
10056 EndPoints::GetUsersusernameReceivedEventsPublic(username) => format!("/users/{username}/received_events/public", username = username),
10057 EndPoints::GetUsersusernameRepos(username) => format!("/users/{username}/repos", username = username),
10058 EndPoints::GetUsersusernameSettingsBillingActions(username) => format!("/users/{username}/settings/billing/actions", username = username),
10059 EndPoints::GetUsersusernameSettingsBillingPackages(username) => format!("/users/{username}/settings/billing/packages", username = username),
10060 EndPoints::GetUsersusernameSettingsBillingSharedStorage(username) => format!("/users/{username}/settings/billing/shared-storage", username = username),
10061 EndPoints::GetUsersusernameStarred(username) => format!("/users/{username}/starred", username = username),
10062 EndPoints::GetUsersusernameSubscriptions(username) => format!("/users/{username}/subscriptions", username = username),
10063 EndPoints::GetZen() => "/zen".to_string()}
10064 }
10065}