You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: new /orgs/{org}/issue-types, /orgs/{org}/issue-types/{issue_type_id} enpoints, add issue type to responses, add dismissal request for code scanning for GHES and GHEC, description updates (#456)
Copy file name to clipboardExpand all lines: packages/openapi-types-ghes-3.12/types.d.ts
+85-5Lines changed: 85 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5774,7 +5774,7 @@ export interface paths {
5774
5774
*
5775
5775
* The authenticated user must have admin or owner permissions to the repository to use this endpoint.
5776
5776
*
5777
-
* For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/[email protected]/rest/apps/apps#get-an-app).
5777
+
* For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/[email protected]/rest/apps/apps#get-an-app), as well as the [guide to creating custom deployment protection rules](https://docs.github.com/[email protected]/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules).
5778
5778
*
5779
5779
* OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
/** @description The unique identifier of the issue type. */
12393
+
id: number;
12394
+
/** @description The node identifier of the issue type. */
12395
+
node_id: string;
12396
+
/** @description The name of the issue type. */
12397
+
name: string;
12398
+
/** @description The description of the issue type. */
12399
+
description: string | null;
12400
+
/**
12401
+
* @description The color of the issue type.
12402
+
* @enum {string|null}
12403
+
*/
12404
+
color?:
12405
+
| "gray"
12406
+
| "blue"
12407
+
| "green"
12408
+
| "yellow"
12409
+
| "orange"
12410
+
| "red"
12411
+
| "pink"
12412
+
| "purple"
12413
+
| null;
12414
+
/**
12415
+
* Format: date-time
12416
+
* @description The time the issue type created.
12417
+
*/
12418
+
created_at?: string;
12419
+
/**
12420
+
* Format: date-time
12421
+
* @description The time the issue type last updated.
12422
+
*/
12423
+
updated_at?: string;
12424
+
/** @description The enabled state of the issue type. */
12425
+
is_enabled?: boolean;
12426
+
} | null;
12384
12427
/**
12385
12428
* GitHub app
12386
12429
* @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
/** @description Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */
76554
76616
"personal-access-token-after"?: string;
76617
+
/** @description The ID of the token */
76618
+
"personal-access-token-token-id"?: string[];
76555
76619
/** @description The unique identifier of the fine-grained personal access token. */
* The authenticated user must have admin or owner permissions to the repository to use this endpoint.
96156
96224
*
96157
-
* For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/[email protected]/rest/apps/apps#get-an-app).
96225
+
* For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/[email protected]/rest/apps/apps#get-an-app), as well as the [guide to creating custom deployment protection rules](https://docs.github.com/[email protected]/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules).
96158
96226
*
96159
96227
* OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
/** @description Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. */
97755
97823
assignee?: string;
97824
+
/** @description Can be the name of an issue type. If the string `*` is passed, issues with any type are accepted. If the string `none` is passed, issues without type are returned. */
97825
+
type?: string;
97756
97826
/** @description The user that created the issue. */
97757
97827
creator?: string;
97758
97828
/** @description A user that's mentioned in the issue. */
/** @description Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */
97832
97902
assignees?: string[];
97903
+
/**
97904
+
* @description The name of the issue type to associate with this issue.
/** @description Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. */
98236
98311
assignees?: string[];
98312
+
/**
98313
+
* @description The name of the issue type to associate with this issue or use `null` to remove the current issue type.
0 commit comments