Skip to content

Commit

Permalink
feat: new GET /enterprises/{enterprise}/code-scanning/alerts endpoi…
Browse files Browse the repository at this point in the history
…nt and description updates for multiple other endpoints (#215)
  • Loading branch information
octokitbot committed Jul 27, 2022
1 parent a5a9031 commit a173f4b
Show file tree
Hide file tree
Showing 18 changed files with 191,929 additions and 57,372 deletions.
46,805 changes: 35,626 additions & 11,179 deletions cache/api.github.com.json

Large diffs are not rendered by default.

38,510 changes: 29,655 additions & 8,855 deletions cache/ghes-3.2.json

Large diffs are not rendered by default.

38,795 changes: 29,942 additions & 8,853 deletions cache/ghes-3.3.json

Large diffs are not rendered by default.

40,123 changes: 30,908 additions & 9,215 deletions cache/ghes-3.4.json

Large diffs are not rendered by default.

43,884 changes: 34,026 additions & 9,858 deletions cache/ghes-3.5.json

Large diffs are not rendered by default.

40,715 changes: 31,493 additions & 9,222 deletions cache/github.ae.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "6.7.1"
"openapi-version": "6.8.0"
}
}
12 changes: 7 additions & 5 deletions packages/openapi-types-ghes-3.2/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ export interface paths {
"/orgs/{org}/projects": {
/** 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. */
get: operations["projects/list-for-org"];
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-org"];
};
"/orgs/{org}/public_members": {
Expand Down Expand Up @@ -3370,7 +3370,7 @@ export interface paths {
"/repos/{owner}/{repo}/projects": {
/** 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. */
get: operations["projects/list-for-repo"];
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-repo"];
};
"/repos/{owner}/{repo}/pulls": {
Expand Down Expand Up @@ -4424,6 +4424,7 @@ export interface paths {
get: operations["orgs/list-for-authenticated-user"];
};
"/user/projects": {
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-authenticated-user"];
};
"/user/public_emails": {
Expand Down Expand Up @@ -21116,7 +21117,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-org": {
parameters: {
path: {
Expand Down Expand Up @@ -28028,7 +28029,7 @@ export interface operations {
"application/json": {
/** @description A custom webhook event name. Must be 100 characters or fewer. */
event_type: string;
/** @description JSON payload with extra information about the webhook event that your action or worklow may use. */
/** @description JSON payload with extra information about the webhook event that your action or workflow may use. */
client_payload?: { [key: string]: unknown };
};
};
Expand Down Expand Up @@ -31138,7 +31139,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-repo": {
parameters: {
path: {
Expand Down Expand Up @@ -35855,6 +35856,7 @@ export interface operations {
403: components["responses"]["forbidden"];
};
};
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-authenticated-user": {
parameters: {};
responses: {
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "6.7.1"
"openapi-version": "6.8.0"
}
}
12 changes: 7 additions & 5 deletions packages/openapi-types-ghes-3.3/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ export interface paths {
"/orgs/{org}/projects": {
/** 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. */
get: operations["projects/list-for-org"];
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-org"];
};
"/orgs/{org}/public_members": {
Expand Down Expand Up @@ -3424,7 +3424,7 @@ export interface paths {
"/repos/{owner}/{repo}/projects": {
/** 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. */
get: operations["projects/list-for-repo"];
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-repo"];
};
"/repos/{owner}/{repo}/pulls": {
Expand Down Expand Up @@ -4486,6 +4486,7 @@ export interface paths {
get: operations["orgs/list-for-authenticated-user"];
};
"/user/projects": {
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-authenticated-user"];
};
"/user/public_emails": {
Expand Down Expand Up @@ -21791,7 +21792,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-org": {
parameters: {
path: {
Expand Down Expand Up @@ -28883,7 +28884,7 @@ export interface operations {
"application/json": {
/** @description A custom webhook event name. Must be 100 characters or fewer. */
event_type: string;
/** @description JSON payload with extra information about the webhook event that your action or worklow may use. */
/** @description JSON payload with extra information about the webhook event that your action or workflow may use. */
client_payload?: { [key: string]: unknown };
};
};
Expand Down Expand Up @@ -32059,7 +32060,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-repo": {
parameters: {
path: {
Expand Down Expand Up @@ -36842,6 +36843,7 @@ export interface operations {
403: components["responses"]["forbidden"];
};
};
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-authenticated-user": {
parameters: {};
responses: {
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "6.7.1"
"openapi-version": "6.8.0"
}
}
12 changes: 7 additions & 5 deletions packages/openapi-types-ghes-3.4/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ export interface paths {
"/orgs/{org}/projects": {
/** 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. */
get: operations["projects/list-for-org"];
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-org"];
};
"/orgs/{org}/public_members": {
Expand Down Expand Up @@ -3765,7 +3765,7 @@ export interface paths {
"/repos/{owner}/{repo}/projects": {
/** 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. */
get: operations["projects/list-for-repo"];
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-repo"];
};
"/repos/{owner}/{repo}/pulls": {
Expand Down Expand Up @@ -4867,6 +4867,7 @@ export interface paths {
get: operations["orgs/list-for-authenticated-user"];
};
"/user/projects": {
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
post: operations["projects/create-for-authenticated-user"];
};
"/user/public_emails": {
Expand Down Expand Up @@ -22925,7 +22926,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-org": {
parameters: {
path: {
Expand Down Expand Up @@ -30364,7 +30365,7 @@ export interface operations {
"application/json": {
/** @description A custom webhook event name. Must be 100 characters or fewer. */
event_type: string;
/** @description JSON payload with extra information about the webhook event that your action or worklow may use. */
/** @description JSON payload with extra information about the webhook event that your action or workflow may use. */
client_payload?: { [key: string]: unknown };
};
};
Expand Down Expand Up @@ -33540,7 +33541,7 @@ export interface operations {
422: components["responses"]["validation_failed_simple"];
};
};
/** 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. */
/** Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-repo": {
parameters: {
path: {
Expand Down Expand Up @@ -38512,6 +38513,7 @@ export interface operations {
403: components["responses"]["forbidden"];
};
};
/** Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. */
"projects/create-for-authenticated-user": {
parameters: {};
responses: {
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "6.7.1"
"openapi-version": "6.8.0"
}
}
Loading

0 comments on commit a173f4b

Please sign in to comment.