Skip to content

Commit

Permalink
fix: rename org_id path parameter for `GET /orgs/{org_id}/codespace…
Browse files Browse the repository at this point in the history
…s` to `org`
  • Loading branch information
timrogers committed Jul 2, 2022
1 parent 717167e commit 1ae2a09
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/generated/paginating-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,6 @@ export interface PaginatingEndpoints {
response: Endpoints["GET /organizations"]["response"];
};

/**
* @see https://docs.github.com/rest/reference/codespaces#list-in-organization
*/
"GET /orgs/{org_id}/codespaces": {
parameters: Endpoints["GET /orgs/{org_id}/codespaces"]["parameters"];
response: Endpoints["GET /orgs/{org_id}/codespaces"]["response"] & {
data: Endpoints["GET /orgs/{org_id}/codespaces"]["response"]["data"]["codespaces"];
};
};

/**
* @see https://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization
*/
Expand Down Expand Up @@ -361,6 +351,16 @@ export interface PaginatingEndpoints {
response: Endpoints["GET /orgs/{org}/code-scanning/alerts"]["response"];
};

/**
* @see https://docs.github.com/rest/reference/codespaces#list-in-organization
*/
"GET /orgs/{org}/codespaces": {
parameters: Endpoints["GET /orgs/{org}/codespaces"]["parameters"];
response: Endpoints["GET /orgs/{org}/codespaces"]["response"] & {
data: Endpoints["GET /orgs/{org}/codespaces"]["response"]["data"]["codespaces"];
};
};

/**
* @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization
*/
Expand Down Expand Up @@ -1854,7 +1854,6 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
"GET /networks/{owner}/{repo}/events",
"GET /notifications",
"GET /organizations",
"GET /orgs/{org_id}/codespaces",
"GET /orgs/{org}/actions/cache/usage-by-repository",
"GET /orgs/{org}/actions/permissions/repositories",
"GET /orgs/{org}/actions/runner-groups",
Expand All @@ -1866,6 +1865,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
"GET /orgs/{org}/audit-log",
"GET /orgs/{org}/blocks",
"GET /orgs/{org}/code-scanning/alerts",
"GET /orgs/{org}/codespaces",
"GET /orgs/{org}/credential-authorizations",
"GET /orgs/{org}/dependabot/secrets",
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
Expand Down

0 comments on commit 1ae2a09

Please sign in to comment.