diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 6bbcb27fe..4181a05b6 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -13341,7 +13341,7 @@ "description": "The name of the artifact.", "minLength": 1, "examples": [ - "libfoo-1.2.3" + "libfoo" ] }, "digest": { @@ -13354,6 +13354,16 @@ "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." ] }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, "artifact_url": { "type": "string", "format": "uri", @@ -13421,7 +13431,8 @@ "examples": { "default": { "value": { - "name": "libfoo-1.2.3", + "name": "libfoo", + "version": "1.2.3", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -13496,7 +13507,7 @@ "total_count": 1, "storage_records": [ { - "name": "libfoo-1.2.3", + "name": "libfoo", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -23983,119 +23994,79 @@ } } }, - "/orgs/{org}/projectsV2/{project_number}/fields": { - "get": { - "summary": "List project fields for organization", - "description": "List all fields for a specific organization-owned project.", + "/orgs/{org}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for organization owned project", + "description": "Create draft issue item for the specified organization owned project.", "tags": [ "projects" ], - "operationId": "projects/list-fields-for-org", + "operationId": "projects/create-draft-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/fields#list-project-fields-for-organization" + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project" }, "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, { "$ref": "#/components/parameters/org" }, { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" + "$ref": "#/components/parameters/project-number" } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-field" + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." } }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-field-items" + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "fields" - } - } - }, - "/orgs/{org}/projectsV2/{project_number}/fields/{field_id}": { - "get": { - "summary": "Get project field for organization", - "description": "Get a specific field for an organization-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-field-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/fields#get-project-field-for-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$ref": "#/components/parameters/field-id" - }, - { - "$ref": "#/components/parameters/org" - } - ], "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/projects-v2-field" + "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-field" + "draft_issue": { + "$ref": "#/components/examples/projects-v2-item-simple" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, "304": { @@ -24112,21 +24083,21 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects", - "subcategory": "fields" + "subcategory": "drafts" } } }, - "/orgs/{org}/projectsV2/{project_number}/items": { + "/orgs/{org}/projectsV2/{project_number}/fields": { "get": { - "summary": "List items for an organization owned project", - "description": "List all items for a specific organization-owned project accessible by the authenticated user.", + "summary": "List project fields for organization", + "description": "List all fields for a specific organization-owned project.", "tags": [ "projects" ], - "operationId": "projects/list-items-for-org", + "operationId": "projects/list-fields-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project" + "url": "https://docs.github.com/rest/projects/fields#list-project-fields-for-organization" }, "parameters": [ { @@ -24136,42 +24107,13 @@ "$ref": "#/components/parameters/org" }, { - "name": "q", - "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "$ref": "#/components/parameters/per-page" }, { "$ref": "#/components/parameters/pagination-before" }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/per-page" } ], "responses": { @@ -24182,12 +24124,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" + "$ref": "#/components/schemas/projects-v2-field" } }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -24212,149 +24154,31 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to organization owned project", - "description": "Add an issue or pull request item to the specified organization owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" + "subcategory": "fields" } } }, - "/orgs/{org}/projectsV2/{project_number}/items/{item_id}": { + "/orgs/{org}/projectsV2/{project_number}/fields/{field_id}": { "get": { - "summary": "Get an item for an organization owned project", - "description": "Get a specific item from an organization-owned project.", + "summary": "Get project field for organization", + "description": "Get a specific field for an organization-owned project.", "tags": [ "projects" ], - "operationId": "projects/get-org-item", + "operationId": "projects/get-field-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project" + "url": "https://docs.github.com/rest/projects/fields#get-project-field-for-organization" }, "parameters": [ { "$ref": "#/components/parameters/project-number" }, { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/item-id" + "$ref": "#/components/parameters/field-id" }, { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "$ref": "#/components/parameters/org" } ], "responses": { @@ -24363,11 +24187,291 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/projects-v2-item-with-content" + "$ref": "#/components/schemas/projects-v2-field" }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" + "$ref": "#/components/examples/projects-v2-field" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "fields" + } + } + }, + "/orgs/{org}/projectsV2/{project_number}/items": { + "get": { + "summary": "List items for an organization owned project", + "description": "List all items for a specific organization-owned project accessible by the authenticated user.", + "tags": [ + "projects" + ], + "operationId": "projects/list-items-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "q", + "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to organization owned project", + "description": "Add an issue or pull request item to the specified organization owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for an organization owned project", + "description": "Get a specific item from an organization-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-org-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/item-id" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" } } } @@ -115613,304 +115717,6 @@ "deleted_by" ] }, - "projects-v2-single-select-options": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - }, - "projects-v2-iteration-settings": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - }, - "projects-v2-field": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "$ref": "#/components/schemas/projects-v2-single-select-options" - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-iteration-settings" - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - }, - "projects-v2-item-content-type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "projects-v2-item-with-content": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "$ref": "#/components/schemas/simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } - }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, "link": { "title": "Link", "description": "Hypermedia Link", @@ -116437,6 +116243,16 @@ "updated_at" ] }, + "projects-v2-item-content-type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, "projects-v2-item-simple": { "title": "Projects v2 Item", "description": "An item belonging to a project", @@ -116516,6 +116332,294 @@ "archived_at" ] }, + "projects-v2-single-select-options": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the option." + }, + "name": { + "type": "object", + "description": "The display name of the option, in raw text and HTML formats.", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ] + }, + "description": { + "type": "object", + "description": "The description of the option, in raw text and HTML formats.", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ] + }, + "color": { + "type": "string", + "description": "The color associated with the option." + } + }, + "required": [ + "id", + "name", + "description", + "color" + ] + }, + "projects-v2-iteration-settings": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the iteration setting." + }, + "start_date": { + "type": "string", + "format": "date", + "description": "The start date of the iteration." + }, + "duration": { + "type": "integer", + "description": "The duration of the iteration in days." + }, + "title": { + "type": "object", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ], + "description": "The iteration title, in raw text and HTML formats." + }, + "completed": { + "type": "boolean", + "description": "Whether the iteration has been completed." + } + }, + "required": [ + "id", + "start_date", + "duration", + "title", + "completed" + ] + }, + "projects-v2-field": { + "title": "Projects v2 Field", + "description": "A field inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the field." + }, + "node_id": { + "type": "string", + "description": "The node ID of the field." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the field.", + "examples": [ + "https://api.github.com/projects/1" + ] + }, + "name": { + "type": "string", + "description": "The name of the field." + }, + "data_type": { + "type": "string", + "description": "The field's data type.", + "enum": [ + "assignees", + "linked_pull_requests", + "reviewers", + "labels", + "milestone", + "repository", + "title", + "text", + "single_select", + "number", + "date", + "iteration", + "issue_type", + "parent_issue", + "sub_issues_progress" + ] + }, + "options": { + "type": "array", + "description": "The options available for single select fields.", + "items": { + "$ref": "#/components/schemas/projects-v2-single-select-options" + } + }, + "configuration": { + "type": "object", + "description": "Configuration for iteration fields.", + "properties": { + "start_day": { + "type": "integer", + "description": "The day of the week when the iteration starts." + }, + "duration": { + "type": "integer", + "description": "The duration of the iteration in days." + }, + "iterations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-iteration-settings" + } + } + } + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the field was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the field was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + } + }, + "required": [ + "id", + "name", + "data_type", + "created_at", + "updated_at", + "project_url" + ] + }, + "projects-v2-item-with-content": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "$ref": "#/components/schemas/simple-user" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -294827,6 +294931,66 @@ "is_template": true } }, + "projects-v2-item-simple": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + }, "projects-v2-field-items": { "value": [ { @@ -295722,66 +295886,6 @@ ] } }, - "projects-v2-item-simple": { - "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" - } - }, "custom-properties": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 05c79a0f5..d71fbc211 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -9615,7 +9615,7 @@ paths: description: The name of the artifact. minLength: 1 examples: - - libfoo-1.2.3 + - libfoo digest: type: string description: The digest of the artifact (algorithm:hex-encoded-digest). @@ -9624,6 +9624,14 @@ paths: pattern: "^sha256:[a-f0-9]{64}$" examples: - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 artifact_url: type: string format: uri @@ -9681,7 +9689,8 @@ paths: examples: default: value: - name: libfoo-1.2.3 + name: libfoo + version: 1.2.3 digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -9731,7 +9740,7 @@ paths: value: total_count: 1 storage_records: - - name: libfoo-1.2.3 + - name: libfoo digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -17356,6 +17365,68 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + "/orgs/{org}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for organization owned project + description: Create draft issue item for the specified organization owned project. + tags: + - projects + operationId: projects/create-draft-item-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-item-simple" + examples: + draft_issue: + "$ref": "#/components/examples/projects-v2-item-simple" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -83867,230 +83938,6 @@ components: - short_description - deleted_at - deleted_by - projects-v2-single-select-options: - title: Projects v2 Single Select Option - description: An option for a single select field - type: object - properties: - id: - type: string - description: The unique identifier of the option. - name: - type: object - description: The display name of the option, in raw text and HTML formats. - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - description: - type: object - description: The description of the option, in raw text and HTML formats. - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - color: - type: string - description: The color associated with the option. - required: - - id - - name - - description - - color - projects-v2-iteration-settings: - title: Projects v2 Iteration Setting - description: An iteration setting for an iteration field - type: object - properties: - id: - type: string - description: The unique identifier of the iteration setting. - start_date: - type: string - format: date - description: The start date of the iteration. - duration: - type: integer - description: The duration of the iteration in days. - title: - type: object - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - description: The iteration title, in raw text and HTML formats. - completed: - type: boolean - description: Whether the iteration has been completed. - required: - - id - - start_date - - duration - - title - - completed - projects-v2-field: - title: Projects v2 Field - description: A field inside a projects v2 project - type: object - properties: - id: - type: integer - description: The unique identifier of the field. - node_id: - type: string - description: The node ID of the field. - project_url: - type: string - description: The API URL of the project that contains the field. - examples: - - https://api.github.com/projects/1 - name: - type: string - description: The name of the field. - data_type: - type: string - description: The field's data type. - enum: - - assignees - - linked_pull_requests - - reviewers - - labels - - milestone - - repository - - title - - text - - single_select - - number - - date - - iteration - - issue_type - - parent_issue - - sub_issues_progress - options: - type: array - description: The options available for single select fields. - items: - "$ref": "#/components/schemas/projects-v2-single-select-options" - configuration: - type: object - description: Configuration for iteration fields. - properties: - start_day: - type: integer - description: The day of the week when the iteration starts. - duration: - type: integer - description: The duration of the iteration in days. - iterations: - type: array - items: - "$ref": "#/components/schemas/projects-v2-iteration-settings" - created_at: - type: string - format: date-time - description: The time when the field was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the field was last updated. - examples: - - '2022-04-28T12:00:00Z' - required: - - id - - name - - data_type - - created_at - - updated_at - - project_url - projects-v2-item-content-type: - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue - projects-v2-item-with-content: - title: Projects v2 Item - description: An item belonging to a project - type: object - properties: - id: - type: number - description: The unique identifier of the project item. - node_id: - type: string - description: The node ID of the project item. - project_url: - type: string - format: uri - description: The API URL of the project that contains this item. - examples: - - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: - "$ref": "#/components/schemas/projects-v2-item-content-type" - content: - type: - - object - - 'null' - additionalProperties: true - description: The content of the item, which varies by content type. - creator: - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - description: The time when the item was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the item was last updated. - examples: - - '2022-04-28T12:00:00Z' - archived_at: - type: - - string - - 'null' - format: date-time - description: The time when the item was archived. - examples: - - '2022-04-28T12:00:00Z' - item_url: - type: - - string - - 'null' - format: uri - description: The API URL of this item. - examples: - - https://api.github.com/users/monalisa/2/projectsV2/items/3 - fields: - type: array - items: - type: object - additionalProperties: true - description: The fields and values associated with this item. - required: - - id - - content_type - - created_at - - updated_at - - archived_at link: title: Link description: Hypermedia Link @@ -84455,6 +84302,14 @@ components: - user - created_at - updated_at + projects-v2-item-content-type: + title: Projects v2 Item Content Type + description: The type of content tracked in a project item + type: string + enum: + - Issue + - PullRequest + - DraftIssue projects-v2-item-simple: title: Projects v2 Item description: An item belonging to a project @@ -84510,6 +84365,222 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-options: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + description: The unique identifier of the option. + name: + type: object + description: The display name of the option, in raw text and HTML formats. + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + description: + type: object + description: The description of the option, in raw text and HTML formats. + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + color: + type: string + description: The color associated with the option. + required: + - id + - name + - description + - color + projects-v2-iteration-settings: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + description: The unique identifier of the iteration setting. + start_date: + type: string + format: date + description: The start date of the iteration. + duration: + type: integer + description: The duration of the iteration in days. + title: + type: object + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + description: The iteration title, in raw text and HTML formats. + completed: + type: boolean + description: Whether the iteration has been completed. + required: + - id + - start_date + - duration + - title + - completed + projects-v2-field: + title: Projects v2 Field + description: A field inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the field. + node_id: + type: string + description: The node ID of the field. + project_url: + type: string + description: The API URL of the project that contains the field. + examples: + - https://api.github.com/projects/1 + name: + type: string + description: The name of the field. + data_type: + type: string + description: The field's data type. + enum: + - assignees + - linked_pull_requests + - reviewers + - labels + - milestone + - repository + - title + - text + - single_select + - number + - date + - iteration + - issue_type + - parent_issue + - sub_issues_progress + options: + type: array + description: The options available for single select fields. + items: + "$ref": "#/components/schemas/projects-v2-single-select-options" + configuration: + type: object + description: Configuration for iteration fields. + properties: + start_day: + type: integer + description: The day of the week when the iteration starts. + duration: + type: integer + description: The duration of the iteration in days. + iterations: + type: array + items: + "$ref": "#/components/schemas/projects-v2-iteration-settings" + created_at: + type: string + format: date-time + description: The time when the field was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the field was last updated. + examples: + - '2022-04-28T12:00:00Z' + required: + - id + - name + - data_type + - created_at + - updated_at + - project_url + projects-v2-item-with-content: + title: Projects v2 Item + description: An item belonging to a project + type: object + properties: + id: + type: number + description: The unique identifier of the project item. + node_id: + type: string + description: The node ID of the project item. + project_url: + type: string + format: uri + description: The API URL of the project that contains this item. + examples: + - https://api.github.com/users/monalisa/2/projectsV2/3 + content_type: + "$ref": "#/components/schemas/projects-v2-item-content-type" + content: + type: + - object + - 'null' + additionalProperties: true + description: The content of the item, which varies by content type. + creator: + "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the item was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the item was last updated. + examples: + - '2022-04-28T12:00:00Z' + archived_at: + type: + - string + - 'null' + format: date-time + description: The time when the item was archived. + examples: + - '2022-04-28T12:00:00Z' + item_url: + type: + - string + - 'null' + format: uri + description: The API URL of this item. + examples: + - https://api.github.com/users/monalisa/2/projectsV2/items/3 + fields: + type: array + items: + type: object + additionalProperties: true + description: The fields and values associated with this item. + required: + - id + - content_type + - created_at + - updated_at + - archived_at custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -217865,6 +217936,61 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-item-simple: + value: + id: 17 + node_id: PVTI_lADOANN5s84ACbL0zgBueEI + content: + id: 38 + node_id: I_kwDOANN5s85FtLts + title: Example Draft Issue + body: This is a draft issue in the project. + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + user: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + content_type: DraftIssue + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + archived_at: + project_url: https://api.github.com/users/octocat/projectsV2/1 + item_url: https://api.github.com/users/octocat/projectsV2/items/17 projects-v2-field-items: value: - id: 12345 @@ -218642,61 +218768,6 @@ components: name: Sub-issues progress type: sub_issues_progress value: - projects-v2-item-simple: - value: - id: 17 - node_id: PVTI_lADOANN5s84ACbL0zgBueEI - content: - id: 38 - node_id: I_kwDOANN5s85FtLts - title: Example Draft Issue - body: This is a draft issue in the project. - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - user: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - content_type: DraftIssue - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - archived_at: - project_url: https://api.github.com/users/octocat/projectsV2/1 - item_url: https://api.github.com/users/octocat/projectsV2/items/17 custom-properties: value: - property_name: environment diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 6bbcb27fe..4181a05b6 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -13341,7 +13341,7 @@ "description": "The name of the artifact.", "minLength": 1, "examples": [ - "libfoo-1.2.3" + "libfoo" ] }, "digest": { @@ -13354,6 +13354,16 @@ "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." ] }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, "artifact_url": { "type": "string", "format": "uri", @@ -13421,7 +13431,8 @@ "examples": { "default": { "value": { - "name": "libfoo-1.2.3", + "name": "libfoo", + "version": "1.2.3", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -13496,7 +13507,7 @@ "total_count": 1, "storage_records": [ { - "name": "libfoo-1.2.3", + "name": "libfoo", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -23983,119 +23994,79 @@ } } }, - "/orgs/{org}/projectsV2/{project_number}/fields": { - "get": { - "summary": "List project fields for organization", - "description": "List all fields for a specific organization-owned project.", + "/orgs/{org}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for organization owned project", + "description": "Create draft issue item for the specified organization owned project.", "tags": [ "projects" ], - "operationId": "projects/list-fields-for-org", + "operationId": "projects/create-draft-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/fields#list-project-fields-for-organization" + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project" }, "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, { "$ref": "#/components/parameters/org" }, { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" + "$ref": "#/components/parameters/project-number" } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-field" + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." } }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-field-items" + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "fields" - } - } - }, - "/orgs/{org}/projectsV2/{project_number}/fields/{field_id}": { - "get": { - "summary": "Get project field for organization", - "description": "Get a specific field for an organization-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-field-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/fields#get-project-field-for-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$ref": "#/components/parameters/field-id" - }, - { - "$ref": "#/components/parameters/org" - } - ], "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/projects-v2-field" + "$ref": "#/components/schemas/projects-v2-item-simple" }, "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-field" + "draft_issue": { + "$ref": "#/components/examples/projects-v2-item-simple" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, "304": { @@ -24112,21 +24083,21 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects", - "subcategory": "fields" + "subcategory": "drafts" } } }, - "/orgs/{org}/projectsV2/{project_number}/items": { + "/orgs/{org}/projectsV2/{project_number}/fields": { "get": { - "summary": "List items for an organization owned project", - "description": "List all items for a specific organization-owned project accessible by the authenticated user.", + "summary": "List project fields for organization", + "description": "List all fields for a specific organization-owned project.", "tags": [ "projects" ], - "operationId": "projects/list-items-for-org", + "operationId": "projects/list-fields-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project" + "url": "https://docs.github.com/rest/projects/fields#list-project-fields-for-organization" }, "parameters": [ { @@ -24136,42 +24107,13 @@ "$ref": "#/components/parameters/org" }, { - "name": "q", - "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "$ref": "#/components/parameters/per-page" }, { "$ref": "#/components/parameters/pagination-before" }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/per-page" } ], "responses": { @@ -24182,12 +24124,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" + "$ref": "#/components/schemas/projects-v2-field" } }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -24212,149 +24154,31 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to organization owned project", - "description": "Add an issue or pull request item to the specified organization owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" + "subcategory": "fields" } } }, - "/orgs/{org}/projectsV2/{project_number}/items/{item_id}": { + "/orgs/{org}/projectsV2/{project_number}/fields/{field_id}": { "get": { - "summary": "Get an item for an organization owned project", - "description": "Get a specific item from an organization-owned project.", + "summary": "Get project field for organization", + "description": "Get a specific field for an organization-owned project.", "tags": [ "projects" ], - "operationId": "projects/get-org-item", + "operationId": "projects/get-field-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project" + "url": "https://docs.github.com/rest/projects/fields#get-project-field-for-organization" }, "parameters": [ { "$ref": "#/components/parameters/project-number" }, { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/item-id" + "$ref": "#/components/parameters/field-id" }, { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "$ref": "#/components/parameters/org" } ], "responses": { @@ -24363,11 +24187,291 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/projects-v2-item-with-content" + "$ref": "#/components/schemas/projects-v2-field" }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" + "$ref": "#/components/examples/projects-v2-field" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "fields" + } + } + }, + "/orgs/{org}/projectsV2/{project_number}/items": { + "get": { + "summary": "List items for an organization owned project", + "description": "List all items for a specific organization-owned project accessible by the authenticated user.", + "tags": [ + "projects" + ], + "operationId": "projects/list-items-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "q", + "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to organization owned project", + "description": "Add an issue or pull request item to the specified organization owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for an organization owned project", + "description": "Get a specific item from an organization-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-org-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/item-id" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" } } } @@ -115613,304 +115717,6 @@ "deleted_by" ] }, - "projects-v2-single-select-options": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - }, - "projects-v2-iteration-settings": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - }, - "projects-v2-field": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "$ref": "#/components/schemas/projects-v2-single-select-options" - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-iteration-settings" - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - }, - "projects-v2-item-content-type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "projects-v2-item-with-content": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "$ref": "#/components/schemas/simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } - }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, "link": { "title": "Link", "description": "Hypermedia Link", @@ -116437,6 +116243,16 @@ "updated_at" ] }, + "projects-v2-item-content-type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, "projects-v2-item-simple": { "title": "Projects v2 Item", "description": "An item belonging to a project", @@ -116516,6 +116332,294 @@ "archived_at" ] }, + "projects-v2-single-select-options": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the option." + }, + "name": { + "type": "object", + "description": "The display name of the option, in raw text and HTML formats.", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ] + }, + "description": { + "type": "object", + "description": "The description of the option, in raw text and HTML formats.", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ] + }, + "color": { + "type": "string", + "description": "The color associated with the option." + } + }, + "required": [ + "id", + "name", + "description", + "color" + ] + }, + "projects-v2-iteration-settings": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the iteration setting." + }, + "start_date": { + "type": "string", + "format": "date", + "description": "The start date of the iteration." + }, + "duration": { + "type": "integer", + "description": "The duration of the iteration in days." + }, + "title": { + "type": "object", + "properties": { + "raw": { + "type": "string" + }, + "html": { + "type": "string" + } + }, + "required": [ + "raw", + "html" + ], + "description": "The iteration title, in raw text and HTML formats." + }, + "completed": { + "type": "boolean", + "description": "Whether the iteration has been completed." + } + }, + "required": [ + "id", + "start_date", + "duration", + "title", + "completed" + ] + }, + "projects-v2-field": { + "title": "Projects v2 Field", + "description": "A field inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the field." + }, + "node_id": { + "type": "string", + "description": "The node ID of the field." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the field.", + "examples": [ + "https://api.github.com/projects/1" + ] + }, + "name": { + "type": "string", + "description": "The name of the field." + }, + "data_type": { + "type": "string", + "description": "The field's data type.", + "enum": [ + "assignees", + "linked_pull_requests", + "reviewers", + "labels", + "milestone", + "repository", + "title", + "text", + "single_select", + "number", + "date", + "iteration", + "issue_type", + "parent_issue", + "sub_issues_progress" + ] + }, + "options": { + "type": "array", + "description": "The options available for single select fields.", + "items": { + "$ref": "#/components/schemas/projects-v2-single-select-options" + } + }, + "configuration": { + "type": "object", + "description": "Configuration for iteration fields.", + "properties": { + "start_day": { + "type": "integer", + "description": "The day of the week when the iteration starts." + }, + "duration": { + "type": "integer", + "description": "The duration of the iteration in days." + }, + "iterations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-iteration-settings" + } + } + } + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the field was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the field was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + } + }, + "required": [ + "id", + "name", + "data_type", + "created_at", + "updated_at", + "project_url" + ] + }, + "projects-v2-item-with-content": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "$ref": "#/components/schemas/simple-user" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -294827,6 +294931,66 @@ "is_template": true } }, + "projects-v2-item-simple": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + }, "projects-v2-field-items": { "value": [ { @@ -295722,66 +295886,6 @@ ] } }, - "projects-v2-item-simple": { - "value": { - "id": 17, - "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", - "content": { - "id": 38, - "node_id": "I_kwDOANN5s85FtLts", - "title": "Example Draft Issue", - "body": "This is a draft issue in the project.", - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - "content_type": "DraftIssue", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z", - "archived_at": null, - "project_url": "https://api.github.com/users/octocat/projectsV2/1", - "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" - } - }, "custom-properties": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 05c79a0f5..d71fbc211 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -9615,7 +9615,7 @@ paths: description: The name of the artifact. minLength: 1 examples: - - libfoo-1.2.3 + - libfoo digest: type: string description: The digest of the artifact (algorithm:hex-encoded-digest). @@ -9624,6 +9624,14 @@ paths: pattern: "^sha256:[a-f0-9]{64}$" examples: - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 artifact_url: type: string format: uri @@ -9681,7 +9689,8 @@ paths: examples: default: value: - name: libfoo-1.2.3 + name: libfoo + version: 1.2.3 digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -9731,7 +9740,7 @@ paths: value: total_count: 1 storage_records: - - name: libfoo-1.2.3 + - name: libfoo digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -17356,6 +17365,68 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + "/orgs/{org}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for organization owned project + description: Create draft issue item for the specified organization owned project. + tags: + - projects + operationId: projects/create-draft-item-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-item-simple" + examples: + draft_issue: + "$ref": "#/components/examples/projects-v2-item-simple" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -83867,230 +83938,6 @@ components: - short_description - deleted_at - deleted_by - projects-v2-single-select-options: - title: Projects v2 Single Select Option - description: An option for a single select field - type: object - properties: - id: - type: string - description: The unique identifier of the option. - name: - type: object - description: The display name of the option, in raw text and HTML formats. - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - description: - type: object - description: The description of the option, in raw text and HTML formats. - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - color: - type: string - description: The color associated with the option. - required: - - id - - name - - description - - color - projects-v2-iteration-settings: - title: Projects v2 Iteration Setting - description: An iteration setting for an iteration field - type: object - properties: - id: - type: string - description: The unique identifier of the iteration setting. - start_date: - type: string - format: date - description: The start date of the iteration. - duration: - type: integer - description: The duration of the iteration in days. - title: - type: object - properties: - raw: - type: string - html: - type: string - required: - - raw - - html - description: The iteration title, in raw text and HTML formats. - completed: - type: boolean - description: Whether the iteration has been completed. - required: - - id - - start_date - - duration - - title - - completed - projects-v2-field: - title: Projects v2 Field - description: A field inside a projects v2 project - type: object - properties: - id: - type: integer - description: The unique identifier of the field. - node_id: - type: string - description: The node ID of the field. - project_url: - type: string - description: The API URL of the project that contains the field. - examples: - - https://api.github.com/projects/1 - name: - type: string - description: The name of the field. - data_type: - type: string - description: The field's data type. - enum: - - assignees - - linked_pull_requests - - reviewers - - labels - - milestone - - repository - - title - - text - - single_select - - number - - date - - iteration - - issue_type - - parent_issue - - sub_issues_progress - options: - type: array - description: The options available for single select fields. - items: - "$ref": "#/components/schemas/projects-v2-single-select-options" - configuration: - type: object - description: Configuration for iteration fields. - properties: - start_day: - type: integer - description: The day of the week when the iteration starts. - duration: - type: integer - description: The duration of the iteration in days. - iterations: - type: array - items: - "$ref": "#/components/schemas/projects-v2-iteration-settings" - created_at: - type: string - format: date-time - description: The time when the field was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the field was last updated. - examples: - - '2022-04-28T12:00:00Z' - required: - - id - - name - - data_type - - created_at - - updated_at - - project_url - projects-v2-item-content-type: - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue - projects-v2-item-with-content: - title: Projects v2 Item - description: An item belonging to a project - type: object - properties: - id: - type: number - description: The unique identifier of the project item. - node_id: - type: string - description: The node ID of the project item. - project_url: - type: string - format: uri - description: The API URL of the project that contains this item. - examples: - - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: - "$ref": "#/components/schemas/projects-v2-item-content-type" - content: - type: - - object - - 'null' - additionalProperties: true - description: The content of the item, which varies by content type. - creator: - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - description: The time when the item was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the item was last updated. - examples: - - '2022-04-28T12:00:00Z' - archived_at: - type: - - string - - 'null' - format: date-time - description: The time when the item was archived. - examples: - - '2022-04-28T12:00:00Z' - item_url: - type: - - string - - 'null' - format: uri - description: The API URL of this item. - examples: - - https://api.github.com/users/monalisa/2/projectsV2/items/3 - fields: - type: array - items: - type: object - additionalProperties: true - description: The fields and values associated with this item. - required: - - id - - content_type - - created_at - - updated_at - - archived_at link: title: Link description: Hypermedia Link @@ -84455,6 +84302,14 @@ components: - user - created_at - updated_at + projects-v2-item-content-type: + title: Projects v2 Item Content Type + description: The type of content tracked in a project item + type: string + enum: + - Issue + - PullRequest + - DraftIssue projects-v2-item-simple: title: Projects v2 Item description: An item belonging to a project @@ -84510,6 +84365,222 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-options: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + description: The unique identifier of the option. + name: + type: object + description: The display name of the option, in raw text and HTML formats. + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + description: + type: object + description: The description of the option, in raw text and HTML formats. + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + color: + type: string + description: The color associated with the option. + required: + - id + - name + - description + - color + projects-v2-iteration-settings: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + description: The unique identifier of the iteration setting. + start_date: + type: string + format: date + description: The start date of the iteration. + duration: + type: integer + description: The duration of the iteration in days. + title: + type: object + properties: + raw: + type: string + html: + type: string + required: + - raw + - html + description: The iteration title, in raw text and HTML formats. + completed: + type: boolean + description: Whether the iteration has been completed. + required: + - id + - start_date + - duration + - title + - completed + projects-v2-field: + title: Projects v2 Field + description: A field inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the field. + node_id: + type: string + description: The node ID of the field. + project_url: + type: string + description: The API URL of the project that contains the field. + examples: + - https://api.github.com/projects/1 + name: + type: string + description: The name of the field. + data_type: + type: string + description: The field's data type. + enum: + - assignees + - linked_pull_requests + - reviewers + - labels + - milestone + - repository + - title + - text + - single_select + - number + - date + - iteration + - issue_type + - parent_issue + - sub_issues_progress + options: + type: array + description: The options available for single select fields. + items: + "$ref": "#/components/schemas/projects-v2-single-select-options" + configuration: + type: object + description: Configuration for iteration fields. + properties: + start_day: + type: integer + description: The day of the week when the iteration starts. + duration: + type: integer + description: The duration of the iteration in days. + iterations: + type: array + items: + "$ref": "#/components/schemas/projects-v2-iteration-settings" + created_at: + type: string + format: date-time + description: The time when the field was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the field was last updated. + examples: + - '2022-04-28T12:00:00Z' + required: + - id + - name + - data_type + - created_at + - updated_at + - project_url + projects-v2-item-with-content: + title: Projects v2 Item + description: An item belonging to a project + type: object + properties: + id: + type: number + description: The unique identifier of the project item. + node_id: + type: string + description: The node ID of the project item. + project_url: + type: string + format: uri + description: The API URL of the project that contains this item. + examples: + - https://api.github.com/users/monalisa/2/projectsV2/3 + content_type: + "$ref": "#/components/schemas/projects-v2-item-content-type" + content: + type: + - object + - 'null' + additionalProperties: true + description: The content of the item, which varies by content type. + creator: + "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the item was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the item was last updated. + examples: + - '2022-04-28T12:00:00Z' + archived_at: + type: + - string + - 'null' + format: date-time + description: The time when the item was archived. + examples: + - '2022-04-28T12:00:00Z' + item_url: + type: + - string + - 'null' + format: uri + description: The API URL of this item. + examples: + - https://api.github.com/users/monalisa/2/projectsV2/items/3 + fields: + type: array + items: + type: object + additionalProperties: true + description: The fields and values associated with this item. + required: + - id + - content_type + - created_at + - updated_at + - archived_at custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -217865,6 +217936,61 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-item-simple: + value: + id: 17 + node_id: PVTI_lADOANN5s84ACbL0zgBueEI + content: + id: 38 + node_id: I_kwDOANN5s85FtLts + title: Example Draft Issue + body: This is a draft issue in the project. + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + user: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + content_type: DraftIssue + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + archived_at: + project_url: https://api.github.com/users/octocat/projectsV2/1 + item_url: https://api.github.com/users/octocat/projectsV2/items/17 projects-v2-field-items: value: - id: 12345 @@ -218642,61 +218768,6 @@ components: name: Sub-issues progress type: sub_issues_progress value: - projects-v2-item-simple: - value: - id: 17 - node_id: PVTI_lADOANN5s84ACbL0zgBueEI - content: - id: 38 - node_id: I_kwDOANN5s85FtLts - title: Example Draft Issue - body: This is a draft issue in the project. - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - user: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - content_type: DraftIssue - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - archived_at: - project_url: https://api.github.com/users/octocat/projectsV2/1 - item_url: https://api.github.com/users/octocat/projectsV2/items/17 custom-properties: value: - property_name: environment diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index ae2395924..223ce92b2 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -83990,7 +83990,7 @@ "description": "The name of the artifact.", "minLength": 1, "examples": [ - "libfoo-1.2.3" + "libfoo" ] }, "digest": { @@ -84003,6 +84003,16 @@ "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." ] }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, "artifact_url": { "type": "string", "format": "uri", @@ -84070,7 +84080,8 @@ "examples": { "default": { "value": { - "name": "libfoo-1.2.3", + "name": "libfoo", + "version": "1.2.3", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -84145,7 +84156,7 @@ "total_count": 1, "storage_records": [ { - "name": "libfoo-1.2.3", + "name": "libfoo", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -150915,6 +150926,7751 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for organization owned project", + "description": "Create draft issue item for the specified organization owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "content": { + "oneOf": [ + { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + { + "title": "Pull Request Simple", + "description": "Pull Request Simple", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOlB1bGxSZXF1ZXN0MQ==" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347" + ] + }, + "diff_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.diff" + ] + }, + "patch_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.patch" + ] + }, + "issue_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + }, + "commits_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + ] + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + ] + }, + "review_comment_url": { + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + ] + }, + "comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + ] + }, + "statuses_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "number": { + "type": "integer", + "examples": [ + 1347 + ] + }, + "state": { + "type": "string", + "examples": [ + "open" + ] + }, + "locked": { + "type": "boolean", + "examples": [ + true + ] + }, + "title": { + "type": "string", + "examples": [ + "new-feature" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "examples": [ + "Please pull these awesome changes" + ] + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "too heated" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merge_commit_sha": { + "type": [ + "string", + "null" + ], + "examples": [ + "e5bd3914e2e596debea16f433f57875b5b90bcd6" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_reviewers": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_teams": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + } + }, + "head": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "base": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "_links": { + "type": "object", + "properties": { + "comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "commits": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "statuses": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "html": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "issue": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comment": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "self": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "commit_title": { + "type": "string", + "description": "Title for the merge commit message." + }, + "commit_message": { + "type": "string", + "description": "Commit message for the merge commit." + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ] + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean", + "examples": [ + false + ] + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge" + ] + }, + { + "title": "Draft Issue", + "description": "A draft issue in a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The ID of the draft issue" + }, + "node_id": { + "type": "string", + "description": "The node ID of the draft issue" + }, + "title": { + "type": "string", + "description": "The title of the draft issue" + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The body content of the draft issue" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was created" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was last updated" + } + }, + "required": [ + "id", + "node_id", + "title", + "user", + "created_at", + "updated_at" + ] + } + ], + "description": "The content represented by the item." + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The URL of the project this item belongs to." + }, + "item_url": { + "type": "string", + "format": "uri", + "description": "The URL of the item in the project." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "draft_issue": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/fields": { "get": { "summary": "List project fields for organization", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index bb7071609..53e7c9ba7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &286 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &610 + - &611 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8978,7 +8978,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &451 + - &452 name: has in: query description: |- @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &452 + security_advisory: &453 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &453 + auto_dismissed_at: &454 type: - string - 'null' @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &243 + - &242 title: Milestone description: A collection of related issues and pull requests. @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &622 + sub_issues_summary: &623 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &623 + issue_dependencies_summary: &624 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &624 + items: &625 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &500 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &636 + user: &637 title: Public User description: Public User type: object @@ -15157,14 +15157,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15226,7 +15226,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &315 + '301': &316 description: Moved permanently content: application/json: @@ -15248,7 +15248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &529 + - &530 name: all description: If `true`, show notifications marked as read. in: query @@ -15256,7 +15256,7 @@ paths: schema: type: boolean default: false - - &530 + - &531 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15266,7 +15266,7 @@ paths: type: boolean default: false - *68 - - &531 + - &532 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -15637,7 +15637,7 @@ paths: type: boolean examples: - false - security_and_analysis: &254 + security_and_analysis: &255 type: - object - 'null' @@ -15802,7 +15802,7 @@ paths: - url - subscription_url examples: - default: &532 + default: &533 value: - id: '1' repository: @@ -16681,7 +16681,7 @@ paths: - property_name - value examples: - default: &538 + default: &539 value: - property_name: environment value: production @@ -16731,7 +16731,7 @@ paths: required: - properties examples: - default: &539 + default: &540 value: properties: - property_name: environment @@ -18534,7 +18534,7 @@ paths: type: integer repository_cache_usages: type: array - items: &320 + items: &321 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19772,7 +19772,7 @@ paths: - all - local_only - selected - selected_actions_url: &326 + selected_actions_url: &327 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -19855,7 +19855,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -19897,7 +19897,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &332 type: object properties: days: @@ -19954,7 +19954,7 @@ paths: required: - approval_policy examples: - default: &332 + default: &333 value: approval_policy: first_time_contributors '404': *6 @@ -20013,7 +20013,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -20067,7 +20067,7 @@ paths: required: true content: application/json: - schema: &334 + schema: &335 type: object required: - run_workflows_from_fork_pull_requests @@ -20702,7 +20702,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: &129 @@ -20753,7 +20753,7 @@ paths: required: false content: application/json: - schema: &336 + schema: &337 type: object properties: default_workflow_permissions: *129 @@ -21246,7 +21246,7 @@ paths: type: array items: *136 examples: - default: &639 + default: &640 value: total_count: 1 repositories: @@ -21893,7 +21893,7 @@ paths: application/json: schema: type: array - items: &337 + items: &338 title: Runner Application description: Runner Application type: object @@ -21918,7 +21918,7 @@ paths: - download_url - filename examples: - default: &338 + default: &339 value: - os: osx architecture: x64 @@ -22004,7 +22004,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &339 + '201': &340 description: Response content: application/json: @@ -22119,7 +22119,7 @@ paths: - token - expires_at examples: - default: &340 + default: &341 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22158,7 +22158,7 @@ paths: application/json: schema: *140 examples: - default: &341 + default: &342 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22192,7 +22192,7 @@ paths: application/json: schema: *138 examples: - default: &342 + default: &343 value: id: 23 name: MBP @@ -22418,7 +22418,7 @@ paths: - *61 - *137 responses: - '200': &343 + '200': &344 description: Response content: application/json: @@ -22475,7 +22475,7 @@ paths: parameters: - *61 - *137 - - &344 + - &345 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22607,7 +22607,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &357 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22642,7 +22642,7 @@ paths: - key_id - key examples: - default: &357 + default: &358 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23055,7 +23055,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &325 + - &326 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23552,7 +23552,7 @@ paths: description: The name of the artifact. minLength: 1 examples: - - libfoo-1.2.3 + - libfoo digest: type: string description: The digest of the artifact (algorithm:hex-encoded-digest). @@ -23561,6 +23561,14 @@ paths: pattern: "^sha256:[a-f0-9]{64}$" examples: - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 artifact_url: type: string format: uri @@ -23618,7 +23626,8 @@ paths: examples: default: value: - name: libfoo-1.2.3 + name: libfoo + version: 1.2.3 digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -23668,7 +23677,7 @@ paths: value: total_count: 1 storage_records: - - name: libfoo-1.2.3 + - name: libfoo digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -23805,12 +23814,12 @@ paths: required: - subject_digests examples: - default: &666 + default: &667 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &667 + withPredicateType: &668 value: subject_digests: - sha256:abc123 @@ -23869,7 +23878,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &668 + default: &669 value: attestations_subject_digests: - sha256:abc: @@ -24218,7 +24227,7 @@ paths: initiator: type: string examples: - default: &370 + default: &371 value: attestations: - bundle: @@ -25174,7 +25183,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &395 + - &396 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -25184,7 +25193,7 @@ paths: schema: &159 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &397 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25208,7 +25217,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &399 type: string description: State of a code scanning alert. enum: @@ -25231,7 +25240,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &400 type: string description: Severity of a code scanning alert. enum: @@ -25257,7 +25266,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: &400 + instances_url: &401 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25279,7 +25288,7 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: &401 + dismissed_reason: &402 type: - string - 'null' @@ -25290,14 +25299,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &403 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &404 type: object properties: id: @@ -25358,7 +25367,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &405 type: object properties: name: *159 @@ -25369,15 +25378,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *160 - most_recent_instance: &405 + most_recent_instance: &406 type: object properties: - ref: &397 + ref: &398 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &416 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25388,7 +25397,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &416 + category: &417 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26716,7 +26725,7 @@ paths: machine: anyOf: - type: 'null' - - &428 + - &429 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27668,7 +27677,7 @@ paths: - updated_at - visibility examples: - default: &429 + default: &430 value: total_count: 2 secrets: @@ -27706,7 +27715,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &431 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27741,7 +27750,7 @@ paths: - key_id - key examples: - default: &431 + default: &432 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27773,7 +27782,7 @@ paths: application/json: schema: *169 examples: - default: &433 + default: &434 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28771,7 +28780,7 @@ paths: application/json: schema: type: array - items: &290 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29086,7 +29095,7 @@ paths: - date additionalProperties: true examples: - default: &291 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29188,7 +29197,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &292 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29396,7 +29405,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &457 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29415,7 +29424,7 @@ paths: - key_id - key examples: - default: &457 + default: &458 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31243,7 +31252,7 @@ paths: application/json: schema: *20 examples: - default: &495 + default: &496 value: id: 1 account: @@ -31471,7 +31480,7 @@ paths: required: true content: application/json: - schema: &496 + schema: &497 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32331,7 +32340,7 @@ paths: application/json: schema: *211 examples: - default: &427 + default: &428 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33589,7 +33598,7 @@ paths: parameters: - *61 - *218 - - &651 + - &652 name: repo_name description: repo_name parameter in: path @@ -34648,7 +34657,7 @@ paths: - nuget - container - *61 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34689,7 +34698,7 @@ paths: default: *224 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36729,6 +36738,520 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + "/orgs/{org}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for organization owned project + description: Create draft issue item for the specified organization owned project. + tags: + - projects + operationId: projects/create-draft-item-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project + parameters: + - *61 + - *241 + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: &246 + title: Projects v2 Item + description: An item belonging to a project + type: object + properties: + id: + type: number + description: The unique identifier of the project item. + node_id: + type: string + description: The node ID of the project item. + content: + oneOf: + - *78 + - &441 + title: Pull Request Simple + description: Pull Request Simple + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347 + id: + type: integer + format: int64 + examples: + - 1 + node_id: + type: string + examples: + - MDExOlB1bGxSZXF1ZXN0MQ== + html_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347 + diff_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347.diff + patch_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347.patch + issue_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + commits_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits + review_comments_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments + review_comment_url: + type: string + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} + comments_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347/comments + statuses_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e + number: + type: integer + examples: + - 1347 + state: + type: string + examples: + - open + locked: + type: boolean + examples: + - true + title: + type: string + examples: + - new-feature + user: + anyOf: + - type: 'null' + - *4 + body: + type: + - string + - 'null' + examples: + - Please pull these awesome changes + labels: + type: array + items: + type: object + properties: + id: + type: integer + format: int64 + node_id: + type: string + url: + type: string + name: + type: string + description: + type: string + color: + type: string + default: + type: boolean + required: + - id + - node_id + - url + - name + - description + - color + - default + milestone: + anyOf: + - type: 'null' + - *242 + active_lock_reason: + type: + - string + - 'null' + examples: + - too heated + created_at: + type: string + format: date-time + examples: + - '2011-01-26T19:01:12Z' + updated_at: + type: string + format: date-time + examples: + - '2011-01-26T19:01:12Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2011-01-26T19:01:12Z' + merged_at: + type: + - string + - 'null' + format: date-time + examples: + - '2011-01-26T19:01:12Z' + merge_commit_sha: + type: + - string + - 'null' + examples: + - e5bd3914e2e596debea16f433f57875b5b90bcd6 + assignee: + anyOf: + - type: 'null' + - *4 + assignees: + type: + - array + - 'null' + items: *4 + requested_reviewers: + type: + - array + - 'null' + items: *4 + requested_teams: + type: + - array + - 'null' + items: *170 + head: + type: object + properties: + label: + type: string + ref: + type: string + repo: *64 + sha: + type: string + user: + anyOf: + - type: 'null' + - *4 + required: + - label + - ref + - repo + - sha + - user + base: + type: object + properties: + label: + type: string + ref: + type: string + repo: *64 + sha: + type: string + user: + anyOf: + - type: 'null' + - *4 + required: + - label + - ref + - repo + - sha + - user + _links: + type: object + properties: + comments: &243 + title: Link + description: Hypermedia Link + type: object + properties: + href: + type: string + required: + - href + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 + required: + - comments + - commits + - statuses + - html + - issue + - review_comments + - review_comment + - self + author_association: *65 + auto_merge: &542 + title: Auto merge + description: The status of auto merging a pull request. + type: + - object + - 'null' + properties: + enabled_by: *4 + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + commit_title: + type: string + description: Title for the merge commit message. + commit_message: + type: string + description: Commit message for the merge commit. + required: + - enabled_by + - merge_method + - commit_title + - commit_message + draft: + description: Indicates whether or not the pull request is + a draft. + type: boolean + examples: + - false + required: + - _links + - assignee + - labels + - base + - body + - closed_at + - comments_url + - commits_url + - created_at + - diff_url + - head + - html_url + - id + - node_id + - issue_url + - merge_commit_sha + - merged_at + - milestone + - number + - patch_url + - review_comment_url + - review_comments_url + - statuses_url + - state + - locked + - title + - updated_at + - url + - user + - author_association + - auto_merge + - title: Draft Issue + description: A draft issue in a project + type: object + properties: + id: + type: number + description: The ID of the draft issue + node_id: + type: string + description: The node ID of the draft issue + title: + type: string + description: The title of the draft issue + body: + type: + - string + - 'null' + description: The body content of the draft issue + user: + anyOf: + - type: 'null' + - *4 + created_at: + type: string + format: date-time + description: The time the draft issue was created + updated_at: + type: string + format: date-time + description: The time the draft issue was last updated + required: + - id + - node_id + - title + - user + - created_at + - updated_at + description: The content represented by the item. + content_type: &245 + title: Projects v2 Item Content Type + description: The type of content tracked in a project item + type: string + enum: + - Issue + - PullRequest + - DraftIssue + creator: *4 + created_at: + type: string + format: date-time + description: The time when the item was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the item was last updated. + examples: + - '2022-04-28T12:00:00Z' + archived_at: + type: + - string + - 'null' + format: date-time + description: The time when the item was archived. + examples: + - '2022-04-28T12:00:00Z' + project_url: + type: string + format: uri + description: The URL of the project this item belongs to. + item_url: + type: string + format: uri + description: The URL of the item in the project. + required: + - id + - content_type + - created_at + - updated_at + - archived_at + examples: + draft_issue: &247 + value: + id: 17 + node_id: PVTI_lADOANN5s84ACbL0zgBueEI + content: + id: 38 + node_id: I_kwDOANN5s85FtLts + title: Example Draft Issue + body: This is a draft issue in the project. + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + user: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + content_type: DraftIssue + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + archived_at: + project_url: https://api.github.com/users/octocat/projectsV2/1 + item_url: https://api.github.com/users/octocat/projectsV2/items/17 + '304': *35 + '403': *27 + '401': *23 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -36752,7 +37275,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36902,7 +37425,7 @@ paths: - updated_at - project_url examples: - default: &671 + default: &672 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37006,7 +37529,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *241 - - &672 + - &673 name: field_id description: The unique identifier of the field. in: path @@ -37019,9 +37542,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &673 + default: &674 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37098,7 +37621,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -37115,14 +37638,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &245 - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue + content_type: *245 content: type: - object @@ -37172,7 +37688,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &249 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37904,460 +38420,10 @@ paths: description: Response content: application/json: - schema: &674 - title: Projects v2 Item - description: An item belonging to a project - type: object - properties: - id: - type: number - description: The unique identifier of the project item. - node_id: - type: string - description: The node ID of the project item. - content: - oneOf: - - *78 - - &440 - title: Pull Request Simple - description: Pull Request Simple - type: object - properties: - url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347 - id: - type: integer - format: int64 - examples: - - 1 - node_id: - type: string - examples: - - MDExOlB1bGxSZXF1ZXN0MQ== - html_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347 - diff_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347.diff - patch_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347.patch - issue_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - commits_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits - review_comments_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments - review_comment_url: - type: string - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} - comments_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347/comments - statuses_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e - number: - type: integer - examples: - - 1347 - state: - type: string - examples: - - open - locked: - type: boolean - examples: - - true - title: - type: string - examples: - - new-feature - user: - anyOf: - - type: 'null' - - *4 - body: - type: - - string - - 'null' - examples: - - Please pull these awesome changes - labels: - type: array - items: - type: object - properties: - id: - type: integer - format: int64 - node_id: - type: string - url: - type: string - name: - type: string - description: - type: string - color: - type: string - default: - type: boolean - required: - - id - - node_id - - url - - name - - description - - color - - default - milestone: - anyOf: - - type: 'null' - - *243 - active_lock_reason: - type: - - string - - 'null' - examples: - - too heated - created_at: - type: string - format: date-time - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - format: date-time - examples: - - '2011-01-26T19:01:12Z' - closed_at: - type: - - string - - 'null' - format: date-time - examples: - - '2011-01-26T19:01:12Z' - merged_at: - type: - - string - - 'null' - format: date-time - examples: - - '2011-01-26T19:01:12Z' - merge_commit_sha: - type: - - string - - 'null' - examples: - - e5bd3914e2e596debea16f433f57875b5b90bcd6 - assignee: - anyOf: - - type: 'null' - - *4 - assignees: - type: - - array - - 'null' - items: *4 - requested_reviewers: - type: - - array - - 'null' - items: *4 - requested_teams: - type: - - array - - 'null' - items: *170 - head: - type: object - properties: - label: - type: string - ref: - type: string - repo: *64 - sha: - type: string - user: - anyOf: - - type: 'null' - - *4 - required: - - label - - ref - - repo - - sha - - user - base: - type: object - properties: - label: - type: string - ref: - type: string - repo: *64 - sha: - type: string - user: - anyOf: - - type: 'null' - - *4 - required: - - label - - ref - - repo - - sha - - user - _links: - type: object - properties: - comments: &244 - title: Link - description: Hypermedia Link - type: object - properties: - href: - type: string - required: - - href - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 - required: - - comments - - commits - - statuses - - html - - issue - - review_comments - - review_comment - - self - author_association: *65 - auto_merge: &541 - title: Auto merge - description: The status of auto merging a pull request. - type: - - object - - 'null' - properties: - enabled_by: *4 - merge_method: - type: string - description: The merge method to use. - enum: - - merge - - squash - - rebase - commit_title: - type: string - description: Title for the merge commit message. - commit_message: - type: string - description: Commit message for the merge commit. - required: - - enabled_by - - merge_method - - commit_title - - commit_message - draft: - description: Indicates whether or not the pull request is - a draft. - type: boolean - examples: - - false - required: - - _links - - assignee - - labels - - base - - body - - closed_at - - comments_url - - commits_url - - created_at - - diff_url - - head - - html_url - - id - - node_id - - issue_url - - merge_commit_sha - - merged_at - - milestone - - number - - patch_url - - review_comment_url - - review_comments_url - - statuses_url - - state - - locked - - title - - updated_at - - url - - user - - author_association - - auto_merge - - title: Draft Issue - description: A draft issue in a project - type: object - properties: - id: - type: number - description: The ID of the draft issue - node_id: - type: string - description: The node ID of the draft issue - title: - type: string - description: The title of the draft issue - body: - type: - - string - - 'null' - description: The body content of the draft issue - user: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - description: The time the draft issue was created - updated_at: - type: string - format: date-time - description: The time the draft issue was last updated - required: - - id - - node_id - - title - - user - - created_at - - updated_at - description: The content represented by the item. - content_type: *245 - creator: *4 - created_at: - type: string - format: date-time - description: The time when the item was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the item was last updated. - examples: - - '2022-04-28T12:00:00Z' - archived_at: - type: - - string - - 'null' - format: date-time - description: The time when the item was archived. - examples: - - '2022-04-28T12:00:00Z' - project_url: - type: string - format: uri - description: The URL of the project this item belongs to. - item_url: - type: string - format: uri - description: The URL of the item in the project. - required: - - id - - content_type - - created_at - - updated_at - - archived_at + schema: *246 examples: - issue: &246 - value: - id: 17 - node_id: PVTI_lADOANN5s84ACbL0zgBueEI - content: - id: 38 - node_id: I_kwDOANN5s85FtLts - title: Example Draft Issue - body: This is a draft issue in the project. - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - user: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - content_type: DraftIssue - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - archived_at: - project_url: https://api.github.com/users/octocat/projectsV2/1 - item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *246 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -38379,7 +38445,7 @@ paths: parameters: - *241 - *61 - - &249 + - &250 name: item_id description: The unique identifier of the project item. in: path @@ -38405,9 +38471,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -38430,7 +38496,7 @@ paths: parameters: - *241 - *61 - - *249 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38503,13 +38569,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -38531,7 +38597,7 @@ paths: parameters: - *241 - *61 - - *249 + - *250 responses: '204': description: Response @@ -38563,7 +38629,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38639,7 +38705,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38698,7 +38764,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *251 minItems: 1 maxItems: 100 required: @@ -38728,9 +38794,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *251 + default: *252 '403': *27 '404': *6 x-github: @@ -38752,7 +38818,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &252 + - &253 name: custom_property_name description: The custom property name in: path @@ -38764,9 +38830,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &253 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38801,7 +38867,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *253 requestBody: required: true content: @@ -38879,9 +38945,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *253 + default: *254 '403': *27 '404': *6 x-github: @@ -38905,7 +38971,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *253 responses: '204': *166 '403': *27 @@ -39433,7 +39499,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Full Repository description: Full Repository type: object @@ -39898,7 +39964,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &445 + code_of_conduct: &446 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39928,7 +39994,7 @@ paths: - key - name - html_url - security_and_analysis: *254 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40012,7 +40078,7 @@ paths: - network_count - subscribers_count examples: - default: &316 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40533,7 +40599,7 @@ paths: - *61 - *17 - *19 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40552,7 +40618,7 @@ paths: application/json: schema: type: array - items: &280 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40587,7 +40653,7 @@ paths: source: type: string description: The name of the source - enforcement: &257 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40600,7 +40666,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &258 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40671,7 +40737,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &255 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40695,7 +40761,7 @@ paths: match. items: type: string - - &259 + - &260 title: Organization ruleset conditions type: object description: |- @@ -40709,7 +40775,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40743,7 +40809,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40765,7 +40831,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40778,7 +40844,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &256 + items: &257 title: Repository ruleset property targeting definition type: object @@ -40811,7 +40877,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *256 + items: *257 required: - repository_property type: @@ -40819,12 +40885,12 @@ paths: - object rules: type: array - items: &565 + items: &566 title: Repository Rule type: object description: A repository rule. oneOf: - - &260 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40836,7 +40902,7 @@ paths: type: string enum: - creation - - &261 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -40857,7 +40923,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &262 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40869,7 +40935,7 @@ paths: type: string enum: - deletion - - &263 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40881,7 +40947,7 @@ paths: type: string enum: - required_linear_history - - &562 + - &563 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40959,7 +41025,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &264 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40983,7 +41049,7 @@ paths: type: string required: - required_deployment_environments - - &265 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40995,7 +41061,7 @@ paths: type: string enum: - required_signatures - - &266 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41057,7 +41123,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &267 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41105,7 +41171,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &268 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41117,7 +41183,7 @@ paths: type: string enum: - non_fast_forward - - &269 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41153,7 +41219,7 @@ paths: required: - operator - pattern - - &270 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41189,7 +41255,7 @@ paths: required: - operator - pattern - - &271 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41225,7 +41291,7 @@ paths: required: - operator - pattern - - &272 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41261,7 +41327,7 @@ paths: required: - operator - pattern - - &273 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41297,7 +41363,7 @@ paths: required: - operator - pattern - - &274 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41322,7 +41388,7 @@ paths: type: string required: - restricted_file_paths - - &275 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41346,7 +41412,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &276 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41369,7 +41435,7 @@ paths: type: string required: - restricted_file_extensions - - &277 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41394,7 +41460,7 @@ paths: maximum: 100 required: - max_file_size - - &278 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41444,7 +41510,7 @@ paths: - repository_id required: - workflows - - &279 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41505,7 +41571,7 @@ paths: - tool required: - code_scanning_tools - - &563 + - &564 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41603,21 +41669,20 @@ paths: - push - repository default: branch - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &282 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *260 - *261 - *262 - *263 @@ -41637,6 +41702,7 @@ paths: - *277 - *278 - *279 + - *280 required: - name - enforcement @@ -41674,9 +41740,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &281 + default: &282 value: id: 21 name: super cool ruleset @@ -41731,7 +41797,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &566 + - &567 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41746,7 +41812,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -41762,14 +41828,14 @@ paths: - week - month default: day - - &568 + - &569 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &569 + - &570 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41789,7 +41855,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -41845,7 +41911,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -41889,7 +41955,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &572 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41905,7 +41971,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -42012,7 +42078,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -42085,9 +42151,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 '404': *6 '500': *96 put: @@ -42131,16 +42197,16 @@ paths: - tag - push - repository - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *282 + items: *283 examples: default: value: @@ -42175,9 +42241,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 '404': *6 '500': *96 delete: @@ -42234,7 +42300,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -42258,7 +42324,7 @@ paths: type: string format: date-time examples: - default: &576 + default: &577 value: - version_id: 3 actor: @@ -42311,9 +42377,9 @@ paths: description: Response content: application/json: - schema: &577 + schema: &578 allOf: - - *283 + - *284 - type: object required: - state @@ -42383,7 +42449,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &578 + - &579 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42394,7 +42460,7 @@ paths: enum: - open - resolved - - &579 + - &580 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42404,7 +42470,7 @@ paths: required: false schema: type: string - - &580 + - &581 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42413,7 +42479,7 @@ paths: required: false schema: type: string - - &581 + - &582 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. @@ -42428,7 +42494,7 @@ paths: - *46 - *19 - *17 - - &582 + - &583 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 @@ -42438,7 +42504,7 @@ paths: required: false schema: type: string - - &583 + - &584 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 @@ -42448,7 +42514,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42457,7 +42523,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42466,7 +42532,7 @@ paths: schema: type: boolean default: false - - &586 + - &587 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42475,7 +42541,7 @@ paths: schema: type: boolean default: false - - &587 + - &588 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42507,14 +42573,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &588 + state: &589 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: &589 + resolution: &590 type: - string - 'null' @@ -42621,14 +42687,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &590 + - &591 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &592 + - &593 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42685,7 +42751,7 @@ paths: - blob_url - commit_sha - commit_url - - &593 + - &594 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. @@ -42746,7 +42812,7 @@ paths: - page_url - commit_sha - commit_url - - &594 + - &595 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42761,7 +42827,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &595 + - &596 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42776,7 +42842,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &596 + - &597 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42791,7 +42857,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &597 + - &598 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42806,7 +42872,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &598 + - &599 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42821,7 +42887,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &599 + - &600 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42836,7 +42902,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &600 + - &601 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. @@ -42851,7 +42917,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &601 + - &602 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. @@ -42866,7 +42932,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &602 + - &603 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. @@ -42881,7 +42947,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &603 + - &604 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. @@ -42896,7 +42962,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &604 + - &605 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 @@ -43136,7 +43202,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &285 + pattern_config_version: &286 type: - string - 'null' @@ -43146,7 +43212,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &284 + items: &285 type: object properties: token_type: @@ -43215,7 +43281,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *284 + items: *285 examples: default: value: @@ -43272,7 +43338,7 @@ paths: schema: type: object properties: - pattern_config_version: *285 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43298,7 +43364,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *285 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43396,7 +43462,7 @@ paths: application/json: schema: type: array - items: &608 + items: &609 description: A repository security advisory. type: object properties: @@ -43640,7 +43706,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 credits_detailed: type: - array @@ -43651,7 +43717,7 @@ paths: type: object properties: user: *4 - type: *286 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43715,7 +43781,7 @@ paths: - private_fork additionalProperties: false examples: - default: &609 + default: &610 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44648,7 +44714,7 @@ paths: type: integer network_configurations: type: array - items: &287 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44773,9 +44839,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: &288 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44804,7 +44870,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &289 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44816,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: Link: *52 x-github: @@ -44840,7 +44906,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *289 + - *290 requestBody: required: true content: @@ -44879,9 +44945,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44901,7 +44967,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *289 + - *290 responses: '204': description: Response @@ -45046,13 +45112,13 @@ paths: application/json: schema: type: array - items: *290 + items: *291 examples: - default: *291 + default: *292 '500': *96 '403': *27 '404': *6 - '422': *292 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45176,7 +45242,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45575,7 +45641,7 @@ paths: - repos_count - organization examples: - default: &294 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45652,9 +45718,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45739,16 +45805,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '201': description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45818,7 +45884,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45929,7 +45995,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -46038,9 +46104,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: author: login: octocat @@ -46114,7 +46180,7 @@ paths: parameters: - *61 - *62 - - &297 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46126,9 +46192,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46152,7 +46218,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: false content: @@ -46175,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &627 + default: &628 value: author: login: octocat @@ -46249,7 +46315,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 responses: '204': description: Response @@ -46277,7 +46343,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 - *46 - *17 - *19 @@ -46288,7 +46354,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46368,7 +46434,7 @@ paths: - updated_at - url examples: - default: &628 + default: &629 value: - author: login: octocat @@ -46438,7 +46504,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: true content: @@ -46460,9 +46526,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &299 + default: &300 value: author: login: octocat @@ -46530,8 +46596,8 @@ paths: parameters: - *61 - *62 - - *297 - - &300 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46543,9 +46609,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46569,8 +46635,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 requestBody: required: true content: @@ -46592,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &629 + default: &630 value: author: login: octocat @@ -46660,8 +46726,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 responses: '204': description: Response @@ -46689,8 +46755,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46716,7 +46782,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46760,7 +46826,7 @@ paths: - content - created_at examples: - default: &303 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46812,8 +46878,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 requestBody: required: true content: @@ -46846,9 +46912,9 @@ paths: team discussion comment content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46877,9 +46943,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46904,9 +46970,9 @@ paths: parameters: - *61 - *62 - - *297 - - *300 - - &304 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46940,7 +47006,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46966,9 +47032,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -46996,7 +47062,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: true content: @@ -47028,16 +47094,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47062,8 +47128,8 @@ paths: parameters: - *61 - *62 - - *297 - - *304 + - *298 + - *305 responses: '204': description: Response @@ -47184,7 +47250,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47212,7 +47278,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &630 + response-if-user-is-a-team-maintainer: &631 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47275,9 +47341,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &631 + response-if-users-membership-with-team-is-now-pending: &632 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47350,7 +47416,7 @@ paths: application/json: schema: type: array - items: &306 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47419,7 +47485,7 @@ paths: - updated_at - permissions examples: - default: &632 + default: &633 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47484,7 +47550,7 @@ paths: parameters: - *61 - *62 - - &307 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47496,9 +47562,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: &633 + default: &634 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47562,7 +47628,7 @@ paths: parameters: - *61 - *62 - - *307 + - *308 requestBody: required: false content: @@ -47631,7 +47697,7 @@ paths: parameters: - *61 - *62 - - *307 + - *308 responses: '204': description: Response @@ -47702,14 +47768,14 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &634 + schema: &635 title: Team Repository description: A team's access to a repository. type: object @@ -48352,8 +48418,8 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 requestBody: required: false content: @@ -48400,8 +48466,8 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 responses: '204': description: Response @@ -48438,7 +48504,7 @@ paths: type: array items: *170 examples: - response-if-child-teams-exist: &635 + response-if-child-teams-exist: &636 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48565,7 +48631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &310 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48577,7 +48643,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48631,7 +48697,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48666,7 +48732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -48691,9 +48757,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48718,7 +48784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *310 + - *311 responses: '204': description: Response @@ -48747,7 +48813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -48808,7 +48874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *307 + - *308 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -48865,7 +48931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *307 + - *308 - *57 requestBody: required: false @@ -48920,7 +48986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *307 + - *308 - *57 responses: '204': @@ -48952,7 +49018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *307 + - *308 - *57 responses: '200': @@ -49050,7 +49116,7 @@ paths: resources: type: object properties: - core: &313 + core: &314 title: Rate Limit type: object properties: @@ -49067,21 +49133,21 @@ paths: - remaining - reset - used - graphql: *313 - search: *313 - code_search: *313 - source_import: *313 - integration_manifest: *313 - code_scanning_upload: *313 - actions_runner_registration: *313 - scim: *313 - dependency_snapshots: *313 - dependency_sbom: *313 - code_scanning_autofix: *313 + graphql: *314 + search: *314 + code_search: *314 + source_import: *314 + integration_manifest: *314 + code_scanning_upload: *314 + actions_runner_registration: *314 + scim: *314 + dependency_snapshots: *314 + dependency_sbom: *314 + code_scanning_autofix: *314 required: - core - search - rate: *313 + rate: *314 required: - rate - resources @@ -49186,14 +49252,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *314 + schema: *315 examples: default-response: summary: Default response @@ -49694,7 +49760,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *315 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49712,8 +49778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -49961,10 +50027,10 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 - '307': &317 + default: *317 + '307': &318 description: Temporary Redirect content: application/json: @@ -49993,8 +50059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -50016,7 +50082,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *317 + '307': *318 '404': *6 '409': *45 x-github: @@ -50040,11 +50106,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &348 + - &349 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50067,7 +50133,7 @@ paths: type: integer artifacts: type: array - items: &318 + items: &319 title: Artifact description: An artifact type: object @@ -50162,7 +50228,7 @@ paths: - expires_at - updated_at examples: - default: &349 + default: &350 value: total_count: 2 artifacts: @@ -50223,9 +50289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *308 - *309 - - &319 + - *310 + - &320 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50237,7 +50303,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: default: value: @@ -50275,9 +50341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *308 - *309 - - *319 + - *310 + - *320 responses: '204': description: Response @@ -50301,9 +50367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *308 - *309 - - *319 + - *310 + - *320 - name: archive_format in: path required: true @@ -50317,7 +50383,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &499 + '410': &500 description: Gone content: application/json: @@ -50344,14 +50410,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -50377,11 +50443,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &321 + - &322 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50415,7 +50481,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &323 title: Repository actions caches description: Repository actions caches type: object @@ -50465,7 +50531,7 @@ paths: - total_count - actions_caches examples: - default: &323 + default: &324 value: total_count: 1 actions_caches: @@ -50497,23 +50563,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *308 - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *321 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50533,8 +50599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *308 - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50565,9 +50631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *308 - *309 - - &324 + - *310 + - &325 name: job_id description: The unique identifier of the job. in: path @@ -50579,7 +50645,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Job description: Information of a job execution in a workflow run type: object @@ -50926,9 +50992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *308 - *309 - - *324 + - *310 + - *325 responses: '302': description: Response @@ -50956,9 +51022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *308 - *309 - - *324 + - *310 + - *325 requestBody: required: false content: @@ -51004,8 +51070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Status response @@ -51055,8 +51121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51119,8 +51185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51138,7 +51204,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &355 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51159,7 +51225,7 @@ paths: - created_at - updated_at examples: - default: &355 + default: &356 value: total_count: 2 secrets: @@ -51192,9 +51258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *308 - *309 - - *325 + - *310 + - *326 - *19 responses: '200': @@ -51211,7 +51277,7 @@ paths: type: integer variables: type: array - items: &358 + items: &359 title: Actions Variable type: object properties: @@ -51245,7 +51311,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &360 value: total_count: 2 variables: @@ -51278,8 +51344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51288,11 +51354,11 @@ paths: schema: type: object properties: - enabled: &327 + enabled: &328 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *121 - selected_actions_url: *326 + selected_actions_url: *327 sha_pinning_required: *122 required: - enabled @@ -51321,8 +51387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51333,7 +51399,7 @@ paths: schema: type: object properties: - enabled: *327 + enabled: *328 allowed_actions: *121 sha_pinning_required: *122 required: @@ -51365,14 +51431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &328 + schema: &329 type: object properties: access_level: @@ -51389,7 +51455,7 @@ paths: required: - access_level examples: - default: &329 + default: &330 value: access_level: organization x-github: @@ -51413,15 +51479,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *328 + schema: *329 examples: - default: *329 + default: *330 responses: '204': description: Response @@ -51445,14 +51511,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default: value: @@ -51476,8 +51542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51487,7 +51553,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *332 examples: default: summary: Set retention days @@ -51511,8 +51577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51520,7 +51586,7 @@ paths: application/json: schema: *123 examples: - default: *332 + default: *333 '404': *6 x-github: enabledForGitHubApps: true @@ -51539,8 +51605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51574,14 +51640,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *333 + schema: *334 examples: default: *124 '403': *27 @@ -51603,13 +51669,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: default: *124 responses: @@ -51635,8 +51701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51663,8 +51729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51696,14 +51762,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: *131 x-github: @@ -51726,8 +51792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Success response @@ -51738,7 +51804,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *337 examples: default: *131 x-github: @@ -51767,8 +51833,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51812,8 +51878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51821,9 +51887,9 @@ paths: application/json: schema: type: array - items: *337 + items: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51845,8 +51911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51889,7 +51955,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *339 + '201': *340 '404': *6 '422': *7 '409': *45 @@ -51920,8 +51986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -51929,7 +51995,7 @@ paths: application/json: schema: *140 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51957,8 +52023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -51966,7 +52032,7 @@ paths: application/json: schema: *140 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51988,8 +52054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '200': @@ -51998,7 +52064,7 @@ paths: application/json: schema: *138 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52019,8 +52085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '204': @@ -52047,8 +52113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '200': *142 @@ -52073,8 +52139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 requestBody: required: true @@ -52123,8 +52189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 requestBody: required: true @@ -52174,11 +52240,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: - '200': *343 + '200': *344 '404': *6 x-github: githubCloudOnly: false @@ -52205,10 +52271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 - - *344 + - *345 responses: '200': *142 '404': *6 @@ -52236,9 +52302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *308 - *309 - - &362 + - *310 + - &363 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52246,7 +52312,7 @@ paths: required: false schema: type: string - - &363 + - &364 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52254,7 +52320,7 @@ paths: required: false schema: type: string - - &364 + - &365 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52263,7 +52329,7 @@ paths: required: false schema: type: string - - &365 + - &366 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52290,7 +52356,7 @@ paths: - pending - *17 - *19 - - &366 + - &367 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52299,7 +52365,7 @@ paths: schema: type: string format: date-time - - &345 + - &346 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52308,13 +52374,13 @@ paths: schema: type: boolean default: false - - &367 + - &368 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &368 + - &369 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52337,7 +52403,7 @@ paths: type: integer workflow_runs: type: array - items: &346 + items: &347 title: Workflow Run description: An invocation of a workflow type: object @@ -52454,7 +52520,7 @@ paths: type: - array - 'null' - items: &387 + items: &388 title: Pull Request Minimal type: object properties: @@ -52581,7 +52647,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &392 title: Simple Commit description: A commit. type: object @@ -52696,7 +52762,7 @@ paths: - workflow_url - pull_requests examples: - default: &369 + default: &370 value: total_count: 1 workflow_runs: @@ -52932,24 +52998,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *308 - *309 - - &347 + - *310 + - &348 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: &350 + default: &351 value: id: 30433642 name: Build @@ -53190,9 +53256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '204': description: Response @@ -53215,9 +53281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -53345,9 +53411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '201': description: Response @@ -53380,12 +53446,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *308 - *309 - - *347 + - *310 + - *348 - *17 - *19 - - *348 + - *349 responses: '200': description: Response @@ -53401,9 +53467,9 @@ paths: type: integer artifacts: type: array - items: *318 + items: *319 examples: - default: *349 + default: *350 headers: Link: *52 x-github: @@ -53427,25 +53493,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *308 - *309 - - *347 - - &351 + - *310 + - *348 + - &352 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53468,10 +53534,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *308 - *309 - - *347 - - *351 + - *310 + - *348 + - *352 - *17 - *19 responses: @@ -53489,9 +53555,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *353 examples: - default: &353 + default: &354 value: total_count: 1 jobs: @@ -53604,10 +53670,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *308 - *309 - - *347 - - *351 + - *310 + - *348 + - *352 responses: '302': description: Response @@ -53635,9 +53701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '202': description: Response @@ -53670,9 +53736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: true content: @@ -53739,9 +53805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '202': description: Response @@ -53774,9 +53840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -53806,9 +53872,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *52 x-github: @@ -53833,9 +53899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '302': description: Response @@ -53862,9 +53928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '204': description: Response @@ -53891,9 +53957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -53962,7 +54028,7 @@ paths: items: type: object properties: - type: &465 + type: &466 type: string description: The type of reviewer. enum: @@ -54048,9 +54114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: true content: @@ -54100,7 +54166,7 @@ paths: application/json: schema: type: array - items: &460 + items: &461 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54212,7 +54278,7 @@ paths: - created_at - updated_at examples: - default: &461 + default: &462 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54268,9 +54334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: false content: @@ -54315,9 +54381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: false content: @@ -54371,9 +54437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -54510,8 +54576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54529,9 +54595,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *52 x-github: @@ -54556,16 +54622,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54587,17 +54653,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: &478 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54623,8 +54689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -54682,8 +54748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -54709,9 +54775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *308 - *309 - - *325 + - *310 + - *326 - *19 responses: '200': @@ -54728,9 +54794,9 @@ paths: type: integer variables: type: array - items: *358 + items: *359 examples: - default: *359 + default: *360 headers: Link: *52 x-github: @@ -54753,8 +54819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -54806,17 +54872,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: &479 + default: &480 value: name: USERNAME value: octocat @@ -54842,8 +54908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 requestBody: required: true @@ -54886,8 +54952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 responses: '204': @@ -54913,8 +54979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54932,7 +54998,7 @@ paths: type: integer workflows: type: array - items: &360 + items: &361 title: Workflow description: A GitHub Actions workflow type: object @@ -55050,9 +55116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *308 - *309 - - &361 + - *310 + - &362 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55067,7 +55133,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: default: value: @@ -55100,9 +55166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55127,9 +55193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55180,9 +55246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55209,19 +55275,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *308 - *309 - - *361 + - *310 - *362 - *363 - *364 - *365 + - *366 - *17 - *19 - - *366 - - *345 - *367 + - *346 - *368 + - *369 responses: '200': description: Response @@ -55237,9 +55303,9 @@ paths: type: integer workflow_runs: type: array - items: *346 + items: *347 examples: - default: *369 + default: *370 headers: Link: *52 x-github: @@ -55271,9 +55337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '200': description: Response @@ -55334,8 +55400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *308 - *309 + - *310 - *46 - *17 - *38 @@ -55503,8 +55569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55541,8 +55607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *308 - *309 + - *310 - name: assignee in: path required: true @@ -55578,8 +55644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55691,8 +55757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *308 - *309 + - *310 - *17 - *38 - *39 @@ -55749,7 +55815,7 @@ paths: initiator: type: string examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55769,8 +55835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -55778,7 +55844,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: Autolink reference description: An autolink reference. type: object @@ -55837,8 +55903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55877,9 +55943,9 @@ paths: description: response content: application/json: - schema: *371 + schema: *372 examples: - default: &372 + default: &373 value: id: 1 key_prefix: TICKET- @@ -55910,9 +55976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *308 - *309 - - &373 + - *310 + - &374 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55924,9 +55990,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 '404': *6 x-github: githubCloudOnly: false @@ -55946,9 +56012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *308 - *309 - - *373 + - *310 + - *374 responses: '204': description: Response @@ -55972,8 +56038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56023,8 +56089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56045,8 +56111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56066,8 +56132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *308 - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56105,7 +56171,7 @@ paths: - url protected: type: boolean - protection: &375 + protection: &376 title: Branch Protection description: Branch Protection type: object @@ -56148,7 +56214,7 @@ paths: required: - contexts - checks - enforce_admins: &378 + enforce_admins: &379 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56165,7 +56231,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &380 + required_pull_request_reviews: &381 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56249,7 +56315,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &377 + restrictions: &378 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56542,9 +56608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *308 - *309 - - &376 + - *310 + - &377 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56558,14 +56624,14 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &436 + commit: &437 title: Commit description: Commit type: object @@ -56604,7 +56670,7 @@ paths: author: anyOf: - type: 'null' - - &374 + - &375 title: Git User description: Metaproperties for Git author/committer information. @@ -56625,7 +56691,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 message: type: string examples: @@ -56649,7 +56715,7 @@ paths: required: - sha - url - verification: &485 + verification: &486 title: Verification type: object properties: @@ -56729,7 +56795,7 @@ paths: type: integer files: type: array - items: &447 + items: &448 title: Diff Entry description: Diff Entry type: object @@ -56825,7 +56891,7 @@ paths: - self protected: type: boolean - protection: *375 + protection: *376 protection_url: type: string format: uri @@ -56934,7 +57000,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *315 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -56956,15 +57022,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -57158,9 +57224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -57420,7 +57486,7 @@ paths: url: type: string format: uri - required_status_checks: &383 + required_status_checks: &384 title: Status Check Policy description: Status Check Policy type: object @@ -57579,7 +57645,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *377 + restrictions: *378 required_conversation_resolution: type: object properties: @@ -57691,9 +57757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -57718,17 +57784,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: &379 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57750,17 +57816,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57779,9 +57845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -57806,17 +57872,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &381 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57912,9 +57978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58012,9 +58078,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '422': *15 x-github: githubCloudOnly: false @@ -58035,9 +58101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58064,17 +58130,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: &382 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58097,17 +58163,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *382 + default: *383 '404': *6 x-github: githubCloudOnly: false @@ -58127,9 +58193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58154,17 +58220,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: &384 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58190,9 +58256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58244,9 +58310,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *384 + default: *385 '404': *6 '422': *15 x-github: @@ -58268,9 +58334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58294,9 +58360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58330,9 +58396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58399,9 +58465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58465,9 +58531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: content: application/json: @@ -58533,15 +58599,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -58632,9 +58698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58657,9 +58723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58669,7 +58735,7 @@ paths: type: array items: *5 examples: - default: &385 + default: &386 value: - id: 1 slug: octoapp @@ -58726,9 +58792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58762,7 +58828,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58783,9 +58849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58819,7 +58885,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58840,9 +58906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58876,7 +58942,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58898,9 +58964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58930,9 +58996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58991,9 +59057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -59052,9 +59118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: content: application/json: @@ -59113,9 +59179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -59149,9 +59215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59209,9 +59275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59269,9 +59335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59331,9 +59397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59355,7 +59421,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -59471,8 +59537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -59751,7 +59817,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &389 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59886,7 +59952,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *387 + items: *388 deployment: &693 title: Deployment description: A deployment created as the result of an Actions @@ -60174,9 +60240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *308 - *309 - - &389 + - *310 + - &390 name: check_run_id description: The unique identifier of the check run. in: path @@ -60188,9 +60254,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: &390 + default: &391 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60290,9 +60356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *308 - *309 - - *389 + - *310 + - *390 requestBody: required: true content: @@ -60532,9 +60598,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: *390 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60554,9 +60620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *308 - *309 - - *389 + - *310 + - *390 - *17 - *19 responses: @@ -60666,9 +60732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *308 - *309 - - *389 + - *310 + - *390 responses: '201': description: Response @@ -60712,8 +60778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -60735,7 +60801,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &393 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60817,7 +60883,7 @@ paths: type: - array - 'null' - items: *387 + items: *388 app: anyOf: - type: 'null' @@ -60833,7 +60899,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *392 latest_check_runs_count: type: integer check_runs_url: @@ -60861,7 +60927,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &394 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61152,9 +61218,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61173,8 +61239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61483,9 +61549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *308 - *309 - - &394 + - *310 + - &395 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61497,9 +61563,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61522,17 +61588,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *308 - *309 - - *394 - - &442 + - *310 + - *395 + - &443 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &444 name: status description: Returns check runs with the specified `status`. in: query @@ -61571,9 +61637,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *389 examples: - default: &444 + default: &445 value: total_count: 1 check_runs: @@ -61675,9 +61741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *308 - *309 - - *394 + - *310 + - *395 responses: '201': description: Response @@ -61710,21 +61776,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *395 + - *310 - *396 + - *397 - *19 - *17 - - &413 + - &414 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *397 - - &414 + schema: *398 + - &415 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61749,13 +61815,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *399 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *400 responses: '200': description: Response @@ -61771,7 +61837,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: *400 + instances_url: *401 state: *161 fixed_at: *157 dismissed_by: @@ -61779,11 +61845,11 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_reason: *402 + dismissed_comment: *403 + rule: *404 + tool: *405 + most_recent_instance: *406 dismissal_approved_by: anyOf: - type: 'null' @@ -61906,7 +61972,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &407 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61933,9 +61999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *308 - *309 - - &407 + - *310 + - &408 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61949,7 +62015,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 type: object properties: number: *152 @@ -61957,7 +62023,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: *400 + instances_url: *401 state: *161 fixed_at: *157 dismissed_by: @@ -61965,8 +62031,8 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *402 + dismissed_comment: *403 rule: type: object properties: @@ -62028,8 +62094,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *405 + most_recent_instance: *406 dismissal_approved_by: anyOf: - type: 'null' @@ -62125,7 +62191,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62145,9 +62211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: true content: @@ -62162,8 +62228,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *402 + dismissed_comment: *403 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62182,7 +62248,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -62258,7 +62324,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &413 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62285,15 +62351,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 responses: '200': description: Response content: application/json: - schema: &409 + schema: &410 type: object properties: status: @@ -62320,13 +62386,13 @@ paths: - description - started_at examples: - default: &410 + default: &411 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &412 description: Bad Request content: application/json: @@ -62337,7 +62403,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62362,29 +62428,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 responses: '200': description: OK content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '202': description: Accepted content: application/json: - schema: *409 + schema: *410 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *412 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62416,9 +62482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: false content: @@ -62464,8 +62530,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *412 + '403': *413 '404': *6 '422': description: Unprocessable Entity @@ -62489,13 +62555,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 - *19 - *17 - - *413 - *414 + - *415 responses: '200': description: Response @@ -62503,7 +62569,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -62542,7 +62608,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62576,25 +62642,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *308 - *309 - - *395 + - *310 - *396 + - *397 - *19 - *17 - - *414 + - *415 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *397 + schema: *398 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &417 + schema: &418 type: string description: An identifier for the upload. examples: @@ -62616,23 +62682,23 @@ paths: application/json: schema: type: array - items: &418 + items: &419 type: object properties: - ref: *397 - commit_sha: &426 + ref: *398 + commit_sha: &427 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *415 + analysis_key: *416 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *416 + category: *417 error: type: string examples: @@ -62657,8 +62723,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *417 - tool: *404 + sarif_id: *418 + tool: *405 deletable: type: boolean warning: @@ -62720,7 +62786,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62756,8 +62822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62770,7 +62836,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: response: summary: application/json response @@ -62824,7 +62890,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *407 '404': *6 '422': description: Response if analysis could not be processed @@ -62911,8 +62977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62968,7 +63034,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *412 + '403': *413 '404': *6 '503': *97 x-github: @@ -62990,8 +63056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -62999,7 +63065,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: CodeQL Database description: A CodeQL database. type: object @@ -63111,7 +63177,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -63140,8 +63206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63153,7 +63219,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -63185,9 +63251,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &449 + '302': &450 description: Found - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -63209,8 +63275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63220,7 +63286,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *413 '404': *6 '503': *97 x-github: @@ -63248,8 +63314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -63258,7 +63324,7 @@ paths: type: object additionalProperties: false properties: - language: &420 + language: &421 type: string description: The language targeted by the CodeQL query enum: @@ -63337,7 +63403,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &424 + schema: &425 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63347,7 +63413,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *420 + query_language: *421 query_pack_url: type: string description: The download url for the query pack. @@ -63395,7 +63461,7 @@ paths: items: type: object properties: - repository: &421 + repository: &422 title: Repository Identifier description: Repository Identifier type: object @@ -63437,7 +63503,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &425 + analysis_status: &426 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63469,7 +63535,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &422 + access_mismatch_repos: &423 type: object properties: repository_count: @@ -63484,7 +63550,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *421 + items: *422 required: - repository_count - repositories @@ -63507,8 +63573,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *422 - over_limit_repos: *422 + no_codeql_db_repos: *423 + over_limit_repos: *423 required: - access_mismatch_repos - not_found_repos @@ -63524,7 +63590,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &423 + value: &424 summary: Default response value: id: 1 @@ -63676,10 +63742,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *423 + value: *424 repository_lists: summary: Response for a successful variant analysis submission - value: *423 + value: *424 '404': *6 '422': description: Unable to process variant analysis submission @@ -63707,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63720,9 +63786,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *423 + default: *424 '404': *6 '503': *97 x-github: @@ -63745,7 +63811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *308 + - *309 - name: repo in: path description: The name of the controller repository. @@ -63780,7 +63846,7 @@ paths: type: object properties: repository: *51 - analysis_status: *425 + analysis_status: *426 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63905,8 +63971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -63999,7 +64065,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -64020,8 +64086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64115,7 +64181,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *413 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64186,8 +64252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64195,7 +64261,7 @@ paths: schema: type: object properties: - commit_sha: *426 + commit_sha: *427 ref: type: string description: |- @@ -64255,7 +64321,7 @@ paths: schema: type: object properties: - id: *417 + id: *418 url: type: string description: The REST API URL for checking the status of the upload. @@ -64269,7 +64335,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *412 + '403': *413 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64292,8 +64358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *308 - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64341,7 +64407,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *406 + '403': *407 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64366,8 +64432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64448,8 +64514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *308 - *309 + - *310 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64577,8 +64643,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -64892,8 +64958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64959,7 +65025,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -64967,7 +65033,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '400': *14 '401': *23 '403': *27 @@ -64996,8 +65062,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65061,8 +65127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *308 - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65099,9 +65165,9 @@ paths: type: integer machines: type: array - items: *428 + items: *429 examples: - default: &642 + default: &643 value: total_count: 2 machines: @@ -65141,8 +65207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *308 - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65229,8 +65295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *308 - *309 + - *310 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65299,8 +65365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -65318,7 +65384,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &433 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65339,7 +65405,7 @@ paths: - created_at - updated_at examples: - default: *429 + default: *430 headers: Link: *52 x-github: @@ -65362,16 +65428,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *430 + schema: *431 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65391,17 +65457,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65421,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -65475,8 +65541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -65505,8 +65571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *308 - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65544,7 +65610,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Collaborator description: Collaborator type: object @@ -65737,8 +65803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 responses: '204': @@ -65785,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 requestBody: required: false @@ -65813,7 +65879,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &498 + schema: &499 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66041,8 +66107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 responses: '204': @@ -66074,8 +66140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *308 - *309 + - *310 - *57 responses: '200': @@ -66096,7 +66162,7 @@ paths: user: anyOf: - type: 'null' - - *434 + - *435 required: - permission - role_name @@ -66150,8 +66216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -66161,7 +66227,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Commit Comment description: Commit Comment type: object @@ -66219,7 +66285,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &439 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66278,17 +66344,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &439 + default: &440 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66345,8 +66411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -66369,7 +66435,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: default: value: @@ -66420,8 +66486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -66443,8 +66509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66471,9 +66537,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -66494,8 +66560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -66528,16 +66594,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66559,10 +66625,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -66611,8 +66677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *308 - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66668,9 +66734,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66764,9 +66830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *308 - *309 - - &437 + - *310 + - &438 name: commit_sha description: The SHA of the commit. in: path @@ -66838,9 +66904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *308 - *309 - - *437 + - *310 + - *438 - *17 - *19 responses: @@ -66850,9 +66916,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *438 + default: *439 headers: Link: *52 x-github: @@ -66880,9 +66946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *308 - *309 - - *437 + - *310 + - *438 requestBody: required: true content: @@ -66917,9 +66983,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *439 + default: *440 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66947,9 +67013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *308 - *309 - - *437 + - *310 + - *438 - *17 - *19 responses: @@ -66959,9 +67025,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: &540 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67498,11 +67564,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *308 - *309 + - *310 - *19 - *17 - - &441 + - &442 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67517,9 +67583,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67632,11 +67698,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *308 - *309 - - *441 + - *310 - *442 - *443 + - *444 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67670,9 +67736,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *389 examples: - default: *444 + default: *445 headers: Link: *52 x-github: @@ -67697,9 +67763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67707,7 +67773,7 @@ paths: schema: type: integer example: 1 - - *442 + - *443 - *17 - *19 responses: @@ -67725,7 +67791,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *393 examples: default: value: @@ -67925,9 +67991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - *17 - *19 responses: @@ -68129,9 +68195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - *17 - *19 responses: @@ -68141,7 +68207,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Status description: The status of a commit. type: object @@ -68222,7 +68288,7 @@ paths: site_admin: false headers: Link: *52 - '301': *315 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68250,8 +68316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -68284,11 +68350,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *445 + - *446 code_of_conduct_file: anyOf: - type: 'null' - - &446 + - &447 title: Community Health File type: object properties: @@ -68308,19 +68374,19 @@ paths: contributing: anyOf: - type: 'null' - - *446 + - *447 readme: anyOf: - type: 'null' - - *446 + - *447 issue_template: anyOf: - type: 'null' - - *446 + - *447 pull_request_template: anyOf: - type: 'null' - - *446 + - *447 required: - code_of_conduct - code_of_conduct_file @@ -68449,8 +68515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *308 - *309 + - *310 - *19 - *17 - name: basehead @@ -68498,8 +68564,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *436 - merge_base_commit: *436 + base_commit: *437 + merge_base_commit: *437 status: type: string enum: @@ -68523,10 +68589,10 @@ paths: - 6 commits: type: array - items: *436 + items: *437 files: type: array - items: *447 + items: *448 required: - url - html_url @@ -68812,8 +68878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -68966,7 +69032,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &448 + response-if-content-is-a-file: &449 summary: Response if content is a file value: type: file @@ -69103,7 +69169,7 @@ paths: - size - type - url - - &553 + - &554 title: Content File description: Content File type: object @@ -69321,7 +69387,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *448 + response-if-content-is-a-file: *449 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69390,7 +69456,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *449 + '302': *450 '304': *35 x-github: githubCloudOnly: false @@ -69413,8 +69479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69509,7 +69575,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &451 title: File Commit description: File Commit type: object @@ -69665,7 +69731,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: example-for-creating-a-file: value: @@ -69719,7 +69785,7 @@ paths: schema: oneOf: - *3 - - &480 + - &481 description: Repository rule violation was detected type: object properties: @@ -69740,7 +69806,7 @@ paths: items: type: object properties: - placeholder_id: &605 + placeholder_id: &606 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69772,8 +69838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69834,7 +69900,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: default: value: @@ -69889,8 +69955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *308 - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70014,8 +70080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *308 - *309 + - *310 - *171 - *172 - *173 @@ -70027,7 +70093,7 @@ paths: schema: type: string - *175 - - *451 + - *452 - *176 - *177 - *46 @@ -70048,7 +70114,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 type: object description: A Dependabot alert. properties: @@ -70098,7 +70164,7 @@ paths: - direct - transitive - - security_advisory: *452 + security_advisory: *453 security_vulnerability: *50 url: *155 html_url: *156 @@ -70129,7 +70195,7 @@ paths: dismissal. maxLength: 280 fixed_at: *157 - auto_dismissed_at: *453 + auto_dismissed_at: *454 required: - number - state @@ -70359,9 +70425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *308 - *309 - - &455 + - *310 + - &456 name: alert_number in: path description: |- @@ -70376,7 +70442,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -70489,9 +70555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *308 - *309 - - *455 + - *310 + - *456 requestBody: required: true content: @@ -70536,7 +70602,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -70665,8 +70731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -70684,7 +70750,7 @@ paths: type: integer secrets: type: array - items: &458 + items: &459 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70738,16 +70804,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70767,15 +70833,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -70801,8 +70867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -70855,8 +70921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -70879,8 +70945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *308 - *309 + - *310 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71054,8 +71120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -71315,8 +71381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71399,7 +71465,7 @@ paths: - version - url additionalProperties: false - metadata: &459 + metadata: &460 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71438,7 +71504,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *459 + metadata: *460 resolved: type: object description: A collection of resolved package dependencies. @@ -71452,7 +71518,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *459 + metadata: *460 relationship: type: string description: A notation of whether a dependency is requested @@ -71585,8 +71651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *308 - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71627,9 +71693,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *461 + default: *462 headers: Link: *52 x-github: @@ -71695,8 +71761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71778,7 +71844,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: simple-example: summary: Simple example @@ -71851,9 +71917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *308 - *309 - - &462 + - *310 + - &463 name: deployment_id description: deployment_id parameter in: path @@ -71865,7 +71931,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -71930,9 +71996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *308 - *309 - - *462 + - *310 + - *463 responses: '204': description: Response @@ -71954,9 +72020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *308 - *309 - - *462 + - *310 + - *463 - *17 - *19 responses: @@ -71966,7 +72032,7 @@ paths: application/json: schema: type: array - items: &463 + items: &464 title: Deployment Status description: The status of a deployment. type: object @@ -72130,9 +72196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *308 - *309 - - *462 + - *310 + - *463 requestBody: required: true content: @@ -72207,9 +72273,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: &464 + default: &465 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72265,9 +72331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *308 - *309 - - *462 + - *310 + - *463 - name: status_id in: path required: true @@ -72278,9 +72344,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -72305,8 +72371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72363,8 +72429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -72382,7 +72448,7 @@ paths: - 5 environments: type: array - items: &466 + items: &467 title: Environment description: Details of a deployment environment type: object @@ -72444,7 +72510,7 @@ paths: type: string examples: - wait_timer - wait_timer: &468 + wait_timer: &469 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72486,7 +72552,7 @@ paths: items: type: object properties: - type: *465 + type: *466 reviewer: anyOf: - *4 @@ -72513,7 +72579,7 @@ paths: - id - node_id - type - deployment_branch_policy: &469 + deployment_branch_policy: &470 type: - object - 'null' @@ -72630,9 +72696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *308 - *309 - - &467 + - *310 + - &468 name: environment_name in: path required: true @@ -72645,9 +72711,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: &470 + default: &471 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72731,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: false content: @@ -72743,7 +72809,7 @@ paths: - object - 'null' properties: - wait_timer: *468 + wait_timer: *469 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72762,14 +72828,14 @@ paths: items: type: object properties: - type: *465 + type: *466 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *469 + deployment_branch_policy: *470 additionalProperties: false examples: default: @@ -72789,9 +72855,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: *470 + default: *471 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72815,9 +72881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *308 - *309 - - *467 + - *310 + - *468 responses: '204': description: Default response @@ -72842,9 +72908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *17 - *19 responses: @@ -72863,7 +72929,7 @@ paths: - 2 branch_policies: type: array - items: &471 + items: &472 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72924,9 +72990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: true content: @@ -72974,9 +73040,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - example-wildcard: &472 + example-wildcard: &473 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73018,10 +73084,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - &473 + - *310 + - *468 + - &474 name: branch_policy_id in: path required: true @@ -73033,9 +73099,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73054,10 +73120,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - *473 + - *310 + - *468 + - *474 requestBody: required: true content: @@ -73086,9 +73152,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73107,10 +73173,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - *473 + - *310 + - *468 + - *474 responses: '204': description: Response @@ -73135,9 +73201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 responses: '200': description: List of deployment protection rules @@ -73154,7 +73220,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &474 + items: &475 title: Deployment protection rule description: Deployment protection rule type: object @@ -73176,7 +73242,7 @@ paths: for the environment. examples: - true - app: &475 + app: &476 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73279,9 +73345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 requestBody: content: application/json: @@ -73302,9 +73368,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *474 + schema: *475 examples: - default: &476 + default: &477 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73339,9 +73405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 - *19 - *17 responses: @@ -73361,7 +73427,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *475 + items: *476 examples: default: value: @@ -73396,10 +73462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *308 - *309 - - *467 - - &477 + - *310 + - *468 + - &478 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73411,9 +73477,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73434,10 +73500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 - - *477 + - *478 responses: '204': description: Response @@ -73463,9 +73529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *17 - *19 responses: @@ -73483,9 +73549,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *52 x-github: @@ -73510,17 +73576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *308 - *309 - - *467 + - *310 + - *468 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73542,18 +73608,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 responses: '200': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73575,9 +73641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 requestBody: required: true @@ -73635,9 +73701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 responses: '204': @@ -73663,10 +73729,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *308 - *309 - - *467 - - *325 + - *310 + - *468 + - *326 - *19 responses: '200': @@ -73683,9 +73749,9 @@ paths: type: integer variables: type: array - items: *358 + items: *359 examples: - default: *359 + default: *360 headers: Link: *52 x-github: @@ -73708,9 +73774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: true content: @@ -73762,18 +73828,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *147 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73794,10 +73860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *308 - *309 + - *310 - *147 - - *467 + - *468 requestBody: required: true content: @@ -73839,10 +73905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *308 - *309 + - *310 - *147 - - *467 + - *468 responses: '204': description: Response @@ -73864,8 +73930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -73933,8 +73999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *308 - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74093,8 +74159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -74127,9 +74193,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 '400': *14 '422': *15 '403': *27 @@ -74150,8 +74216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74211,7 +74277,7 @@ paths: schema: oneOf: - *105 - - *480 + - *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74236,8 +74302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *308 - *309 + - *310 - name: file_sha in: path required: true @@ -74337,8 +74403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74447,7 +74513,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74674,15 +74740,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *308 - *309 - - *437 + - *310 + - *438 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -74738,9 +74804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *308 - *309 - - &482 + - *310 + - &483 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -74757,7 +74823,7 @@ paths: application/json: schema: type: array - items: &483 + items: &484 title: Git Reference description: Git references within a repository type: object @@ -74833,17 +74899,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &484 + default: &485 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74872,8 +74938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74902,9 +74968,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74930,9 +74996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 requestBody: required: true content: @@ -74961,9 +75027,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 '422': *15 '409': *45 x-github: @@ -74981,9 +75047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 responses: '204': description: Response @@ -75038,8 +75104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75106,7 +75172,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &487 title: Git Tag description: Metadata for a Git tag type: object @@ -75162,7 +75228,7 @@ paths: - sha - type - url - verification: *485 + verification: *486 required: - sha - url @@ -75172,7 +75238,7 @@ paths: - tag - message examples: - default: &487 + default: &488 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75245,8 +75311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *308 - *309 + - *310 - name: tag_sha in: path required: true @@ -75257,9 +75323,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 '409': *45 x-github: @@ -75283,8 +75349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75358,7 +75424,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75460,8 +75526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *308 - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75484,7 +75550,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default-response: summary: Default response @@ -75543,8 +75609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -75554,7 +75620,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Webhook description: Webhooks for repositories. type: object @@ -75694,8 +75760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -75748,9 +75814,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: &490 + default: &491 value: type: Repository id: 12345678 @@ -75798,17 +75864,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -75828,8 +75894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 requestBody: required: true @@ -75875,9 +75941,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 '404': *6 x-github: @@ -75898,8 +75964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -75924,8 +75990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *183 responses: '200': @@ -75953,8 +76019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *183 requestBody: required: false @@ -75999,8 +76065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *17 - *184 @@ -76032,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *16 responses: @@ -76062,8 +76128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *16 responses: @@ -76087,8 +76153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -76114,8 +76180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -76139,8 +76205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76188,8 +76254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *166 '409': *45 @@ -76209,8 +76275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *166 '409': *45 @@ -76267,14 +76333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &491 + schema: &492 title: Import description: A repository import from an external source. type: object @@ -76381,7 +76447,7 @@ paths: - html_url - authors_url examples: - default: &494 + default: &495 value: vcs: subversion use_lfs: true @@ -76397,7 +76463,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &492 + '503': &493 description: Unavailable due to service under maintenance. content: application/json: @@ -76426,8 +76492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76475,7 +76541,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: value: @@ -76500,7 +76566,7 @@ paths: type: string '422': *15 '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76528,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -76581,7 +76647,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: example-1: summary: Example 1 @@ -76629,7 +76695,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76652,12 +76718,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *308 - *309 + - *310 responses: '204': description: Response - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76683,9 +76749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *308 - *309 - - &663 + - *310 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76699,7 +76765,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Porter Author description: Porter Author type: object @@ -76753,7 +76819,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76778,8 +76844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *308 - *309 + - *310 - name: author_id in: path required: true @@ -76809,7 +76875,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -76822,7 +76888,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76846,8 +76912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -76888,7 +76954,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76916,8 +76982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76944,11 +77010,11 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *494 + default: *495 '422': *15 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76971,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -76980,8 +77046,8 @@ paths: application/json: schema: *20 examples: - default: *495 - '301': *315 + default: *496 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -77001,8 +77067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77015,7 +77081,7 @@ paths: properties: {} additionalProperties: false examples: - default: &497 + default: &498 value: limit: collaborators_only origin: repository @@ -77040,13 +77106,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *496 + schema: *497 examples: default: summary: Example request body @@ -77060,7 +77126,7 @@ paths: application/json: schema: *201 examples: - default: *497 + default: *498 '409': description: Response x-github: @@ -77082,8 +77148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -77106,8 +77172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -77117,9 +77183,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -77250,8 +77316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *308 - *309 + - *310 - *205 requestBody: required: false @@ -77281,7 +77347,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77412,8 +77478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *308 - *309 + - *310 - *205 responses: '204': @@ -77445,8 +77511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *308 - *309 + - *310 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77519,7 +77585,7 @@ paths: type: array items: *78 examples: - default: &506 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77667,7 +77733,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *315 + '301': *316 '422': *15 '404': *6 x-github: @@ -77696,8 +77762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -77789,7 +77855,7 @@ paths: application/json: schema: *78 examples: - default: &503 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -77945,7 +78011,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *499 + '410': *500 x-github: triggersNotification: true githubCloudOnly: false @@ -77973,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77995,9 +78061,9 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: &505 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78055,17 +78121,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78119,8 +78185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -78143,9 +78209,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78163,8 +78229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -78185,8 +78251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78213,9 +78279,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -78236,8 +78302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -78270,16 +78336,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78301,10 +78367,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -78324,8 +78390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -78335,7 +78401,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Issue Event description: Issue Event type: object @@ -78674,8 +78740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *308 - *309 + - *310 - name: event_id in: path required: true @@ -78686,7 +78752,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -78879,7 +78945,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *499 + '410': *500 '403': *27 x-github: githubCloudOnly: false @@ -78913,9 +78979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *308 - *309 - - &504 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -78929,10 +78995,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '404': *6 - '410': *499 + '410': *500 '304': *35 x-github: githubCloudOnly: false @@ -78957,9 +79023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -79080,13 +79146,13 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '422': *15 '503': *97 '403': *27 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79104,9 +79170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -79134,7 +79200,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79150,9 +79216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: content: application/json: @@ -79179,7 +79245,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79201,9 +79267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: assignee in: path required: true @@ -79243,9 +79309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *68 - *17 - *19 @@ -79256,13 +79322,13 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: *505 + default: *506 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79291,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -79315,16 +79381,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -79352,9 +79418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79366,12 +79432,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79399,9 +79465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -79425,15 +79491,15 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *315 + '301': *316 '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -79464,9 +79530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79480,13 +79546,13 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *499 + '410': *500 x-github: triggersNotification: true githubCloudOnly: false @@ -79512,9 +79578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79526,12 +79592,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79548,9 +79614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79564,7 +79630,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &509 + - &510 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79613,7 +79679,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79741,7 +79807,7 @@ paths: - performed_via_github_app - assignee - assigner - - &511 + - &512 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79787,7 +79853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &513 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79833,7 +79899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &514 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79882,7 +79948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &515 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79924,7 +79990,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79966,7 +80032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &517 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80022,7 +80088,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Locked Issue Event description: Locked Issue Event type: object @@ -80067,7 +80133,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80128,7 +80194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80189,7 +80255,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80250,7 +80316,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80343,7 +80409,7 @@ paths: color: red headers: Link: *52 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80360,9 +80426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -80372,7 +80438,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80427,7 +80493,7 @@ paths: - color - default examples: - default: &508 + default: &509 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80445,9 +80511,9 @@ paths: default: false headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80464,9 +80530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80525,12 +80591,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *315 + default: *509 + '301': *316 '404': *6 - '410': *499 + '410': *500 '422': *15 x-github: githubCloudOnly: false @@ -80547,9 +80613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80609,12 +80675,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *315 + default: *509 + '301': *316 '404': *6 - '410': *499 + '410': *500 '422': *15 x-github: githubCloudOnly: false @@ -80631,15 +80697,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '204': description: Response - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80658,9 +80724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: name in: path required: true @@ -80673,7 +80739,7 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: default: value: @@ -80684,9 +80750,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80706,9 +80772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80737,7 +80803,7 @@ paths: '204': description: Response '403': *27 - '410': *499 + '410': *500 '404': *6 '422': *15 x-github: @@ -80755,9 +80821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '204': description: Response @@ -80787,9 +80853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '200': description: Response @@ -80797,10 +80863,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80817,9 +80883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -80845,13 +80911,13 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80869,9 +80935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -80903,16 +80969,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -80934,10 +81000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *308 - *309 - - *504 - - *304 + - *310 + - *505 + - *305 responses: '204': description: Response @@ -80966,9 +81032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -80992,7 +81058,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81025,9 +81091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -81039,11 +81105,11 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81071,9 +81137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -81102,14 +81168,14 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -81129,9 +81195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -81164,7 +81230,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '403': *27 '404': *6 '422': *7 @@ -81186,9 +81252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -81203,7 +81269,6 @@ paths: description: Timeline Event type: object anyOf: - - *509 - *510 - *511 - *512 @@ -81216,6 +81281,7 @@ paths: - *519 - *520 - *521 + - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81544,7 +81610,7 @@ paths: type: string comments: type: array - items: &542 + items: &543 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81782,7 +81848,7 @@ paths: type: string comments: type: array - items: *435 + items: *436 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82057,7 +82123,7 @@ paths: headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82074,8 +82140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82085,7 +82151,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82153,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82190,9 +82256,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: id: 1 key: ssh-rsa AAA... @@ -82226,9 +82292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *308 - *309 - - &524 + - *310 + - &525 name: key_id description: The unique identifier of the key. in: path @@ -82240,9 +82306,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -82260,9 +82326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *308 - *309 - - *524 + - *310 + - *525 responses: '204': description: Response @@ -82282,8 +82348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82293,9 +82359,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 '404': *6 @@ -82316,8 +82382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82353,9 +82419,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &525 + default: &526 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82387,8 +82453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82399,9 +82465,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82418,8 +82484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82458,7 +82524,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -82484,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82511,8 +82577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -82551,9 +82617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *308 - *309 - - *413 + - *310 + - *414 responses: '200': description: Response @@ -82700,8 +82766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82766,8 +82832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82801,9 +82867,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *436 + schema: *437 examples: - default: *526 + default: *527 '204': description: Response when already merged '404': @@ -82828,8 +82894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *308 - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82870,7 +82936,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -82926,8 +82992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82967,9 +83033,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83028,9 +83094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *308 - *309 - - &528 + - *310 + - &529 name: milestone_number description: The number that identifies the milestone. in: path @@ -83042,9 +83108,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -83061,9 +83127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 requestBody: required: false content: @@ -83101,9 +83167,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83119,9 +83185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 responses: '204': description: Response @@ -83142,9 +83208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 - *17 - *19 responses: @@ -83154,9 +83220,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 x-github: @@ -83175,12 +83241,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *308 - *309 - - *529 + - *310 - *530 - - *68 - *531 + - *68 + - *532 - *17 - *19 responses: @@ -83192,7 +83258,7 @@ paths: type: array items: *90 examples: - default: *532 + default: *533 headers: Link: *52 x-github: @@ -83216,8 +83282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -83275,14 +83341,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &533 + schema: &534 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83426,7 +83492,7 @@ paths: - custom_404 - public examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83467,8 +83533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83523,9 +83589,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '422': *15 '409': *45 x-github: @@ -83548,8 +83614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83649,8 +83715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -83676,8 +83742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -83687,7 +83753,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Page Build description: Page Build type: object @@ -83779,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -83827,16 +83893,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83884,8 +83950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *308 - *309 + - *310 - name: build_id in: path required: true @@ -83896,9 +83962,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83918,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84027,9 +84093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *308 - *309 - - &537 + - *310 + - &538 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84087,9 +84153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *308 - *309 - - *537 + - *310 + - *538 responses: '204': *166 '404': *6 @@ -84116,8 +84182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84412,8 +84478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84450,8 +84516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *166 '422': *14 @@ -84472,8 +84538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *166 '422': *14 @@ -84495,8 +84561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84506,7 +84572,7 @@ paths: type: array items: *95 examples: - default: *538 + default: *539 '403': *27 '404': *6 x-github: @@ -84528,8 +84594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84545,7 +84611,7 @@ paths: required: - properties examples: - default: *539 + default: *540 responses: '204': description: No Content when custom property values are successfully created @@ -84583,8 +84649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *308 - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84644,9 +84710,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *540 + default: *541 headers: Link: *52 '304': *35 @@ -84678,8 +84744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84746,7 +84812,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84875,7 +84941,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -84968,14 +85034,14 @@ paths: _links: type: object properties: - comments: *244 - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + comments: *243 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -84986,7 +85052,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *541 + auto_merge: *542 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85088,7 +85154,7 @@ paths: - merged_by - review_comments examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85615,8 +85681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *308 - *309 + - *310 - name: sort in: query required: false @@ -85645,9 +85711,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85724,17 +85790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85809,8 +85875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -85833,9 +85899,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85851,8 +85917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -85874,8 +85940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85902,9 +85968,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -85925,8 +85991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -85959,16 +86025,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -85990,10 +86056,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -86036,9 +86102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *308 - *309 - - &546 + - *310 + - &547 name: pull_number description: The number that identifies the pull request. in: path @@ -86051,9 +86117,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '304': *35 '404': *6 '406': @@ -86088,9 +86154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86132,9 +86198,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '422': *15 '403': *27 x-github: @@ -86156,9 +86222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -86221,7 +86287,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86229,7 +86295,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -86259,9 +86325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86282,9 +86348,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: *547 + default: *548 headers: Link: *52 x-github: @@ -86317,9 +86383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -86425,7 +86491,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: example-for-a-multi-line-comment: value: @@ -86513,9 +86579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *77 requestBody: required: true @@ -86538,7 +86604,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -86624,9 +86690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -86636,9 +86702,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *548 + default: *549 headers: Link: *52 x-github: @@ -86668,9 +86734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -86680,7 +86746,7 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: default: value: @@ -86718,9 +86784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *308 - *309 - - *546 + - *310 + - *547 responses: '204': description: Response if pull request has been merged @@ -86743,9 +86809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86857,9 +86923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 responses: '200': description: Response @@ -86934,9 +87000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86973,7 +87039,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -87509,9 +87575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -87545,7 +87611,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -88050,9 +88116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -88062,7 +88128,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88218,9 +88284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -88310,9 +88376,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &551 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88375,10 +88441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - &550 + - *310 + - *547 + - &551 name: review_id description: The unique identifier of the review. in: path @@ -88390,9 +88456,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &552 + default: &553 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88451,10 +88517,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88477,7 +88543,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88539,18 +88605,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *551 + default: *552 '422': *7 '404': *6 x-github: @@ -88577,10 +88643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 - *17 - *19 responses: @@ -88678,9 +88744,9 @@ paths: _links: type: object properties: - self: *244 - html: *244 - pull_request: *244 + self: *243 + html: *243 + pull_request: *243 required: - self - html @@ -88838,10 +88904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88870,7 +88936,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88933,10 +88999,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88971,9 +89037,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *552 + default: *553 '404': *6 '422': *7 '403': *27 @@ -88995,9 +89061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -89061,8 +89127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *308 - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89075,9 +89141,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &554 + default: &555 value: type: file encoding: base64 @@ -89119,8 +89185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *308 - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89140,9 +89206,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: *554 + default: *555 '404': *6 '422': *15 x-github: @@ -89164,8 +89230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -89175,7 +89241,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Release description: A release. type: object @@ -89257,7 +89323,7 @@ paths: author: *4 assets: type: array - items: &556 + items: &557 title: Release Asset description: Data related to a release. type: object @@ -89444,8 +89510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89521,9 +89587,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89628,9 +89694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *308 - *309 - - &557 + - *310 + - &558 name: asset_id description: The unique identifier of the asset. in: path @@ -89642,9 +89708,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89679,7 +89745,7 @@ paths: type: User site_admin: false '404': *6 - '302': *449 + '302': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89695,9 +89761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *308 - *309 - - *557 + - *310 + - *558 requestBody: required: false content: @@ -89726,9 +89792,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89744,9 +89810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *308 - *309 - - *557 + - *310 + - *558 responses: '204': description: Response @@ -89770,8 +89836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89857,16 +89923,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89883,8 +89949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *308 - *309 + - *310 - name: tag description: tag parameter in: path @@ -89897,9 +89963,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -89921,9 +89987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *308 - *309 - - &560 + - *310 + - &561 name: release_id description: The unique identifier of the release. in: path @@ -89937,9 +90003,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '401': description: Unauthorized x-github: @@ -89957,9 +90023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: false content: @@ -90023,9 +90089,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': description: Not Found if the discussion category name is invalid content: @@ -90046,9 +90112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 responses: '204': description: Response @@ -90068,9 +90134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *308 - *309 - - *560 + - *310 + - *561 - *17 - *19 responses: @@ -90080,7 +90146,7 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: default: value: @@ -90161,9 +90227,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *308 - *309 - - *560 + - *310 + - *561 - name: name in: query required: true @@ -90189,7 +90255,7 @@ paths: description: Response for successful upload content: application/json: - schema: *556 + schema: *557 examples: response-for-successful-upload: value: @@ -90244,9 +90310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90270,9 +90336,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -90293,9 +90359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: true content: @@ -90325,16 +90391,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90356,10 +90422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *308 - *309 - - *560 - - *304 + - *310 + - *561 + - *305 responses: '204': description: Response @@ -90383,9 +90449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 - *17 - *19 responses: @@ -90401,8 +90467,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *260 - - &561 + - *261 + - &562 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90421,69 +90487,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *261 - - *561 - allOf: - *262 - - *561 + - *562 - allOf: - *263 - - *561 - - allOf: - *562 - - *561 - allOf: - *264 - - *561 + - *562 + - allOf: + - *563 + - *562 - allOf: - *265 - - *561 + - *562 - allOf: - *266 - - *561 + - *562 - allOf: - *267 - - *561 + - *562 - allOf: - *268 - - *561 + - *562 - allOf: - *269 - - *561 + - *562 - allOf: - *270 - - *561 + - *562 - allOf: - *271 - - *561 + - *562 - allOf: - *272 - - *561 + - *562 - allOf: - *273 - - *561 + - *562 - allOf: - *274 - - *561 + - *562 - allOf: - *275 - - *561 + - *562 - allOf: - *276 - - *561 + - *562 - allOf: - *277 - - *561 + - *562 - allOf: - *278 - - *561 + - *562 - allOf: - *279 - - *561 + - *562 - allOf: - - *563 - - *561 + - *280 + - *562 + - allOf: + - *564 + - *562 examples: default: value: @@ -90522,8 +90588,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90534,7 +90600,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -90542,7 +90608,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -90589,8 +90655,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90610,16 +90676,16 @@ paths: - tag - push default: branch - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *565 + items: *566 required: - name - enforcement @@ -90650,9 +90716,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -90699,12 +90765,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *308 - *309 - - *566 + - *310 - *567 - *568 - *569 + - *570 - *17 - *19 responses: @@ -90712,9 +90778,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *96 x-github: @@ -90735,17 +90801,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *308 - *309 - - *572 + - *310 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *96 x-github: @@ -90773,8 +90839,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90794,9 +90860,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *575 + default: *576 '404': *6 '500': *96 put: @@ -90814,8 +90880,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90840,16 +90906,16 @@ paths: - branch - tag - push - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *565 + items: *566 examples: default: value: @@ -90877,9 +90943,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *575 + default: *576 '404': *6 '500': *96 delete: @@ -90897,8 +90963,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90921,8 +90987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *308 - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -90938,9 +91004,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *576 + default: *577 '404': *6 '500': *96 x-github: @@ -90959,8 +91025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90978,7 +91044,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -91033,21 +91099,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *578 + - *310 - *579 - *580 - *581 + - *582 - *46 - *19 - *17 - - *582 - *583 - *584 - *585 - *586 - *587 + - *588 responses: '200': description: Response @@ -91055,7 +91121,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 type: object properties: number: *152 @@ -91071,8 +91137,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolved_at: type: - string @@ -91166,7 +91232,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *590 + - *591 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91311,16 +91377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 - - *587 + - *310 + - *408 + - *588 responses: '200': description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91372,9 +91438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: true content: @@ -91382,8 +91448,8 @@ paths: schema: type: object properties: - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91403,7 +91469,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91478,9 +91544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 - *19 - *17 responses: @@ -91518,7 +91584,6 @@ paths: - commit details: oneOf: - - *592 - *593 - *594 - *595 @@ -91531,6 +91596,7 @@ paths: - *602 - *603 - *604 + - *605 examples: default: value: @@ -91616,8 +91682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91625,14 +91691,14 @@ paths: schema: type: object properties: - reason: &606 + reason: &607 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *605 + placeholder_id: *606 required: - reason - placeholder_id @@ -91649,7 +91715,7 @@ paths: schema: type: object properties: - reason: *606 + reason: *607 expire_at: type: - string @@ -91696,8 +91762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *308 - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91712,7 +91778,7 @@ paths: properties: incremental_scans: type: array - items: &607 + items: &608 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91740,15 +91806,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *607 + items: *608 backfill_scans: type: array - items: *607 + items: *608 custom_pattern_backfill_scans: type: array items: allOf: - - *607 + - *608 - type: object properties: pattern_name: @@ -91818,8 +91884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *308 - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -91863,9 +91929,9 @@ paths: application/json: schema: type: array - items: *608 + items: *609 examples: - default: *609 + default: *610 '400': *14 '404': *6 x-github: @@ -91888,8 +91954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91969,7 +92035,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 required: - login - type @@ -92059,9 +92125,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: &611 + default: &612 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92294,8 +92360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92408,7 +92474,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -92555,17 +92621,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 + default: *612 '403': *27 '404': *6 x-github: @@ -92589,9 +92655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 requestBody: required: true content: @@ -92671,7 +92737,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 required: - login - type @@ -92762,10 +92828,10 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 - add_credit: *611 + default: *612 + add_credit: *612 '403': *27 '404': *6 '422': @@ -92803,9 +92869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '202': *37 '400': *14 @@ -92832,17 +92898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '202': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 '400': *14 '422': *15 '403': *27 @@ -92868,8 +92934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -92965,8 +93031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92975,7 +93041,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93008,8 +93074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93087,8 +93153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93182,8 +93248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *308 - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93337,8 +93403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *308 - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93348,7 +93414,7 @@ paths: application/json: schema: type: array - items: *612 + items: *613 examples: default: value: @@ -93381,8 +93447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *308 - *309 + - *310 - name: sha in: path required: true @@ -93438,7 +93504,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -93492,8 +93558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93525,14 +93591,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &614 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93605,8 +93671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -93632,7 +93698,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: default: value: @@ -93659,8 +93725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -93680,8 +93746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93763,8 +93829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93772,7 +93838,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Tag protection description: Tag protection type: object @@ -93829,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -93853,7 +93919,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -93884,8 +93950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *308 - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93922,8 +93988,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -93959,8 +94025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93992,8 +94058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *308 - *309 + - *310 - *19 - *17 responses: @@ -94001,7 +94067,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &617 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94013,7 +94079,7 @@ paths: required: - names examples: - default: &617 + default: &618 value: names: - octocat @@ -94036,8 +94102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94068,9 +94134,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 '422': *7 x-github: @@ -94091,9 +94157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *308 - *309 - - &618 + - *310 + - &619 name: per description: The time frame to display results for. in: query @@ -94124,7 +94190,7 @@ paths: - 128 clones: type: array - items: &619 + items: &620 title: Traffic type: object properties: @@ -94211,8 +94277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94306,8 +94372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94370,9 +94436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *308 - *309 - - *618 + - *310 + - *619 responses: '200': description: Response @@ -94393,7 +94459,7 @@ paths: - 3782 views: type: array - items: *619 + items: *620 required: - uniques - count @@ -94470,8 +94536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94745,8 +94811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94769,8 +94835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94792,8 +94858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94819,8 +94885,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -94912,9 +94978,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95163,7 +95229,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &620 + text_matches: &621 title: Search Result Text Matches type: array items: @@ -95326,7 +95392,7 @@ paths: enum: - author-date - committer-date - - &621 + - &622 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 @@ -95395,7 +95461,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 comment_count: type: integer message: @@ -95414,7 +95480,7 @@ paths: url: type: string format: uri - verification: *485 + verification: *486 required: - author - committer @@ -95429,7 +95495,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 parents: type: array items: @@ -95446,7 +95512,7 @@ paths: type: number node_id: type: string - text_matches: *620 + text_matches: *621 required: - sha - node_id @@ -95638,7 +95704,7 @@ paths: - interactions - created - updated - - *621 + - *622 - *17 - *19 - name: advanced_search @@ -95735,11 +95801,11 @@ paths: type: - string - 'null' - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: type: string state_reason: @@ -95753,7 +95819,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 comments: type: integer created_at: @@ -95767,7 +95833,7 @@ paths: - string - 'null' format: date-time - text_matches: *620 + text_matches: *621 pull_request: type: object properties: @@ -95990,7 +96056,7 @@ paths: enum: - created - updated - - *621 + - *622 - *17 - *19 responses: @@ -96035,7 +96101,7 @@ paths: - 'null' score: type: number - text_matches: *620 + text_matches: *621 required: - id - node_id @@ -96120,7 +96186,7 @@ paths: - forks - help-wanted-issues - updated - - *621 + - *622 - *17 - *19 responses: @@ -96357,7 +96423,7 @@ paths: - admin - pull - push - text_matches: *620 + text_matches: *621 temp_clone_token: type: string allow_merge_commit: @@ -96665,7 +96731,7 @@ paths: - string - 'null' format: uri - text_matches: *620 + text_matches: *621 related: type: - array @@ -96858,7 +96924,7 @@ paths: - followers - repositories - joined - - *621 + - *622 - *17 - *19 responses: @@ -96968,7 +97034,7 @@ paths: type: - boolean - 'null' - text_matches: *620 + text_matches: *621 blog: type: - string @@ -97050,7 +97116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &625 + - &626 name: team_id description: The unique identifier of the team. in: path @@ -97062,9 +97128,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97091,7 +97157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97155,16 +97221,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '201': description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97192,7 +97258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *625 + - *626 responses: '204': description: Response @@ -97223,7 +97289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *625 + - *626 - *46 - *17 - *19 @@ -97234,9 +97300,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *626 + default: *627 headers: Link: *52 x-github: @@ -97265,7 +97331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97299,9 +97365,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97328,16 +97394,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 responses: '200': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97362,8 +97428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: false content: @@ -97386,9 +97452,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97413,8 +97479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 responses: '204': description: Response @@ -97443,8 +97509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *625 - - *297 + - *626 + - *298 - *46 - *17 - *19 @@ -97455,9 +97521,9 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *628 + default: *629 headers: Link: *52 x-github: @@ -97486,8 +97552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: true content: @@ -97509,9 +97575,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97538,17 +97604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97573,9 +97639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 requestBody: required: true content: @@ -97597,9 +97663,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97624,9 +97690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 responses: '204': description: Response @@ -97655,9 +97721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97683,9 +97749,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -97714,9 +97780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 requestBody: required: true content: @@ -97748,9 +97814,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97776,8 +97842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -97803,9 +97869,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -97834,8 +97900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: true content: @@ -97867,9 +97933,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97893,7 +97959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -97931,7 +97997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *625 + - *626 - name: role description: Filters members returned by their role in the team. in: query @@ -97982,7 +98048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98019,7 +98085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98059,7 +98125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98096,16 +98162,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *630 + response-if-user-is-a-team-maintainer: *631 '404': *6 x-github: githubCloudOnly: false @@ -98138,7 +98204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 requestBody: required: false @@ -98164,9 +98230,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *631 + response-if-users-membership-with-team-is-now-pending: *632 '403': description: Forbidden if team synchronization is set up '422': @@ -98200,7 +98266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98229,7 +98295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98239,9 +98305,9 @@ paths: application/json: schema: type: array - items: *306 + items: *307 examples: - default: *632 + default: *633 headers: Link: *52 '404': *6 @@ -98267,16 +98333,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *625 - - *307 + - *626 + - *308 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *633 + default: *634 '404': description: Not Found if project is not managed by this team x-github: @@ -98300,8 +98366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *625 - - *307 + - *626 + - *308 requestBody: required: false content: @@ -98368,8 +98434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *625 - - *307 + - *626 + - *308 responses: '204': description: Response @@ -98396,7 +98462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98438,15 +98504,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *634 + schema: *635 examples: alternative-response-with-extra-repository-information: value: @@ -98597,9 +98663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 requestBody: required: false content: @@ -98649,9 +98715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 responses: '204': description: Response @@ -98676,7 +98742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98688,7 +98754,7 @@ paths: type: array items: *170 examples: - response-if-child-teams-exist: *635 + response-if-child-teams-exist: *636 headers: Link: *52 '404': *6 @@ -98721,7 +98787,7 @@ paths: application/json: schema: oneOf: - - &637 + - &638 title: Private User description: Private User type: object @@ -98971,7 +99037,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *636 + - *637 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99131,7 +99197,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -99477,7 +99543,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99485,7 +99551,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -99529,7 +99595,7 @@ paths: type: integer secrets: type: array - items: &638 + items: &639 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99571,7 +99637,7 @@ paths: - visibility - selected_repositories_url examples: - default: *429 + default: *430 headers: Link: *52 x-github: @@ -99649,7 +99715,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -99795,7 +99861,7 @@ paths: type: array items: *136 examples: - default: *639 + default: *640 '401': *23 '403': *27 '404': *6 @@ -99947,7 +100013,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '304': *35 '500': *96 '401': *23 @@ -100005,7 +100071,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -100062,7 +100128,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100115,7 +100181,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &641 + default: &642 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100160,9 +100226,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -100199,9 +100265,9 @@ paths: type: integer machines: type: array - items: *428 + items: *429 examples: - default: *642 + default: *643 '304': *35 '500': *96 '401': *23 @@ -100286,11 +100352,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *314 + repository: *315 machine: anyOf: - type: 'null' - - *428 + - *429 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101095,7 +101161,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '304': *35 '500': *96 '400': *14 @@ -101135,7 +101201,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '500': *96 '401': *23 '403': *27 @@ -101167,7 +101233,7 @@ paths: type: array items: *223 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -101268,7 +101334,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Email description: Email type: object @@ -101338,9 +101404,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -101417,7 +101483,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -101675,7 +101741,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: GPG Key description: A unique encryption key type: object @@ -101820,7 +101886,7 @@ paths: - subkeys - revoked examples: - default: &669 + default: &670 value: - id: 3 name: Octocat's GPG Key @@ -101905,9 +101971,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: id: 3 name: Octocat's GPG Key @@ -101964,7 +102030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &646 + - &647 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101976,9 +102042,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102001,7 +102067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *646 + - *647 responses: '204': description: Response @@ -102306,7 +102372,7 @@ paths: required: true content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -102456,7 +102522,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -102559,9 +102625,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102594,15 +102660,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -102625,7 +102691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '204': description: Response @@ -102658,7 +102724,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102737,7 +102803,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102799,9 +102865,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *52 '304': *35 @@ -103805,7 +103871,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *218 - - *651 + - *652 responses: '204': description: Response @@ -103920,7 +103986,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *19 - *17 responses: @@ -103932,8 +103998,8 @@ paths: type: array items: *223 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103962,7 +104028,7 @@ paths: application/json: schema: *223 examples: - default: &670 + default: &671 value: id: 40201 name: octo-name @@ -104324,9 +104390,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *655 + default: *656 headers: Link: *52 '304': *35 @@ -104439,7 +104505,7 @@ paths: type: array items: *64 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -104757,9 +104823,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104797,9 +104863,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: *656 + default: *657 headers: Link: *52 '304': *35 @@ -104878,7 +104944,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -104895,7 +104961,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -104958,9 +105024,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -105048,7 +105114,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105135,9 +105201,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105168,7 +105234,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105180,9 +105246,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -105205,7 +105271,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: - - *661 + - *662 responses: '204': description: Response @@ -105259,7 +105325,7 @@ paths: type: array items: *64 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array @@ -105419,8 +105485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105448,8 +105514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105473,8 +105539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105546,7 +105612,7 @@ paths: application/json: schema: type: array - items: *293 + items: *294 examples: default: value: @@ -105632,10 +105698,10 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -105670,7 +105736,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -105730,7 +105796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -105779,11 +105845,11 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -105833,8 +105899,8 @@ paths: required: - subject_digests examples: - default: *666 - withPredicateType: *667 + default: *667 + withPredicateType: *668 responses: '200': description: Response @@ -105888,7 +105954,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106093,7 +106159,7 @@ paths: initiator: type: string examples: - default: *370 + default: *371 '201': description: Response content: @@ -106134,7 +106200,7 @@ paths: type: array items: *223 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -106518,9 +106584,9 @@ paths: application/json: schema: type: array - items: *644 + items: *645 examples: - default: *669 + default: *670 headers: Link: *52 x-github: @@ -106624,7 +106690,7 @@ paths: application/json: schema: *20 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106749,7 +106815,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *57 - *19 - *17 @@ -106762,10 +106828,10 @@ paths: type: array items: *223 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106795,7 +106861,7 @@ paths: application/json: schema: *223 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107142,9 +107208,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *671 + default: *672 headers: Link: *52 '304': *35 @@ -107167,16 +107233,16 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *241 - - *672 + - *673 - *57 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *673 + default: *674 headers: Link: *52 '304': *35 @@ -107232,9 +107298,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -107293,10 +107359,10 @@ paths: description: Response content: application/json: - schema: *674 + schema: *246 examples: - issue: *246 - pull_request: *246 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -107318,7 +107384,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107338,9 +107404,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -107363,7 +107429,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107436,13 +107502,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -107464,7 +107530,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 responses: '204': description: Response @@ -108166,9 +108232,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *52 x-github: @@ -108198,7 +108264,7 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: default: *685 headers: @@ -108241,7 +108307,7 @@ paths: - type: array items: *64 examples: - default-response: *662 + default-response: *663 headers: Link: *52 x-github: @@ -110128,7 +110194,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *387 + items: *388 repository: *136 status: type: string @@ -110233,7 +110299,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *387 + items: *388 started_at: type: string format: date-time @@ -114014,7 +114080,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114346,7 +114412,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114690,7 +114756,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115049,7 +115115,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115334,7 +115400,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115623,7 +115689,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116224,7 +116290,7 @@ webhooks: type: string enum: - created - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116391,7 +116457,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116471,7 +116537,7 @@ webhooks: type: string enum: - updated - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116734,7 +116800,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116822,7 +116888,7 @@ webhooks: type: string enum: - auto_reopened - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116910,7 +116976,7 @@ webhooks: type: string enum: - created - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116996,7 +117062,7 @@ webhooks: type: string enum: - dismissed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117082,7 +117148,7 @@ webhooks: type: string enum: - fixed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117169,7 +117235,7 @@ webhooks: type: string enum: - reintroduced - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117255,7 +117321,7 @@ webhooks: type: string enum: - reopened - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -118773,10 +118839,10 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *460 + deployment: *461 pull_requests: type: array - items: *544 + items: *545 repository: *691 organization: *690 installation: *689 @@ -123553,7 +123619,7 @@ webhooks: - id labels: type: array - items: *507 + items: *508 required: - repository_url - category @@ -128193,8 +128259,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129617,8 +129683,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130892,8 +130958,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132534,11 +132600,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133557,11 +133623,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134713,11 +134779,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135748,11 +135814,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136906,11 +136972,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137924,11 +137990,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138967,11 +139033,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139979,11 +140045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140974,11 +141040,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142368,11 +142434,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143380,11 +143446,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144418,11 +144484,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145410,11 +145476,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147258,11 +147324,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149532,7 +149598,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *392 required: - head_sha - head_ref @@ -164250,7 +164316,7 @@ webhooks: organization: *690 pull_request: &734 allOf: - - *544 + - *545 - type: object properties: allow_auto_merge: @@ -164479,7 +164545,7 @@ webhooks: enum: - demilestoned enterprise: *688 - milestone: *243 + milestone: *242 number: *733 organization: *690 pull_request: &735 @@ -176725,7 +176791,7 @@ webhooks: enum: - milestoned enterprise: *688 - milestone: *243 + milestone: *242 number: *733 organization: *690 pull_request: *735 @@ -219891,7 +219957,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_advisory: *608 + repository_advisory: *609 sender: *4 required: - action @@ -219971,7 +220037,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_advisory: *608 + repository_advisory: *609 sender: *4 required: - action @@ -220837,7 +220903,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 sender: *4 required: - action @@ -220919,7 +220985,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 sender: *4 required: - action @@ -221001,7 +221067,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 changes: type: object properties: @@ -221020,16 +221086,16 @@ webhooks: properties: added: type: array - items: *255 + items: *256 deleted: type: array - items: *255 + items: *256 updated: type: array items: type: object properties: - condition: *255 + condition: *256 changes: type: object properties: @@ -221062,16 +221128,16 @@ webhooks: properties: added: type: array - items: *565 + items: *566 deleted: type: array - items: *565 + items: *566 updated: type: array items: type: object properties: - rule: *565 + rule: *566 changes: type: object properties: @@ -223532,11 +223598,11 @@ webhooks: from: type: object properties: - security_and_analysis: *254 + security_and_analysis: *255 enterprise: *688 installation: *689 organization: *690 - repository: *314 + repository: *315 sender: *4 required: - changes @@ -228866,7 +228932,7 @@ webhooks: type: string required: - conclusion - deployment: *460 + deployment: *461 required: - action - repository @@ -229230,7 +229296,7 @@ webhooks: required: - status - steps - deployment: *460 + deployment: *461 required: - action - repository @@ -229458,7 +229524,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *460 + deployment: *461 required: - action - repository @@ -229687,7 +229753,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *460 + deployment: *461 required: - action - repository diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index ae2395924..223ce92b2 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -83990,7 +83990,7 @@ "description": "The name of the artifact.", "minLength": 1, "examples": [ - "libfoo-1.2.3" + "libfoo" ] }, "digest": { @@ -84003,6 +84003,16 @@ "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." ] }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, "artifact_url": { "type": "string", "format": "uri", @@ -84070,7 +84080,8 @@ "examples": { "default": { "value": { - "name": "libfoo-1.2.3", + "name": "libfoo", + "version": "1.2.3", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -84145,7 +84156,7 @@ "total_count": 1, "storage_records": [ { - "name": "libfoo-1.2.3", + "name": "libfoo", "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", "registry_url": "https://reg.example.com/artifactory/", @@ -150915,6 +150926,7751 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for organization owned project", + "description": "Create draft issue item for the specified organization owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "content": { + "oneOf": [ + { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + { + "title": "Pull Request Simple", + "description": "Pull Request Simple", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOlB1bGxSZXF1ZXN0MQ==" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347" + ] + }, + "diff_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.diff" + ] + }, + "patch_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.patch" + ] + }, + "issue_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + }, + "commits_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + ] + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + ] + }, + "review_comment_url": { + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + ] + }, + "comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + ] + }, + "statuses_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "number": { + "type": "integer", + "examples": [ + 1347 + ] + }, + "state": { + "type": "string", + "examples": [ + "open" + ] + }, + "locked": { + "type": "boolean", + "examples": [ + true + ] + }, + "title": { + "type": "string", + "examples": [ + "new-feature" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "examples": [ + "Please pull these awesome changes" + ] + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "too heated" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merge_commit_sha": { + "type": [ + "string", + "null" + ], + "examples": [ + "e5bd3914e2e596debea16f433f57875b5b90bcd6" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_reviewers": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_teams": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + } + }, + "head": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "base": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "_links": { + "type": "object", + "properties": { + "comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "commits": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "statuses": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "html": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "issue": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comment": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "self": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "commit_title": { + "type": "string", + "description": "Title for the merge commit message." + }, + "commit_message": { + "type": "string", + "description": "Commit message for the merge commit." + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ] + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean", + "examples": [ + false + ] + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge" + ] + }, + { + "title": "Draft Issue", + "description": "A draft issue in a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The ID of the draft issue" + }, + "node_id": { + "type": "string", + "description": "The node ID of the draft issue" + }, + "title": { + "type": "string", + "description": "The title of the draft issue" + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The body content of the draft issue" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was created" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was last updated" + } + }, + "required": [ + "id", + "node_id", + "title", + "user", + "created_at", + "updated_at" + ] + } + ], + "description": "The content represented by the item." + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The URL of the project this item belongs to." + }, + "item_url": { + "type": "string", + "format": "uri", + "description": "The URL of the item in the project." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "draft_issue": { + "value": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + }, + "content_type": "DraftIssue", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/fields": { "get": { "summary": "List project fields for organization", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index bb7071609..53e7c9ba7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &286 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &610 + - &611 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8978,7 +8978,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &451 + - &452 name: has in: query description: |- @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &452 + security_advisory: &453 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &453 + auto_dismissed_at: &454 type: - string - 'null' @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &243 + - &242 title: Milestone description: A collection of related issues and pull requests. @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &622 + sub_issues_summary: &623 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &623 + issue_dependencies_summary: &624 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &624 + items: &625 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &500 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &636 + user: &637 title: Public User description: Public User type: object @@ -15157,14 +15157,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15226,7 +15226,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &315 + '301': &316 description: Moved permanently content: application/json: @@ -15248,7 +15248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &529 + - &530 name: all description: If `true`, show notifications marked as read. in: query @@ -15256,7 +15256,7 @@ paths: schema: type: boolean default: false - - &530 + - &531 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15266,7 +15266,7 @@ paths: type: boolean default: false - *68 - - &531 + - &532 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -15637,7 +15637,7 @@ paths: type: boolean examples: - false - security_and_analysis: &254 + security_and_analysis: &255 type: - object - 'null' @@ -15802,7 +15802,7 @@ paths: - url - subscription_url examples: - default: &532 + default: &533 value: - id: '1' repository: @@ -16681,7 +16681,7 @@ paths: - property_name - value examples: - default: &538 + default: &539 value: - property_name: environment value: production @@ -16731,7 +16731,7 @@ paths: required: - properties examples: - default: &539 + default: &540 value: properties: - property_name: environment @@ -18534,7 +18534,7 @@ paths: type: integer repository_cache_usages: type: array - items: &320 + items: &321 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19772,7 +19772,7 @@ paths: - all - local_only - selected - selected_actions_url: &326 + selected_actions_url: &327 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -19855,7 +19855,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -19897,7 +19897,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &332 type: object properties: days: @@ -19954,7 +19954,7 @@ paths: required: - approval_policy examples: - default: &332 + default: &333 value: approval_policy: first_time_contributors '404': *6 @@ -20013,7 +20013,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -20067,7 +20067,7 @@ paths: required: true content: application/json: - schema: &334 + schema: &335 type: object required: - run_workflows_from_fork_pull_requests @@ -20702,7 +20702,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: &129 @@ -20753,7 +20753,7 @@ paths: required: false content: application/json: - schema: &336 + schema: &337 type: object properties: default_workflow_permissions: *129 @@ -21246,7 +21246,7 @@ paths: type: array items: *136 examples: - default: &639 + default: &640 value: total_count: 1 repositories: @@ -21893,7 +21893,7 @@ paths: application/json: schema: type: array - items: &337 + items: &338 title: Runner Application description: Runner Application type: object @@ -21918,7 +21918,7 @@ paths: - download_url - filename examples: - default: &338 + default: &339 value: - os: osx architecture: x64 @@ -22004,7 +22004,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &339 + '201': &340 description: Response content: application/json: @@ -22119,7 +22119,7 @@ paths: - token - expires_at examples: - default: &340 + default: &341 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22158,7 +22158,7 @@ paths: application/json: schema: *140 examples: - default: &341 + default: &342 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22192,7 +22192,7 @@ paths: application/json: schema: *138 examples: - default: &342 + default: &343 value: id: 23 name: MBP @@ -22418,7 +22418,7 @@ paths: - *61 - *137 responses: - '200': &343 + '200': &344 description: Response content: application/json: @@ -22475,7 +22475,7 @@ paths: parameters: - *61 - *137 - - &344 + - &345 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22607,7 +22607,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &357 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22642,7 +22642,7 @@ paths: - key_id - key examples: - default: &357 + default: &358 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23055,7 +23055,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &325 + - &326 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23552,7 +23552,7 @@ paths: description: The name of the artifact. minLength: 1 examples: - - libfoo-1.2.3 + - libfoo digest: type: string description: The digest of the artifact (algorithm:hex-encoded-digest). @@ -23561,6 +23561,14 @@ paths: pattern: "^sha256:[a-f0-9]{64}$" examples: - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 artifact_url: type: string format: uri @@ -23618,7 +23626,8 @@ paths: examples: default: value: - name: libfoo-1.2.3 + name: libfoo + version: 1.2.3 digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -23668,7 +23677,7 @@ paths: value: total_count: 1 storage_records: - - name: libfoo-1.2.3 + - name: libfoo digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 registry_url: https://reg.example.com/artifactory/ @@ -23805,12 +23814,12 @@ paths: required: - subject_digests examples: - default: &666 + default: &667 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &667 + withPredicateType: &668 value: subject_digests: - sha256:abc123 @@ -23869,7 +23878,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &668 + default: &669 value: attestations_subject_digests: - sha256:abc: @@ -24218,7 +24227,7 @@ paths: initiator: type: string examples: - default: &370 + default: &371 value: attestations: - bundle: @@ -25174,7 +25183,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &395 + - &396 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -25184,7 +25193,7 @@ paths: schema: &159 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &397 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25208,7 +25217,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &399 type: string description: State of a code scanning alert. enum: @@ -25231,7 +25240,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &400 type: string description: Severity of a code scanning alert. enum: @@ -25257,7 +25266,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: &400 + instances_url: &401 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25279,7 +25288,7 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: &401 + dismissed_reason: &402 type: - string - 'null' @@ -25290,14 +25299,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &403 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &404 type: object properties: id: @@ -25358,7 +25367,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &405 type: object properties: name: *159 @@ -25369,15 +25378,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *160 - most_recent_instance: &405 + most_recent_instance: &406 type: object properties: - ref: &397 + ref: &398 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &416 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25388,7 +25397,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &416 + category: &417 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26716,7 +26725,7 @@ paths: machine: anyOf: - type: 'null' - - &428 + - &429 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27668,7 +27677,7 @@ paths: - updated_at - visibility examples: - default: &429 + default: &430 value: total_count: 2 secrets: @@ -27706,7 +27715,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &431 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27741,7 +27750,7 @@ paths: - key_id - key examples: - default: &431 + default: &432 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27773,7 +27782,7 @@ paths: application/json: schema: *169 examples: - default: &433 + default: &434 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28771,7 +28780,7 @@ paths: application/json: schema: type: array - items: &290 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29086,7 +29095,7 @@ paths: - date additionalProperties: true examples: - default: &291 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29188,7 +29197,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &292 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29396,7 +29405,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &457 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29415,7 +29424,7 @@ paths: - key_id - key examples: - default: &457 + default: &458 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31243,7 +31252,7 @@ paths: application/json: schema: *20 examples: - default: &495 + default: &496 value: id: 1 account: @@ -31471,7 +31480,7 @@ paths: required: true content: application/json: - schema: &496 + schema: &497 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32331,7 +32340,7 @@ paths: application/json: schema: *211 examples: - default: &427 + default: &428 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33589,7 +33598,7 @@ paths: parameters: - *61 - *218 - - &651 + - &652 name: repo_name description: repo_name parameter in: path @@ -34648,7 +34657,7 @@ paths: - nuget - container - *61 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34689,7 +34698,7 @@ paths: default: *224 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36729,6 +36738,520 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + "/orgs/{org}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for organization owned project + description: Create draft issue item for the specified organization owned project. + tags: + - projects + operationId: projects/create-draft-item-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project + parameters: + - *61 + - *241 + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: &246 + title: Projects v2 Item + description: An item belonging to a project + type: object + properties: + id: + type: number + description: The unique identifier of the project item. + node_id: + type: string + description: The node ID of the project item. + content: + oneOf: + - *78 + - &441 + title: Pull Request Simple + description: Pull Request Simple + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347 + id: + type: integer + format: int64 + examples: + - 1 + node_id: + type: string + examples: + - MDExOlB1bGxSZXF1ZXN0MQ== + html_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347 + diff_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347.diff + patch_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/pull/1347.patch + issue_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + commits_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits + review_comments_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments + review_comment_url: + type: string + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} + comments_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347/comments + statuses_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e + number: + type: integer + examples: + - 1347 + state: + type: string + examples: + - open + locked: + type: boolean + examples: + - true + title: + type: string + examples: + - new-feature + user: + anyOf: + - type: 'null' + - *4 + body: + type: + - string + - 'null' + examples: + - Please pull these awesome changes + labels: + type: array + items: + type: object + properties: + id: + type: integer + format: int64 + node_id: + type: string + url: + type: string + name: + type: string + description: + type: string + color: + type: string + default: + type: boolean + required: + - id + - node_id + - url + - name + - description + - color + - default + milestone: + anyOf: + - type: 'null' + - *242 + active_lock_reason: + type: + - string + - 'null' + examples: + - too heated + created_at: + type: string + format: date-time + examples: + - '2011-01-26T19:01:12Z' + updated_at: + type: string + format: date-time + examples: + - '2011-01-26T19:01:12Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2011-01-26T19:01:12Z' + merged_at: + type: + - string + - 'null' + format: date-time + examples: + - '2011-01-26T19:01:12Z' + merge_commit_sha: + type: + - string + - 'null' + examples: + - e5bd3914e2e596debea16f433f57875b5b90bcd6 + assignee: + anyOf: + - type: 'null' + - *4 + assignees: + type: + - array + - 'null' + items: *4 + requested_reviewers: + type: + - array + - 'null' + items: *4 + requested_teams: + type: + - array + - 'null' + items: *170 + head: + type: object + properties: + label: + type: string + ref: + type: string + repo: *64 + sha: + type: string + user: + anyOf: + - type: 'null' + - *4 + required: + - label + - ref + - repo + - sha + - user + base: + type: object + properties: + label: + type: string + ref: + type: string + repo: *64 + sha: + type: string + user: + anyOf: + - type: 'null' + - *4 + required: + - label + - ref + - repo + - sha + - user + _links: + type: object + properties: + comments: &243 + title: Link + description: Hypermedia Link + type: object + properties: + href: + type: string + required: + - href + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 + required: + - comments + - commits + - statuses + - html + - issue + - review_comments + - review_comment + - self + author_association: *65 + auto_merge: &542 + title: Auto merge + description: The status of auto merging a pull request. + type: + - object + - 'null' + properties: + enabled_by: *4 + merge_method: + type: string + description: The merge method to use. + enum: + - merge + - squash + - rebase + commit_title: + type: string + description: Title for the merge commit message. + commit_message: + type: string + description: Commit message for the merge commit. + required: + - enabled_by + - merge_method + - commit_title + - commit_message + draft: + description: Indicates whether or not the pull request is + a draft. + type: boolean + examples: + - false + required: + - _links + - assignee + - labels + - base + - body + - closed_at + - comments_url + - commits_url + - created_at + - diff_url + - head + - html_url + - id + - node_id + - issue_url + - merge_commit_sha + - merged_at + - milestone + - number + - patch_url + - review_comment_url + - review_comments_url + - statuses_url + - state + - locked + - title + - updated_at + - url + - user + - author_association + - auto_merge + - title: Draft Issue + description: A draft issue in a project + type: object + properties: + id: + type: number + description: The ID of the draft issue + node_id: + type: string + description: The node ID of the draft issue + title: + type: string + description: The title of the draft issue + body: + type: + - string + - 'null' + description: The body content of the draft issue + user: + anyOf: + - type: 'null' + - *4 + created_at: + type: string + format: date-time + description: The time the draft issue was created + updated_at: + type: string + format: date-time + description: The time the draft issue was last updated + required: + - id + - node_id + - title + - user + - created_at + - updated_at + description: The content represented by the item. + content_type: &245 + title: Projects v2 Item Content Type + description: The type of content tracked in a project item + type: string + enum: + - Issue + - PullRequest + - DraftIssue + creator: *4 + created_at: + type: string + format: date-time + description: The time when the item was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the item was last updated. + examples: + - '2022-04-28T12:00:00Z' + archived_at: + type: + - string + - 'null' + format: date-time + description: The time when the item was archived. + examples: + - '2022-04-28T12:00:00Z' + project_url: + type: string + format: uri + description: The URL of the project this item belongs to. + item_url: + type: string + format: uri + description: The URL of the item in the project. + required: + - id + - content_type + - created_at + - updated_at + - archived_at + examples: + draft_issue: &247 + value: + id: 17 + node_id: PVTI_lADOANN5s84ACbL0zgBueEI + content: + id: 38 + node_id: I_kwDOANN5s85FtLts + title: Example Draft Issue + body: This is a draft issue in the project. + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + user: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + content_type: DraftIssue + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + archived_at: + project_url: https://api.github.com/users/octocat/projectsV2/1 + item_url: https://api.github.com/users/octocat/projectsV2/items/17 + '304': *35 + '403': *27 + '401': *23 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -36752,7 +37275,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36902,7 +37425,7 @@ paths: - updated_at - project_url examples: - default: &671 + default: &672 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37006,7 +37529,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *241 - - &672 + - &673 name: field_id description: The unique identifier of the field. in: path @@ -37019,9 +37542,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &673 + default: &674 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37098,7 +37621,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -37115,14 +37638,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &245 - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue + content_type: *245 content: type: - object @@ -37172,7 +37688,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &249 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37904,460 +38420,10 @@ paths: description: Response content: application/json: - schema: &674 - title: Projects v2 Item - description: An item belonging to a project - type: object - properties: - id: - type: number - description: The unique identifier of the project item. - node_id: - type: string - description: The node ID of the project item. - content: - oneOf: - - *78 - - &440 - title: Pull Request Simple - description: Pull Request Simple - type: object - properties: - url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347 - id: - type: integer - format: int64 - examples: - - 1 - node_id: - type: string - examples: - - MDExOlB1bGxSZXF1ZXN0MQ== - html_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347 - diff_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347.diff - patch_url: - type: string - format: uri - examples: - - https://github.com/octocat/Hello-World/pull/1347.patch - issue_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - commits_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits - review_comments_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments - review_comment_url: - type: string - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} - comments_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347/comments - statuses_url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e - number: - type: integer - examples: - - 1347 - state: - type: string - examples: - - open - locked: - type: boolean - examples: - - true - title: - type: string - examples: - - new-feature - user: - anyOf: - - type: 'null' - - *4 - body: - type: - - string - - 'null' - examples: - - Please pull these awesome changes - labels: - type: array - items: - type: object - properties: - id: - type: integer - format: int64 - node_id: - type: string - url: - type: string - name: - type: string - description: - type: string - color: - type: string - default: - type: boolean - required: - - id - - node_id - - url - - name - - description - - color - - default - milestone: - anyOf: - - type: 'null' - - *243 - active_lock_reason: - type: - - string - - 'null' - examples: - - too heated - created_at: - type: string - format: date-time - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - format: date-time - examples: - - '2011-01-26T19:01:12Z' - closed_at: - type: - - string - - 'null' - format: date-time - examples: - - '2011-01-26T19:01:12Z' - merged_at: - type: - - string - - 'null' - format: date-time - examples: - - '2011-01-26T19:01:12Z' - merge_commit_sha: - type: - - string - - 'null' - examples: - - e5bd3914e2e596debea16f433f57875b5b90bcd6 - assignee: - anyOf: - - type: 'null' - - *4 - assignees: - type: - - array - - 'null' - items: *4 - requested_reviewers: - type: - - array - - 'null' - items: *4 - requested_teams: - type: - - array - - 'null' - items: *170 - head: - type: object - properties: - label: - type: string - ref: - type: string - repo: *64 - sha: - type: string - user: - anyOf: - - type: 'null' - - *4 - required: - - label - - ref - - repo - - sha - - user - base: - type: object - properties: - label: - type: string - ref: - type: string - repo: *64 - sha: - type: string - user: - anyOf: - - type: 'null' - - *4 - required: - - label - - ref - - repo - - sha - - user - _links: - type: object - properties: - comments: &244 - title: Link - description: Hypermedia Link - type: object - properties: - href: - type: string - required: - - href - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 - required: - - comments - - commits - - statuses - - html - - issue - - review_comments - - review_comment - - self - author_association: *65 - auto_merge: &541 - title: Auto merge - description: The status of auto merging a pull request. - type: - - object - - 'null' - properties: - enabled_by: *4 - merge_method: - type: string - description: The merge method to use. - enum: - - merge - - squash - - rebase - commit_title: - type: string - description: Title for the merge commit message. - commit_message: - type: string - description: Commit message for the merge commit. - required: - - enabled_by - - merge_method - - commit_title - - commit_message - draft: - description: Indicates whether or not the pull request is - a draft. - type: boolean - examples: - - false - required: - - _links - - assignee - - labels - - base - - body - - closed_at - - comments_url - - commits_url - - created_at - - diff_url - - head - - html_url - - id - - node_id - - issue_url - - merge_commit_sha - - merged_at - - milestone - - number - - patch_url - - review_comment_url - - review_comments_url - - statuses_url - - state - - locked - - title - - updated_at - - url - - user - - author_association - - auto_merge - - title: Draft Issue - description: A draft issue in a project - type: object - properties: - id: - type: number - description: The ID of the draft issue - node_id: - type: string - description: The node ID of the draft issue - title: - type: string - description: The title of the draft issue - body: - type: - - string - - 'null' - description: The body content of the draft issue - user: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - description: The time the draft issue was created - updated_at: - type: string - format: date-time - description: The time the draft issue was last updated - required: - - id - - node_id - - title - - user - - created_at - - updated_at - description: The content represented by the item. - content_type: *245 - creator: *4 - created_at: - type: string - format: date-time - description: The time when the item was created. - examples: - - '2022-04-28T12:00:00Z' - updated_at: - type: string - format: date-time - description: The time when the item was last updated. - examples: - - '2022-04-28T12:00:00Z' - archived_at: - type: - - string - - 'null' - format: date-time - description: The time when the item was archived. - examples: - - '2022-04-28T12:00:00Z' - project_url: - type: string - format: uri - description: The URL of the project this item belongs to. - item_url: - type: string - format: uri - description: The URL of the item in the project. - required: - - id - - content_type - - created_at - - updated_at - - archived_at + schema: *246 examples: - issue: &246 - value: - id: 17 - node_id: PVTI_lADOANN5s84ACbL0zgBueEI - content: - id: 38 - node_id: I_kwDOANN5s85FtLts - title: Example Draft Issue - body: This is a draft issue in the project. - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - user: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - content_type: DraftIssue - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2022-04-28T12:00:00Z' - updated_at: '2022-04-28T12:00:00Z' - archived_at: - project_url: https://api.github.com/users/octocat/projectsV2/1 - item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *246 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -38379,7 +38445,7 @@ paths: parameters: - *241 - *61 - - &249 + - &250 name: item_id description: The unique identifier of the project item. in: path @@ -38405,9 +38471,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -38430,7 +38496,7 @@ paths: parameters: - *241 - *61 - - *249 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38503,13 +38569,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -38531,7 +38597,7 @@ paths: parameters: - *241 - *61 - - *249 + - *250 responses: '204': description: Response @@ -38563,7 +38629,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38639,7 +38705,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38698,7 +38764,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *251 minItems: 1 maxItems: 100 required: @@ -38728,9 +38794,9 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: - default: *251 + default: *252 '403': *27 '404': *6 x-github: @@ -38752,7 +38818,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &252 + - &253 name: custom_property_name description: The custom property name in: path @@ -38764,9 +38830,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &253 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38801,7 +38867,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *253 requestBody: required: true content: @@ -38879,9 +38945,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *253 + default: *254 '403': *27 '404': *6 x-github: @@ -38905,7 +38971,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *253 responses: '204': *166 '403': *27 @@ -39433,7 +39499,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Full Repository description: Full Repository type: object @@ -39898,7 +39964,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &445 + code_of_conduct: &446 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39928,7 +39994,7 @@ paths: - key - name - html_url - security_and_analysis: *254 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40012,7 +40078,7 @@ paths: - network_count - subscribers_count examples: - default: &316 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40533,7 +40599,7 @@ paths: - *61 - *17 - *19 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40552,7 +40618,7 @@ paths: application/json: schema: type: array - items: &280 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40587,7 +40653,7 @@ paths: source: type: string description: The name of the source - enforcement: &257 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40600,7 +40666,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &258 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40671,7 +40737,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &255 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40695,7 +40761,7 @@ paths: match. items: type: string - - &259 + - &260 title: Organization ruleset conditions type: object description: |- @@ -40709,7 +40775,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40743,7 +40809,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40765,7 +40831,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *255 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40778,7 +40844,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &256 + items: &257 title: Repository ruleset property targeting definition type: object @@ -40811,7 +40877,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *256 + items: *257 required: - repository_property type: @@ -40819,12 +40885,12 @@ paths: - object rules: type: array - items: &565 + items: &566 title: Repository Rule type: object description: A repository rule. oneOf: - - &260 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40836,7 +40902,7 @@ paths: type: string enum: - creation - - &261 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -40857,7 +40923,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &262 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40869,7 +40935,7 @@ paths: type: string enum: - deletion - - &263 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40881,7 +40947,7 @@ paths: type: string enum: - required_linear_history - - &562 + - &563 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40959,7 +41025,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &264 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40983,7 +41049,7 @@ paths: type: string required: - required_deployment_environments - - &265 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40995,7 +41061,7 @@ paths: type: string enum: - required_signatures - - &266 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41057,7 +41123,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &267 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41105,7 +41171,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &268 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41117,7 +41183,7 @@ paths: type: string enum: - non_fast_forward - - &269 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41153,7 +41219,7 @@ paths: required: - operator - pattern - - &270 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41189,7 +41255,7 @@ paths: required: - operator - pattern - - &271 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41225,7 +41291,7 @@ paths: required: - operator - pattern - - &272 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41261,7 +41327,7 @@ paths: required: - operator - pattern - - &273 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41297,7 +41363,7 @@ paths: required: - operator - pattern - - &274 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41322,7 +41388,7 @@ paths: type: string required: - restricted_file_paths - - &275 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41346,7 +41412,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &276 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41369,7 +41435,7 @@ paths: type: string required: - restricted_file_extensions - - &277 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41394,7 +41460,7 @@ paths: maximum: 100 required: - max_file_size - - &278 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41444,7 +41510,7 @@ paths: - repository_id required: - workflows - - &279 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41505,7 +41571,7 @@ paths: - tool required: - code_scanning_tools - - &563 + - &564 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41603,21 +41669,20 @@ paths: - push - repository default: branch - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &282 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *260 - *261 - *262 - *263 @@ -41637,6 +41702,7 @@ paths: - *277 - *278 - *279 + - *280 required: - name - enforcement @@ -41674,9 +41740,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &281 + default: &282 value: id: 21 name: super cool ruleset @@ -41731,7 +41797,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &566 + - &567 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41746,7 +41812,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -41762,14 +41828,14 @@ paths: - week - month default: day - - &568 + - &569 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &569 + - &570 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41789,7 +41855,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -41845,7 +41911,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -41889,7 +41955,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &572 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41905,7 +41971,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -42012,7 +42078,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -42085,9 +42151,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 '404': *6 '500': *96 put: @@ -42131,16 +42197,16 @@ paths: - tag - push - repository - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *282 + items: *283 examples: default: value: @@ -42175,9 +42241,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 '404': *6 '500': *96 delete: @@ -42234,7 +42300,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -42258,7 +42324,7 @@ paths: type: string format: date-time examples: - default: &576 + default: &577 value: - version_id: 3 actor: @@ -42311,9 +42377,9 @@ paths: description: Response content: application/json: - schema: &577 + schema: &578 allOf: - - *283 + - *284 - type: object required: - state @@ -42383,7 +42449,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &578 + - &579 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42394,7 +42460,7 @@ paths: enum: - open - resolved - - &579 + - &580 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42404,7 +42470,7 @@ paths: required: false schema: type: string - - &580 + - &581 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42413,7 +42479,7 @@ paths: required: false schema: type: string - - &581 + - &582 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. @@ -42428,7 +42494,7 @@ paths: - *46 - *19 - *17 - - &582 + - &583 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 @@ -42438,7 +42504,7 @@ paths: required: false schema: type: string - - &583 + - &584 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 @@ -42448,7 +42514,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42457,7 +42523,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42466,7 +42532,7 @@ paths: schema: type: boolean default: false - - &586 + - &587 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42475,7 +42541,7 @@ paths: schema: type: boolean default: false - - &587 + - &588 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42507,14 +42573,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &588 + state: &589 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: &589 + resolution: &590 type: - string - 'null' @@ -42621,14 +42687,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &590 + - &591 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &592 + - &593 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42685,7 +42751,7 @@ paths: - blob_url - commit_sha - commit_url - - &593 + - &594 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. @@ -42746,7 +42812,7 @@ paths: - page_url - commit_sha - commit_url - - &594 + - &595 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42761,7 +42827,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &595 + - &596 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42776,7 +42842,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &596 + - &597 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42791,7 +42857,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &597 + - &598 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42806,7 +42872,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &598 + - &599 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42821,7 +42887,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &599 + - &600 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42836,7 +42902,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &600 + - &601 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. @@ -42851,7 +42917,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &601 + - &602 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. @@ -42866,7 +42932,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &602 + - &603 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. @@ -42881,7 +42947,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &603 + - &604 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. @@ -42896,7 +42962,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &604 + - &605 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 @@ -43136,7 +43202,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &285 + pattern_config_version: &286 type: - string - 'null' @@ -43146,7 +43212,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &284 + items: &285 type: object properties: token_type: @@ -43215,7 +43281,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *284 + items: *285 examples: default: value: @@ -43272,7 +43338,7 @@ paths: schema: type: object properties: - pattern_config_version: *285 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43298,7 +43364,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *285 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43396,7 +43462,7 @@ paths: application/json: schema: type: array - items: &608 + items: &609 description: A repository security advisory. type: object properties: @@ -43640,7 +43706,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 credits_detailed: type: - array @@ -43651,7 +43717,7 @@ paths: type: object properties: user: *4 - type: *286 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43715,7 +43781,7 @@ paths: - private_fork additionalProperties: false examples: - default: &609 + default: &610 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44648,7 +44714,7 @@ paths: type: integer network_configurations: type: array - items: &287 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44773,9 +44839,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: &288 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44804,7 +44870,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &289 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44816,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: Link: *52 x-github: @@ -44840,7 +44906,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *289 + - *290 requestBody: required: true content: @@ -44879,9 +44945,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44901,7 +44967,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *289 + - *290 responses: '204': description: Response @@ -45046,13 +45112,13 @@ paths: application/json: schema: type: array - items: *290 + items: *291 examples: - default: *291 + default: *292 '500': *96 '403': *27 '404': *6 - '422': *292 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45176,7 +45242,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45575,7 +45641,7 @@ paths: - repos_count - organization examples: - default: &294 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45652,9 +45718,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45739,16 +45805,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '201': description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45818,7 +45884,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45929,7 +45995,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -46038,9 +46104,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: author: login: octocat @@ -46114,7 +46180,7 @@ paths: parameters: - *61 - *62 - - &297 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46126,9 +46192,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46152,7 +46218,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: false content: @@ -46175,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &627 + default: &628 value: author: login: octocat @@ -46249,7 +46315,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 responses: '204': description: Response @@ -46277,7 +46343,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 - *46 - *17 - *19 @@ -46288,7 +46354,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46368,7 +46434,7 @@ paths: - updated_at - url examples: - default: &628 + default: &629 value: - author: login: octocat @@ -46438,7 +46504,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: true content: @@ -46460,9 +46526,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &299 + default: &300 value: author: login: octocat @@ -46530,8 +46596,8 @@ paths: parameters: - *61 - *62 - - *297 - - &300 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46543,9 +46609,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46569,8 +46635,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 requestBody: required: true content: @@ -46592,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: &629 + default: &630 value: author: login: octocat @@ -46660,8 +46726,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 responses: '204': description: Response @@ -46689,8 +46755,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46716,7 +46782,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46760,7 +46826,7 @@ paths: - content - created_at examples: - default: &303 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46812,8 +46878,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *298 + - *301 requestBody: required: true content: @@ -46846,9 +46912,9 @@ paths: team discussion comment content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46877,9 +46943,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46904,9 +46970,9 @@ paths: parameters: - *61 - *62 - - *297 - - *300 - - &304 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46940,7 +47006,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46966,9 +47032,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -46996,7 +47062,7 @@ paths: parameters: - *61 - *62 - - *297 + - *298 requestBody: required: true content: @@ -47028,16 +47094,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47062,8 +47128,8 @@ paths: parameters: - *61 - *62 - - *297 - - *304 + - *298 + - *305 responses: '204': description: Response @@ -47184,7 +47250,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47212,7 +47278,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &630 + response-if-user-is-a-team-maintainer: &631 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47275,9 +47341,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &631 + response-if-users-membership-with-team-is-now-pending: &632 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47350,7 +47416,7 @@ paths: application/json: schema: type: array - items: &306 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47419,7 +47485,7 @@ paths: - updated_at - permissions examples: - default: &632 + default: &633 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47484,7 +47550,7 @@ paths: parameters: - *61 - *62 - - &307 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47496,9 +47562,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: &633 + default: &634 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47562,7 +47628,7 @@ paths: parameters: - *61 - *62 - - *307 + - *308 requestBody: required: false content: @@ -47631,7 +47697,7 @@ paths: parameters: - *61 - *62 - - *307 + - *308 responses: '204': description: Response @@ -47702,14 +47768,14 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &634 + schema: &635 title: Team Repository description: A team's access to a repository. type: object @@ -48352,8 +48418,8 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 requestBody: required: false content: @@ -48400,8 +48466,8 @@ paths: parameters: - *61 - *62 - - *308 - *309 + - *310 responses: '204': description: Response @@ -48438,7 +48504,7 @@ paths: type: array items: *170 examples: - response-if-child-teams-exist: &635 + response-if-child-teams-exist: &636 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48565,7 +48631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &310 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48577,7 +48643,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48631,7 +48697,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48666,7 +48732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -48691,9 +48757,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48718,7 +48784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *310 + - *311 responses: '204': description: Response @@ -48747,7 +48813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -48808,7 +48874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *307 + - *308 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -48865,7 +48931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *307 + - *308 - *57 requestBody: required: false @@ -48920,7 +48986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *307 + - *308 - *57 responses: '204': @@ -48952,7 +49018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *307 + - *308 - *57 responses: '200': @@ -49050,7 +49116,7 @@ paths: resources: type: object properties: - core: &313 + core: &314 title: Rate Limit type: object properties: @@ -49067,21 +49133,21 @@ paths: - remaining - reset - used - graphql: *313 - search: *313 - code_search: *313 - source_import: *313 - integration_manifest: *313 - code_scanning_upload: *313 - actions_runner_registration: *313 - scim: *313 - dependency_snapshots: *313 - dependency_sbom: *313 - code_scanning_autofix: *313 + graphql: *314 + search: *314 + code_search: *314 + source_import: *314 + integration_manifest: *314 + code_scanning_upload: *314 + actions_runner_registration: *314 + scim: *314 + dependency_snapshots: *314 + dependency_sbom: *314 + code_scanning_autofix: *314 required: - core - search - rate: *313 + rate: *314 required: - rate - resources @@ -49186,14 +49252,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *314 + schema: *315 examples: default-response: summary: Default response @@ -49694,7 +49760,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *315 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49712,8 +49778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -49961,10 +50027,10 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 - '307': &317 + default: *317 + '307': &318 description: Temporary Redirect content: application/json: @@ -49993,8 +50059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -50016,7 +50082,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *317 + '307': *318 '404': *6 '409': *45 x-github: @@ -50040,11 +50106,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &348 + - &349 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50067,7 +50133,7 @@ paths: type: integer artifacts: type: array - items: &318 + items: &319 title: Artifact description: An artifact type: object @@ -50162,7 +50228,7 @@ paths: - expires_at - updated_at examples: - default: &349 + default: &350 value: total_count: 2 artifacts: @@ -50223,9 +50289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *308 - *309 - - &319 + - *310 + - &320 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50237,7 +50303,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: default: value: @@ -50275,9 +50341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *308 - *309 - - *319 + - *310 + - *320 responses: '204': description: Response @@ -50301,9 +50367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *308 - *309 - - *319 + - *310 + - *320 - name: archive_format in: path required: true @@ -50317,7 +50383,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &499 + '410': &500 description: Gone content: application/json: @@ -50344,14 +50410,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -50377,11 +50443,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &321 + - &322 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50415,7 +50481,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &323 title: Repository actions caches description: Repository actions caches type: object @@ -50465,7 +50531,7 @@ paths: - total_count - actions_caches examples: - default: &323 + default: &324 value: total_count: 1 actions_caches: @@ -50497,23 +50563,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *308 - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *321 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50533,8 +50599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *308 - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50565,9 +50631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *308 - *309 - - &324 + - *310 + - &325 name: job_id description: The unique identifier of the job. in: path @@ -50579,7 +50645,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Job description: Information of a job execution in a workflow run type: object @@ -50926,9 +50992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *308 - *309 - - *324 + - *310 + - *325 responses: '302': description: Response @@ -50956,9 +51022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *308 - *309 - - *324 + - *310 + - *325 requestBody: required: false content: @@ -51004,8 +51070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Status response @@ -51055,8 +51121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51119,8 +51185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51138,7 +51204,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &355 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51159,7 +51225,7 @@ paths: - created_at - updated_at examples: - default: &355 + default: &356 value: total_count: 2 secrets: @@ -51192,9 +51258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *308 - *309 - - *325 + - *310 + - *326 - *19 responses: '200': @@ -51211,7 +51277,7 @@ paths: type: integer variables: type: array - items: &358 + items: &359 title: Actions Variable type: object properties: @@ -51245,7 +51311,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &360 value: total_count: 2 variables: @@ -51278,8 +51344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51288,11 +51354,11 @@ paths: schema: type: object properties: - enabled: &327 + enabled: &328 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *121 - selected_actions_url: *326 + selected_actions_url: *327 sha_pinning_required: *122 required: - enabled @@ -51321,8 +51387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51333,7 +51399,7 @@ paths: schema: type: object properties: - enabled: *327 + enabled: *328 allowed_actions: *121 sha_pinning_required: *122 required: @@ -51365,14 +51431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &328 + schema: &329 type: object properties: access_level: @@ -51389,7 +51455,7 @@ paths: required: - access_level examples: - default: &329 + default: &330 value: access_level: organization x-github: @@ -51413,15 +51479,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *328 + schema: *329 examples: - default: *329 + default: *330 responses: '204': description: Response @@ -51445,14 +51511,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default: value: @@ -51476,8 +51542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51487,7 +51553,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *332 examples: default: summary: Set retention days @@ -51511,8 +51577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51520,7 +51586,7 @@ paths: application/json: schema: *123 examples: - default: *332 + default: *333 '404': *6 x-github: enabledForGitHubApps: true @@ -51539,8 +51605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51574,14 +51640,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *333 + schema: *334 examples: default: *124 '403': *27 @@ -51603,13 +51669,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: default: *124 responses: @@ -51635,8 +51701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51663,8 +51729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51696,14 +51762,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: *131 x-github: @@ -51726,8 +51792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Success response @@ -51738,7 +51804,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *337 examples: default: *131 x-github: @@ -51767,8 +51833,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51812,8 +51878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51821,9 +51887,9 @@ paths: application/json: schema: type: array - items: *337 + items: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51845,8 +51911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51889,7 +51955,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *339 + '201': *340 '404': *6 '422': *7 '409': *45 @@ -51920,8 +51986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -51929,7 +51995,7 @@ paths: application/json: schema: *140 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51957,8 +52023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -51966,7 +52032,7 @@ paths: application/json: schema: *140 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51988,8 +52054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '200': @@ -51998,7 +52064,7 @@ paths: application/json: schema: *138 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52019,8 +52085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '204': @@ -52047,8 +52113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: '200': *142 @@ -52073,8 +52139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 requestBody: required: true @@ -52123,8 +52189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 requestBody: required: true @@ -52174,11 +52240,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 responses: - '200': *343 + '200': *344 '404': *6 x-github: githubCloudOnly: false @@ -52205,10 +52271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *308 - *309 + - *310 - *137 - - *344 + - *345 responses: '200': *142 '404': *6 @@ -52236,9 +52302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *308 - *309 - - &362 + - *310 + - &363 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52246,7 +52312,7 @@ paths: required: false schema: type: string - - &363 + - &364 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52254,7 +52320,7 @@ paths: required: false schema: type: string - - &364 + - &365 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52263,7 +52329,7 @@ paths: required: false schema: type: string - - &365 + - &366 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52290,7 +52356,7 @@ paths: - pending - *17 - *19 - - &366 + - &367 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52299,7 +52365,7 @@ paths: schema: type: string format: date-time - - &345 + - &346 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52308,13 +52374,13 @@ paths: schema: type: boolean default: false - - &367 + - &368 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &368 + - &369 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52337,7 +52403,7 @@ paths: type: integer workflow_runs: type: array - items: &346 + items: &347 title: Workflow Run description: An invocation of a workflow type: object @@ -52454,7 +52520,7 @@ paths: type: - array - 'null' - items: &387 + items: &388 title: Pull Request Minimal type: object properties: @@ -52581,7 +52647,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &392 title: Simple Commit description: A commit. type: object @@ -52696,7 +52762,7 @@ paths: - workflow_url - pull_requests examples: - default: &369 + default: &370 value: total_count: 1 workflow_runs: @@ -52932,24 +52998,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *308 - *309 - - &347 + - *310 + - &348 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: &350 + default: &351 value: id: 30433642 name: Build @@ -53190,9 +53256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '204': description: Response @@ -53215,9 +53281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -53345,9 +53411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '201': description: Response @@ -53380,12 +53446,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *308 - *309 - - *347 + - *310 + - *348 - *17 - *19 - - *348 + - *349 responses: '200': description: Response @@ -53401,9 +53467,9 @@ paths: type: integer artifacts: type: array - items: *318 + items: *319 examples: - default: *349 + default: *350 headers: Link: *52 x-github: @@ -53427,25 +53493,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *308 - *309 - - *347 - - &351 + - *310 + - *348 + - &352 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53468,10 +53534,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *308 - *309 - - *347 - - *351 + - *310 + - *348 + - *352 - *17 - *19 responses: @@ -53489,9 +53555,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *353 examples: - default: &353 + default: &354 value: total_count: 1 jobs: @@ -53604,10 +53670,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *308 - *309 - - *347 - - *351 + - *310 + - *348 + - *352 responses: '302': description: Response @@ -53635,9 +53701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '202': description: Response @@ -53670,9 +53736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: true content: @@ -53739,9 +53805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '202': description: Response @@ -53774,9 +53840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -53806,9 +53872,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *52 x-github: @@ -53833,9 +53899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '302': description: Response @@ -53862,9 +53928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '204': description: Response @@ -53891,9 +53957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -53962,7 +54028,7 @@ paths: items: type: object properties: - type: &465 + type: &466 type: string description: The type of reviewer. enum: @@ -54048,9 +54114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: true content: @@ -54100,7 +54166,7 @@ paths: application/json: schema: type: array - items: &460 + items: &461 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54212,7 +54278,7 @@ paths: - created_at - updated_at examples: - default: &461 + default: &462 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54268,9 +54334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: false content: @@ -54315,9 +54381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *308 - *309 - - *347 + - *310 + - *348 requestBody: required: false content: @@ -54371,9 +54437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *308 - *309 - - *347 + - *310 + - *348 responses: '200': description: Response @@ -54510,8 +54576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54529,9 +54595,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *52 x-github: @@ -54556,16 +54622,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54587,17 +54653,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: &478 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54623,8 +54689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -54682,8 +54748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -54709,9 +54775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *308 - *309 - - *325 + - *310 + - *326 - *19 responses: '200': @@ -54728,9 +54794,9 @@ paths: type: integer variables: type: array - items: *358 + items: *359 examples: - default: *359 + default: *360 headers: Link: *52 x-github: @@ -54753,8 +54819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -54806,17 +54872,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: &479 + default: &480 value: name: USERNAME value: octocat @@ -54842,8 +54908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 requestBody: required: true @@ -54886,8 +54952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *308 - *309 + - *310 - *147 responses: '204': @@ -54913,8 +54979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54932,7 +54998,7 @@ paths: type: integer workflows: type: array - items: &360 + items: &361 title: Workflow description: A GitHub Actions workflow type: object @@ -55050,9 +55116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *308 - *309 - - &361 + - *310 + - &362 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55067,7 +55133,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: default: value: @@ -55100,9 +55166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55127,9 +55193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55180,9 +55246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '204': description: Response @@ -55209,19 +55275,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *308 - *309 - - *361 + - *310 - *362 - *363 - *364 - *365 + - *366 - *17 - *19 - - *366 - - *345 - *367 + - *346 - *368 + - *369 responses: '200': description: Response @@ -55237,9 +55303,9 @@ paths: type: integer workflow_runs: type: array - items: *346 + items: *347 examples: - default: *369 + default: *370 headers: Link: *52 x-github: @@ -55271,9 +55337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *308 - *309 - - *361 + - *310 + - *362 responses: '200': description: Response @@ -55334,8 +55400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *308 - *309 + - *310 - *46 - *17 - *38 @@ -55503,8 +55569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55541,8 +55607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *308 - *309 + - *310 - name: assignee in: path required: true @@ -55578,8 +55644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55691,8 +55757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *308 - *309 + - *310 - *17 - *38 - *39 @@ -55749,7 +55815,7 @@ paths: initiator: type: string examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55769,8 +55835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -55778,7 +55844,7 @@ paths: application/json: schema: type: array - items: &371 + items: &372 title: Autolink reference description: An autolink reference. type: object @@ -55837,8 +55903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55877,9 +55943,9 @@ paths: description: response content: application/json: - schema: *371 + schema: *372 examples: - default: &372 + default: &373 value: id: 1 key_prefix: TICKET- @@ -55910,9 +55976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *308 - *309 - - &373 + - *310 + - &374 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55924,9 +55990,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 '404': *6 x-github: githubCloudOnly: false @@ -55946,9 +56012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *308 - *309 - - *373 + - *310 + - *374 responses: '204': description: Response @@ -55972,8 +56038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56023,8 +56089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56045,8 +56111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56066,8 +56132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *308 - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56105,7 +56171,7 @@ paths: - url protected: type: boolean - protection: &375 + protection: &376 title: Branch Protection description: Branch Protection type: object @@ -56148,7 +56214,7 @@ paths: required: - contexts - checks - enforce_admins: &378 + enforce_admins: &379 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56165,7 +56231,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &380 + required_pull_request_reviews: &381 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56249,7 +56315,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &377 + restrictions: &378 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56542,9 +56608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *308 - *309 - - &376 + - *310 + - &377 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56558,14 +56624,14 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &436 + commit: &437 title: Commit description: Commit type: object @@ -56604,7 +56670,7 @@ paths: author: anyOf: - type: 'null' - - &374 + - &375 title: Git User description: Metaproperties for Git author/committer information. @@ -56625,7 +56691,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 message: type: string examples: @@ -56649,7 +56715,7 @@ paths: required: - sha - url - verification: &485 + verification: &486 title: Verification type: object properties: @@ -56729,7 +56795,7 @@ paths: type: integer files: type: array - items: &447 + items: &448 title: Diff Entry description: Diff Entry type: object @@ -56825,7 +56891,7 @@ paths: - self protected: type: boolean - protection: *375 + protection: *376 protection_url: type: string format: uri @@ -56934,7 +57000,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *315 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -56956,15 +57022,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -57158,9 +57224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -57420,7 +57486,7 @@ paths: url: type: string format: uri - required_status_checks: &383 + required_status_checks: &384 title: Status Check Policy description: Status Check Policy type: object @@ -57579,7 +57645,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *377 + restrictions: *378 required_conversation_resolution: type: object properties: @@ -57691,9 +57757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -57718,17 +57784,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: &379 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57750,17 +57816,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57779,9 +57845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -57806,17 +57872,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &381 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57912,9 +57978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58012,9 +58078,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '422': *15 x-github: githubCloudOnly: false @@ -58035,9 +58101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58064,17 +58130,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: &382 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58097,17 +58163,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *382 + default: *383 '404': *6 x-github: githubCloudOnly: false @@ -58127,9 +58193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58154,17 +58220,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: &384 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58190,9 +58256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58244,9 +58310,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *384 + default: *385 '404': *6 '422': *15 x-github: @@ -58268,9 +58334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58294,9 +58360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58330,9 +58396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58399,9 +58465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58465,9 +58531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: content: application/json: @@ -58533,15 +58599,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -58632,9 +58698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '204': description: Response @@ -58657,9 +58723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58669,7 +58735,7 @@ paths: type: array items: *5 examples: - default: &385 + default: &386 value: - id: 1 slug: octoapp @@ -58726,9 +58792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58762,7 +58828,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58783,9 +58849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58819,7 +58885,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58840,9 +58906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -58876,7 +58942,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -58898,9 +58964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -58930,9 +58996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -58991,9 +59057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: false content: @@ -59052,9 +59118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: content: application/json: @@ -59113,9 +59179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 responses: '200': description: Response @@ -59149,9 +59215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59209,9 +59275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59269,9 +59335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59331,9 +59397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 requestBody: required: true content: @@ -59355,7 +59421,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -59471,8 +59537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -59751,7 +59817,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &389 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59886,7 +59952,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *387 + items: *388 deployment: &693 title: Deployment description: A deployment created as the result of an Actions @@ -60174,9 +60240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *308 - *309 - - &389 + - *310 + - &390 name: check_run_id description: The unique identifier of the check run. in: path @@ -60188,9 +60254,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: &390 + default: &391 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60290,9 +60356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *308 - *309 - - *389 + - *310 + - *390 requestBody: required: true content: @@ -60532,9 +60598,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: *390 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60554,9 +60620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *308 - *309 - - *389 + - *310 + - *390 - *17 - *19 responses: @@ -60666,9 +60732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *308 - *309 - - *389 + - *310 + - *390 responses: '201': description: Response @@ -60712,8 +60778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -60735,7 +60801,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &393 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60817,7 +60883,7 @@ paths: type: - array - 'null' - items: *387 + items: *388 app: anyOf: - type: 'null' @@ -60833,7 +60899,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *392 latest_check_runs_count: type: integer check_runs_url: @@ -60861,7 +60927,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &394 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61152,9 +61218,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61173,8 +61239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61483,9 +61549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *308 - *309 - - &394 + - *310 + - &395 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61497,9 +61563,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61522,17 +61588,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *308 - *309 - - *394 - - &442 + - *310 + - *395 + - &443 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &444 name: status description: Returns check runs with the specified `status`. in: query @@ -61571,9 +61637,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *389 examples: - default: &444 + default: &445 value: total_count: 1 check_runs: @@ -61675,9 +61741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *308 - *309 - - *394 + - *310 + - *395 responses: '201': description: Response @@ -61710,21 +61776,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *395 + - *310 - *396 + - *397 - *19 - *17 - - &413 + - &414 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *397 - - &414 + schema: *398 + - &415 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61749,13 +61815,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *399 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *400 responses: '200': description: Response @@ -61771,7 +61837,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: *400 + instances_url: *401 state: *161 fixed_at: *157 dismissed_by: @@ -61779,11 +61845,11 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_reason: *402 + dismissed_comment: *403 + rule: *404 + tool: *405 + most_recent_instance: *406 dismissal_approved_by: anyOf: - type: 'null' @@ -61906,7 +61972,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &407 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61933,9 +61999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *308 - *309 - - &407 + - *310 + - &408 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61949,7 +62015,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 type: object properties: number: *152 @@ -61957,7 +62023,7 @@ paths: updated_at: *154 url: *155 html_url: *156 - instances_url: *400 + instances_url: *401 state: *161 fixed_at: *157 dismissed_by: @@ -61965,8 +62031,8 @@ paths: - type: 'null' - *4 dismissed_at: *158 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *402 + dismissed_comment: *403 rule: type: object properties: @@ -62028,8 +62094,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *405 + most_recent_instance: *406 dismissal_approved_by: anyOf: - type: 'null' @@ -62125,7 +62191,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62145,9 +62211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: true content: @@ -62162,8 +62228,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *402 + dismissed_comment: *403 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62182,7 +62248,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -62258,7 +62324,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &413 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62285,15 +62351,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 responses: '200': description: Response content: application/json: - schema: &409 + schema: &410 type: object properties: status: @@ -62320,13 +62386,13 @@ paths: - description - started_at examples: - default: &410 + default: &411 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &412 description: Bad Request content: application/json: @@ -62337,7 +62403,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62362,29 +62428,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 responses: '200': description: OK content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '202': description: Accepted content: application/json: - schema: *409 + schema: *410 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *412 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62416,9 +62482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: false content: @@ -62464,8 +62530,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *412 + '403': *413 '404': *6 '422': description: Unprocessable Entity @@ -62489,13 +62555,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 - *19 - *17 - - *413 - *414 + - *415 responses: '200': description: Response @@ -62503,7 +62569,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -62542,7 +62608,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62576,25 +62642,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *308 - *309 - - *395 + - *310 - *396 + - *397 - *19 - *17 - - *414 + - *415 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *397 + schema: *398 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &417 + schema: &418 type: string description: An identifier for the upload. examples: @@ -62616,23 +62682,23 @@ paths: application/json: schema: type: array - items: &418 + items: &419 type: object properties: - ref: *397 - commit_sha: &426 + ref: *398 + commit_sha: &427 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *415 + analysis_key: *416 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *416 + category: *417 error: type: string examples: @@ -62657,8 +62723,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *417 - tool: *404 + sarif_id: *418 + tool: *405 deletable: type: boolean warning: @@ -62720,7 +62786,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -62756,8 +62822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62770,7 +62836,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: response: summary: application/json response @@ -62824,7 +62890,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *407 '404': *6 '422': description: Response if analysis could not be processed @@ -62911,8 +62977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62968,7 +63034,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *412 + '403': *413 '404': *6 '503': *97 x-github: @@ -62990,8 +63056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -62999,7 +63065,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: CodeQL Database description: A CodeQL database. type: object @@ -63111,7 +63177,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -63140,8 +63206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63153,7 +63219,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: default: value: @@ -63185,9 +63251,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &449 + '302': &450 description: Found - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -63209,8 +63275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63220,7 +63286,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *413 '404': *6 '503': *97 x-github: @@ -63248,8 +63314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -63258,7 +63324,7 @@ paths: type: object additionalProperties: false properties: - language: &420 + language: &421 type: string description: The language targeted by the CodeQL query enum: @@ -63337,7 +63403,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &424 + schema: &425 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63347,7 +63413,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *420 + query_language: *421 query_pack_url: type: string description: The download url for the query pack. @@ -63395,7 +63461,7 @@ paths: items: type: object properties: - repository: &421 + repository: &422 title: Repository Identifier description: Repository Identifier type: object @@ -63437,7 +63503,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &425 + analysis_status: &426 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63469,7 +63535,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &422 + access_mismatch_repos: &423 type: object properties: repository_count: @@ -63484,7 +63550,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *421 + items: *422 required: - repository_count - repositories @@ -63507,8 +63573,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *422 - over_limit_repos: *422 + no_codeql_db_repos: *423 + over_limit_repos: *423 required: - access_mismatch_repos - not_found_repos @@ -63524,7 +63590,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &423 + value: &424 summary: Default response value: id: 1 @@ -63676,10 +63742,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *423 + value: *424 repository_lists: summary: Response for a successful variant analysis submission - value: *423 + value: *424 '404': *6 '422': description: Unable to process variant analysis submission @@ -63707,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63720,9 +63786,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: *423 + default: *424 '404': *6 '503': *97 x-github: @@ -63745,7 +63811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *308 + - *309 - name: repo in: path description: The name of the controller repository. @@ -63780,7 +63846,7 @@ paths: type: object properties: repository: *51 - analysis_status: *425 + analysis_status: *426 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63905,8 +63971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -63999,7 +64065,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *407 '404': *6 '503': *97 x-github: @@ -64020,8 +64086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64115,7 +64181,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *413 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64186,8 +64252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64195,7 +64261,7 @@ paths: schema: type: object properties: - commit_sha: *426 + commit_sha: *427 ref: type: string description: |- @@ -64255,7 +64321,7 @@ paths: schema: type: object properties: - id: *417 + id: *418 url: type: string description: The REST API URL for checking the status of the upload. @@ -64269,7 +64335,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *412 + '403': *413 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64292,8 +64358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *308 - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64341,7 +64407,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *406 + '403': *407 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64366,8 +64432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64448,8 +64514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *308 - *309 + - *310 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64577,8 +64643,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -64892,8 +64958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64959,7 +65025,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -64967,7 +65033,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '400': *14 '401': *23 '403': *27 @@ -64996,8 +65062,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65061,8 +65127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *308 - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65099,9 +65165,9 @@ paths: type: integer machines: type: array - items: *428 + items: *429 examples: - default: &642 + default: &643 value: total_count: 2 machines: @@ -65141,8 +65207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *308 - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65229,8 +65295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *308 - *309 + - *310 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65299,8 +65365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -65318,7 +65384,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &433 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65339,7 +65405,7 @@ paths: - created_at - updated_at examples: - default: *429 + default: *430 headers: Link: *52 x-github: @@ -65362,16 +65428,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *430 + schema: *431 examples: - default: *431 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65391,17 +65457,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65421,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -65475,8 +65541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -65505,8 +65571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *308 - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65544,7 +65610,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Collaborator description: Collaborator type: object @@ -65737,8 +65803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 responses: '204': @@ -65785,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 requestBody: required: false @@ -65813,7 +65879,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &498 + schema: &499 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66041,8 +66107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *57 responses: '204': @@ -66074,8 +66140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *308 - *309 + - *310 - *57 responses: '200': @@ -66096,7 +66162,7 @@ paths: user: anyOf: - type: 'null' - - *434 + - *435 required: - permission - role_name @@ -66150,8 +66216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -66161,7 +66227,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Commit Comment description: Commit Comment type: object @@ -66219,7 +66285,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &439 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66278,17 +66344,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &439 + default: &440 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66345,8 +66411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -66369,7 +66435,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: default: value: @@ -66420,8 +66486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -66443,8 +66509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66471,9 +66537,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -66494,8 +66560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -66528,16 +66594,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66559,10 +66625,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -66611,8 +66677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *308 - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66668,9 +66734,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66764,9 +66830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *308 - *309 - - &437 + - *310 + - &438 name: commit_sha description: The SHA of the commit. in: path @@ -66838,9 +66904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *308 - *309 - - *437 + - *310 + - *438 - *17 - *19 responses: @@ -66850,9 +66916,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *438 + default: *439 headers: Link: *52 x-github: @@ -66880,9 +66946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *308 - *309 - - *437 + - *310 + - *438 requestBody: required: true content: @@ -66917,9 +66983,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *439 + default: *440 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66947,9 +67013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *308 - *309 - - *437 + - *310 + - *438 - *17 - *19 responses: @@ -66959,9 +67025,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: &540 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67498,11 +67564,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *308 - *309 + - *310 - *19 - *17 - - &441 + - &442 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67517,9 +67583,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67632,11 +67698,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *308 - *309 - - *441 + - *310 - *442 - *443 + - *444 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67670,9 +67736,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *389 examples: - default: *444 + default: *445 headers: Link: *52 x-github: @@ -67697,9 +67763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67707,7 +67773,7 @@ paths: schema: type: integer example: 1 - - *442 + - *443 - *17 - *19 responses: @@ -67725,7 +67791,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *393 examples: default: value: @@ -67925,9 +67991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - *17 - *19 responses: @@ -68129,9 +68195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *308 - *309 - - *441 + - *310 + - *442 - *17 - *19 responses: @@ -68141,7 +68207,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Status description: The status of a commit. type: object @@ -68222,7 +68288,7 @@ paths: site_admin: false headers: Link: *52 - '301': *315 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68250,8 +68316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -68284,11 +68350,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *445 + - *446 code_of_conduct_file: anyOf: - type: 'null' - - &446 + - &447 title: Community Health File type: object properties: @@ -68308,19 +68374,19 @@ paths: contributing: anyOf: - type: 'null' - - *446 + - *447 readme: anyOf: - type: 'null' - - *446 + - *447 issue_template: anyOf: - type: 'null' - - *446 + - *447 pull_request_template: anyOf: - type: 'null' - - *446 + - *447 required: - code_of_conduct - code_of_conduct_file @@ -68449,8 +68515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *308 - *309 + - *310 - *19 - *17 - name: basehead @@ -68498,8 +68564,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *436 - merge_base_commit: *436 + base_commit: *437 + merge_base_commit: *437 status: type: string enum: @@ -68523,10 +68589,10 @@ paths: - 6 commits: type: array - items: *436 + items: *437 files: type: array - items: *447 + items: *448 required: - url - html_url @@ -68812,8 +68878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -68966,7 +69032,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &448 + response-if-content-is-a-file: &449 summary: Response if content is a file value: type: file @@ -69103,7 +69169,7 @@ paths: - size - type - url - - &553 + - &554 title: Content File description: Content File type: object @@ -69321,7 +69387,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *448 + response-if-content-is-a-file: *449 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69390,7 +69456,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *449 + '302': *450 '304': *35 x-github: githubCloudOnly: false @@ -69413,8 +69479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69509,7 +69575,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &451 title: File Commit description: File Commit type: object @@ -69665,7 +69731,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: example-for-creating-a-file: value: @@ -69719,7 +69785,7 @@ paths: schema: oneOf: - *3 - - &480 + - &481 description: Repository rule violation was detected type: object properties: @@ -69740,7 +69806,7 @@ paths: items: type: object properties: - placeholder_id: &605 + placeholder_id: &606 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69772,8 +69838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69834,7 +69900,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: default: value: @@ -69889,8 +69955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *308 - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70014,8 +70080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *308 - *309 + - *310 - *171 - *172 - *173 @@ -70027,7 +70093,7 @@ paths: schema: type: string - *175 - - *451 + - *452 - *176 - *177 - *46 @@ -70048,7 +70114,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 type: object description: A Dependabot alert. properties: @@ -70098,7 +70164,7 @@ paths: - direct - transitive - - security_advisory: *452 + security_advisory: *453 security_vulnerability: *50 url: *155 html_url: *156 @@ -70129,7 +70195,7 @@ paths: dismissal. maxLength: 280 fixed_at: *157 - auto_dismissed_at: *453 + auto_dismissed_at: *454 required: - number - state @@ -70359,9 +70425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *308 - *309 - - &455 + - *310 + - &456 name: alert_number in: path description: |- @@ -70376,7 +70442,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -70489,9 +70555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *308 - *309 - - *455 + - *310 + - *456 requestBody: required: true content: @@ -70536,7 +70602,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -70665,8 +70731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -70684,7 +70750,7 @@ paths: type: integer secrets: type: array - items: &458 + items: &459 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70738,16 +70804,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70767,15 +70833,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -70801,8 +70867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 requestBody: required: true @@ -70855,8 +70921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *144 responses: '204': @@ -70879,8 +70945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *308 - *309 + - *310 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71054,8 +71120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -71315,8 +71381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71399,7 +71465,7 @@ paths: - version - url additionalProperties: false - metadata: &459 + metadata: &460 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71438,7 +71504,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *459 + metadata: *460 resolved: type: object description: A collection of resolved package dependencies. @@ -71452,7 +71518,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *459 + metadata: *460 relationship: type: string description: A notation of whether a dependency is requested @@ -71585,8 +71651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *308 - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71627,9 +71693,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *461 + default: *462 headers: Link: *52 x-github: @@ -71695,8 +71761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71778,7 +71844,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: simple-example: summary: Simple example @@ -71851,9 +71917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *308 - *309 - - &462 + - *310 + - &463 name: deployment_id description: deployment_id parameter in: path @@ -71865,7 +71931,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -71930,9 +71996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *308 - *309 - - *462 + - *310 + - *463 responses: '204': description: Response @@ -71954,9 +72020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *308 - *309 - - *462 + - *310 + - *463 - *17 - *19 responses: @@ -71966,7 +72032,7 @@ paths: application/json: schema: type: array - items: &463 + items: &464 title: Deployment Status description: The status of a deployment. type: object @@ -72130,9 +72196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *308 - *309 - - *462 + - *310 + - *463 requestBody: required: true content: @@ -72207,9 +72273,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: &464 + default: &465 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72265,9 +72331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *308 - *309 - - *462 + - *310 + - *463 - name: status_id in: path required: true @@ -72278,9 +72344,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -72305,8 +72371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72363,8 +72429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -72382,7 +72448,7 @@ paths: - 5 environments: type: array - items: &466 + items: &467 title: Environment description: Details of a deployment environment type: object @@ -72444,7 +72510,7 @@ paths: type: string examples: - wait_timer - wait_timer: &468 + wait_timer: &469 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72486,7 +72552,7 @@ paths: items: type: object properties: - type: *465 + type: *466 reviewer: anyOf: - *4 @@ -72513,7 +72579,7 @@ paths: - id - node_id - type - deployment_branch_policy: &469 + deployment_branch_policy: &470 type: - object - 'null' @@ -72630,9 +72696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *308 - *309 - - &467 + - *310 + - &468 name: environment_name in: path required: true @@ -72645,9 +72711,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: &470 + default: &471 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72731,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: false content: @@ -72743,7 +72809,7 @@ paths: - object - 'null' properties: - wait_timer: *468 + wait_timer: *469 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72762,14 +72828,14 @@ paths: items: type: object properties: - type: *465 + type: *466 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *469 + deployment_branch_policy: *470 additionalProperties: false examples: default: @@ -72789,9 +72855,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: *470 + default: *471 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72815,9 +72881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *308 - *309 - - *467 + - *310 + - *468 responses: '204': description: Default response @@ -72842,9 +72908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *17 - *19 responses: @@ -72863,7 +72929,7 @@ paths: - 2 branch_policies: type: array - items: &471 + items: &472 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72924,9 +72990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: true content: @@ -72974,9 +73040,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - example-wildcard: &472 + example-wildcard: &473 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73018,10 +73084,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - &473 + - *310 + - *468 + - &474 name: branch_policy_id in: path required: true @@ -73033,9 +73099,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73054,10 +73120,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - *473 + - *310 + - *468 + - *474 requestBody: required: true content: @@ -73086,9 +73152,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73107,10 +73173,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *308 - *309 - - *467 - - *473 + - *310 + - *468 + - *474 responses: '204': description: Response @@ -73135,9 +73201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 responses: '200': description: List of deployment protection rules @@ -73154,7 +73220,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &474 + items: &475 title: Deployment protection rule description: Deployment protection rule type: object @@ -73176,7 +73242,7 @@ paths: for the environment. examples: - true - app: &475 + app: &476 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73279,9 +73345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 requestBody: content: application/json: @@ -73302,9 +73368,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *474 + schema: *475 examples: - default: &476 + default: &477 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73339,9 +73405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 - *19 - *17 responses: @@ -73361,7 +73427,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *475 + items: *476 examples: default: value: @@ -73396,10 +73462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *308 - *309 - - *467 - - &477 + - *310 + - *468 + - &478 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73411,9 +73477,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73434,10 +73500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *467 + - *468 + - *310 - *309 - - *308 - - *477 + - *478 responses: '204': description: Response @@ -73463,9 +73529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *17 - *19 responses: @@ -73483,9 +73549,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 headers: Link: *52 x-github: @@ -73510,17 +73576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *308 - *309 - - *467 + - *310 + - *468 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73542,18 +73608,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 responses: '200': description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73575,9 +73641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 requestBody: required: true @@ -73635,9 +73701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *144 responses: '204': @@ -73663,10 +73729,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *308 - *309 - - *467 - - *325 + - *310 + - *468 + - *326 - *19 responses: '200': @@ -73683,9 +73749,9 @@ paths: type: integer variables: type: array - items: *358 + items: *359 examples: - default: *359 + default: *360 headers: Link: *52 x-github: @@ -73708,9 +73774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *308 - *309 - - *467 + - *310 + - *468 requestBody: required: true content: @@ -73762,18 +73828,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *308 - *309 - - *467 + - *310 + - *468 - *147 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73794,10 +73860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *308 - *309 + - *310 - *147 - - *467 + - *468 requestBody: required: true content: @@ -73839,10 +73905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *308 - *309 + - *310 - *147 - - *467 + - *468 responses: '204': description: Response @@ -73864,8 +73930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -73933,8 +73999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *308 - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74093,8 +74159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -74127,9 +74193,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 '400': *14 '422': *15 '403': *27 @@ -74150,8 +74216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74211,7 +74277,7 @@ paths: schema: oneOf: - *105 - - *480 + - *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74236,8 +74302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *308 - *309 + - *310 - name: file_sha in: path required: true @@ -74337,8 +74403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74447,7 +74513,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74674,15 +74740,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *308 - *309 - - *437 + - *310 + - *438 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -74738,9 +74804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *308 - *309 - - &482 + - *310 + - &483 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -74757,7 +74823,7 @@ paths: application/json: schema: type: array - items: &483 + items: &484 title: Git Reference description: Git references within a repository type: object @@ -74833,17 +74899,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &484 + default: &485 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74872,8 +74938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74902,9 +74968,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74930,9 +74996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 requestBody: required: true content: @@ -74961,9 +75027,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 '422': *15 '409': *45 x-github: @@ -74981,9 +75047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *308 - *309 - - *482 + - *310 + - *483 responses: '204': description: Response @@ -75038,8 +75104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75106,7 +75172,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &487 title: Git Tag description: Metadata for a Git tag type: object @@ -75162,7 +75228,7 @@ paths: - sha - type - url - verification: *485 + verification: *486 required: - sha - url @@ -75172,7 +75238,7 @@ paths: - tag - message examples: - default: &487 + default: &488 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75245,8 +75311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *308 - *309 + - *310 - name: tag_sha in: path required: true @@ -75257,9 +75323,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 '409': *45 x-github: @@ -75283,8 +75349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75358,7 +75424,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75460,8 +75526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *308 - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75484,7 +75550,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default-response: summary: Default response @@ -75543,8 +75609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -75554,7 +75620,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Webhook description: Webhooks for repositories. type: object @@ -75694,8 +75760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -75748,9 +75814,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: &490 + default: &491 value: type: Repository id: 12345678 @@ -75798,17 +75864,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -75828,8 +75894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 requestBody: required: true @@ -75875,9 +75941,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 '422': *15 '404': *6 x-github: @@ -75898,8 +75964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -75924,8 +75990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *183 responses: '200': @@ -75953,8 +76019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *183 requestBody: required: false @@ -75999,8 +76065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *17 - *184 @@ -76032,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *16 responses: @@ -76062,8 +76128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 - *16 responses: @@ -76087,8 +76153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -76114,8 +76180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *308 - *309 + - *310 - *183 responses: '204': @@ -76139,8 +76205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76188,8 +76254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *166 '409': *45 @@ -76209,8 +76275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *166 '409': *45 @@ -76267,14 +76333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &491 + schema: &492 title: Import description: A repository import from an external source. type: object @@ -76381,7 +76447,7 @@ paths: - html_url - authors_url examples: - default: &494 + default: &495 value: vcs: subversion use_lfs: true @@ -76397,7 +76463,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &492 + '503': &493 description: Unavailable due to service under maintenance. content: application/json: @@ -76426,8 +76492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76475,7 +76541,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: value: @@ -76500,7 +76566,7 @@ paths: type: string '422': *15 '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76528,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -76581,7 +76647,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: example-1: summary: Example 1 @@ -76629,7 +76695,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76652,12 +76718,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *308 - *309 + - *310 responses: '204': description: Response - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76683,9 +76749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *308 - *309 - - &663 + - *310 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76699,7 +76765,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Porter Author description: Porter Author type: object @@ -76753,7 +76819,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76778,8 +76844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *308 - *309 + - *310 - name: author_id in: path required: true @@ -76809,7 +76875,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -76822,7 +76888,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76846,8 +76912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -76888,7 +76954,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76916,8 +76982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76944,11 +77010,11 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *494 + default: *495 '422': *15 - '503': *492 + '503': *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76971,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -76980,8 +77046,8 @@ paths: application/json: schema: *20 examples: - default: *495 - '301': *315 + default: *496 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -77001,8 +77067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77015,7 +77081,7 @@ paths: properties: {} additionalProperties: false examples: - default: &497 + default: &498 value: limit: collaborators_only origin: repository @@ -77040,13 +77106,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *496 + schema: *497 examples: default: summary: Example request body @@ -77060,7 +77126,7 @@ paths: application/json: schema: *201 examples: - default: *497 + default: *498 '409': description: Response x-github: @@ -77082,8 +77148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -77106,8 +77172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -77117,9 +77183,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -77250,8 +77316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *308 - *309 + - *310 - *205 requestBody: required: false @@ -77281,7 +77347,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77412,8 +77478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *308 - *309 + - *310 - *205 responses: '204': @@ -77445,8 +77511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *308 - *309 + - *310 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77519,7 +77585,7 @@ paths: type: array items: *78 examples: - default: &506 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77667,7 +77733,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *315 + '301': *316 '422': *15 '404': *6 x-github: @@ -77696,8 +77762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -77789,7 +77855,7 @@ paths: application/json: schema: *78 examples: - default: &503 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -77945,7 +78011,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *499 + '410': *500 x-github: triggersNotification: true githubCloudOnly: false @@ -77973,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77995,9 +78061,9 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: &505 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78055,17 +78121,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78119,8 +78185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -78143,9 +78209,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78163,8 +78229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -78185,8 +78251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78213,9 +78279,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -78236,8 +78302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -78270,16 +78336,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78301,10 +78367,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -78324,8 +78390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -78335,7 +78401,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Issue Event description: Issue Event type: object @@ -78674,8 +78740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *308 - *309 + - *310 - name: event_id in: path required: true @@ -78686,7 +78752,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -78879,7 +78945,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *499 + '410': *500 '403': *27 x-github: githubCloudOnly: false @@ -78913,9 +78979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *308 - *309 - - &504 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -78929,10 +78995,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '404': *6 - '410': *499 + '410': *500 '304': *35 x-github: githubCloudOnly: false @@ -78957,9 +79023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -79080,13 +79146,13 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '422': *15 '503': *97 '403': *27 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79104,9 +79170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -79134,7 +79200,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79150,9 +79216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: content: application/json: @@ -79179,7 +79245,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79201,9 +79267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: assignee in: path required: true @@ -79243,9 +79309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *68 - *17 - *19 @@ -79256,13 +79322,13 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: *505 + default: *506 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79291,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -79315,16 +79381,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -79352,9 +79418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79366,12 +79432,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79399,9 +79465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -79425,15 +79491,15 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *315 + '301': *316 '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -79464,9 +79530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79480,13 +79546,13 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *499 + '410': *500 x-github: triggersNotification: true githubCloudOnly: false @@ -79512,9 +79578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79526,12 +79592,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79548,9 +79614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -79564,7 +79630,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &509 + - &510 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79613,7 +79679,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79741,7 +79807,7 @@ paths: - performed_via_github_app - assignee - assigner - - &511 + - &512 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79787,7 +79853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &513 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79833,7 +79899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &514 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79882,7 +79948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &515 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79924,7 +79990,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79966,7 +80032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &517 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80022,7 +80088,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Locked Issue Event description: Locked Issue Event type: object @@ -80067,7 +80133,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80128,7 +80194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80189,7 +80255,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80250,7 +80316,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80343,7 +80409,7 @@ paths: color: red headers: Link: *52 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80360,9 +80426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -80372,7 +80438,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80427,7 +80493,7 @@ paths: - color - default examples: - default: &508 + default: &509 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80445,9 +80511,9 @@ paths: default: false headers: Link: *52 - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80464,9 +80530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80525,12 +80591,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *315 + default: *509 + '301': *316 '404': *6 - '410': *499 + '410': *500 '422': *15 x-github: githubCloudOnly: false @@ -80547,9 +80613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80609,12 +80675,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *315 + default: *509 + '301': *316 '404': *6 - '410': *499 + '410': *500 '422': *15 x-github: githubCloudOnly: false @@ -80631,15 +80697,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '204': description: Response - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80658,9 +80724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: name in: path required: true @@ -80673,7 +80739,7 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: default: value: @@ -80684,9 +80750,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *315 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80706,9 +80772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: false content: @@ -80737,7 +80803,7 @@ paths: '204': description: Response '403': *27 - '410': *499 + '410': *500 '404': *6 '422': *15 x-github: @@ -80755,9 +80821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '204': description: Response @@ -80787,9 +80853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 responses: '200': description: Response @@ -80797,10 +80863,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *315 + default: *504 + '301': *316 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80817,9 +80883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -80845,13 +80911,13 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80869,9 +80935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -80903,16 +80969,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -80934,10 +81000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *308 - *309 - - *504 - - *304 + - *310 + - *505 + - *305 responses: '204': description: Response @@ -80966,9 +81032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -80992,7 +81058,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81025,9 +81091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -81039,11 +81105,11 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81071,9 +81137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -81102,14 +81168,14 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *499 + '410': *500 '422': *15 '404': *6 x-github: @@ -81129,9 +81195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 requestBody: required: true content: @@ -81164,7 +81230,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '403': *27 '404': *6 '422': *7 @@ -81186,9 +81252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *308 - *309 - - *504 + - *310 + - *505 - *17 - *19 responses: @@ -81203,7 +81269,6 @@ paths: description: Timeline Event type: object anyOf: - - *509 - *510 - *511 - *512 @@ -81216,6 +81281,7 @@ paths: - *519 - *520 - *521 + - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81544,7 +81610,7 @@ paths: type: string comments: type: array - items: &542 + items: &543 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81782,7 +81848,7 @@ paths: type: string comments: type: array - items: *435 + items: *436 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82057,7 +82123,7 @@ paths: headers: Link: *52 '404': *6 - '410': *499 + '410': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82074,8 +82140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82085,7 +82151,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82153,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82190,9 +82256,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: id: 1 key: ssh-rsa AAA... @@ -82226,9 +82292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *308 - *309 - - &524 + - *310 + - &525 name: key_id description: The unique identifier of the key. in: path @@ -82240,9 +82306,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -82260,9 +82326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *308 - *309 - - *524 + - *310 + - *525 responses: '204': description: Response @@ -82282,8 +82348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82293,9 +82359,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 '404': *6 @@ -82316,8 +82382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82353,9 +82419,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &525 + default: &526 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82387,8 +82453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82399,9 +82465,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82418,8 +82484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82458,7 +82524,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -82484,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82511,8 +82577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -82551,9 +82617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *308 - *309 - - *413 + - *310 + - *414 responses: '200': description: Response @@ -82700,8 +82766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82766,8 +82832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82801,9 +82867,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *436 + schema: *437 examples: - default: *526 + default: *527 '204': description: Response when already merged '404': @@ -82828,8 +82894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *308 - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82870,7 +82936,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -82926,8 +82992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82967,9 +83033,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83028,9 +83094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *308 - *309 - - &528 + - *310 + - &529 name: milestone_number description: The number that identifies the milestone. in: path @@ -83042,9 +83108,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -83061,9 +83127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 requestBody: required: false content: @@ -83101,9 +83167,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83119,9 +83185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 responses: '204': description: Response @@ -83142,9 +83208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *308 - *309 - - *528 + - *310 + - *529 - *17 - *19 responses: @@ -83154,9 +83220,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 x-github: @@ -83175,12 +83241,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *308 - *309 - - *529 + - *310 - *530 - - *68 - *531 + - *68 + - *532 - *17 - *19 responses: @@ -83192,7 +83258,7 @@ paths: type: array items: *90 examples: - default: *532 + default: *533 headers: Link: *52 x-github: @@ -83216,8 +83282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -83275,14 +83341,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &533 + schema: &534 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83426,7 +83492,7 @@ paths: - custom_404 - public examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83467,8 +83533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83523,9 +83589,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '422': *15 '409': *45 x-github: @@ -83548,8 +83614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83649,8 +83715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -83676,8 +83742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -83687,7 +83753,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Page Build description: Page Build type: object @@ -83779,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -83827,16 +83893,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83884,8 +83950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *308 - *309 + - *310 - name: build_id in: path required: true @@ -83896,9 +83962,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83918,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84027,9 +84093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *308 - *309 - - &537 + - *310 + - &538 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84087,9 +84153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *308 - *309 - - *537 + - *310 + - *538 responses: '204': *166 '404': *6 @@ -84116,8 +84182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84412,8 +84478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84450,8 +84516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *166 '422': *14 @@ -84472,8 +84538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *166 '422': *14 @@ -84495,8 +84561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84506,7 +84572,7 @@ paths: type: array items: *95 examples: - default: *538 + default: *539 '403': *27 '404': *6 x-github: @@ -84528,8 +84594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84545,7 +84611,7 @@ paths: required: - properties examples: - default: *539 + default: *540 responses: '204': description: No Content when custom property values are successfully created @@ -84583,8 +84649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *308 - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84644,9 +84710,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *540 + default: *541 headers: Link: *52 '304': *35 @@ -84678,8 +84744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84746,7 +84812,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84875,7 +84941,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -84968,14 +85034,14 @@ paths: _links: type: object properties: - comments: *244 - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + comments: *243 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -84986,7 +85052,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *541 + auto_merge: *542 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85088,7 +85154,7 @@ paths: - merged_by - review_comments examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85615,8 +85681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *308 - *309 + - *310 - name: sort in: query required: false @@ -85645,9 +85711,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85724,17 +85790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85809,8 +85875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -85833,9 +85899,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85851,8 +85917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *77 responses: '204': @@ -85874,8 +85940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85902,9 +85968,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -85925,8 +85991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *77 requestBody: required: true @@ -85959,16 +86025,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -85990,10 +86056,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *308 - *309 + - *310 - *77 - - *304 + - *305 responses: '204': description: Response @@ -86036,9 +86102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *308 - *309 - - &546 + - *310 + - &547 name: pull_number description: The number that identifies the pull request. in: path @@ -86051,9 +86117,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '304': *35 '404': *6 '406': @@ -86088,9 +86154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86132,9 +86198,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '422': *15 '403': *27 x-github: @@ -86156,9 +86222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -86221,7 +86287,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86229,7 +86295,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -86259,9 +86325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86282,9 +86348,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: *547 + default: *548 headers: Link: *52 x-github: @@ -86317,9 +86383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -86425,7 +86491,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: example-for-a-multi-line-comment: value: @@ -86513,9 +86579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *77 requestBody: required: true @@ -86538,7 +86604,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -86624,9 +86690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -86636,9 +86702,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *548 + default: *549 headers: Link: *52 x-github: @@ -86668,9 +86734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -86680,7 +86746,7 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: default: value: @@ -86718,9 +86784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *308 - *309 - - *546 + - *310 + - *547 responses: '204': description: Response if pull request has been merged @@ -86743,9 +86809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86857,9 +86923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 responses: '200': description: Response @@ -86934,9 +87000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -86973,7 +87039,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -87509,9 +87575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: true content: @@ -87545,7 +87611,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -88050,9 +88116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 - *17 - *19 responses: @@ -88062,7 +88128,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88218,9 +88284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -88310,9 +88376,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &551 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88375,10 +88441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - &550 + - *310 + - *547 + - &551 name: review_id description: The unique identifier of the review. in: path @@ -88390,9 +88456,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &552 + default: &553 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88451,10 +88517,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88477,7 +88543,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88539,18 +88605,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *551 + default: *552 '422': *7 '404': *6 x-github: @@ -88577,10 +88643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 - *17 - *19 responses: @@ -88678,9 +88744,9 @@ paths: _links: type: object properties: - self: *244 - html: *244 - pull_request: *244 + self: *243 + html: *243 + pull_request: *243 required: - self - html @@ -88838,10 +88904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88870,7 +88936,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88933,10 +88999,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *308 - *309 - - *546 - - *550 + - *310 + - *547 + - *551 requestBody: required: true content: @@ -88971,9 +89037,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *552 + default: *553 '404': *6 '422': *7 '403': *27 @@ -88995,9 +89061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *308 - *309 - - *546 + - *310 + - *547 requestBody: required: false content: @@ -89061,8 +89127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *308 - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89075,9 +89141,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &554 + default: &555 value: type: file encoding: base64 @@ -89119,8 +89185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *308 - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89140,9 +89206,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: *554 + default: *555 '404': *6 '422': *15 x-github: @@ -89164,8 +89230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -89175,7 +89241,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Release description: A release. type: object @@ -89257,7 +89323,7 @@ paths: author: *4 assets: type: array - items: &556 + items: &557 title: Release Asset description: Data related to a release. type: object @@ -89444,8 +89510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89521,9 +89587,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89628,9 +89694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *308 - *309 - - &557 + - *310 + - &558 name: asset_id description: The unique identifier of the asset. in: path @@ -89642,9 +89708,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89679,7 +89745,7 @@ paths: type: User site_admin: false '404': *6 - '302': *449 + '302': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89695,9 +89761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *308 - *309 - - *557 + - *310 + - *558 requestBody: required: false content: @@ -89726,9 +89792,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89744,9 +89810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *308 - *309 - - *557 + - *310 + - *558 responses: '204': description: Response @@ -89770,8 +89836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89857,16 +89923,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89883,8 +89949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *308 - *309 + - *310 - name: tag description: tag parameter in: path @@ -89897,9 +89963,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -89921,9 +89987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *308 - *309 - - &560 + - *310 + - &561 name: release_id description: The unique identifier of the release. in: path @@ -89937,9 +90003,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '401': description: Unauthorized x-github: @@ -89957,9 +90023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: false content: @@ -90023,9 +90089,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': description: Not Found if the discussion category name is invalid content: @@ -90046,9 +90112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 responses: '204': description: Response @@ -90068,9 +90134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *308 - *309 - - *560 + - *310 + - *561 - *17 - *19 responses: @@ -90080,7 +90146,7 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: default: value: @@ -90161,9 +90227,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *308 - *309 - - *560 + - *310 + - *561 - name: name in: query required: true @@ -90189,7 +90255,7 @@ paths: description: Response for successful upload content: application/json: - schema: *556 + schema: *557 examples: response-for-successful-upload: value: @@ -90244,9 +90310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90270,9 +90336,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 '404': *6 @@ -90293,9 +90359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: true content: @@ -90325,16 +90391,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '201': description: Reaction created content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90356,10 +90422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *308 - *309 - - *560 - - *304 + - *310 + - *561 + - *305 responses: '204': description: Response @@ -90383,9 +90449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *308 - *309 - - *376 + - *310 + - *377 - *17 - *19 responses: @@ -90401,8 +90467,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *260 - - &561 + - *261 + - &562 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90421,69 +90487,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *261 - - *561 - allOf: - *262 - - *561 + - *562 - allOf: - *263 - - *561 - - allOf: - *562 - - *561 - allOf: - *264 - - *561 + - *562 + - allOf: + - *563 + - *562 - allOf: - *265 - - *561 + - *562 - allOf: - *266 - - *561 + - *562 - allOf: - *267 - - *561 + - *562 - allOf: - *268 - - *561 + - *562 - allOf: - *269 - - *561 + - *562 - allOf: - *270 - - *561 + - *562 - allOf: - *271 - - *561 + - *562 - allOf: - *272 - - *561 + - *562 - allOf: - *273 - - *561 + - *562 - allOf: - *274 - - *561 + - *562 - allOf: - *275 - - *561 + - *562 - allOf: - *276 - - *561 + - *562 - allOf: - *277 - - *561 + - *562 - allOf: - *278 - - *561 + - *562 - allOf: - *279 - - *561 + - *562 - allOf: - - *563 - - *561 + - *280 + - *562 + - allOf: + - *564 + - *562 examples: default: value: @@ -90522,8 +90588,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90534,7 +90600,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -90542,7 +90608,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -90589,8 +90655,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90610,16 +90676,16 @@ paths: - tag - push default: branch - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *565 + items: *566 required: - name - enforcement @@ -90650,9 +90716,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -90699,12 +90765,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *308 - *309 - - *566 + - *310 - *567 - *568 - *569 + - *570 - *17 - *19 responses: @@ -90712,9 +90778,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *96 x-github: @@ -90735,17 +90801,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *308 - *309 - - *572 + - *310 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *96 x-github: @@ -90773,8 +90839,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90794,9 +90860,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *575 + default: *576 '404': *6 '500': *96 put: @@ -90814,8 +90880,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90840,16 +90906,16 @@ paths: - branch - tag - push - enforcement: *257 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *565 + items: *566 examples: default: value: @@ -90877,9 +90943,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *575 + default: *576 '404': *6 '500': *96 delete: @@ -90897,8 +90963,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90921,8 +90987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *308 - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -90938,9 +91004,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *576 + default: *577 '404': *6 '500': *96 x-github: @@ -90959,8 +91025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90978,7 +91044,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -91033,21 +91099,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *578 + - *310 - *579 - *580 - *581 + - *582 - *46 - *19 - *17 - - *582 - *583 - *584 - *585 - *586 - *587 + - *588 responses: '200': description: Response @@ -91055,7 +91121,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 type: object properties: number: *152 @@ -91071,8 +91137,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolved_at: type: - string @@ -91166,7 +91232,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *590 + - *591 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91311,16 +91377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 - - *587 + - *310 + - *408 + - *588 responses: '200': description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91372,9 +91438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 requestBody: required: true content: @@ -91382,8 +91448,8 @@ paths: schema: type: object properties: - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91403,7 +91469,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91478,9 +91544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *308 - *309 - - *407 + - *310 + - *408 - *19 - *17 responses: @@ -91518,7 +91584,6 @@ paths: - commit details: oneOf: - - *592 - *593 - *594 - *595 @@ -91531,6 +91596,7 @@ paths: - *602 - *603 - *604 + - *605 examples: default: value: @@ -91616,8 +91682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91625,14 +91691,14 @@ paths: schema: type: object properties: - reason: &606 + reason: &607 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *605 + placeholder_id: *606 required: - reason - placeholder_id @@ -91649,7 +91715,7 @@ paths: schema: type: object properties: - reason: *606 + reason: *607 expire_at: type: - string @@ -91696,8 +91762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *308 - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91712,7 +91778,7 @@ paths: properties: incremental_scans: type: array - items: &607 + items: &608 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91740,15 +91806,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *607 + items: *608 backfill_scans: type: array - items: *607 + items: *608 custom_pattern_backfill_scans: type: array items: allOf: - - *607 + - *608 - type: object properties: pattern_name: @@ -91818,8 +91884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *308 - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -91863,9 +91929,9 @@ paths: application/json: schema: type: array - items: *608 + items: *609 examples: - default: *609 + default: *610 '400': *14 '404': *6 x-github: @@ -91888,8 +91954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91969,7 +92035,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 required: - login - type @@ -92059,9 +92125,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: &611 + default: &612 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92294,8 +92360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92408,7 +92474,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -92555,17 +92621,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 + default: *612 '403': *27 '404': *6 x-github: @@ -92589,9 +92655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 requestBody: required: true content: @@ -92671,7 +92737,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *287 required: - login - type @@ -92762,10 +92828,10 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 - add_credit: *611 + default: *612 + add_credit: *612 '403': *27 '404': *6 '422': @@ -92803,9 +92869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '202': *37 '400': *14 @@ -92832,17 +92898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *308 - *309 - - *610 + - *310 + - *611 responses: '202': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 '400': *14 '422': *15 '403': *27 @@ -92868,8 +92934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -92965,8 +93031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92975,7 +93041,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93008,8 +93074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93087,8 +93153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93182,8 +93248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *308 - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93337,8 +93403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *308 - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93348,7 +93414,7 @@ paths: application/json: schema: type: array - items: *612 + items: *613 examples: default: value: @@ -93381,8 +93447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *308 - *309 + - *310 - name: sha in: path required: true @@ -93438,7 +93504,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -93492,8 +93558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93525,14 +93591,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &614 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93605,8 +93671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -93632,7 +93698,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: default: value: @@ -93659,8 +93725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -93680,8 +93746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93763,8 +93829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93772,7 +93838,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Tag protection description: Tag protection type: object @@ -93829,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -93853,7 +93919,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -93884,8 +93950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *308 - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93922,8 +93988,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -93959,8 +94025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93992,8 +94058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *308 - *309 + - *310 - *19 - *17 responses: @@ -94001,7 +94067,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &617 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94013,7 +94079,7 @@ paths: required: - names examples: - default: &617 + default: &618 value: names: - octocat @@ -94036,8 +94102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94068,9 +94134,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 '422': *7 x-github: @@ -94091,9 +94157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *308 - *309 - - &618 + - *310 + - &619 name: per description: The time frame to display results for. in: query @@ -94124,7 +94190,7 @@ paths: - 128 clones: type: array - items: &619 + items: &620 title: Traffic type: object properties: @@ -94211,8 +94277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94306,8 +94372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94370,9 +94436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *308 - *309 - - *618 + - *310 + - *619 responses: '200': description: Response @@ -94393,7 +94459,7 @@ paths: - 3782 views: type: array - items: *619 + items: *620 required: - uniques - count @@ -94470,8 +94536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94745,8 +94811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94769,8 +94835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94792,8 +94858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94819,8 +94885,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -94912,9 +94978,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95163,7 +95229,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &620 + text_matches: &621 title: Search Result Text Matches type: array items: @@ -95326,7 +95392,7 @@ paths: enum: - author-date - committer-date - - &621 + - &622 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 @@ -95395,7 +95461,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 comment_count: type: integer message: @@ -95414,7 +95480,7 @@ paths: url: type: string format: uri - verification: *485 + verification: *486 required: - author - committer @@ -95429,7 +95495,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *375 parents: type: array items: @@ -95446,7 +95512,7 @@ paths: type: number node_id: type: string - text_matches: *620 + text_matches: *621 required: - sha - node_id @@ -95638,7 +95704,7 @@ paths: - interactions - created - updated - - *621 + - *622 - *17 - *19 - name: advanced_search @@ -95735,11 +95801,11 @@ paths: type: - string - 'null' - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: type: string state_reason: @@ -95753,7 +95819,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 comments: type: integer created_at: @@ -95767,7 +95833,7 @@ paths: - string - 'null' format: date-time - text_matches: *620 + text_matches: *621 pull_request: type: object properties: @@ -95990,7 +96056,7 @@ paths: enum: - created - updated - - *621 + - *622 - *17 - *19 responses: @@ -96035,7 +96101,7 @@ paths: - 'null' score: type: number - text_matches: *620 + text_matches: *621 required: - id - node_id @@ -96120,7 +96186,7 @@ paths: - forks - help-wanted-issues - updated - - *621 + - *622 - *17 - *19 responses: @@ -96357,7 +96423,7 @@ paths: - admin - pull - push - text_matches: *620 + text_matches: *621 temp_clone_token: type: string allow_merge_commit: @@ -96665,7 +96731,7 @@ paths: - string - 'null' format: uri - text_matches: *620 + text_matches: *621 related: type: - array @@ -96858,7 +96924,7 @@ paths: - followers - repositories - joined - - *621 + - *622 - *17 - *19 responses: @@ -96968,7 +97034,7 @@ paths: type: - boolean - 'null' - text_matches: *620 + text_matches: *621 blog: type: - string @@ -97050,7 +97116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &625 + - &626 name: team_id description: The unique identifier of the team. in: path @@ -97062,9 +97128,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97091,7 +97157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97155,16 +97221,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '201': description: Response content: application/json: - schema: *293 + schema: *294 examples: - default: *294 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97192,7 +97258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *625 + - *626 responses: '204': description: Response @@ -97223,7 +97289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *625 + - *626 - *46 - *17 - *19 @@ -97234,9 +97300,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *626 + default: *627 headers: Link: *52 x-github: @@ -97265,7 +97331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97299,9 +97365,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97328,16 +97394,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 responses: '200': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97362,8 +97428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: false content: @@ -97386,9 +97452,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97413,8 +97479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 responses: '204': description: Response @@ -97443,8 +97509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *625 - - *297 + - *626 + - *298 - *46 - *17 - *19 @@ -97455,9 +97521,9 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *628 + default: *629 headers: Link: *52 x-github: @@ -97486,8 +97552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: true content: @@ -97509,9 +97575,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97538,17 +97604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *299 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97573,9 +97639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 requestBody: required: true content: @@ -97597,9 +97663,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *299 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97624,9 +97690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 responses: '204': description: Response @@ -97655,9 +97721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97683,9 +97749,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -97714,9 +97780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *625 - - *297 - - *300 + - *626 + - *298 + - *301 requestBody: required: true content: @@ -97748,9 +97814,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97776,8 +97842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -97803,9 +97869,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *303 + default: *304 headers: Link: *52 x-github: @@ -97834,8 +97900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *625 - - *297 + - *626 + - *298 requestBody: required: true content: @@ -97867,9 +97933,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97893,7 +97959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -97931,7 +97997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *625 + - *626 - name: role description: Filters members returned by their role in the team. in: query @@ -97982,7 +98048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98019,7 +98085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98059,7 +98125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98096,16 +98162,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *630 + response-if-user-is-a-team-maintainer: *631 '404': *6 x-github: githubCloudOnly: false @@ -98138,7 +98204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 requestBody: required: false @@ -98164,9 +98230,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *631 + response-if-users-membership-with-team-is-now-pending: *632 '403': description: Forbidden if team synchronization is set up '422': @@ -98200,7 +98266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98229,7 +98295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98239,9 +98305,9 @@ paths: application/json: schema: type: array - items: *306 + items: *307 examples: - default: *632 + default: *633 headers: Link: *52 '404': *6 @@ -98267,16 +98333,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *625 - - *307 + - *626 + - *308 responses: '200': description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *633 + default: *634 '404': description: Not Found if project is not managed by this team x-github: @@ -98300,8 +98366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *625 - - *307 + - *626 + - *308 requestBody: required: false content: @@ -98368,8 +98434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *625 - - *307 + - *626 + - *308 responses: '204': description: Response @@ -98396,7 +98462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98438,15 +98504,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *634 + schema: *635 examples: alternative-response-with-extra-repository-information: value: @@ -98597,9 +98663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 requestBody: required: false content: @@ -98649,9 +98715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *625 - - *308 + - *626 - *309 + - *310 responses: '204': description: Response @@ -98676,7 +98742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98688,7 +98754,7 @@ paths: type: array items: *170 examples: - response-if-child-teams-exist: *635 + response-if-child-teams-exist: *636 headers: Link: *52 '404': *6 @@ -98721,7 +98787,7 @@ paths: application/json: schema: oneOf: - - &637 + - &638 title: Private User description: Private User type: object @@ -98971,7 +99037,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *636 + - *637 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99131,7 +99197,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -99477,7 +99543,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99485,7 +99551,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -99529,7 +99595,7 @@ paths: type: integer secrets: type: array - items: &638 + items: &639 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99571,7 +99637,7 @@ paths: - visibility - selected_repositories_url examples: - default: *429 + default: *430 headers: Link: *52 x-github: @@ -99649,7 +99715,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -99795,7 +99861,7 @@ paths: type: array items: *136 examples: - default: *639 + default: *640 '401': *23 '403': *27 '404': *6 @@ -99947,7 +100013,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '304': *35 '500': *96 '401': *23 @@ -100005,7 +100071,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '401': *23 '403': *27 '404': *6 @@ -100062,7 +100128,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100115,7 +100181,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &641 + default: &642 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100160,9 +100226,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -100199,9 +100265,9 @@ paths: type: integer machines: type: array - items: *428 + items: *429 examples: - default: *642 + default: *643 '304': *35 '500': *96 '401': *23 @@ -100286,11 +100352,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *314 + repository: *315 machine: anyOf: - type: 'null' - - *428 + - *429 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101095,7 +101161,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '304': *35 '500': *96 '400': *14 @@ -101135,7 +101201,7 @@ paths: application/json: schema: *211 examples: - default: *427 + default: *428 '500': *96 '401': *23 '403': *27 @@ -101167,7 +101233,7 @@ paths: type: array items: *223 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -101268,7 +101334,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Email description: Email type: object @@ -101338,9 +101404,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -101417,7 +101483,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -101675,7 +101741,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: GPG Key description: A unique encryption key type: object @@ -101820,7 +101886,7 @@ paths: - subkeys - revoked examples: - default: &669 + default: &670 value: - id: 3 name: Octocat's GPG Key @@ -101905,9 +101971,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: id: 3 name: Octocat's GPG Key @@ -101964,7 +102030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &646 + - &647 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101976,9 +102042,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102001,7 +102067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *646 + - *647 responses: '204': description: Response @@ -102306,7 +102372,7 @@ paths: required: true content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -102456,7 +102522,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -102559,9 +102625,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102594,15 +102660,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -102625,7 +102691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '204': description: Response @@ -102658,7 +102724,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102737,7 +102803,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102799,9 +102865,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *52 '304': *35 @@ -103805,7 +103871,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *218 - - *651 + - *652 responses: '204': description: Response @@ -103920,7 +103986,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *19 - *17 responses: @@ -103932,8 +103998,8 @@ paths: type: array items: *223 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103962,7 +104028,7 @@ paths: application/json: schema: *223 examples: - default: &670 + default: &671 value: id: 40201 name: octo-name @@ -104324,9 +104390,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *655 + default: *656 headers: Link: *52 '304': *35 @@ -104439,7 +104505,7 @@ paths: type: array items: *64 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -104757,9 +104823,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *316 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104797,9 +104863,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: *656 + default: *657 headers: Link: *52 '304': *35 @@ -104878,7 +104944,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -104895,7 +104961,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -104958,9 +105024,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -105048,7 +105114,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105135,9 +105201,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105168,7 +105234,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105180,9 +105246,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -105205,7 +105271,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: - - *661 + - *662 responses: '204': description: Response @@ -105259,7 +105325,7 @@ paths: type: array items: *64 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array @@ -105419,8 +105485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105448,8 +105514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105473,8 +105539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105546,7 +105612,7 @@ paths: application/json: schema: type: array - items: *293 + items: *294 examples: default: value: @@ -105632,10 +105698,10 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -105670,7 +105736,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -105730,7 +105796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -105779,11 +105845,11 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -105833,8 +105899,8 @@ paths: required: - subject_digests examples: - default: *666 - withPredicateType: *667 + default: *667 + withPredicateType: *668 responses: '200': description: Response @@ -105888,7 +105954,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106093,7 +106159,7 @@ paths: initiator: type: string examples: - default: *370 + default: *371 '201': description: Response content: @@ -106134,7 +106200,7 @@ paths: type: array items: *223 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -106518,9 +106584,9 @@ paths: application/json: schema: type: array - items: *644 + items: *645 examples: - default: *669 + default: *670 headers: Link: *52 x-github: @@ -106624,7 +106690,7 @@ paths: application/json: schema: *20 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106749,7 +106815,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *57 - *19 - *17 @@ -106762,10 +106828,10 @@ paths: type: array items: *223 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106795,7 +106861,7 @@ paths: application/json: schema: *223 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107142,9 +107208,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *671 + default: *672 headers: Link: *52 '304': *35 @@ -107167,16 +107233,16 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *241 - - *672 + - *673 - *57 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *673 + default: *674 headers: Link: *52 '304': *35 @@ -107232,9 +107298,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -107293,10 +107359,10 @@ paths: description: Response content: application/json: - schema: *674 + schema: *246 examples: - issue: *246 - pull_request: *246 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -107318,7 +107384,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107338,9 +107404,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 headers: Link: *52 '304': *35 @@ -107363,7 +107429,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107436,13 +107502,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -107464,7 +107530,7 @@ paths: parameters: - *241 - *57 - - *249 + - *250 responses: '204': description: Response @@ -108166,9 +108232,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *52 x-github: @@ -108198,7 +108264,7 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: default: *685 headers: @@ -108241,7 +108307,7 @@ paths: - type: array items: *64 examples: - default-response: *662 + default-response: *663 headers: Link: *52 x-github: @@ -110128,7 +110194,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *387 + items: *388 repository: *136 status: type: string @@ -110233,7 +110299,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *387 + items: *388 started_at: type: string format: date-time @@ -114014,7 +114080,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114346,7 +114412,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114690,7 +114756,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115049,7 +115115,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115334,7 +115400,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115623,7 +115689,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *403 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116224,7 +116290,7 @@ webhooks: type: string enum: - created - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116391,7 +116457,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116471,7 +116537,7 @@ webhooks: type: string enum: - updated - definition: *250 + definition: *251 enterprise: *688 installation: *689 organization: *690 @@ -116734,7 +116800,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116822,7 +116888,7 @@ webhooks: type: string enum: - auto_reopened - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116910,7 +116976,7 @@ webhooks: type: string enum: - created - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -116996,7 +117062,7 @@ webhooks: type: string enum: - dismissed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117082,7 +117148,7 @@ webhooks: type: string enum: - fixed - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117169,7 +117235,7 @@ webhooks: type: string enum: - reintroduced - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -117255,7 +117321,7 @@ webhooks: type: string enum: - reopened - alert: *454 + alert: *455 installation: *689 organization: *690 enterprise: *688 @@ -118773,10 +118839,10 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *460 + deployment: *461 pull_requests: type: array - items: *544 + items: *545 repository: *691 organization: *690 installation: *689 @@ -123553,7 +123619,7 @@ webhooks: - id labels: type: array - items: *507 + items: *508 required: - repository_url - category @@ -128193,8 +128259,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129617,8 +129683,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130892,8 +130958,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132534,11 +132600,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133557,11 +133623,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134713,11 +134779,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135748,11 +135814,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136906,11 +136972,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137924,11 +137990,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138967,11 +139033,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139979,11 +140045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140974,11 +141040,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142368,11 +142434,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143380,11 +143446,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144418,11 +144484,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145410,11 +145476,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147258,11 +147324,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149532,7 +149598,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *392 required: - head_sha - head_ref @@ -164250,7 +164316,7 @@ webhooks: organization: *690 pull_request: &734 allOf: - - *544 + - *545 - type: object properties: allow_auto_merge: @@ -164479,7 +164545,7 @@ webhooks: enum: - demilestoned enterprise: *688 - milestone: *243 + milestone: *242 number: *733 organization: *690 pull_request: &735 @@ -176725,7 +176791,7 @@ webhooks: enum: - milestoned enterprise: *688 - milestone: *243 + milestone: *242 number: *733 organization: *690 pull_request: *735 @@ -219891,7 +219957,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_advisory: *608 + repository_advisory: *609 sender: *4 required: - action @@ -219971,7 +220037,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_advisory: *608 + repository_advisory: *609 sender: *4 required: - action @@ -220837,7 +220903,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 sender: *4 required: - action @@ -220919,7 +220985,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 sender: *4 required: - action @@ -221001,7 +221067,7 @@ webhooks: installation: *689 organization: *690 repository: *691 - repository_ruleset: *280 + repository_ruleset: *281 changes: type: object properties: @@ -221020,16 +221086,16 @@ webhooks: properties: added: type: array - items: *255 + items: *256 deleted: type: array - items: *255 + items: *256 updated: type: array items: type: object properties: - condition: *255 + condition: *256 changes: type: object properties: @@ -221062,16 +221128,16 @@ webhooks: properties: added: type: array - items: *565 + items: *566 deleted: type: array - items: *565 + items: *566 updated: type: array items: type: object properties: - rule: *565 + rule: *566 changes: type: object pro{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}