diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 08bc33918..2d6e8d0d9 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -789,26 +789,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -818,6 +817,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -892,10 +895,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -1184,7 +1186,7 @@ }, "post": { "summary": "Create a task", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository\n", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository.\n", "tags": [ "agent-tasks" ], @@ -1226,33 +1228,21 @@ "schema": { "type": "object", "required": [ - "event_content" + "prompt" ], "properties": { - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID (optional, defaults to coding agent)" - }, - "problem_statement": { - "type": "string", - "description": "Additional prompting for the agent" - }, - "event_content": { + "prompt": { "type": "string", - "description": "User's written prompt" + "description": "The user's prompt for the agent" }, "model": { "type": "string", "description": "The model to use for this task. The allowed models may change over time and depend on the user's GitHub Copilot plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`" }, - "custom_agent": { - "type": "string", - "description": "Custom agent identifier" - }, "create_pull_request": { "type": "boolean", - "description": "Whether to create a PR" + "description": "Whether to create a PR.", + "default": false }, "base_ref": { "type": "string", @@ -1263,8 +1253,7 @@ "examples": { "default": { "value": { - "event_content": "Fix the login button on the homepage", - "create_pull_request": true, + "prompt": "Fix the login button on the homepage", "base_ref": "main" } } @@ -1403,26 +1392,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1432,6 +1420,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -1896,26 +1888,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1925,6 +1916,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2016,15 +2011,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -2058,47 +2044,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -2107,20 +2056,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -2161,10 +2100,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -2189,9 +2127,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -2714,26 +2653,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2743,6 +2681,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2815,10 +2757,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3214,26 +3155,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -3243,6 +3183,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3334,15 +3278,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -3376,47 +3311,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -3425,20 +3323,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -3479,10 +3367,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3507,9 +3394,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -32764,6 +32652,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -66651,6 +66542,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -125827,6 +125721,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -139772,6 +139671,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -155988,6 +155892,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -322081,7 +321990,16 @@ "secret-scanning-alert-exclude-providers": { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-providers": { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index a03d52c56..a6e55d166 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -550,28 +550,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -624,10 +628,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -857,7 +860,7 @@ paths: > [!NOTE] > This endpoint is in public preview and is subject to change. - Creates a new task for a repository + Creates a new task for a repository. tags: - agent-tasks operationId: agent-tasks/create-task @@ -889,18 +892,11 @@ paths: schema: type: object required: - - event_content + - prompt properties: - agent_id: - type: integer - format: int64 - description: Agent ID (optional, defaults to coding agent) - problem_statement: + prompt: type: string - description: Additional prompting for the agent - event_content: - type: string - description: User's written prompt + description: The user's prompt for the agent model: type: string description: 'The model to use for this task. The allowed models @@ -908,20 +904,17 @@ paths: plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`' - custom_agent: - type: string - description: Custom agent identifier create_pull_request: type: boolean - description: Whether to create a PR + description: Whether to create a PR. + default: false base_ref: type: string description: Base ref for new branch/PR examples: default: value: - event_content: Fix the login button on the homepage - create_pull_request: true + prompt: Fix the login button on the homepage base_ref: main responses: '201': @@ -1026,26 +1019,31 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1407,28 +1405,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1495,13 +1497,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -1529,54 +1524,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -1603,10 +1562,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -1624,9 +1582,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Bad request content: @@ -2040,28 +1999,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2112,10 +2075,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2425,28 +2387,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2513,13 +2479,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -2547,54 +2506,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -2621,10 +2544,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2642,9 +2564,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Problems parsing request content: @@ -23940,6 +23863,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -48616,6 +48540,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -92473,6 +92398,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -103105,6 +103036,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -115536,6 +115473,11 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -244493,7 +244435,22 @@ components: secret-scanning-alert-exclude-providers: name: exclude_providers in: query - description: A comma-separated list of provider names to exclude from the results. + description: |- + A comma-separated list of provider slugs to exclude from the results. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `providers` parameter. + required: false + schema: + type: string + secret-scanning-alert-providers: + name: providers + in: query + description: |- + A comma-separated list of provider slugs to filter by. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `exclude_providers` parameter. required: false schema: type: string diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index e5d02017a..a10102330 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -789,26 +789,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -818,6 +817,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -892,10 +895,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -1184,7 +1186,7 @@ }, "post": { "summary": "Create a task", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository\n", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository.\n", "tags": [ "agent-tasks" ], @@ -1226,33 +1228,21 @@ "schema": { "type": "object", "required": [ - "event_content" + "prompt" ], "properties": { - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID (optional, defaults to coding agent)" - }, - "problem_statement": { - "type": "string", - "description": "Additional prompting for the agent" - }, - "event_content": { + "prompt": { "type": "string", - "description": "User's written prompt" + "description": "The user's prompt for the agent" }, "model": { "type": "string", "description": "The model to use for this task. The allowed models may change over time and depend on the user's GitHub Copilot plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`" }, - "custom_agent": { - "type": "string", - "description": "Custom agent identifier" - }, "create_pull_request": { "type": "boolean", - "description": "Whether to create a PR" + "description": "Whether to create a PR.", + "default": false }, "base_ref": { "type": "string", @@ -1263,8 +1253,7 @@ "examples": { "default": { "value": { - "event_content": "Fix the login button on the homepage", - "create_pull_request": true, + "prompt": "Fix the login button on the homepage", "base_ref": "main" } } @@ -1403,26 +1392,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1432,6 +1420,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -1896,26 +1888,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1925,6 +1916,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2016,15 +2011,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -2058,47 +2044,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -2107,20 +2056,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -2161,10 +2100,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -2189,9 +2127,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -2714,26 +2653,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2743,6 +2681,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2815,10 +2757,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3214,26 +3155,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -3243,6 +3183,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3334,15 +3278,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -3376,47 +3311,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -3425,20 +3323,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -3479,10 +3367,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3507,9 +3394,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -32721,6 +32609,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -66563,6 +66454,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -125283,6 +125177,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -139177,6 +139076,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -155569,6 +155473,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -321330,7 +321239,16 @@ "secret-scanning-alert-exclude-providers": { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-providers": { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 64e273203..f44d94d45 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -550,28 +550,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -624,10 +628,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -857,7 +860,7 @@ paths: > [!NOTE] > This endpoint is in public preview and is subject to change. - Creates a new task for a repository + Creates a new task for a repository. tags: - agent-tasks operationId: agent-tasks/create-task @@ -889,18 +892,11 @@ paths: schema: type: object required: - - event_content + - prompt properties: - agent_id: - type: integer - format: int64 - description: Agent ID (optional, defaults to coding agent) - problem_statement: + prompt: type: string - description: Additional prompting for the agent - event_content: - type: string - description: User's written prompt + description: The user's prompt for the agent model: type: string description: 'The model to use for this task. The allowed models @@ -908,20 +904,17 @@ paths: plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`' - custom_agent: - type: string - description: Custom agent identifier create_pull_request: type: boolean - description: Whether to create a PR + description: Whether to create a PR. + default: false base_ref: type: string description: Base ref for new branch/PR examples: default: value: - event_content: Fix the login button on the homepage - create_pull_request: true + prompt: Fix the login button on the homepage base_ref: main responses: '201': @@ -1026,26 +1019,31 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1407,28 +1405,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1495,13 +1497,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -1529,54 +1524,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -1603,10 +1562,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -1624,9 +1582,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Bad request content: @@ -2040,28 +1999,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2112,10 +2075,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2425,28 +2387,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2513,13 +2479,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -2547,54 +2506,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -2621,10 +2544,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2642,9 +2564,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Problems parsing request content: @@ -23908,6 +23831,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -48542,6 +48466,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -92044,6 +91969,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -102635,6 +102566,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -115197,6 +115134,11 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -243819,7 +243761,22 @@ components: secret-scanning-alert-exclude-providers: name: exclude_providers in: query - description: A comma-separated list of provider names to exclude from the results. + description: |- + A comma-separated list of provider slugs to exclude from the results. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `providers` parameter. + required: false + schema: + type: string + secret-scanning-alert-providers: + name: providers + in: query + description: |- + A comma-separated list of provider slugs to filter by. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `exclude_providers` parameter. required: false schema: type: string diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 732b5dde2..2c7c9512e 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -789,26 +789,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -818,6 +817,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -892,10 +895,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -1184,7 +1186,7 @@ }, "post": { "summary": "Create a task", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository\n", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository.\n", "tags": [ "agent-tasks" ], @@ -1226,33 +1228,21 @@ "schema": { "type": "object", "required": [ - "event_content" + "prompt" ], "properties": { - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID (optional, defaults to coding agent)" - }, - "problem_statement": { - "type": "string", - "description": "Additional prompting for the agent" - }, - "event_content": { + "prompt": { "type": "string", - "description": "User's written prompt" + "description": "The user's prompt for the agent" }, "model": { "type": "string", "description": "The model to use for this task. The allowed models may change over time and depend on the user's GitHub Copilot plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`" }, - "custom_agent": { - "type": "string", - "description": "Custom agent identifier" - }, "create_pull_request": { "type": "boolean", - "description": "Whether to create a PR" + "description": "Whether to create a PR.", + "default": false }, "base_ref": { "type": "string", @@ -1263,8 +1253,7 @@ "examples": { "default": { "value": { - "event_content": "Fix the login button on the homepage", - "create_pull_request": true, + "prompt": "Fix the login button on the homepage", "base_ref": "main" } } @@ -1403,26 +1392,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1432,6 +1420,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -1896,26 +1888,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -1925,6 +1916,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2016,15 +2011,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -2058,47 +2044,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -2107,20 +2056,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -2161,10 +2100,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -2189,9 +2127,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -2714,26 +2653,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2743,6 +2681,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2815,10 +2757,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3214,26 +3155,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -3243,6 +3183,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3334,15 +3278,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -3376,47 +3311,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -3425,20 +3323,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -3479,10 +3367,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3507,9 +3394,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -32956,6 +32844,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -66953,6 +66844,9 @@ { "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" }, + { + "$ref": "#/components/parameters/secret-scanning-alert-providers" + }, { "$ref": "#/components/parameters/secret-scanning-alert-resolution" }, @@ -126810,6 +126704,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -141082,6 +140981,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -157430,6 +157334,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -324188,7 +324097,16 @@ "secret-scanning-alert-exclude-providers": { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-providers": { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 8d644c7e0..4f3ce92db 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -550,28 +550,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -624,10 +628,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -857,7 +860,7 @@ paths: > [!NOTE] > This endpoint is in public preview and is subject to change. - Creates a new task for a repository + Creates a new task for a repository. tags: - agent-tasks operationId: agent-tasks/create-task @@ -889,18 +892,11 @@ paths: schema: type: object required: - - event_content + - prompt properties: - agent_id: - type: integer - format: int64 - description: Agent ID (optional, defaults to coding agent) - problem_statement: + prompt: type: string - description: Additional prompting for the agent - event_content: - type: string - description: User's written prompt + description: The user's prompt for the agent model: type: string description: 'The model to use for this task. The allowed models @@ -908,20 +904,17 @@ paths: plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`' - custom_agent: - type: string - description: Custom agent identifier create_pull_request: type: boolean - description: Whether to create a PR + description: Whether to create a PR. + default: false base_ref: type: string description: Base ref for new branch/PR examples: default: value: - event_content: Fix the login button on the homepage - create_pull_request: true + prompt: Fix the login button on the homepage base_ref: main responses: '201': @@ -1026,26 +1019,31 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1407,28 +1405,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1495,13 +1497,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -1529,54 +1524,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -1603,10 +1562,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -1624,9 +1582,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Bad request content: @@ -2040,28 +1999,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2112,10 +2075,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2425,28 +2387,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2513,13 +2479,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -2547,54 +2506,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -2621,10 +2544,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2642,9 +2564,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Problems parsing request content: @@ -24042,6 +23965,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -48801,6 +48725,7 @@ paths: - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-secret-types" - "$ref": "#/components/parameters/secret-scanning-alert-exclude-providers" + - "$ref": "#/components/parameters/secret-scanning-alert-providers" - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - "$ref": "#/components/parameters/secret-scanning-alert-assignee" - "$ref": "#/components/parameters/secret-scanning-alert-sort" @@ -93150,6 +93075,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -104055,6 +103986,12 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. Use this value for filtering by provider with the `providers` + or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -116584,6 +116521,11 @@ components: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret that was + detected. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -245880,7 +245822,22 @@ components: secret-scanning-alert-exclude-providers: name: exclude_providers in: query - description: A comma-separated list of provider names to exclude from the results. + description: |- + A comma-separated list of provider slugs to exclude from the results. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `providers` parameter. + required: false + schema: + type: string + secret-scanning-alert-providers: + name: providers + in: query + description: |- + A comma-separated list of provider slugs to filter by. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `exclude_providers` parameter. required: false schema: type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 8e18fc90f..2ced77b10 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -2287,26 +2287,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2316,6 +2315,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2390,10 +2393,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -2682,7 +2684,7 @@ }, "post": { "summary": "Create a task", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository\n", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository.\n", "tags": [ "agent-tasks" ], @@ -2724,33 +2726,21 @@ "schema": { "type": "object", "required": [ - "event_content" + "prompt" ], "properties": { - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID (optional, defaults to coding agent)" - }, - "problem_statement": { + "prompt": { "type": "string", - "description": "Additional prompting for the agent" - }, - "event_content": { - "type": "string", - "description": "User's written prompt" + "description": "The user's prompt for the agent" }, "model": { "type": "string", "description": "The model to use for this task. The allowed models may change over time and depend on the user's GitHub Copilot plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`" }, - "custom_agent": { - "type": "string", - "description": "Custom agent identifier" - }, "create_pull_request": { "type": "boolean", - "description": "Whether to create a PR" + "description": "Whether to create a PR.", + "default": false }, "base_ref": { "type": "string", @@ -2761,8 +2751,7 @@ "examples": { "default": { "value": { - "event_content": "Fix the login button on the homepage", - "create_pull_request": true, + "prompt": "Fix the login button on the homepage", "base_ref": "main" } } @@ -2901,26 +2890,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2930,6 +2918,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3394,26 +3386,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -3423,6 +3414,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3514,15 +3509,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -3556,47 +3542,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -3605,20 +3554,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -3659,10 +3598,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3687,9 +3625,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -4212,26 +4151,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -4241,6 +4179,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -4313,10 +4255,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -4712,26 +4653,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -4741,6 +4681,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -4832,15 +4776,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -4874,47 +4809,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -4923,20 +4821,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -4977,10 +4865,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -5005,9 +4892,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -208901,7 +208789,16 @@ { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" @@ -209251,6 +209148,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -528642,7 +528544,16 @@ { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" @@ -528997,6 +528908,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -530329,6 +530245,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -531637,6 +531558,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -1318586,6 +1318512,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1321092,6 +1321023,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1323474,6 +1323410,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1326326,6 +1326267,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1328708,6 +1328654,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1331090,6 +1331041,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1333472,6 +1333428,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1335978,6 +1335939,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index a82607de0..0ed2203cf 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &660 + - &661 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1325,28 +1325,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -1399,10 +1403,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -1632,7 +1635,7 @@ paths: > [!NOTE] > This endpoint is in public preview and is subject to change. - Creates a new task for a repository + Creates a new task for a repository. tags: - agent-tasks operationId: agent-tasks/create-task @@ -1664,18 +1667,11 @@ paths: schema: type: object required: - - event_content + - prompt properties: - agent_id: - type: integer - format: int64 - description: Agent ID (optional, defaults to coding agent) - problem_statement: + prompt: type: string - description: Additional prompting for the agent - event_content: - type: string - description: User's written prompt + description: The user's prompt for the agent model: type: string description: 'The model to use for this task. The allowed models @@ -1683,20 +1679,17 @@ paths: plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`' - custom_agent: - type: string - description: Custom agent identifier create_pull_request: type: boolean - description: Whether to create a PR + description: Whether to create a PR. + default: false base_ref: type: string description: Base ref for new branch/PR examples: default: value: - event_content: Fix the login button on the homepage - create_pull_request: true + prompt: Fix the login button on the homepage base_ref: main responses: '201': @@ -1801,26 +1794,31 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2182,28 +2180,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2270,13 +2272,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -2304,54 +2299,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -2378,10 +2337,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -2399,9 +2357,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Bad request content: @@ -2815,28 +2774,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: + `pull`, `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -2887,10 +2850,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -3200,28 +3162,32 @@ paths: type: type: string enum: - - github_resource + - pull - branch - description: Discriminator for data shape + description: 'Type of artifact. Available Values: `pull`, + `branch`. + + ' data: oneOf: - type: object description: A GitHub resource (pull request, issue, etc.) + required: + - id properties: id: type: integer format: int64 description: GitHub resource ID - type: - type: string - description: Resource type (e.g., pull_request, - issue) global_id: type: string description: GraphQL global ID - type: object description: A Git branch reference + required: + - head_ref + - base_ref properties: head_ref: type: string @@ -3288,13 +3254,6 @@ paths: type: integer format: int64 description: The unique identifier of the repository - agent_id: - type: integer - format: int64 - description: Agent ID - agent_task_id: - type: string - description: Agent internal task ID task_id: type: string description: Task ID this session belongs to @@ -3322,54 +3281,18 @@ paths: type: string format: date-time description: Completion timestamp - event_type: - type: string - description: Type of event that triggered this session - event_url: - type: string - description: URL of the triggering event - event_content: + prompt: type: string description: Content of the triggering event - event_identifiers: - type: array - items: - type: string - description: Identifiers for tracking - resource_type: - type: string - description: Type of resource associated with this session - resource_id: - type: integer - format: int64 - description: Resource ID - resource_number: - type: integer - format: int32 - description: Resource number (e.g., PR number) - resource_global_id: - type: string - description: GraphQL global ID of the resource - resource_state: - type: string - description: State of the associated resource head_ref: type: string description: Head branch name base_ref: type: string description: Base branch name - workflow_run_id: - type: integer - format: int64 - description: GitHub Actions workflow run ID model: type: string description: Model used for this session - premium_requests: - type: number - format: double - description: Premium request count error: type: object description: Error details for a failed session @@ -3396,10 +3319,9 @@ paths: session_count: 1 artifacts: - provider: github - type: github_resource + type: pull data: id: 42 - type: pull_request archived_at: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' @@ -3417,9 +3339,10 @@ paths: created_at: '2025-01-01T00:00:00Z' updated_at: '2025-01-01T01:00:00Z' completed_at: '2025-01-01T01:00:00Z' - event_content: Fix the login button on the homepage + prompt: Fix the login button on the homepage head_ref: copilot/fix-1 base_ref: main + model: claude-sonnet-4.6 '400': description: Problems parsing request content: @@ -13550,7 +13473,7 @@ paths: properties: action: type: string - discussion: &754 + discussion: &755 title: Discussion description: A Discussion in a repository. type: object @@ -14293,7 +14216,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &672 + sub_issues_summary: &673 title: Sub-issues Summary type: object properties: @@ -14406,7 +14329,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &673 + issue_dependencies_summary: &674 title: Issue Dependencies Summary type: object properties: @@ -15850,7 +15773,7 @@ paths: url: type: string format: uri - user: &679 + user: &680 title: Public User description: Public User type: object @@ -21337,7 +21260,7 @@ paths: required: false schema: type: string - - &729 + - &730 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -21483,7 +21406,7 @@ paths: parameters: - *75 - *123 - - &730 + - &731 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21595,7 +21518,7 @@ paths: - *123 - *125 - *124 - - &731 + - &732 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -21603,7 +21526,7 @@ paths: schema: type: string - *126 - - &732 + - &733 name: sku description: The SKU to query for usage. in: query @@ -28279,12 +28202,12 @@ paths: required: - subject_digests examples: - default: &711 + default: &712 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &712 + withPredicateType: &713 value: subject_digests: - sha256:abc123 @@ -28342,7 +28265,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &713 + default: &714 value: attestations_subject_digests: - sha256:abc: @@ -39007,7 +38930,7 @@ paths: parameters: - *75 - *254 - - &694 + - &695 name: repo_name description: repo_name parameter in: path @@ -40048,7 +39971,7 @@ paths: - nuget - container - *75 - - &695 + - &696 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40089,7 +40012,7 @@ paths: default: *261 '403': *29 '401': *25 - '400': &697 + '400': &698 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -42079,7 +42002,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &785 + properties: &786 id: type: number description: The unique identifier of the status update. @@ -42127,7 +42050,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &786 + required: &787 - id - node_id - created_at @@ -42945,7 +42868,7 @@ paths: - updated_at - project_url examples: - default: &716 + default: &717 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -43122,7 +43045,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &717 + items: &718 type: object properties: name: @@ -43159,7 +43082,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &718 + iteration_configuration: &719 type: object description: The configuration for iteration fields. properties: @@ -43209,7 +43132,7 @@ paths: value: name: Due date data_type: date - single_select_field: &719 + single_select_field: &720 summary: Create a single select field value: name: Priority @@ -43236,7 +43159,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &720 + iteration_field: &721 summary: Create an iteration field value: name: Sprint @@ -43262,7 +43185,7 @@ paths: application/json: schema: *282 examples: - text_field: &721 + text_field: &722 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -43271,7 +43194,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &722 + number_field: &723 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -43280,7 +43203,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &723 + date_field: &724 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -43289,7 +43212,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &724 + single_select_field: &725 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -43323,7 +43246,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &725 + iteration_field: &726 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -43369,7 +43292,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *278 - - &726 + - &727 name: field_id description: The unique identifier of the field. in: path @@ -43384,7 +43307,7 @@ paths: application/json: schema: *282 examples: - default: &727 + default: &728 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -44581,7 +44504,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &708 + schema: &709 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -44758,7 +44681,7 @@ paths: parameters: - *278 - *75 - - &728 + - &729 name: view_number description: The number that identifies the project view. in: path @@ -48649,12 +48572,26 @@ paths: - &628 name: exclude_providers in: query - description: A comma-separated list of provider names to exclude from the - results. + description: |- + A comma-separated list of provider slugs to exclude from the results. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `providers` parameter. required: false schema: type: string - &629 + name: providers + in: query + description: |- + A comma-separated list of provider slugs to filter by. + Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). + You can find the provider slug in the `provider_slug` field of each alert. + Cannot be combined with the `exclude_providers` parameter. + required: false + schema: + type: string + - &630 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -48663,7 +48600,7 @@ paths: required: false schema: type: string - - &630 + - &631 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -48682,7 +48619,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &631 + - &632 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -48697,7 +48634,7 @@ paths: - *61 - *19 - *17 - - &632 + - &633 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -48707,7 +48644,7 @@ paths: required: false schema: type: string - - &633 + - &634 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -48717,7 +48654,7 @@ paths: required: false schema: type: string - - &634 + - &635 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -48726,7 +48663,7 @@ paths: required: false schema: type: string - - &635 + - &636 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -48735,7 +48672,7 @@ paths: schema: type: boolean default: false - - &636 + - &637 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -48744,7 +48681,7 @@ paths: schema: type: boolean default: false - - &637 + - &638 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -48779,14 +48716,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &638 + state: &639 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &639 + resolution: &640 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -48821,6 +48758,12 @@ paths: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret + that was detected. Use this value for filtering by provider + with the `providers` or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -48897,8 +48840,8 @@ paths: pull request. ' - oneOf: &640 - - &642 + oneOf: &641 + - &643 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -48956,7 +48899,7 @@ paths: - blob_url - commit_sha - commit_url - - &643 + - &644 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -49011,7 +48954,7 @@ paths: - page_url - commit_sha - commit_url - - &644 + - &645 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -49031,7 +48974,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &645 + - &646 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -49051,7 +48994,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &646 + - &647 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -49071,7 +49014,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &647 + - &648 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -49085,7 +49028,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &648 + - &649 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -49099,7 +49042,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &649 + - &650 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -49113,7 +49056,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &650 + - &651 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -49133,7 +49076,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &651 + - &652 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -49153,7 +49096,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &652 + - &653 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -49173,7 +49116,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &653 + - &654 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -49193,7 +49136,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &654 + - &655 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -49712,7 +49655,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 description: A repository security advisory. type: object properties: @@ -50003,7 +49946,7 @@ paths: - private_fork additionalProperties: false examples: - default: &659 + default: &660 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -51990,7 +51933,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &675 + response-if-user-is-a-team-maintainer: &676 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -52055,7 +51998,7 @@ paths: application/json: schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: &676 + response-if-users-membership-with-team-is-now-pending: &677 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -52169,7 +52112,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &677 + schema: &678 title: Team Repository description: A team's access to a repository. type: object @@ -52826,7 +52769,7 @@ paths: type: array items: *197 examples: - response-if-child-teams-exist: &678 + response-if-child-teams-exist: &679 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58034,7 +57977,7 @@ paths: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &748 + properties: &749 url: type: string format: uri @@ -58119,7 +58062,7 @@ paths: nullable: true properties: *80 required: *81 - required: &749 + required: &750 - id - node_id - sha @@ -63728,7 +63671,7 @@ paths: check. type: array items: *90 - deployment: &741 + deployment: &742 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -64640,7 +64583,7 @@ paths: type: string format: date-time nullable: true - head_commit: &769 + head_commit: &770 title: Simple Commit description: A commit. type: object @@ -68911,14 +68854,14 @@ paths: type: integer machines: type: array - items: &684 + items: &685 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *464 required: *465 examples: - default: &685 + default: &686 value: total_count: 2 machines: @@ -72023,7 +71966,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Status description: The status of a commit. type: object @@ -73596,7 +73539,7 @@ paths: items: type: object properties: - placeholder_id: &655 + placeholder_id: &656 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79383,7 +79326,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &777 + last_response: &778 title: Hook Response type: object properties: @@ -80435,7 +80378,7 @@ paths: parameters: - *342 - *343 - - &706 + - &707 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80869,7 +80812,7 @@ paths: type: array items: *541 examples: - default: &699 + default: &700 value: - id: 1 repository: @@ -84511,7 +84454,7 @@ paths: type: array items: *554 examples: - default: &669 + default: &670 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -94849,15 +94792,16 @@ paths: - *629 - *630 - *631 + - *632 - *61 - *19 - *17 - - *632 - *633 - *634 - *635 - *636 - *637 + - *638 responses: '200': description: Response @@ -94865,7 +94809,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 type: object properties: number: *178 @@ -94884,8 +94828,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *638 - resolution: *639 + state: *639 + resolution: *640 resolved_at: type: string format: date-time @@ -94915,6 +94859,12 @@ paths: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret + that was detected. Use this value for filtering by provider + with the `providers` or `exclude_providers` parameters. + nullable: true secret: type: string description: The secret that was detected. @@ -94985,7 +94935,7 @@ paths: pull request. ' - oneOf: *640 + oneOf: *641 nullable: true has_more_locations: type: boolean @@ -95152,13 +95102,13 @@ paths: - *342 - *343 - *440 - - *637 + - *638 responses: '200': description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -95222,8 +95172,8 @@ paths: schema: type: object properties: - state: *638 - resolution: *639 + state: *639 + resolution: *640 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95259,7 +95209,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -95367,7 +95317,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &799 + items: &800 type: object properties: type: @@ -95393,7 +95343,6 @@ paths: example: commit details: oneOf: - - *642 - *643 - *644 - *645 @@ -95406,6 +95355,7 @@ paths: - *652 - *653 - *654 + - *655 examples: default: value: @@ -95500,14 +95450,14 @@ paths: schema: type: object properties: - reason: &656 + reason: &657 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *655 + placeholder_id: *656 required: - reason - placeholder_id @@ -95524,7 +95474,7 @@ paths: schema: type: object properties: - reason: *656 + reason: *657 expire_at: type: string format: date-time @@ -95586,7 +95536,7 @@ paths: properties: incremental_scans: type: array - items: &657 + items: &658 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95612,15 +95562,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *657 + items: *658 backfill_scans: type: array - items: *657 + items: *658 custom_pattern_backfill_scans: type: array items: allOf: - - *657 + - *658 - type: object properties: pattern_name: @@ -95735,9 +95685,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *659 + default: *660 '400': *14 '404': *6 x-github: @@ -95921,9 +95871,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: &661 + default: &662 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96261,7 +96211,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96410,15 +96360,15 @@ paths: parameters: - *342 - *343 - - *660 + - *661 responses: '200': description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *661 + default: *662 '403': *29 '404': *6 x-github: @@ -96444,7 +96394,7 @@ paths: parameters: - *342 - *343 - - *660 + - *661 requestBody: required: true content: @@ -96603,10 +96553,10 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *661 - add_credit: *661 + default: *662 + add_credit: *662 '403': *29 '404': *6 '422': @@ -96646,7 +96596,7 @@ paths: parameters: - *342 - *343 - - *660 + - *661 responses: '202': *39 '400': *14 @@ -96675,7 +96625,7 @@ paths: parameters: - *342 - *343 - - *660 + - *661 responses: '202': description: Response @@ -96819,7 +96769,7 @@ paths: application/json: schema: type: array - items: &662 + items: &663 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97192,7 +97142,7 @@ paths: application/json: schema: type: array - items: *662 + items: *663 examples: default: value: @@ -97280,7 +97230,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -97374,7 +97324,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &664 + schema: &665 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97469,7 +97419,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -97676,7 +97626,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &666 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97688,7 +97638,7 @@ paths: required: - names examples: - default: &666 + default: &667 value: names: - octocat @@ -97743,9 +97693,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: *666 + default: *667 '404': *6 '422': *7 x-github: @@ -97768,7 +97718,7 @@ paths: parameters: - *342 - *343 - - &667 + - &668 name: per description: The time frame to display results for. in: query @@ -97797,7 +97747,7 @@ paths: example: 128 clones: type: array - items: &668 + items: &669 title: Traffic type: object properties: @@ -98038,7 +97988,7 @@ paths: parameters: - *342 - *343 - - *667 + - *668 responses: '200': description: Response @@ -98057,7 +98007,7 @@ paths: example: 3782 views: type: array - items: *668 + items: *669 required: - uniques - count @@ -98792,7 +98742,7 @@ paths: the new values items: *554 examples: - default: *669 + default: *670 '400': *14 '403': *29 '404': *6 @@ -98896,7 +98846,7 @@ paths: the new values items: *554 examples: - default: *669 + default: *670 '400': *14 '403': *29 '404': *6 @@ -99071,7 +99021,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &670 + text_matches: &671 title: Search Result Text Matches type: array items: @@ -99233,7 +99183,7 @@ paths: enum: - author-date - committer-date - - &671 + - &672 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99361,7 +99311,7 @@ paths: type: number node_id: type: string - text_matches: *670 + text_matches: *671 required: - sha - node_id @@ -99553,7 +99503,7 @@ paths: - interactions - created - updated - - *671 + - *672 - *17 - *19 - name: advanced_search @@ -99667,8 +99617,8 @@ paths: description: type: string nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -99703,7 +99653,7 @@ paths: type: string format: date-time nullable: true - text_matches: *670 + text_matches: *671 pull_request: type: object properties: @@ -99975,7 +99925,7 @@ paths: enum: - created - updated - - *671 + - *672 - *17 - *19 responses: @@ -100019,7 +99969,7 @@ paths: nullable: true score: type: number - text_matches: *670 + text_matches: *671 required: - id - node_id @@ -100104,7 +100054,7 @@ paths: - forks - help-wanted-issues - updated - - *671 + - *672 - *17 - *19 responses: @@ -100352,7 +100302,7 @@ paths: - admin - pull - push - text_matches: *670 + text_matches: *671 temp_clone_token: type: string allow_merge_commit: @@ -100652,7 +100602,7 @@ paths: type: string format: uri nullable: true - text_matches: *670 + text_matches: *671 related: type: array nullable: true @@ -100843,7 +100793,7 @@ paths: - followers - repositories - joined - - *671 + - *672 - *17 - *19 responses: @@ -100947,7 +100897,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *670 + text_matches: *671 blog: type: string nullable: true @@ -101026,7 +100976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &674 + - &675 name: team_id description: The unique identifier of the team. in: path @@ -101067,7 +101017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *674 + - *675 requestBody: required: true content: @@ -101167,7 +101117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *674 + - *675 responses: '204': description: Response @@ -101196,7 +101146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *674 + - *675 - *17 - *19 responses: @@ -101234,7 +101184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *674 + - *675 - name: role description: Filters members returned by their role in the team. in: query @@ -101285,7 +101235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *674 + - *675 - *71 responses: '204': @@ -101322,7 +101272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *674 + - *675 - *71 responses: '204': @@ -101362,7 +101312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *674 + - *675 - *71 responses: '204': @@ -101399,7 +101349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *674 + - *675 - *71 responses: '200': @@ -101408,7 +101358,7 @@ paths: application/json: schema: *341 examples: - response-if-user-is-a-team-maintainer: *675 + response-if-user-is-a-team-maintainer: *676 '404': *6 x-github: githubCloudOnly: false @@ -101441,7 +101391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *674 + - *675 - *71 requestBody: required: false @@ -101469,7 +101419,7 @@ paths: application/json: schema: *341 examples: - response-if-users-membership-with-team-is-now-pending: *676 + response-if-users-membership-with-team-is-now-pending: *677 '403': description: Forbidden if team synchronization is set up '422': @@ -101503,7 +101453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *674 + - *675 - *71 responses: '204': @@ -101531,7 +101481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *674 + - *675 - *17 - *19 responses: @@ -101573,7 +101523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *674 + - *675 - *342 - *343 responses: @@ -101581,7 +101531,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *677 + schema: *678 examples: alternative-response-with-extra-repository-information: value: @@ -101732,7 +101682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *674 + - *675 - *342 - *343 requestBody: @@ -101784,7 +101734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *674 + - *675 - *342 - *343 responses: @@ -101811,7 +101761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *674 + - *675 - *17 - *19 responses: @@ -101823,7 +101773,7 @@ paths: type: array items: *197 examples: - response-if-child-teams-exist: *678 + response-if-child-teams-exist: *679 headers: Link: *67 '404': *6 @@ -101856,7 +101806,7 @@ paths: application/json: schema: oneOf: - - &680 + - &681 title: Private User description: Private User type: object @@ -102059,7 +102009,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *679 + - *680 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102212,7 +102162,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: default: value: @@ -102610,7 +102560,7 @@ paths: type: integer secrets: type: array - items: &681 + items: &682 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102726,7 +102676,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: default: value: @@ -103139,7 +103089,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &683 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103180,7 +103130,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &683 + default: &684 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103225,9 +103175,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -103264,9 +103214,9 @@ paths: type: integer machines: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '304': *37 '500': *55 '401': *25 @@ -104205,7 +104155,7 @@ paths: type: array items: *260 examples: - default: &696 + default: &697 value: - id: 197 name: hello_docker @@ -104306,7 +104256,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: Email description: Email type: object @@ -104371,9 +104321,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: &698 + default: &699 value: - email: octocat@github.com verified: true @@ -104448,7 +104398,7 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: default: value: @@ -104704,7 +104654,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 title: GPG Key description: A unique encryption key type: object @@ -104835,7 +104785,7 @@ paths: - subkeys - revoked examples: - default: &714 + default: &715 value: - id: 3 name: Octocat's GPG Key @@ -104920,9 +104870,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: &688 + default: &689 value: id: 3 name: Octocat's GPG Key @@ -104979,7 +104929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &689 + - &690 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104991,9 +104941,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *688 + default: *689 '404': *6 '304': *37 '403': *29 @@ -105016,7 +104966,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *689 + - *690 responses: '204': description: Response @@ -105474,7 +105424,7 @@ paths: application/json: schema: type: array - items: &690 + items: &691 title: Key description: Key type: object @@ -105575,9 +105525,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: &691 + default: &692 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105616,9 +105566,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 '404': *6 '304': *37 '403': *29 @@ -105674,7 +105624,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105742,7 +105692,7 @@ paths: - account - plan examples: - default: &693 + default: &694 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105804,9 +105754,9 @@ paths: application/json: schema: type: array - items: *692 + items: *693 examples: - default: *693 + default: *694 headers: Link: *67 '304': *37 @@ -106815,7 +106765,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *254 - - *694 + - *695 responses: '204': description: Response @@ -106930,7 +106880,7 @@ paths: - docker - nuget - container - - *695 + - *696 - *19 - *17 responses: @@ -106942,8 +106892,8 @@ paths: type: array items: *260 examples: - default: *696 - '400': *697 + default: *697 + '400': *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106972,7 +106922,7 @@ paths: application/json: schema: *260 examples: - default: &715 + default: &716 value: id: 40201 name: octo-name @@ -107334,9 +107284,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *698 + default: *699 headers: Link: *67 '304': *37 @@ -107449,7 +107399,7 @@ paths: type: array items: *79 examples: - default: &705 + default: &706 summary: Default response value: - id: 1296269 @@ -107795,7 +107745,7 @@ paths: type: array items: *541 examples: - default: *699 + default: *700 headers: Link: *67 '304': *37 @@ -107874,7 +107824,7 @@ paths: application/json: schema: type: array - items: &700 + items: &701 title: Social account description: Social media account type: object @@ -107889,7 +107839,7 @@ paths: - provider - url examples: - default: &701 + default: &702 value: - provider: twitter url: https://twitter.com/github @@ -107951,9 +107901,9 @@ paths: application/json: schema: type: array - items: *700 + items: *701 examples: - default: *701 + default: *702 '422': *15 '304': *37 '404': *6 @@ -108040,7 +107990,7 @@ paths: application/json: schema: type: array - items: &702 + items: &703 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108060,7 +108010,7 @@ paths: - title - created_at examples: - default: &733 + default: &734 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108124,9 +108074,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *703 examples: - default: &703 + default: &704 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108156,7 +108106,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &704 + - &705 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108168,9 +108118,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *703 examples: - default: *703 + default: *704 '404': *6 '304': *37 '403': *29 @@ -108193,7 +108143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *704 + - *705 responses: '204': description: Response @@ -108222,7 +108172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &734 + - &735 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -108247,11 +108197,11 @@ paths: type: array items: *79 examples: - default-response: *705 + default-response: *706 application/vnd.github.v3.star+json: schema: type: array - items: &735 + items: &736 title: Starred Repository description: Starred Repository type: object @@ -108620,10 +108570,10 @@ paths: application/json: schema: oneOf: + - *681 - *680 - - *679 examples: - default-response: &709 + default-response: &710 summary: Default response value: login: octocat @@ -108658,7 +108608,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &710 + response-with-git-hub-plan-information: &711 summary: Response with GitHub plan information value: login: octocat @@ -108715,7 +108665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &707 + - &708 name: user_id description: The unique identifier of the user. in: path @@ -108781,7 +108731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *706 + - *707 - *17 responses: '200': @@ -108816,7 +108766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *707 + - *708 - *278 requestBody: required: true @@ -108888,7 +108838,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *708 + schema: *709 examples: table_view: summary: Response for creating a table view @@ -108940,11 +108890,11 @@ paths: application/json: schema: oneOf: + - *681 - *680 - - *679 examples: - default-response: *709 - response-with-git-hub-plan-information: *710 + default-response: *710 + response-with-git-hub-plan-information: *711 '404': *6 x-github: githubCloudOnly: false @@ -108994,8 +108944,8 @@ paths: required: - subject_digests examples: - default: *711 - withPredicateType: *712 + default: *712 + withPredicateType: *713 responses: '200': description: Response @@ -109048,7 +108998,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *713 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109294,7 +109244,7 @@ paths: type: array items: *260 examples: - default: *696 + default: *697 '403': *29 '401': *25 x-github: @@ -109678,9 +109628,9 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: - default: *714 + default: *715 headers: Link: *67 x-github: @@ -109908,7 +109858,7 @@ paths: - docker - nuget - container - - *695 + - *696 - *71 - *19 - *17 @@ -109921,10 +109871,10 @@ paths: type: array items: *260 examples: - default: *696 + default: *697 '403': *29 '401': *25 - '400': *697 + '400': *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109954,7 +109904,7 @@ paths: application/json: schema: *260 examples: - default: *715 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110303,7 +110253,7 @@ paths: type: array items: *282 examples: - default: *716 + default: *717 headers: Link: *67 '304': *37 @@ -110363,7 +110313,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *717 + items: *718 required: - name - data_type @@ -110379,7 +110329,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *718 + iteration_configuration: *719 required: - name - data_type @@ -110401,8 +110351,8 @@ paths: value: name: Due date data_type: date - single_select_field: *719 - iteration_field: *720 + single_select_field: *720 + iteration_field: *721 responses: '201': description: Response @@ -110410,11 +110360,11 @@ paths: application/json: schema: *282 examples: - text_field: *721 - number_field: *722 - date_field: *723 - single_select_field: *724 - iteration_field: *725 + text_field: *722 + number_field: *723 + date_field: *724 + single_select_field: *725 + iteration_field: *726 '304': *37 '403': *29 '401': *25 @@ -110436,7 +110386,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *278 - - *726 + - *727 - *71 responses: '200': @@ -110445,7 +110395,7 @@ paths: application/json: schema: *282 examples: - default: *727 + default: *728 headers: Link: *67 '304': *37 @@ -110799,7 +110749,7 @@ paths: parameters: - *278 - *71 - - *728 + - *729 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -111074,7 +111024,7 @@ paths: - *123 - *125 - *124 - - *729 + - *730 - *126 responses: '200': @@ -111205,7 +111155,7 @@ paths: parameters: - *71 - *123 - - *730 + - *731 - *124 responses: '200': @@ -111304,9 +111254,9 @@ paths: - *123 - *125 - *124 - - *731 - - *126 - *732 + - *126 + - *733 responses: '200': description: Response when getting a billing usage summary @@ -111440,9 +111390,9 @@ paths: application/json: schema: type: array - items: *700 + items: *701 examples: - default: *701 + default: *702 headers: Link: *67 x-github: @@ -111472,9 +111422,9 @@ paths: application/json: schema: type: array - items: *702 + items: *703 examples: - default: *733 + default: *734 headers: Link: *67 x-github: @@ -111499,7 +111449,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *71 - - *734 + - *735 - *61 - *17 - *19 @@ -111511,11 +111461,11 @@ paths: schema: anyOf: - type: array - items: *735 + items: *736 - type: array items: *79 examples: - default-response: *705 + default-response: *706 headers: Link: *67 x-github: @@ -111674,7 +111624,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &736 + enterprise: &737 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111732,7 +111682,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &737 + installation: &738 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111751,7 +111701,7 @@ x-webhooks: required: - id - node_id - organization: &738 + organization: &739 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111811,13 +111761,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &739 + repository: &740 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &771 + properties: &772 id: description: Unique identifier of the repository example: 42 @@ -112512,7 +112462,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &772 + required: &773 - archive_url - assignees_url - blobs_url @@ -112663,10 +112613,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -112742,11 +112692,11 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - rule: &740 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: &741 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112969,11 +112919,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - rule: *740 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -113156,11 +113106,11 @@ x-webhooks: - everyone required: - from - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - rule: *740 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -113244,7 +113194,7 @@ x-webhooks: type: string enum: - completed - check_run: &742 + check_run: &743 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113335,7 +113285,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *741 + deployment: *742 details_url: example: https://example.com type: string @@ -113420,10 +113370,10 @@ x-webhooks: - output - app - pull_requests - installation: *737 - enterprise: *736 - organization: *738 - repository: *739 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -113814,11 +113764,11 @@ x-webhooks: type: string enum: - created - check_run: *742 - installation: *737 - enterprise: *736 - organization: *738 - repository: *739 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -114212,11 +114162,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *742 - installation: *737 - enterprise: *736 - organization: *738 - repository: *739 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 requested_action: description: The action requested by the user. type: object @@ -114619,11 +114569,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *742 - installation: *737 - enterprise: *736 - organization: *738 - repository: *739 + check_run: *743 + installation: *738 + enterprise: *737 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -115593,10 +115543,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116285,10 +116235,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116971,10 +116921,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -117285,20 +117235,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &743 + commit_oid: &744 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *736 - installation: *737 - organization: *738 - ref: &744 + enterprise: *737 + installation: *738 + organization: *739 + ref: &745 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *739 + repository: *740 sender: *4 required: - action @@ -117693,12 +117643,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *736 - installation: *737 - organization: *738 - ref: *744 - repository: *739 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -117964,12 +117914,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *736 - installation: *737 - organization: *738 - ref: *744 - repository: *739 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -118301,12 +118251,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *736 - installation: *737 - organization: *738 - ref: *744 - repository: *739 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -118580,16 +118530,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *739 + repository: *740 sender: *4 required: - action @@ -118826,12 +118776,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *736 - installation: *737 - organization: *738 - ref: *744 - repository: *739 + commit_oid: *744 + enterprise: *737 + installation: *738 + organization: *739 + ref: *745 + repository: *740 sender: *4 required: - action @@ -119142,10 +119092,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -119400,10 +119350,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -119483,18 +119433,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *738 - pusher_type: &745 + organization: *739 + pusher_type: &746 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &746 + ref: &747 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -119504,7 +119454,7 @@ x-webhooks: enum: - tag - branch - repository: *739 + repository: *740 sender: *4 required: - ref @@ -119587,9 +119537,9 @@ x-webhooks: enum: - created definition: *290 - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -119674,9 +119624,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -119754,9 +119704,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *290 - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -119834,9 +119784,9 @@ x-webhooks: enum: - updated definition: *290 - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -119913,10 +119863,10 @@ x-webhooks: type: string enum: - updated - enterprise: *736 - installation: *737 - repository: *739 - organization: *738 + enterprise: *737 + installation: *738 + repository: *740 + organization: *739 sender: *4 new_property_values: type: array @@ -120001,18 +119951,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *736 - installation: *737 - organization: *738 - pusher_type: *745 - ref: *746 + enterprise: *737 + installation: *738 + organization: *739 + pusher_type: *746 + ref: *747 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *739 + repository: *740 sender: *4 required: - ref @@ -120093,10 +120043,10 @@ x-webhooks: enum: - assignees_changed alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120177,10 +120127,10 @@ x-webhooks: enum: - auto_dismissed alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120262,10 +120212,10 @@ x-webhooks: enum: - auto_reopened alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120347,10 +120297,10 @@ x-webhooks: enum: - created alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120430,10 +120380,10 @@ x-webhooks: enum: - dismissed alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120513,10 +120463,10 @@ x-webhooks: enum: - fixed alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120597,10 +120547,10 @@ x-webhooks: enum: - reintroduced alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120680,10 +120630,10 @@ x-webhooks: enum: - reopened alert: *497 - installation: *737 - organization: *738 - enterprise: *736 - repository: *739 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -120760,9 +120710,9 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - key: &747 + enterprise: *737 + installation: *738 + key: &748 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120798,8 +120748,8 @@ x-webhooks: - verified - created_at - read_only - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -120876,11 +120826,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - key: *747 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + key: *748 + organization: *739 + repository: *740 sender: *4 required: - action @@ -121436,12 +121386,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: &753 + workflow: &754 title: Workflow type: object nullable: true @@ -122182,15 +122132,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *748 - required: *749 + properties: *749 + required: *750 nullable: true pull_requests: type: array items: *592 - repository: *739 - organization: *738 - installation: *737 + repository: *740 + organization: *739 + installation: *738 sender: *4 responses: '200': @@ -122261,7 +122211,7 @@ x-webhooks: type: string enum: - approved - approver: &750 + approver: &751 type: object properties: avatar_url: @@ -122304,11 +122254,11 @@ x-webhooks: type: string comment: type: string - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - reviewers: &751 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: &752 type: array items: type: object @@ -122387,7 +122337,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &752 + workflow_job_run: &753 type: object properties: conclusion: @@ -123118,18 +123068,18 @@ x-webhooks: type: string enum: - rejected - approver: *750 + approver: *751 comment: type: string - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - reviewers: *751 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: *752 sender: *4 since: type: string - workflow_job_run: *752 + workflow_job_run: *753 workflow_job_runs: type: array items: @@ -123833,13 +123783,13 @@ x-webhooks: type: string enum: - requested - enterprise: *736 + enterprise: *737 environment: type: string - installation: *737 - organization: *738 - repository: *739 - requestor: &758 + installation: *738 + organization: *739 + repository: *740 + requestor: &759 title: User type: object nullable: true @@ -125728,12 +125678,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *753 + workflow: *754 workflow_run: title: Deployment Workflow Run type: object @@ -126413,7 +126363,7 @@ x-webhooks: type: string enum: - answered - answer: &756 + answer: &757 type: object properties: author_association: @@ -126570,11 +126520,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -126701,11 +126651,11 @@ x-webhooks: - from required: - category - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -126788,11 +126738,11 @@ x-webhooks: type: string enum: - closed - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -126874,7 +126824,7 @@ x-webhooks: type: string enum: - created - comment: &755 + comment: &756 type: object properties: author_association: @@ -127031,11 +126981,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127118,12 +127068,12 @@ x-webhooks: type: string enum: - deleted - comment: *755 - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + comment: *756 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127218,12 +127168,12 @@ x-webhooks: - from required: - body - comment: *755 - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + comment: *756 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127307,11 +127257,11 @@ x-webhooks: type: string enum: - created - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127393,11 +127343,11 @@ x-webhooks: type: string enum: - deleted - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127497,11 +127447,11 @@ x-webhooks: type: string required: - from - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127583,10 +127533,10 @@ x-webhooks: type: string enum: - labeled - discussion: *754 - enterprise: *736 - installation: *737 - label: &757 + discussion: *755 + enterprise: *737 + installation: *738 + label: &758 title: Label type: object properties: @@ -127618,8 +127568,8 @@ x-webhooks: - color - default - description - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127702,11 +127652,11 @@ x-webhooks: type: string enum: - locked - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127788,11 +127738,11 @@ x-webhooks: type: string enum: - pinned - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127874,11 +127824,11 @@ x-webhooks: type: string enum: - reopened - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -127963,16 +127913,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *754 - new_repository: *739 + new_discussion: *755 + new_repository: *740 required: - new_discussion - new_repository - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128055,10 +128005,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *754 - old_answer: *756 - organization: *738 - repository: *739 + discussion: *755 + old_answer: *757 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128140,12 +128090,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *754 - enterprise: *736 - installation: *737 - label: *757 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128228,11 +128178,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128314,11 +128264,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *754 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + discussion: *755 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128391,7 +128341,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *736 + enterprise: *737 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -129051,9 +129001,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - forkee @@ -129199,9 +129149,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pages: description: The pages that were updated. type: array @@ -129238,7 +129188,7 @@ x-webhooks: - action - sha - html_url - repository: *739 + repository: *740 sender: *4 required: - pages @@ -129314,10 +129264,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories: &759 + organization: *739 + repositories: &760 description: An array of repository objects that the installation can access. type: array @@ -129343,8 +129293,8 @@ x-webhooks: - name - full_name - private - repository: *739 - requester: *758 + repository: *740 + requester: *759 sender: *4 required: - action @@ -129419,11 +129369,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories: *759 - repository: *739 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -129499,11 +129449,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories: *759 - repository: *739 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -129579,10 +129529,10 @@ x-webhooks: type: string enum: - added - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories_added: &760 + organization: *739 + repositories_added: &761 description: An array of repository objects, which were added to the installation. type: array @@ -129628,15 +129578,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *739 - repository_selection: &761 + repository: *740 + repository_selection: &762 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *758 + requester: *759 sender: *4 required: - action @@ -129715,10 +129665,10 @@ x-webhooks: type: string enum: - removed - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories_added: *760 + organization: *739 + repositories_added: *761 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -129745,9 +129695,9 @@ x-webhooks: - name - full_name - private - repository: *739 - repository_selection: *761 - requester: *758 + repository: *740 + repository_selection: *762 + requester: *759 sender: *4 required: - action @@ -129826,11 +129776,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories: *759 - repository: *739 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -130008,10 +129958,10 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 target_type: type: string @@ -130090,11 +130040,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *736 + enterprise: *737 installation: *22 - organization: *738 - repositories: *759 - repository: *739 + organization: *739 + repositories: *760 + repository: *740 requester: nullable: true sender: *4 @@ -130354,8 +130304,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131144,8 +131094,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131494,8 +131444,8 @@ x-webhooks: - state - locked - assignee - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -131575,7 +131525,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &763 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -131748,8 +131698,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132534,8 +132484,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132886,8 +132836,8 @@ x-webhooks: - state - locked - assignee - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -132967,7 +132917,7 @@ x-webhooks: type: string enum: - edited - changes: &791 + changes: &792 description: The changes to the comment. type: object properties: @@ -132979,9 +132929,9 @@ x-webhooks: type: string required: - from - comment: *762 - enterprise: *736 - installation: *737 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -133769,8 +133719,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134119,8 +134069,8 @@ x-webhooks: - state - locked - assignee - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134201,9 +134151,9 @@ x-webhooks: type: string enum: - pinned - comment: *762 - enterprise: *736 - installation: *737 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134993,8 +134943,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135345,8 +135295,8 @@ x-webhooks: - state - locked - assignee - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -135426,9 +135376,9 @@ x-webhooks: type: string enum: - unpinned - comment: *762 - enterprise: *736 - installation: *737 + comment: *763 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136218,8 +136168,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136570,8 +136520,8 @@ x-webhooks: - state - locked - assignee - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136660,9 +136610,9 @@ x-webhooks: type: number blocking_issue: *85 blocking_issue_repo: *79 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136751,9 +136701,9 @@ x-webhooks: type: number blocking_issue: *85 blocking_issue_repo: *79 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136841,9 +136791,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136932,9 +136882,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -137014,10 +136964,10 @@ x-webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *736 - installation: *737 - issue: &765 + assignee: *759 + enterprise: *737 + installation: *738 + issue: &766 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137809,8 +137759,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -137930,8 +137880,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -138011,8 +137961,8 @@ x-webhooks: type: string enum: - closed - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -138809,8 +138759,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -139065,8 +139015,8 @@ x-webhooks: required: - state - closed_at - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -139145,8 +139095,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139934,8 +139884,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -140054,8 +140004,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -140134,8 +140084,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140945,8 +140895,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -141044,7 +140994,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &763 + milestone: &764 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141182,8 +141132,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -141282,8 +141232,8 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142075,8 +142025,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -142196,9 +142146,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *738 - repository: *739 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -142278,8 +142228,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143070,8 +143020,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -143191,9 +143141,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *738 - repository: *739 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -143273,8 +143223,8 @@ x-webhooks: type: string enum: - locked - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144089,8 +144039,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -144187,8 +144137,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -144267,8 +144217,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145077,8 +145027,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -145175,9 +145125,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *763 - organization: *738 - repository: *739 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146040,8 +145990,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -146625,8 +146575,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147410,8 +147360,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -147538,8 +147488,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147619,9 +147569,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *736 - installation: *737 - issue: &764 + enterprise: *737 + installation: *738 + issue: &765 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148407,8 +148357,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -148527,8 +148477,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148607,8 +148557,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149421,8 +149371,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -149520,8 +149470,8 @@ x-webhooks: user_view_type: type: string type: *242 - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150390,8 +150340,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -150989,11 +150939,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *736 - installation: *737 - issue: *764 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + issue: *765 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151073,12 +151023,12 @@ x-webhooks: type: string enum: - typed - enterprise: *736 - installation: *737 - issue: *765 + enterprise: *737 + installation: *738 + issue: *766 type: *242 - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151159,7 +151109,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &794 + assignee: &795 title: User type: object nullable: true @@ -151229,11 +151179,11 @@ x-webhooks: required: - login - id - enterprise: *736 - installation: *737 - issue: *765 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + issue: *766 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151312,12 +151262,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *736 - installation: *737 - issue: *765 - label: *757 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + issue: *766 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -151397,8 +151347,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152211,8 +152161,8 @@ x-webhooks: properties: *86 required: *87 nullable: true - sub_issues_summary: *672 - issue_dependencies_summary: *673 + sub_issues_summary: *673 + issue_dependencies_summary: *674 issue_field_values: type: array items: *554 @@ -152309,8 +152259,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152390,11 +152340,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *736 - installation: *737 - issue: *764 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + issue: *765 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152473,12 +152423,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *736 - installation: *737 - issue: *765 + enterprise: *737 + installation: *738 + issue: *766 type: *242 - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152558,11 +152508,11 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - label: *757 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152640,11 +152590,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - label: *757 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152754,11 +152704,11 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - label: *757 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + label: *758 + organization: *739 + repository: *740 sender: *4 required: - action @@ -152840,9 +152790,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *736 - installation: *737 - marketplace_purchase: &766 + enterprise: *737 + installation: *738 + marketplace_purchase: &767 title: Marketplace Purchase type: object required: @@ -152925,8 +152875,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *738 - previous_marketplace_purchase: &767 + organization: *739 + previous_marketplace_purchase: &768 title: Marketplace Purchase type: object properties: @@ -153006,7 +152956,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *739 + repository: *740 sender: *4 required: - action @@ -153086,10 +153036,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *736 - installation: *737 - marketplace_purchase: *766 - organization: *738 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153172,7 +153122,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *739 + repository: *740 sender: *4 required: - action @@ -153254,10 +153204,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *736 - installation: *737 - marketplace_purchase: *766 - organization: *738 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153339,7 +153289,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *739 + repository: *740 sender: *4 required: - action @@ -153420,8 +153370,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 marketplace_purchase: title: Marketplace Purchase type: object @@ -153503,9 +153453,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *738 - previous_marketplace_purchase: *767 - repository: *739 + organization: *739 + previous_marketplace_purchase: *768 + repository: *740 sender: *4 required: - action @@ -153585,12 +153535,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *736 - installation: *737 - marketplace_purchase: *766 - organization: *738 - previous_marketplace_purchase: *767 - repository: *739 + enterprise: *737 + installation: *738 + marketplace_purchase: *767 + organization: *739 + previous_marketplace_purchase: *768 + repository: *740 sender: *4 required: - action @@ -153692,11 +153642,11 @@ x-webhooks: type: string required: - to - enterprise: *736 - installation: *737 - member: *758 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153796,11 +153746,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *736 - installation: *737 - member: *758 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153879,11 +153829,11 @@ x-webhooks: type: string enum: - removed - enterprise: *736 - installation: *737 - member: *758 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 sender: *4 required: - action @@ -153961,11 +153911,11 @@ x-webhooks: type: string enum: - added - enterprise: *736 - installation: *737 - member: *758 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154041,7 +153991,7 @@ x-webhooks: required: - login - id - team: &768 + team: &769 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154264,11 +154214,11 @@ x-webhooks: type: string enum: - removed - enterprise: *736 - installation: *737 - member: *758 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + member: *759 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154345,7 +154295,7 @@ x-webhooks: required: - login - id - team: *768 + team: *769 required: - action - scope @@ -154427,8 +154377,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *737 - merge_group: &770 + installation: *738 + merge_group: &771 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154447,15 +154397,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *769 + head_commit: *770 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -154541,10 +154491,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *737 - merge_group: *770 - organization: *738 - repository: *739 + installation: *738 + merge_group: *771 + organization: *739 + repository: *740 sender: *4 required: - action @@ -154617,7 +154567,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 + enterprise: *737 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154726,16 +154676,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *737 - organization: *738 + installation: *738 + organization: *739 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *771 - required: *772 + properties: *772 + required: *773 nullable: true sender: *4 required: @@ -154816,11 +154766,11 @@ x-webhooks: type: string enum: - closed - enterprise: *736 - installation: *737 - milestone: *763 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -154899,9 +154849,9 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - milestone: &773 + enterprise: *737 + installation: *738 + milestone: &774 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155038,8 +154988,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155118,11 +155068,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - milestone: *763 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155232,11 +155182,11 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - milestone: *763 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + milestone: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155316,11 +155266,11 @@ x-webhooks: type: string enum: - opened - enterprise: *736 - installation: *737 - milestone: *773 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + milestone: *774 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155399,11 +155349,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *758 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + blocked_user: *759 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155482,11 +155432,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *758 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + blocked_user: *759 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155565,9 +155515,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - membership: &774 + enterprise: *737 + installation: *738 + membership: &775 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -155674,8 +155624,8 @@ x-webhooks: - role - organization_url - user - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155753,11 +155703,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *736 - installation: *737 - membership: *774 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + membership: *775 + organization: *739 + repository: *740 sender: *4 required: - action @@ -155836,8 +155786,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155953,10 +155903,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 - user: *758 + user: *759 required: - action - invitation @@ -156034,11 +155984,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *736 - installation: *737 - membership: *774 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + membership: *775 + organization: *739 + repository: *740 sender: *4 required: - action @@ -156125,11 +156075,11 @@ x-webhooks: properties: from: type: string - enterprise: *736 - installation: *737 - membership: *774 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + membership: *775 + organization: *739 + repository: *740 sender: *4 required: - action @@ -156206,9 +156156,9 @@ x-webhooks: type: string enum: - published - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -156707,7 +156657,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &775 + items: &776 title: Ruby Gems metadata type: object properties: @@ -156802,7 +156752,7 @@ x-webhooks: - owner - package_version - registry - repository: *739 + repository: *740 sender: *4 required: - action @@ -156878,9 +156828,9 @@ x-webhooks: type: string enum: - updated - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -157233,7 +157183,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *775 + items: *776 source_url: type: string format: uri @@ -157303,7 +157253,7 @@ x-webhooks: - owner - package_version - registry - repository: *739 + repository: *740 sender: *4 required: - action @@ -157479,12 +157429,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *736 + enterprise: *737 id: type: integer - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - id @@ -157561,7 +157511,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &776 + personal_access_token_request: &777 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157707,10 +157657,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *736 - organization: *738 + enterprise: *737 + organization: *739 sender: *4 - installation: *737 + installation: *738 required: - action - personal_access_token_request @@ -157787,11 +157737,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *776 - enterprise: *736 - organization: *738 + personal_access_token_request: *777 + enterprise: *737 + organization: *739 sender: *4 - installation: *737 + installation: *738 required: - action - personal_access_token_request @@ -157867,11 +157817,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *776 - enterprise: *736 - organization: *738 + personal_access_token_request: *777 + enterprise: *737 + organization: *739 sender: *4 - installation: *737 + installation: *738 required: - action - personal_access_token_request @@ -157946,11 +157896,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *776 - organization: *738 - enterprise: *736 + personal_access_token_request: *777 + organization: *739 + enterprise: *737 sender: *4 - installation: *737 + installation: *738 required: - action - personal_access_token_request @@ -158055,7 +158005,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *777 + last_response: *778 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158087,8 +158037,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 zen: description: Random string of GitHub zen. @@ -158333,10 +158283,10 @@ x-webhooks: - from required: - note - enterprise: *736 - installation: *737 - organization: *738 - project_card: &778 + enterprise: *737 + installation: *738 + organization: *739 + project_card: &779 title: Project Card type: object properties: @@ -158455,7 +158405,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *739 + repository: *740 sender: *4 required: - action @@ -158536,11 +158486,11 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - project_card: *778 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *779 + repository: *740 sender: *4 required: - action @@ -158620,9 +158570,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 project_card: title: Project Card type: object @@ -158750,8 +158700,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *771 - required: *772 + properties: *772 + required: *773 nullable: true sender: *4 required: @@ -158845,11 +158795,11 @@ x-webhooks: - from required: - note - enterprise: *736 - installation: *737 - organization: *738 - project_card: *778 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *779 + repository: *740 sender: *4 required: - action @@ -158943,9 +158893,9 @@ x-webhooks: - from required: - column_id - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 project_card: allOf: - title: Project Card @@ -159135,7 +159085,7 @@ x-webhooks: type: string required: - after_id - repository: *739 + repository: *740 sender: *4 required: - action @@ -159215,10 +159165,10 @@ x-webhooks: type: string enum: - closed - enterprise: *736 - installation: *737 - organization: *738 - project: &780 + enterprise: *737 + installation: *738 + organization: *739 + project: &781 title: Project type: object properties: @@ -159342,7 +159292,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *739 + repository: *740 sender: *4 required: - action @@ -159422,10 +159372,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - project_column: &779 + enterprise: *737 + installation: *738 + organization: *739 + project_column: &780 title: Project Column type: object properties: @@ -159464,7 +159414,7 @@ x-webhooks: - name - created_at - updated_at - repository: *739 + repository: *740 sender: *4 required: - action @@ -159543,18 +159493,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - project_column: *779 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *780 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *771 - required: *772 + properties: *772 + required: *773 nullable: true sender: *4 required: @@ -159644,11 +159594,11 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - organization: *738 - project_column: *779 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *780 + repository: *740 sender: *4 required: - action @@ -159728,11 +159678,11 @@ x-webhooks: type: string enum: - moved - enterprise: *736 - installation: *737 - organization: *738 - project_column: *779 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *780 + repository: *740 sender: *4 required: - action @@ -159812,11 +159762,11 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - project: *780 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project: *781 + repository: *740 sender: *4 required: - action @@ -159896,18 +159846,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - project: *780 + enterprise: *737 + installation: *738 + organization: *739 + project: *781 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *771 - required: *772 + properties: *772 + required: *773 nullable: true sender: *4 required: @@ -160009,11 +159959,11 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - organization: *738 - project: *780 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project: *781 + repository: *740 sender: *4 required: - action @@ -160092,11 +160042,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *736 - installation: *737 - organization: *738 - project: *780 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + project: *781 + repository: *740 sender: *4 required: - action @@ -160177,8 +160127,8 @@ x-webhooks: type: string enum: - closed - installation: *737 - organization: *738 + installation: *738 + organization: *739 projects_v2: *276 sender: *4 required: @@ -160260,8 +160210,8 @@ x-webhooks: type: string enum: - created - installation: *737 - organization: *738 + installation: *738 + organization: *739 projects_v2: *276 sender: *4 required: @@ -160343,8 +160293,8 @@ x-webhooks: type: string enum: - deleted - installation: *737 - organization: *738 + installation: *738 + organization: *739 projects_v2: *276 sender: *4 required: @@ -160462,8 +160412,8 @@ x-webhooks: type: string to: type: string - installation: *737 - organization: *738 + installation: *738 + organization: *739 projects_v2: *276 sender: *4 required: @@ -160547,7 +160497,7 @@ x-webhooks: type: string enum: - archived - changes: &784 + changes: &785 type: object properties: archived_at: @@ -160561,9 +160511,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *737 - organization: *738 - projects_v2_item: &781 + installation: *738 + organization: *739 + projects_v2_item: &782 title: Projects v2 Item description: An item belonging to a project type: object @@ -160698,9 +160648,9 @@ x-webhooks: nullable: true to: type: string - installation: *737 - organization: *738 - projects_v2_item: *781 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -160782,9 +160732,9 @@ x-webhooks: type: string enum: - created - installation: *737 - organization: *738 - projects_v2_item: *781 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -160865,9 +160815,9 @@ x-webhooks: type: string enum: - deleted - installation: *737 - organization: *738 - projects_v2_item: *781 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -160973,7 +160923,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &782 + - &783 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160995,7 +160945,7 @@ x-webhooks: required: - id - name - - &783 + - &784 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161029,8 +160979,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *782 - *783 + - *784 required: - field_value - type: object @@ -161046,9 +160996,9 @@ x-webhooks: nullable: true required: - body - installation: *737 - organization: *738 - projects_v2_item: *781 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -161143,9 +161093,9 @@ x-webhooks: to: type: string nullable: true - installation: *737 - organization: *738 - projects_v2_item: *781 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -161228,10 +161178,10 @@ x-webhooks: type: string enum: - restored - changes: *784 - installation: *737 - organization: *738 - projects_v2_item: *781 + changes: *785 + installation: *738 + organization: *739 + projects_v2_item: *782 sender: *4 required: - action @@ -161313,8 +161263,8 @@ x-webhooks: type: string enum: - reopened - installation: *737 - organization: *738 + installation: *738 + organization: *739 projects_v2: *276 sender: *4 required: @@ -161396,14 +161346,14 @@ x-webhooks: type: string enum: - created - installation: *737 - organization: *738 - projects_v2_status_update: &787 + installation: *738 + organization: *739 + projects_v2_status_update: &788 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *785 - required: *786 + properties: *786 + required: *787 sender: *4 required: - action @@ -161484,9 +161434,9 @@ x-webhooks: type: string enum: - deleted - installation: *737 - organization: *738 - projects_v2_status_update: *787 + installation: *738 + organization: *739 + projects_v2_status_update: *788 sender: *4 required: - action @@ -161622,9 +161572,9 @@ x-webhooks: type: string format: date nullable: true - installation: *737 - organization: *738 - projects_v2_status_update: *787 + installation: *738 + organization: *739 + projects_v2_status_update: *788 sender: *4 required: - action @@ -161695,10 +161645,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - repository @@ -161775,13 +161725,13 @@ x-webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *736 - installation: *737 - number: &788 + assignee: *759 + enterprise: *737 + installation: *738 + number: &789 description: The pull request number. type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -164086,7 +164036,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -164168,11 +164118,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -166472,7 +166422,7 @@ x-webhooks: - draft reason: type: string - repository: *739 + repository: *740 sender: *4 required: - action @@ -166554,11 +166504,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -168858,7 +168808,7 @@ x-webhooks: - draft reason: type: string - repository: *739 + repository: *740 sender: *4 required: - action @@ -168940,11 +168890,11 @@ x-webhooks: type: string enum: - closed - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: &789 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: &790 allOf: - *592 - type: object @@ -169008,7 +168958,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *739 + repository: *740 sender: *4 required: - action @@ -169089,12 +169039,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: *789 - repository: *739 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: *790 + repository: *740 sender: *4 required: - action @@ -169174,11 +169124,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *736 + enterprise: *737 milestone: *576 - number: *788 - organization: *738 - pull_request: &790 + number: *789 + organization: *739 + pull_request: &791 title: Pull Request type: object properties: @@ -171463,7 +171413,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -171542,11 +171492,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -173850,7 +173800,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *739 + repository: *740 sender: *4 required: - action @@ -173974,12 +173924,12 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: *789 - repository: *739 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: *790 + repository: *740 sender: *4 required: - action @@ -174059,11 +174009,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -176352,7 +176302,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -176432,11 +176382,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *736 - installation: *737 - label: *757 - number: *788 - organization: *738 + enterprise: *737 + installation: *738 + label: *758 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -178740,7 +178690,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -178821,10 +178771,10 @@ x-webhooks: type: string enum: - locked - enterprise: *736 - installation: *737 - number: *788 - organization: *738 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -181126,7 +181076,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -181206,12 +181156,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *736 + enterprise: *737 milestone: *576 - number: *788 - organization: *738 - pull_request: *790 - repository: *739 + number: *789 + organization: *739 + pull_request: *791 + repository: *740 sender: *4 required: - action @@ -181290,12 +181240,12 @@ x-webhooks: type: string enum: - opened - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: *789 - repository: *739 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: *790 + repository: *740 sender: *4 required: - action @@ -181376,12 +181326,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: *789 - repository: *739 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: *790 + repository: *740 sender: *4 required: - action @@ -181461,12 +181411,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *736 - installation: *737 - number: *788 - organization: *738 - pull_request: *789 - repository: *739 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 + pull_request: *790 + repository: *740 sender: *4 required: - action @@ -181832,9 +181782,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -184026,7 +183976,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *739 + repository: *740 sender: *4 required: - action @@ -184106,7 +184056,7 @@ x-webhooks: type: string enum: - deleted - comment: &792 + comment: &793 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -184391,9 +184341,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -186573,7 +186523,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *739 + repository: *740 sender: *4 required: - action @@ -186653,11 +186603,11 @@ x-webhooks: type: string enum: - edited - changes: *791 - comment: *792 - enterprise: *736 - installation: *737 - organization: *738 + changes: *792 + comment: *793 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -188840,7 +188790,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *739 + repository: *740 sender: *4 required: - action @@ -188921,9 +188871,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -191118,7 +191068,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *739 + repository: *740 review: description: The review that was affected. type: object @@ -191365,9 +191315,9 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -193421,8 +193371,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *739 - review: &793 + repository: *740 + review: &794 description: The review that was affected. type: object properties: @@ -193655,12 +193605,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -195965,7 +195915,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 requested_reviewer: title: User type: object @@ -196049,12 +195999,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -198366,7 +198316,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198558,12 +198508,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -200870,7 +200820,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 requested_reviewer: title: User type: object @@ -200955,12 +200905,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *736 - installation: *737 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *738 + organization: *739 pull_request: title: Pull Request type: object @@ -203258,7 +203208,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203439,9 +203389,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -205638,8 +205588,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *739 - review: *793 + repository: *740 + review: *794 sender: *4 required: - action @@ -205719,9 +205669,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -207813,7 +207763,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *739 + repository: *740 sender: *4 thread: type: object @@ -208200,9 +208150,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -210280,7 +210230,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *739 + repository: *740 sender: *4 thread: type: object @@ -210670,10 +210620,10 @@ x-webhooks: type: string before: type: string - enterprise: *736 - installation: *737 - number: *788 - organization: *738 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -212966,7 +212916,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -213048,11 +212998,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *794 - enterprise: *736 - installation: *737 - number: *788 - organization: *738 + assignee: *795 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -215357,7 +215307,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -215436,11 +215386,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *736 - installation: *737 - label: *757 - number: *788 - organization: *738 + enterprise: *737 + installation: *738 + label: *758 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -217735,7 +217685,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -217816,10 +217766,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *736 - installation: *737 - number: *788 - organization: *738 + enterprise: *737 + installation: *738 + number: *789 + organization: *739 pull_request: title: Pull Request type: object @@ -220106,7 +220056,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *739 + repository: *740 sender: *4 required: - action @@ -220306,7 +220256,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *736 + enterprise: *737 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -220398,8 +220348,8 @@ x-webhooks: - url - author - committer - installation: *737 - organization: *738 + installation: *738 + organization: *739 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -220985,9 +220935,9 @@ x-webhooks: type: string enum: - published - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -221433,7 +221383,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *775 + items: *776 summary: type: string tag_name: @@ -221487,7 +221437,7 @@ x-webhooks: - owner - package_version - registry - repository: *739 + repository: *740 sender: *4 required: - action @@ -221565,9 +221515,9 @@ x-webhooks: type: string enum: - updated - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -221875,7 +221825,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *775 + items: *776 summary: type: string tag_name: @@ -221924,7 +221874,7 @@ x-webhooks: - owner - package_version - registry - repository: *739 + repository: *740 sender: *4 required: - action @@ -222001,10 +221951,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - release: &795 + enterprise: *737 + installation: *738 + organization: *739 + release: &796 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -222322,7 +222272,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *739 + repository: *740 sender: *4 required: - action @@ -222399,11 +222349,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - release: *795 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + release: *796 + repository: *740 sender: *4 required: - action @@ -222520,11 +222470,11 @@ x-webhooks: type: boolean required: - to - enterprise: *736 - installation: *737 - organization: *738 - release: *795 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + release: *796 + repository: *740 sender: *4 required: - action @@ -222602,9 +222552,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -222926,7 +222876,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *739 + repository: *740 sender: *4 required: - action @@ -223002,10 +222952,10 @@ x-webhooks: type: string enum: - published - enterprise: *736 - installation: *737 - organization: *738 - release: &796 + enterprise: *737 + installation: *738 + organization: *739 + release: &797 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -223324,7 +223274,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *739 + repository: *740 sender: *4 required: - action @@ -223400,11 +223350,11 @@ x-webhooks: type: string enum: - released - enterprise: *736 - installation: *737 - organization: *738 - release: *795 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + release: *796 + repository: *740 sender: *4 required: - action @@ -223480,11 +223430,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *736 - installation: *737 - organization: *738 - release: *796 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + release: *797 + repository: *740 sender: *4 required: - action @@ -223560,11 +223510,11 @@ x-webhooks: type: string enum: - published - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - repository_advisory: *658 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *659 sender: *4 required: - action @@ -223640,11 +223590,11 @@ x-webhooks: type: string enum: - reported - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - repository_advisory: *658 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *659 sender: *4 required: - action @@ -223720,10 +223670,10 @@ x-webhooks: type: string enum: - archived - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223800,10 +223750,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223881,10 +223831,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -223968,10 +223918,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224083,10 +224033,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224158,10 +224108,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 status: type: string @@ -224242,10 +224192,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224322,10 +224272,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224419,10 +224369,10 @@ x-webhooks: - name required: - repository - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -224502,10 +224452,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 repository_ruleset: *324 sender: *4 required: @@ -224584,10 +224534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 repository_ruleset: *324 sender: *4 required: @@ -224666,10 +224616,10 @@ x-webhooks: type: string enum: - edited - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 repository_ruleset: *324 changes: type: object @@ -224974,10 +224924,10 @@ x-webhooks: - from required: - owner - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225055,10 +225005,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225136,7 +225086,7 @@ x-webhooks: type: string enum: - create - alert: &797 + alert: &798 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -225258,10 +225208,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225467,10 +225417,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225548,11 +225498,11 @@ x-webhooks: type: string enum: - reopen - alert: *797 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *798 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225751,10 +225701,10 @@ x-webhooks: enum: - fixed - open - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225832,7 +225782,7 @@ x-webhooks: type: string enum: - assigned - alert: &798 + alert: &799 type: object properties: number: *178 @@ -225891,6 +225841,11 @@ x-webhooks: type: string description: The provider of the secret that was detected. nullable: true + provider_slug: + type: string + description: The slug identifier for the provider of the secret + that was detected. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -225970,10 +225925,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226051,11 +226006,11 @@ x-webhooks: type: string enum: - created - alert: *798 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226136,11 +226091,11 @@ x-webhooks: type: string enum: - created - alert: *798 - installation: *737 - location: *799 - organization: *738 - repository: *739 + alert: *799 + installation: *738 + location: *800 + organization: *739 + repository: *740 sender: *4 required: - location @@ -226378,11 +226333,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *798 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226460,11 +226415,11 @@ x-webhooks: type: string enum: - reopened - alert: *798 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226542,11 +226497,11 @@ x-webhooks: type: string enum: - resolved - alert: *798 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226624,12 +226579,12 @@ x-webhooks: type: string enum: - unassigned - alert: *798 + alert: *799 assignee: *4 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226707,11 +226662,11 @@ x-webhooks: type: string enum: - validated - alert: *798 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + alert: *799 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -226837,10 +226792,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *739 - enterprise: *736 - installation: *737 - organization: *738 + repository: *740 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -226918,11 +226873,11 @@ x-webhooks: type: string enum: - published - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - security_advisory: &800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: &801 description: The details of the security advisory, including summary, description, and severity. type: object @@ -227105,11 +227060,11 @@ x-webhooks: type: string enum: - updated - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 - security_advisory: *800 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: *801 sender: *4 required: - action @@ -227182,10 +227137,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -227370,9 +227325,9 @@ x-webhooks: type: object properties: security_and_analysis: *297 - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: *345 sender: *4 required: @@ -227451,12 +227406,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: &801 + sponsorship: &802 type: object properties: created_at: @@ -227757,12 +227712,12 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *801 + sponsorship: *802 required: - action - sponsorship @@ -227850,12 +227805,12 @@ x-webhooks: type: string required: - from - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *801 + sponsorship: *802 required: - action - changes @@ -227932,17 +227887,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &802 + effective_date: &803 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *801 + sponsorship: *802 required: - action - sponsorship @@ -228016,7 +227971,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &803 + changes: &804 type: object properties: tier: @@ -228060,13 +228015,13 @@ x-webhooks: - from required: - tier - effective_date: *802 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + effective_date: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *801 + sponsorship: *802 required: - action - changes @@ -228143,13 +228098,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *803 - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + changes: *804 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *801 + sponsorship: *802 required: - action - changes @@ -228223,10 +228178,10 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228309,10 +228264,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228732,15 +228687,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *736 + enterprise: *737 id: description: The unique identifier of the status. type: integer - installation: *737 + installation: *738 name: type: string - organization: *738 - repository: *739 + organization: *739 + repository: *740 sender: *4 sha: description: The Commit SHA. @@ -228855,9 +228810,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -228947,9 +228902,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -229039,9 +228994,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -229131,9 +229086,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *85 - installation: *737 - organization: *738 - repository: *739 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -229210,12 +229165,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - team: &804 + team: &805 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -229438,9 +229393,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -229898,7 +229853,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *804 + team: *805 required: - action - team @@ -229974,9 +229929,9 @@ x-webhooks: type: string enum: - created - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -230434,7 +230389,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *804 + team: *805 required: - action - team @@ -230511,9 +230466,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -230971,7 +230926,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *804 + team: *805 required: - action - team @@ -231115,9 +231070,9 @@ x-webhooks: - from required: - permissions - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -231575,7 +231530,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *804 + team: *805 required: - action - changes @@ -231653,9 +231608,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *736 - installation: *737 - organization: *738 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -232113,7 +232068,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *804 + team: *805 required: - action - team @@ -232189,10 +232144,10 @@ x-webhooks: type: string enum: - started - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -232265,16 +232220,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *736 + enterprise: *737 inputs: type: object nullable: true additionalProperties: true - installation: *737 - organization: *738 + installation: *738 + organization: *739 ref: type: string - repository: *739 + repository: *740 sender: *4 workflow: type: string @@ -232356,10 +232311,10 @@ x-webhooks: type: string enum: - completed - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -232675,10 +232630,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -233017,10 +232972,10 @@ x-webhooks: type: string enum: - queued - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -233234,10 +233189,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -233453,12 +233408,12 @@ x-webhooks: type: string enum: - completed - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *753 + workflow: *754 workflow_run: title: Workflow Run type: object @@ -234457,12 +234412,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *753 + workflow: *754 workflow_run: title: Workflow Run type: object @@ -235446,12 +235401,12 @@ x-webhooks: type: string enum: - requested - enterprise: *736 - installation: *737 - organization: *738 - repository: *739 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *753 + workflow: *754 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 3c0534516..68d52b196 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -2227,26 +2227,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2256,6 +2255,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -2330,10 +2333,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -2622,7 +2624,7 @@ }, "post": { "summary": "Create a task", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository\n", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new task for a repository.\n", "tags": [ "agent-tasks" ], @@ -2664,33 +2666,21 @@ "schema": { "type": "object", "required": [ - "event_content" + "prompt" ], "properties": { - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID (optional, defaults to coding agent)" - }, - "problem_statement": { + "prompt": { "type": "string", - "description": "Additional prompting for the agent" - }, - "event_content": { - "type": "string", - "description": "User's written prompt" + "description": "The user's prompt for the agent" }, "model": { "type": "string", "description": "The model to use for this task. The allowed models may change over time and depend on the user's GitHub Copilot plan and organization policies. Currently supported values: `claude-sonnet-4.6`, `claude-opus-4.6`, `gpt-5.2-codex`, `gpt-5.3-codex`, `gpt-5.4`, `claude-sonnet-4.5`, `claude-opus-4.5`" }, - "custom_agent": { - "type": "string", - "description": "Custom agent identifier" - }, "create_pull_request": { "type": "boolean", - "description": "Whether to create a PR" + "description": "Whether to create a PR.", + "default": false }, "base_ref": { "type": "string", @@ -2701,8 +2691,7 @@ "examples": { "default": { "value": { - "event_content": "Fix the login button on the homepage", - "create_pull_request": true, + "prompt": "Fix the login button on the homepage", "base_ref": "main" } } @@ -2841,26 +2830,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -2870,6 +2858,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3334,26 +3326,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -3363,6 +3354,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -3454,15 +3449,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -3496,47 +3482,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -3545,20 +3494,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -3599,10 +3538,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -3627,9 +3565,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -4152,26 +4091,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -4181,6 +4119,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -4253,10 +4195,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -4652,26 +4593,25 @@ "type": { "type": "string", "enum": [ - "github_resource", + "pull", "branch" ], - "description": "Discriminator for data shape" + "description": "Type of artifact. Available Values: `pull`, `branch`.\n" }, "data": { "oneOf": [ { "type": "object", "description": "A GitHub resource (pull request, issue, etc.)", + "required": [ + "id" + ], "properties": { "id": { "type": "integer", "format": "int64", "description": "GitHub resource ID" }, - "type": { - "type": "string", - "description": "Resource type (e.g., pull_request, issue)" - }, "global_id": { "type": "string", "description": "GraphQL global ID" @@ -4681,6 +4621,10 @@ { "type": "object", "description": "A Git branch reference", + "required": [ + "head_ref", + "base_ref" + ], "properties": { "head_ref": { "type": "string", @@ -4772,15 +4716,6 @@ } } }, - "agent_id": { - "type": "integer", - "format": "int64", - "description": "Agent ID" - }, - "agent_task_id": { - "type": "string", - "description": "Agent internal task ID" - }, "task_id": { "type": "string", "description": "Task ID this session belongs to" @@ -4814,47 +4749,10 @@ "format": "date-time", "description": "Completion timestamp" }, - "event_type": { - "type": "string", - "description": "Type of event that triggered this session" - }, - "event_url": { - "type": "string", - "description": "URL of the triggering event" - }, - "event_content": { + "prompt": { "type": "string", "description": "Content of the triggering event" }, - "event_identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Identifiers for tracking" - }, - "resource_type": { - "type": "string", - "description": "Type of resource associated with this session" - }, - "resource_id": { - "type": "integer", - "format": "int64", - "description": "Resource ID" - }, - "resource_number": { - "type": "integer", - "format": "int32", - "description": "Resource number (e.g., PR number)" - }, - "resource_global_id": { - "type": "string", - "description": "GraphQL global ID of the resource" - }, - "resource_state": { - "type": "string", - "description": "State of the associated resource" - }, "head_ref": { "type": "string", "description": "Head branch name" @@ -4863,20 +4761,10 @@ "type": "string", "description": "Base branch name" }, - "workflow_run_id": { - "type": "integer", - "format": "int64", - "description": "GitHub Actions workflow run ID" - }, "model": { "type": "string", "description": "Model used for this session" }, - "premium_requests": { - "type": "number", - "format": "double", - "description": "Premium request count" - }, "error": { "type": "object", "description": "Error details for a failed session", @@ -4917,10 +4805,9 @@ "artifacts": [ { "provider": "github", - "type": "github_resource", + "type": "pull", "data": { - "id": 42, - "type": "pull_request" + "id": 42 } } ], @@ -4945,9 +4832,10 @@ "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T01:00:00Z", "completed_at": "2025-01-01T01:00:00Z", - "event_content": "Fix the login button on the homepage", + "prompt": "Fix the login button on the homepage", "head_ref": "copilot/fix-1", - "base_ref": "main" + "base_ref": "main", + "model": "claude-sonnet-4.6" } ] } @@ -203075,7 +202963,16 @@ { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" @@ -203425,6 +203322,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -518324,7 +518226,16 @@ { "name": "exclude_providers", "in": "query", - "description": "A comma-separated list of provider names to exclude from the results.", + "description": "A comma-separated list of provider slugs to exclude from the results.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `providers` parameter.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "providers", + "in": "query", + "description": "A comma-separated list of provider slugs to filter by.\nProvider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`).\nYou can find the provider slug in the `provider_slug` field of each alert.\nCannot be combined with the `exclude_providers` parameter.", "required": false, "schema": { "type": "string" @@ -518679,6 +518590,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -520011,6 +519927,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -521319,6 +521240,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected. Use this value for filtering by provider with the `providers` or `exclude_providers` parameters.", + "nullable": true + }, "secret": { "type": "string", "description": "The secret that was detected." @@ -1298557,6 +1298483,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1301051,6 +1300982,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1303421,6 +1303357,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1306261,6 +1306202,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1308631,6 +1308577,11 @@ "description": "The provider of the secret that was detected.", "nullable": true }, + "provider_slug": { + "type": "string", + "description": "The slug identifier for the provider of the secret that was detected.", + "nullable": true + }{"code":"deadline_exceeded","msg":"operation timed out"}