diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 6deab2db14..a161427ec6 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -13275,7 +13275,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -13286,6 +13286,14 @@ "maxLength": 71, "pattern": "^sha256:[a-f0-9]{64}$" }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, "artifact_url": { "type": "string", "format": "uri", @@ -13341,7 +13349,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/", @@ -13410,7 +13419,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/", @@ -23855,119 +23864,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": { @@ -23984,21 +23953,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": [ { @@ -24008,42 +23977,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": { @@ -24054,12 +23994,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" } } } @@ -24084,149 +24024,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": { @@ -24235,11 +24057,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" } } } @@ -114221,282 +114323,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.", - "example": "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", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the field was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the field was last updated." - } - }, - "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", - "example": "https://api.github.com/users/monalisa/2/projectsV2/3", - "description": "The API URL of the project that contains this item." - }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "content": { - "type": "object", - "additionalProperties": true, - "nullable": 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", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the item was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the item was last updated." - }, - "archived_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "nullable": true, - "description": "The time when the item was archived." - }, - "item_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3", - "nullable": true, - "description": "The API URL of this item." - }, - "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", @@ -114913,6 +114739,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", @@ -114984,6 +114820,272 @@ "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.", + "example": "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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the field was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the field was last updated." + } + }, + "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", + "example": "https://api.github.com/users/monalisa/2/projectsV2/3", + "description": "The API URL of the project that contains this item." + }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "content": { + "type": "object", + "additionalProperties": true, + "nullable": 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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was last updated." + }, + "archived_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "nullable": true, + "description": "The time when the item was archived." + }, + "item_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3", + "nullable": true, + "description": "The API URL of this item." + }, + "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", @@ -285953,6 +286055,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": [ { @@ -286848,66 +287010,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index d8bd9b1908..f37a1e594b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -9583,7 +9583,7 @@ paths: name: type: string description: The name of the artifact. - example: libfoo-1.2.3 + example: libfoo minLength: 1 digest: type: string @@ -9592,6 +9592,13 @@ paths: minLength: 71 maxLength: 71 pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + example: 1.2.3 artifact_url: type: string format: uri @@ -9643,7 +9650,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/ @@ -9690,7 +9698,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/ @@ -17294,6 +17302,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 @@ -83592,219 +83662,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. - example: 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 - example: '2022-04-28T12:00:00Z' - description: The time when the field was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the field was last updated. - 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 - example: https://api.github.com/users/monalisa/2/projectsV2/3 - description: The API URL of the project that contains this item. - content_type: - "$ref": "#/components/schemas/projects-v2-item-content-type" - content: - type: object - additionalProperties: true - nullable: 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 - example: '2022-04-28T12:00:00Z' - description: The time when the item was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was last updated. - archived_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - nullable: true - description: The time when the item was archived. - item_url: - type: string - format: uri - example: https://api.github.com/users/monalisa/2/projectsV2/items/3 - nullable: true - description: The API URL of this item. - 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 @@ -84123,6 +83980,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 @@ -84174,6 +84039,211 @@ 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. + example: 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 + example: '2022-04-28T12:00:00Z' + description: The time when the field was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the field was last updated. + 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 + example: https://api.github.com/users/monalisa/2/projectsV2/3 + description: The API URL of the project that contains this item. + content_type: + "$ref": "#/components/schemas/projects-v2-item-content-type" + content: + type: object + additionalProperties: true + nullable: 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 + example: '2022-04-28T12:00:00Z' + description: The time when the item was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the item was last updated. + archived_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + nullable: true + description: The time when the item was archived. + item_url: + type: string + format: uri + example: https://api.github.com/users/monalisa/2/projectsV2/items/3 + nullable: true + description: The API URL of this item. + 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 @@ -214631,6 +214701,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 @@ -215408,61 +215533,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 6deab2db14..a161427ec6 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -13275,7 +13275,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -13286,6 +13286,14 @@ "maxLength": 71, "pattern": "^sha256:[a-f0-9]{64}$" }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, "artifact_url": { "type": "string", "format": "uri", @@ -13341,7 +13349,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/", @@ -13410,7 +13419,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/", @@ -23855,119 +23864,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": { @@ -23984,21 +23953,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": [ { @@ -24008,42 +23977,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": { @@ -24054,12 +23994,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" } } } @@ -24084,149 +24024,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": { @@ -24235,11 +24057,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" } } } @@ -114221,282 +114323,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.", - "example": "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", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the field was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the field was last updated." - } - }, - "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", - "example": "https://api.github.com/users/monalisa/2/projectsV2/3", - "description": "The API URL of the project that contains this item." - }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "content": { - "type": "object", - "additionalProperties": true, - "nullable": 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", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the item was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "description": "The time when the item was last updated." - }, - "archived_at": { - "type": "string", - "format": "date-time", - "example": "2022-04-28T12:00:00Z", - "nullable": true, - "description": "The time when the item was archived." - }, - "item_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3", - "nullable": true, - "description": "The API URL of this item." - }, - "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", @@ -114913,6 +114739,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", @@ -114984,6 +114820,272 @@ "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.", + "example": "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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the field was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the field was last updated." + } + }, + "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", + "example": "https://api.github.com/users/monalisa/2/projectsV2/3", + "description": "The API URL of the project that contains this item." + }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "content": { + "type": "object", + "additionalProperties": true, + "nullable": 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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was last updated." + }, + "archived_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "nullable": true, + "description": "The time when the item was archived." + }, + "item_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3", + "nullable": true, + "description": "The API URL of this item." + }, + "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", @@ -285953,6 +286055,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": [ { @@ -286848,66 +287010,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d8bd9b1908..f37a1e594b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -9583,7 +9583,7 @@ paths: name: type: string description: The name of the artifact. - example: libfoo-1.2.3 + example: libfoo minLength: 1 digest: type: string @@ -9592,6 +9592,13 @@ paths: minLength: 71 maxLength: 71 pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + example: 1.2.3 artifact_url: type: string format: uri @@ -9643,7 +9650,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/ @@ -9690,7 +9698,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/ @@ -17294,6 +17302,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 @@ -83592,219 +83662,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. - example: 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 - example: '2022-04-28T12:00:00Z' - description: The time when the field was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the field was last updated. - 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 - example: https://api.github.com/users/monalisa/2/projectsV2/3 - description: The API URL of the project that contains this item. - content_type: - "$ref": "#/components/schemas/projects-v2-item-content-type" - content: - type: object - additionalProperties: true - nullable: 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 - example: '2022-04-28T12:00:00Z' - description: The time when the item was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was last updated. - archived_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - nullable: true - description: The time when the item was archived. - item_url: - type: string - format: uri - example: https://api.github.com/users/monalisa/2/projectsV2/items/3 - nullable: true - description: The API URL of this item. - 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 @@ -84123,6 +83980,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 @@ -84174,6 +84039,211 @@ 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. + example: 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 + example: '2022-04-28T12:00:00Z' + description: The time when the field was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the field was last updated. + 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 + example: https://api.github.com/users/monalisa/2/projectsV2/3 + description: The API URL of the project that contains this item. + content_type: + "$ref": "#/components/schemas/projects-v2-item-content-type" + content: + type: object + additionalProperties: true + nullable: 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 + example: '2022-04-28T12:00:00Z' + description: The time when the item was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the item was last updated. + archived_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + nullable: true + description: The time when the item was archived. + item_url: + type: string + format: uri + example: https://api.github.com/users/monalisa/2/projectsV2/items/3 + nullable: true + description: The API URL of this item. + 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 @@ -214631,6 +214701,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 @@ -215408,61 +215533,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 78a37d7b8f..db161be71a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -73442,7 +73442,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -73453,6 +73453,14 @@ "maxLength": 71, "pattern": "^sha256:[a-f0-9]{64}$" }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, "artifact_url": { "type": "string", "format": "uri", @@ -73508,7 +73516,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/", @@ -73577,7 +73586,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/", @@ -131631,6 +131640,5991 @@ } } }, + "/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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "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", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "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?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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", + "example": [ + "bug", + "registration" + ], + "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", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": true + } + }, + "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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "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", + "format": "uri", + "nullable": true + }, + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "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", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDExOlB1bGxSZXF1ZXN0MQ==" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347" + }, + "diff_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347.diff" + }, + "patch_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "issue_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "commits_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "review_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "comments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "statuses_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "number": { + "type": "integer", + "example": 1347 + }, + "state": { + "type": "string", + "example": "open" + }, + "locked": { + "type": "boolean", + "example": true + }, + "title": { + "type": "string", + "example": "new-feature" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "body": { + "type": "string", + "example": "Please pull these awesome changes", + "nullable": true + }, + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": true + } + }, + "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" + ], + "nullable": true + }, + "active_lock_reason": { + "type": "string", + "example": "too heated", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "merged_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "merge_commit_sha": { + "type": "string", + "example": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "nullable": true + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "requested_reviewers": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "requested_teams": { + "type": "array", + "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", + "nullable": true + }, + "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", + "example": "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", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, + "parent": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + }, + "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", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + }, + "nullable": true + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "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", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": "object", + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "example": false, + "type": "boolean" + } + }, + "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", + "description": "The body content of the draft issue", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was last updated." + }, + "archived_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "nullable": true, + "description": "The time when the item was archived." + }, + "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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index b9faf964ea..868c227add 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &301 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &635 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &268 + required: &269 - archive_url - assignees_url - blobs_url @@ -8608,7 +8608,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 - - &472 + - &473 name: has in: query description: |- @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &473 + security_advisory: &474 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8986,7 +8986,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &474 + auto_dismissed_at: &475 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &524 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &255 + properties: &254 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &256 + required: &255 - closed_issues - creator - description @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &647 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &648 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &525 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &661 title: Public User description: Public User type: object @@ -14649,14 +14649,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14718,7 +14718,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &332 description: Moved permanently content: application/json: @@ -14740,7 +14740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &554 name: all description: If `true`, show notifications marked as read. in: query @@ -14748,7 +14748,7 @@ paths: schema: type: boolean default: false - - &554 + - &555 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14758,7 +14758,7 @@ paths: type: boolean default: false - *72 - - &555 + - &556 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: @@ -15070,7 +15070,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &270 nullable: true type: object properties: @@ -15232,7 +15232,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &557 value: - id: '1' repository: @@ -16100,7 +16100,7 @@ paths: - property_name - value examples: - default: &562 + default: &563 value: - property_name: environment value: production @@ -16150,7 +16150,7 @@ paths: required: - properties examples: - default: &563 + default: &564 value: properties: - property_name: environment @@ -17863,7 +17863,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &337 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19055,7 +19055,7 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &343 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` @@ -19138,7 +19138,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -19180,7 +19180,7 @@ paths: required: true content: application/json: - schema: &347 + schema: &348 type: object properties: days: @@ -19237,7 +19237,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &349 value: approval_policy: first_time_contributors '404': *6 @@ -19296,7 +19296,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -19350,7 +19350,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -19985,7 +19985,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: &136 @@ -20036,7 +20036,7 @@ paths: required: false content: application/json: - schema: &352 + schema: &353 type: object properties: default_workflow_permissions: *136 @@ -20525,7 +20525,7 @@ paths: type: array items: *143 examples: - default: &663 + default: &664 value: total_count: 1 repositories: @@ -21167,7 +21167,7 @@ paths: application/json: schema: type: array - items: &353 + items: &354 title: Runner Application description: Runner Application type: object @@ -21192,7 +21192,7 @@ paths: - download_url - filename examples: - default: &354 + default: &355 value: - os: osx architecture: x64 @@ -21278,7 +21278,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &356 description: Response content: application/json: @@ -21389,7 +21389,7 @@ paths: - token - expires_at examples: - default: &356 + default: &357 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21428,7 +21428,7 @@ paths: application/json: schema: *147 examples: - default: &357 + default: &358 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21462,7 +21462,7 @@ paths: application/json: schema: *145 examples: - default: &358 + default: &359 value: id: 23 name: MBP @@ -21688,7 +21688,7 @@ paths: - *63 - *144 responses: - '200': &359 + '200': &360 description: Response content: application/json: @@ -21745,7 +21745,7 @@ paths: parameters: - *63 - *144 - - &360 + - &361 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21875,7 +21875,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21904,7 +21904,7 @@ paths: - key_id - key examples: - default: &373 + default: &374 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22317,7 +22317,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &341 + - &342 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)." @@ -22807,7 +22807,7 @@ paths: name: type: string description: The name of the artifact. - example: libfoo-1.2.3 + example: libfoo minLength: 1 digest: type: string @@ -22816,6 +22816,13 @@ paths: minLength: 71 maxLength: 71 pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + example: 1.2.3 artifact_url: type: string format: uri @@ -22867,7 +22874,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/ @@ -22914,7 +22922,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/ @@ -23050,12 +23058,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &692 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &693 value: subject_digests: - sha256:abc123 @@ -23113,7 +23121,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &694 value: attestations_subject_digests: - sha256:abc: @@ -23462,7 +23470,7 @@ paths: initiator: type: string examples: - default: &386 + default: &387 value: attestations: - bundle: @@ -24391,7 +24399,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &412 + - &413 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`, @@ -24401,7 +24409,7 @@ paths: schema: &166 type: string description: The name of the tool used to generate the code scanning analysis. - - &413 + - &414 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 @@ -24424,7 +24432,7 @@ paths: be returned. in: query required: false - schema: &415 + schema: &416 type: string description: State of a code scanning alert. enum: @@ -24447,7 +24455,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &417 type: string description: Severity of a code scanning alert. enum: @@ -24473,7 +24481,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: &417 + instances_url: &418 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24496,7 +24504,7 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: &418 + dismissed_reason: &419 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -24505,13 +24513,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &419 + dismissed_comment: &420 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &420 + rule: &421 type: object properties: id: @@ -24564,7 +24572,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &421 + tool: &422 type: object properties: name: *166 @@ -24574,15 +24582,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *167 - most_recent_instance: &422 + most_recent_instance: &423 type: object properties: - ref: &414 + ref: &415 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &432 + analysis_key: &433 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24593,7 +24601,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &433 + category: &434 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25917,7 +25925,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &445 + properties: &446 name: type: string description: The name of the machine. @@ -25959,7 +25967,7 @@ paths: - ready - in_progress nullable: true - required: &446 + required: &447 - name - display_name - operating_system @@ -26827,7 +26835,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &448 value: total_count: 2 secrets: @@ -26865,7 +26873,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &449 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26894,7 +26902,7 @@ paths: - key_id - key examples: - default: &449 + default: &450 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26926,7 +26934,7 @@ paths: application/json: schema: *176 examples: - default: &451 + default: &452 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27924,7 +27932,7 @@ paths: application/json: schema: type: array - items: &306 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28231,7 +28239,7 @@ paths: - date additionalProperties: true examples: - default: &307 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -28333,7 +28341,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &308 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28539,7 +28547,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28556,7 +28564,7 @@ paths: - key_id - key examples: - default: &478 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30356,7 +30364,7 @@ paths: application/json: schema: *22 examples: - default: &516 + default: &517 value: id: 1 account: @@ -30581,7 +30589,7 @@ paths: required: true content: application/json: - schema: &517 + schema: &518 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -31434,7 +31442,7 @@ paths: application/json: schema: *222 examples: - default: &444 + default: &445 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32679,7 +32687,7 @@ paths: parameters: - *63 - *229 - - &676 + - &677 name: repo_name description: repo_name parameter in: path @@ -33424,7 +33432,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &302 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -33718,7 +33726,7 @@ paths: - nuget - container - *63 - - &677 + - &678 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33759,7 +33767,7 @@ paths: default: *236 '403': *29 '401': *25 - '400': &679 + '400': &680 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35753,6 +35761,500 @@ 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: + - *63 + - *253 + 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: &259 + 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: + - *82 + - &460 + title: Pull Request Simple + description: Pull Request Simple + type: object + properties: + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 + id: + type: integer + format: int64 + example: 1 + node_id: + type: string + example: MDExOlB1bGxSZXF1ZXN0MQ== + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347 + diff_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347.diff + patch_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347.patch + issue_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + commits_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits + review_comments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments + review_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} + comments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/issues/1347/comments + statuses_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e + number: + type: integer + example: 1347 + state: + type: string + example: open + locked: + type: boolean + example: true + title: + type: string + example: new-feature + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + body: + type: string + example: Please pull these awesome changes + nullable: true + 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: + title: Milestone + description: A collection of related issues and pull requests. + type: object + properties: *254 + required: *255 + nullable: true + active_lock_reason: + type: string + example: too heated + nullable: true + created_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + updated_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + closed_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + nullable: true + merged_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + nullable: true + merge_commit_sha: + type: string + example: e5bd3914e2e596debea16f433f57875b5b90bcd6 + nullable: true + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + assignees: + type: array + items: *4 + nullable: true + requested_reviewers: + type: array + items: *4 + nullable: true + requested_teams: + type: array + items: *179 + nullable: true + head: + type: object + properties: + label: + type: string + ref: + type: string + repo: *66 + sha: + type: string + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + required: + - label + - ref + - repo + - sha + - user + base: + type: object + properties: + label: + type: string + ref: + type: string + repo: *66 + sha: + type: string + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + required: + - label + - ref + - repo + - sha + - user + _links: + type: object + properties: + comments: &256 + title: Link + description: Hypermedia Link + type: object + properties: + href: + type: string + required: + - href + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 + required: + - comments + - commits + - statuses + - html + - issue + - review_comments + - review_comment + - self + author_association: *69 + auto_merge: &566 + title: Auto merge + description: The status of auto merging a pull request. + type: object + 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 + nullable: true + draft: + description: Indicates whether or not the pull request is + a draft. + example: false + type: boolean + 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 + description: The body content of the draft issue + nullable: true + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + 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: &258 + 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 + example: '2022-04-28T12:00:00Z' + description: The time when the item was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the item was last updated. + archived_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + nullable: true + description: The time when the item was archived. + 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: &260 + 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': *37 + '403': *29 + '401': *25 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -35776,7 +36278,7 @@ paths: application/json: schema: type: array - items: &254 + items: &257 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35923,7 +36425,7 @@ paths: - updated_at - project_url examples: - default: &696 + default: &697 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36027,7 +36529,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *253 - - &697 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -36040,9 +36542,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: &698 + default: &699 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36119,7 +36621,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Projects v2 Item description: An item belonging to a project type: object @@ -36135,14 +36637,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &258 - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue + content_type: *258 content: type: object additionalProperties: true @@ -36185,7 +36680,7 @@ paths: - updated_at - archived_at examples: - default: &261 + default: &262 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36917,440 +37412,10 @@ paths: description: Response content: application/json: - schema: &699 - 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: - - *82 - - &459 - title: Pull Request Simple - description: Pull Request Simple - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 - id: - type: integer - format: int64 - example: 1 - node_id: - type: string - example: MDExOlB1bGxSZXF1ZXN0MQ== - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347 - diff_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347.diff - patch_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347.patch - issue_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - commits_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits - review_comments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments - review_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} - comments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/issues/1347/comments - statuses_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e - number: - type: integer - example: 1347 - state: - type: string - example: open - locked: - type: boolean - example: true - title: - type: string - example: new-feature - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - body: - type: string - example: Please pull these awesome changes - nullable: true - 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: - title: Milestone - description: A collection of related issues and pull requests. - type: object - properties: *255 - required: *256 - nullable: true - active_lock_reason: - type: string - example: too heated - nullable: true - created_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - closed_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - nullable: true - merged_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - nullable: true - merge_commit_sha: - type: string - example: e5bd3914e2e596debea16f433f57875b5b90bcd6 - nullable: true - assignee: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - assignees: - type: array - items: *4 - nullable: true - requested_reviewers: - type: array - items: *4 - nullable: true - requested_teams: - type: array - items: *179 - nullable: true - head: - type: object - properties: - label: - type: string - ref: - type: string - repo: *66 - sha: - type: string - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - required: - - label - - ref - - repo - - sha - - user - base: - type: object - properties: - label: - type: string - ref: - type: string - repo: *66 - sha: - type: string - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - required: - - label - - ref - - repo - - sha - - user - _links: - type: object - properties: - comments: &257 - title: Link - description: Hypermedia Link - type: object - properties: - href: - type: string - required: - - href - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 - required: - - comments - - commits - - statuses - - html - - issue - - review_comments - - review_comment - - self - author_association: *69 - auto_merge: &565 - title: Auto merge - description: The status of auto merging a pull request. - type: object - 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 - nullable: true - draft: - description: Indicates whether or not the pull request is - a draft. - example: false - type: boolean - 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 - description: The body content of the draft issue - nullable: true - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - 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: *258 - creator: *4 - created_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was last updated. - archived_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - nullable: true - description: The time when the item was archived. - 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: *259 examples: - issue: &259 - 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: *259 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -37372,7 +37437,7 @@ paths: parameters: - *253 - *63 - - &262 + - &263 name: item_id description: The unique identifier of the project item. in: path @@ -37398,9 +37463,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -37423,7 +37488,7 @@ paths: parameters: - *253 - *63 - - *262 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37493,13 +37558,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -37521,7 +37586,7 @@ paths: parameters: - *253 - *63 - - *262 + - *263 responses: '204': description: Response @@ -37553,7 +37618,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37619,7 +37684,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &265 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37678,7 +37743,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *264 minItems: 1 maxItems: 100 required: @@ -37708,9 +37773,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *264 + default: *265 '403': *29 '404': *6 x-github: @@ -37732,7 +37797,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &265 + - &266 name: custom_property_name description: The custom property name in: path @@ -37744,9 +37809,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &266 + default: &267 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37781,7 +37846,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *266 requestBody: required: true content: @@ -37850,9 +37915,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *266 + default: *267 '403': *29 '404': *6 x-github: @@ -37876,7 +37941,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *266 responses: '204': *173 '403': *29 @@ -38400,7 +38465,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &331 title: Full Repository description: Full Repository type: object @@ -38677,8 +38742,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -38793,7 +38858,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &464 + properties: &465 url: type: string format: uri @@ -38809,12 +38874,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &465 + required: &466 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38898,7 +38963,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &333 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39419,7 +39484,7 @@ paths: - *63 - *17 - *19 - - &588 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39437,7 +39502,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39472,7 +39537,7 @@ paths: source: type: string description: The name of the source - enforcement: &272 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39485,7 +39550,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &273 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39555,7 +39620,7 @@ paths: conditions: nullable: true anyOf: - - &270 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39579,7 +39644,7 @@ paths: match. items: type: string - - &274 + - &275 title: Organization ruleset conditions type: object description: |- @@ -39593,7 +39658,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39627,7 +39692,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39649,7 +39714,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39662,7 +39727,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &271 + items: &272 title: Repository ruleset property targeting definition type: object @@ -39695,17 +39760,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *271 + items: *272 required: - repository_property rules: type: array - items: &589 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &275 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39717,7 +39782,7 @@ paths: type: string enum: - creation - - &276 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -39738,7 +39803,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &277 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39750,7 +39815,7 @@ paths: type: string enum: - deletion - - &278 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39762,7 +39827,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39840,7 +39905,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &279 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39864,7 +39929,7 @@ paths: type: string required: - required_deployment_environments - - &280 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39876,7 +39941,7 @@ paths: type: string enum: - required_signatures - - &281 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39938,7 +40003,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &282 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39986,7 +40051,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &283 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39998,7 +40063,7 @@ paths: type: string enum: - non_fast_forward - - &284 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40034,7 +40099,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40070,7 +40135,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40106,7 +40171,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40142,7 +40207,7 @@ paths: required: - operator - pattern - - &288 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40178,7 +40243,7 @@ paths: required: - operator - pattern - - &289 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40203,7 +40268,7 @@ paths: type: string required: - restricted_file_paths - - &290 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40227,7 +40292,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &291 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40250,7 +40315,7 @@ paths: type: string required: - restricted_file_extensions - - &292 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40275,7 +40340,7 @@ paths: maximum: 100 required: - max_file_size - - &293 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40325,7 +40390,7 @@ paths: - repository_id required: - workflows - - &294 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40386,7 +40451,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40484,21 +40549,20 @@ paths: - push - repository default: branch - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &297 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *275 - *276 - *277 - *278 @@ -40518,6 +40582,7 @@ paths: - *292 - *293 - *294 + - *295 required: - name - enforcement @@ -40555,9 +40620,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: id: 21 name: super cool ruleset @@ -40612,7 +40677,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &591 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 @@ -40627,7 +40692,7 @@ paths: in: query schema: type: string - - &591 + - &592 name: time_period description: |- The time period to filter by. @@ -40643,14 +40708,14 @@ paths: - week - month default: day - - &592 + - &593 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 - - &593 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40670,7 +40735,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suites description: Response type: array @@ -40725,7 +40790,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &596 value: - id: 21 actor_id: 12 @@ -40769,7 +40834,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40785,7 +40850,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &598 title: Rule Suite description: Response type: object @@ -40884,7 +40949,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &599 value: id: 21 actor_id: 12 @@ -40957,9 +41022,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '404': *6 '500': *103 put: @@ -41003,16 +41068,16 @@ paths: - tag - push - repository - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *297 + items: *298 examples: default: value: @@ -41047,9 +41112,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '404': *6 '500': *103 delete: @@ -41106,7 +41171,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -41130,7 +41195,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &601 value: - version_id: 3 actor: @@ -41183,9 +41248,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &602 allOf: - - *298 + - *299 - type: object required: - state @@ -41255,7 +41320,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &603 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41266,7 +41331,7 @@ paths: enum: - open - resolved - - &603 + - &604 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41276,7 +41341,7 @@ paths: required: false schema: type: string - - &604 + - &605 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41285,7 +41350,7 @@ paths: required: false schema: type: string - - &605 + - &606 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. @@ -41300,7 +41365,7 @@ paths: - *48 - *19 - *17 - - &606 + - &607 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 @@ -41310,7 +41375,7 @@ paths: required: false schema: type: string - - &607 + - &608 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 @@ -41320,7 +41385,7 @@ paths: required: false schema: type: string - - &608 + - &609 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41329,7 +41394,7 @@ paths: required: false schema: type: string - - &609 + - &610 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41338,7 +41403,7 @@ paths: schema: type: boolean default: false - - &610 + - &611 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41347,7 +41412,7 @@ paths: schema: type: boolean default: false - - &611 + - &612 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41382,14 +41447,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &613 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: &613 + resolution: &614 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41496,8 +41561,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &615 + - &617 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41549,7 +41614,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &618 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. @@ -41604,7 +41669,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &619 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41618,7 +41683,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &620 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41632,7 +41697,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &621 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41646,7 +41711,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &622 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41660,7 +41725,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &623 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41674,7 +41739,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &624 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41688,7 +41753,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &625 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. @@ -41702,7 +41767,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &626 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. @@ -41716,7 +41781,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &627 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. @@ -41730,7 +41795,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &628 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. @@ -41744,7 +41809,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &629 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41986,7 +42051,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &300 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41995,7 +42060,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &299 + items: &300 type: object properties: token_type: @@ -42061,7 +42126,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *299 + items: *300 examples: default: value: @@ -42118,7 +42183,7 @@ paths: schema: type: object properties: - pattern_config_version: *300 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42144,7 +42209,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *300 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42242,7 +42307,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 description: A repository security advisory. type: object properties: @@ -42462,7 +42527,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 credits_detailed: type: array nullable: true @@ -42472,7 +42537,7 @@ paths: type: object properties: user: *4 - type: *301 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42533,7 +42598,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &634 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42920,7 +42985,7 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: default: *234 x-github: @@ -43464,7 +43529,7 @@ paths: type: integer network_configurations: type: array - items: &303 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43584,9 +43649,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &304 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43615,7 +43680,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &305 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43627,9 +43692,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 headers: Link: *54 x-github: @@ -43651,7 +43716,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *305 + - *306 requestBody: required: true content: @@ -43690,9 +43755,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43712,7 +43777,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *305 + - *306 responses: '204': description: Response @@ -43852,13 +43917,13 @@ paths: application/json: schema: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 '500': *103 '403': *29 '404': *6 - '422': *308 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43982,7 +44047,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44309,7 +44374,7 @@ paths: - repos_count - organization examples: - default: &310 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44386,9 +44451,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -44472,16 +44537,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '201': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44551,7 +44616,7 @@ paths: application/json: schema: type: array - items: &311 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44650,7 +44715,7 @@ paths: - updated_at - url examples: - default: &650 + default: &651 value: - author: login: octocat @@ -44759,9 +44824,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: author: login: octocat @@ -44835,7 +44900,7 @@ paths: parameters: - *63 - *64 - - &313 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44847,9 +44912,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44873,7 +44938,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: false content: @@ -44896,9 +44961,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &651 + default: &652 value: author: login: octocat @@ -44970,7 +45035,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 responses: '204': description: Response @@ -44998,7 +45063,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 - *48 - *17 - *19 @@ -45009,7 +45074,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45081,7 +45146,7 @@ paths: - updated_at - url examples: - default: &652 + default: &653 value: - author: login: octocat @@ -45151,7 +45216,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: true content: @@ -45173,9 +45238,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: author: login: octocat @@ -45243,8 +45308,8 @@ paths: parameters: - *63 - *64 - - *313 - - &316 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -45256,9 +45321,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45282,8 +45347,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 requestBody: required: true content: @@ -45305,9 +45370,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &653 + default: &654 value: author: login: octocat @@ -45373,8 +45438,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 responses: '204': description: Response @@ -45402,8 +45467,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 - 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. @@ -45429,7 +45494,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45472,7 +45537,7 @@ paths: - content - created_at examples: - default: &319 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45524,8 +45589,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 requestBody: required: true content: @@ -45558,9 +45623,9 @@ paths: team discussion comment content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45589,9 +45654,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45616,9 +45681,9 @@ paths: parameters: - *63 - *64 - - *313 - - *316 - - &320 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45652,7 +45717,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 - 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. @@ -45678,9 +45743,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -45708,7 +45773,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: true content: @@ -45740,16 +45805,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45774,8 +45839,8 @@ paths: parameters: - *63 - *64 - - *313 - - *320 + - *314 + - *321 responses: '204': description: Response @@ -45896,7 +45961,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Team Membership description: Team Membership type: object @@ -45923,7 +45988,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &655 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45986,9 +46051,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &656 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46061,7 +46126,7 @@ paths: application/json: schema: type: array - items: &322 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -46129,7 +46194,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &657 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46194,7 +46259,7 @@ paths: parameters: - *63 - *64 - - &323 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -46206,9 +46271,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: &657 + default: &658 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46272,7 +46337,7 @@ paths: parameters: - *63 - *64 - - *323 + - *324 requestBody: required: false content: @@ -46340,7 +46405,7 @@ paths: parameters: - *63 - *64 - - *323 + - *324 responses: '204': description: Response @@ -46411,14 +46476,14 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &659 title: Team Repository description: A team's access to a repository. type: object @@ -46989,8 +47054,8 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47037,8 +47102,8 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47075,7 +47140,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &660 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47202,7 +47267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &326 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -47214,7 +47279,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -47260,7 +47325,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47295,7 +47360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *326 + - *327 requestBody: required: true content: @@ -47319,9 +47384,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 '304': *37 '403': *29 '401': *25 @@ -47346,7 +47411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *326 + - *327 responses: '204': description: Response @@ -47375,7 +47440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *326 + - *327 requestBody: required: true content: @@ -47435,7 +47500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *323 + - *324 - 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 @@ -47492,7 +47557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *323 + - *324 - *59 requestBody: required: false @@ -47545,7 +47610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *323 + - *324 - *59 responses: '204': @@ -47577,7 +47642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *323 + - *324 - *59 responses: '200': @@ -47678,7 +47743,7 @@ paths: resources: type: object properties: - core: &329 + core: &330 title: Rate Limit type: object properties: @@ -47695,21 +47760,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *330 + search: *330 + code_search: *330 + source_import: *330 + integration_manifest: *330 + code_scanning_upload: *330 + actions_runner_registration: *330 + scim: *330 + dependency_snapshots: *330 + dependency_sbom: *330 + code_scanning_autofix: *330 required: - core - search - rate: *329 + rate: *330 required: - rate - resources @@ -47814,14 +47879,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default-response: summary: Default response @@ -48322,7 +48387,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48340,8 +48405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48588,10 +48653,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 - '307': &333 + default: *333 + '307': &334 description: Temporary Redirect content: application/json: @@ -48620,8 +48685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48643,7 +48708,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *334 '404': *6 '409': *47 x-github: @@ -48667,11 +48732,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &364 + - &365 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48694,7 +48759,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &335 title: Artifact description: An artifact type: object @@ -48772,7 +48837,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &366 value: total_count: 2 artifacts: @@ -48833,9 +48898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &335 + - *326 + - &336 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48847,7 +48912,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: default: value: @@ -48885,9 +48950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *335 + - *326 + - *336 responses: '204': description: Response @@ -48911,9 +48976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *335 + - *326 + - *336 - name: archive_format in: path required: true @@ -48927,7 +48992,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': &520 + '410': &521 description: Gone content: application/json: @@ -48954,14 +49019,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *336 + schema: *337 examples: default: value: @@ -48987,11 +49052,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &337 + - &338 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 @@ -49025,7 +49090,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Repository actions caches description: Repository actions caches type: object @@ -49067,7 +49132,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &340 value: total_count: 1 actions_caches: @@ -49099,23 +49164,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49135,8 +49200,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49167,9 +49232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &340 + - *326 + - &341 name: job_id description: The unique identifier of the job. in: path @@ -49181,7 +49246,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &369 title: Job description: Information of a job execution in a workflow run type: object @@ -49488,9 +49553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *340 + - *326 + - *341 responses: '302': description: Response @@ -49518,9 +49583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *340 + - *326 + - *341 requestBody: required: false content: @@ -49565,8 +49630,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -49616,8 +49681,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -49680,8 +49745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -49699,7 +49764,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &371 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49719,7 +49784,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &372 value: total_count: 2 secrets: @@ -49752,9 +49817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *341 + - *326 + - *342 - *19 responses: '200': @@ -49771,7 +49836,7 @@ paths: type: integer variables: type: array - items: &374 + items: &375 title: Actions Variable type: object properties: @@ -49801,7 +49866,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &376 value: total_count: 2 variables: @@ -49834,8 +49899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -49844,11 +49909,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &344 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *128 - selected_actions_url: *342 + selected_actions_url: *343 sha_pinning_required: *129 required: - enabled @@ -49877,8 +49942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -49889,7 +49954,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *344 allowed_actions: *128 sha_pinning_required: *129 required: @@ -49921,14 +49986,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &344 + schema: &345 type: object properties: access_level: @@ -49945,7 +50010,7 @@ paths: required: - access_level examples: - default: &345 + default: &346 value: access_level: organization x-github: @@ -49969,15 +50034,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 responses: '204': description: Response @@ -50001,14 +50066,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50032,8 +50097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50043,7 +50108,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *348 examples: default: summary: Set retention days @@ -50067,8 +50132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50076,7 +50141,7 @@ paths: application/json: schema: *130 examples: - default: *348 + default: *349 '404': *6 x-github: enabledForGitHubApps: true @@ -50095,8 +50160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50130,14 +50195,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: default: *131 '403': *29 @@ -50159,13 +50224,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *350 + schema: *351 examples: default: *131 responses: @@ -50191,8 +50256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50219,8 +50284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50252,14 +50317,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: default: *138 x-github: @@ -50282,8 +50347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50294,7 +50359,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *353 examples: default: *138 x-github: @@ -50323,8 +50388,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50368,8 +50433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50377,9 +50442,9 @@ paths: application/json: schema: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50401,8 +50466,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50445,7 +50510,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *356 '404': *6 '422': *7 '409': *47 @@ -50476,8 +50541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50485,7 +50550,7 @@ paths: application/json: schema: *147 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50513,8 +50578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50522,7 +50587,7 @@ paths: application/json: schema: *147 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50544,8 +50609,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: - - *324 - *325 + - *326 - *144 responses: '200': @@ -50554,7 +50619,7 @@ paths: application/json: schema: *145 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50575,8 +50640,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: - - *324 - *325 + - *326 - *144 responses: '204': @@ -50603,8 +50668,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: - - *324 - *325 + - *326 - *144 responses: '200': *149 @@ -50629,8 +50694,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: - - *324 - *325 + - *326 - *144 requestBody: required: true @@ -50679,8 +50744,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: - - *324 - *325 + - *326 - *144 requestBody: required: true @@ -50730,11 +50795,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: - - *324 - *325 + - *326 - *144 responses: - '200': *359 + '200': *360 '404': *6 x-github: githubCloudOnly: false @@ -50761,10 +50826,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: - - *324 - *325 + - *326 - *144 - - *360 + - *361 responses: '200': *149 '404': *6 @@ -50792,9 +50857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &378 + - *326 + - &379 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. @@ -50802,7 +50867,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50810,7 +50875,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50819,7 +50884,7 @@ paths: required: false schema: type: string - - &381 + - &382 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 @@ -50846,7 +50911,7 @@ paths: - pending - *17 - *19 - - &382 + - &383 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)." @@ -50855,7 +50920,7 @@ paths: schema: type: string format: date-time - - &361 + - &362 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50864,13 +50929,13 @@ paths: schema: type: boolean default: false - - &383 + - &384 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &385 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50893,7 +50958,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &363 title: Workflow Run description: An invocation of a workflow type: object @@ -50988,7 +51053,7 @@ paths: that triggered the run. type: array nullable: true - items: &403 + items: &404 title: Pull Request Minimal type: object properties: @@ -51107,7 +51172,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &407 + properties: &408 id: type: string description: SHA for the commit @@ -51158,7 +51223,7 @@ paths: - name - email nullable: true - required: &408 + required: &409 - id - tree_id - message @@ -51205,7 +51270,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &386 value: total_count: 1 workflow_runs: @@ -51441,24 +51506,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &363 + - *326 + - &364 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *362 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: &366 + default: &367 value: id: 30433642 name: Build @@ -51699,9 +51764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '204': description: Response @@ -51724,9 +51789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -51845,9 +51910,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: - - *324 - *325 - - *363 + - *326 + - *364 responses: '201': description: Response @@ -51880,12 +51945,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *363 + - *326 + - *364 - *17 - *19 - - *364 + - *365 responses: '200': description: Response @@ -51901,9 +51966,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *335 examples: - default: *365 + default: *366 headers: Link: *54 x-github: @@ -51927,25 +51992,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *363 - - &367 + - *326 + - *364 + - &368 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *362 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51968,10 +52033,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *363 - - *367 + - *326 + - *364 + - *368 - *17 - *19 responses: @@ -51989,9 +52054,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *369 examples: - default: &369 + default: &370 value: total_count: 1 jobs: @@ -52104,10 +52169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *363 - - *367 + - *326 + - *364 + - *368 responses: '302': description: Response @@ -52135,9 +52200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '202': description: Response @@ -52170,9 +52235,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: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: true content: @@ -52239,9 +52304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '202': description: Response @@ -52274,9 +52339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 - 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 @@ -52306,9 +52371,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *369 examples: - default: *369 + default: *370 headers: Link: *54 x-github: @@ -52333,9 +52398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '302': description: Response @@ -52362,9 +52427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '204': description: Response @@ -52391,9 +52456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -52453,7 +52518,7 @@ paths: items: type: object properties: - type: &486 + type: &487 type: string description: The type of reviewer. enum: @@ -52538,9 +52603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: true content: @@ -52587,7 +52652,7 @@ paths: application/json: schema: type: array - items: &481 + items: &482 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52693,7 +52758,7 @@ paths: - created_at - updated_at examples: - default: &482 + default: &483 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52749,9 +52814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: false content: @@ -52795,9 +52860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: false content: @@ -52850,9 +52915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -52989,8 +53054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53008,9 +53073,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *371 examples: - default: *371 + default: *372 headers: Link: *54 x-github: @@ -53035,16 +53100,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53066,17 +53131,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &499 + default: &500 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53102,8 +53167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -53161,8 +53226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -53188,9 +53253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *341 + - *326 + - *342 - *19 responses: '200': @@ -53207,9 +53272,9 @@ paths: type: integer variables: type: array - items: *374 + items: *375 examples: - default: *375 + default: *376 headers: Link: *54 x-github: @@ -53232,8 +53297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53285,17 +53350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &500 + default: &501 value: name: USERNAME value: octocat @@ -53321,8 +53386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 requestBody: required: true @@ -53365,8 +53430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 responses: '204': @@ -53392,8 +53457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53411,7 +53476,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &377 title: Workflow description: A GitHub Actions workflow type: object @@ -53518,9 +53583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &377 + - *326 + - &378 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53535,7 +53600,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -53568,9 +53633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53595,9 +53660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53648,9 +53713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53677,19 +53742,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *377 + - *326 - *378 - *379 - *380 - *381 + - *382 - *17 - *19 - - *382 - - *361 - *383 + - *362 - *384 + - *385 responses: '200': description: Response @@ -53705,9 +53770,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *363 examples: - default: *385 + default: *386 headers: Link: *54 x-github: @@ -53739,9 +53804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '200': description: Response @@ -53802,8 +53867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *48 - *17 - *40 @@ -53967,8 +54032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54005,8 +54070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54042,8 +54107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54155,8 +54220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *40 - *41 @@ -54213,7 +54278,7 @@ paths: initiator: type: string examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54233,8 +54298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54242,7 +54307,7 @@ paths: application/json: schema: type: array - items: &387 + items: &388 title: Autolink reference description: An autolink reference. type: object @@ -54296,8 +54361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54336,9 +54401,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: id: 1 key_prefix: TICKET- @@ -54369,9 +54434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &389 + - *326 + - &390 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54383,9 +54448,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 '404': *6 x-github: githubCloudOnly: false @@ -54405,9 +54470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *389 + - *326 + - *390 responses: '204': description: Response @@ -54431,8 +54496,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54480,8 +54545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54502,8 +54567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54523,8 +54588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54562,7 +54627,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &392 title: Branch Protection description: Branch Protection type: object @@ -54604,7 +54669,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &395 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54619,7 +54684,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &397 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54695,7 +54760,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &394 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54972,9 +55037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &392 + - *326 + - &393 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). @@ -54988,14 +55053,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &455 + commit: &456 title: Commit description: Commit type: object @@ -55029,7 +55094,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &390 + properties: &391 name: type: string example: '"Chris Wanstrath"' @@ -55044,7 +55109,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true message: type: string @@ -55065,7 +55130,7 @@ paths: required: - sha - url - verification: &506 + verification: &507 title: Verification type: object properties: @@ -55135,7 +55200,7 @@ paths: type: integer files: type: array - items: &468 + items: &469 title: Diff Entry description: Diff Entry type: object @@ -55219,7 +55284,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *392 protection_url: type: string format: uri @@ -55326,7 +55391,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *332 '404': *6 x-github: githubCloudOnly: false @@ -55348,15 +55413,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *391 + schema: *392 examples: default: value: @@ -55550,9 +55615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -55807,7 +55872,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &400 title: Status Check Policy description: Status Check Policy type: object @@ -55959,7 +56024,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *394 required_conversation_resolution: type: object properties: @@ -56071,9 +56136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56098,17 +56163,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &395 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56130,17 +56195,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *395 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56159,9 +56224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56186,17 +56251,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56292,9 +56357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56392,9 +56457,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *397 + default: *398 '422': *15 x-github: githubCloudOnly: false @@ -56415,9 +56480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56444,17 +56509,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &398 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56477,17 +56542,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *398 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -56507,9 +56572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56534,17 +56599,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: &400 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56570,9 +56635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56624,9 +56689,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 '422': *15 x-github: @@ -56648,9 +56713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56674,9 +56739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -56710,9 +56775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56779,9 +56844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56845,9 +56910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: content: application/json: @@ -56913,15 +56978,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -57012,9 +57077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -57037,9 +57102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57049,7 +57114,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &402 value: - id: 1 slug: octoapp @@ -57106,9 +57171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57142,7 +57207,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57163,9 +57228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57199,7 +57264,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57220,9 +57285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57256,7 +57321,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57278,9 +57343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57310,9 +57375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -57371,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -57432,9 +57497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: content: application/json: @@ -57493,9 +57558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57529,9 +57594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57589,9 +57654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57649,9 +57714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57711,9 +57776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57735,7 +57800,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -57851,8 +57916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58131,7 +58196,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &405 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58250,7 +58315,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *403 + items: *404 deployment: &718 title: Deployment description: A deployment created as the result of an Actions @@ -58531,9 +58596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &405 + - *326 + - &406 name: check_run_id description: The unique identifier of the check run. in: path @@ -58545,9 +58610,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &406 + default: &407 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58647,9 +58712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *405 + - *326 + - *406 requestBody: required: true content: @@ -58889,9 +58954,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58911,9 +58976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *405 + - *326 + - *406 - *17 - *19 responses: @@ -59008,9 +59073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *405 + - *326 + - *406 responses: '201': description: Response @@ -59054,8 +59119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59077,7 +59142,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &409 + schema: &410 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59141,7 +59206,7 @@ paths: nullable: true pull_requests: type: array - items: *403 + items: *404 nullable: true app: title: GitHub app @@ -59167,8 +59232,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *407 - required: *408 + properties: *408 + required: *409 latest_check_runs_count: type: integer check_runs_url: @@ -59196,7 +59261,7 @@ paths: - check_runs_url - pull_requests examples: - default: &410 + default: &411 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59487,9 +59552,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +59573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59818,9 +59883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &411 + - *326 + - &412 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59832,9 +59897,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59857,17 +59922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *411 - - &461 + - *326 + - *412 + - &462 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &462 + - &463 name: status description: Returns check runs with the specified `status`. in: query @@ -59906,9 +59971,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *405 examples: - default: &463 + default: &464 value: total_count: 1 check_runs: @@ -60010,9 +60075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *411 + - *326 + - *412 responses: '201': description: Response @@ -60045,21 +60110,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *412 + - *326 - *413 + - *414 - *19 - *17 - - &430 + - &431 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: *414 - - &431 + schema: *415 + - &432 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60084,13 +60149,13 @@ paths: be returned. in: query required: false - schema: *415 + schema: *416 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *416 + schema: *417 responses: '200': description: Response @@ -60106,7 +60171,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: *417 + instances_url: *418 state: *168 fixed_at: *164 dismissed_by: @@ -60117,11 +60182,11 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: *418 - dismissed_comment: *419 - rule: *420 - tool: *421 - most_recent_instance: *422 + dismissed_reason: *419 + dismissed_comment: *420 + rule: *421 + tool: *422 + most_recent_instance: *423 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60247,7 +60312,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &423 + '403': &424 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60274,9 +60339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &424 + - *326 + - &425 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60290,7 +60355,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &426 type: object properties: number: *159 @@ -60298,7 +60363,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: *417 + instances_url: *418 state: *168 fixed_at: *164 dismissed_by: @@ -60309,8 +60374,8 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *419 + dismissed_comment: *420 rule: type: object properties: @@ -60364,8 +60429,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *421 - most_recent_instance: *422 + tool: *422 + most_recent_instance: *423 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60464,7 +60529,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60484,9 +60549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: true content: @@ -60501,8 +60566,8 @@ paths: enum: - open - dismissed - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *419 + dismissed_comment: *420 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60521,7 +60586,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -60597,7 +60662,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &429 + '403': &430 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60624,15 +60689,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: - - *324 - *325 - - *424 + - *326 + - *425 responses: '200': description: Response content: application/json: - schema: &426 + schema: &427 type: object properties: status: @@ -60658,13 +60723,13 @@ paths: - description - started_at examples: - default: &427 + default: &428 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &428 + '400': &429 description: Bad Request content: application/json: @@ -60675,7 +60740,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': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60700,29 +60765,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: - - *324 - *325 - - *424 + - *326 + - *425 responses: '200': description: OK content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '202': description: Accepted content: application/json: - schema: *426 + schema: *427 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *428 + '400': *429 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60754,9 +60819,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: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: false content: @@ -60801,8 +60866,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *428 - '403': *429 + '400': *429 + '403': *430 '404': *6 '422': description: Unprocessable Entity @@ -60826,13 +60891,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 - *19 - *17 - - *430 - *431 + - *432 responses: '200': description: Response @@ -60840,7 +60905,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: value: @@ -60879,7 +60944,7 @@ paths: end_column: 50 classifications: - source - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60913,25 +60978,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *412 + - *326 - *413 + - *414 - *19 - *17 - - *431 + - *432 - 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: *414 + schema: *415 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &434 + schema: &435 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60952,23 +61017,23 @@ paths: application/json: schema: type: array - items: &435 + items: &436 type: object properties: - ref: *414 - commit_sha: &443 + ref: *415 + commit_sha: &444 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: *432 + analysis_key: *433 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *433 + category: *434 error: type: string example: error reading field xyz @@ -60992,8 +61057,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *434 - tool: *421 + sarif_id: *435 + tool: *422 deletable: type: boolean warning: @@ -61054,7 +61119,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61090,8 +61155,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61104,7 +61169,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: response: summary: application/json response @@ -61158,7 +61223,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *423 + '403': *424 '404': *6 '422': description: Response if analysis could not be processed @@ -61245,8 +61310,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61299,7 +61364,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': *429 + '403': *430 '404': *6 '503': *104 x-github: @@ -61321,8 +61386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61330,7 +61395,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: CodeQL Database description: A CodeQL database. type: object @@ -61441,7 +61506,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': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61470,8 +61535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61483,7 +61548,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -61515,9 +61580,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': &470 + '302': &471 description: Found - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61539,8 +61604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61550,7 +61615,7 @@ paths: responses: '204': description: Response - '403': *429 + '403': *430 '404': *6 '503': *104 x-github: @@ -61578,8 +61643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61588,7 +61653,7 @@ paths: type: object additionalProperties: false properties: - language: &437 + language: &438 type: string description: The language targeted by the CodeQL query enum: @@ -61667,7 +61732,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &441 + schema: &442 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61677,7 +61742,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *437 + query_language: *438 query_pack_url: type: string description: The download url for the query pack. @@ -61724,7 +61789,7 @@ paths: items: type: object properties: - repository: &438 + repository: &439 title: Repository Identifier description: Repository Identifier type: object @@ -61760,7 +61825,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &442 + analysis_status: &443 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61792,7 +61857,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &439 + access_mismatch_repos: &440 type: object properties: repository_count: @@ -61806,7 +61871,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: *438 + items: *439 required: - repository_count - repositories @@ -61828,8 +61893,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *439 - over_limit_repos: *439 + no_codeql_db_repos: *440 + over_limit_repos: *440 required: - access_mismatch_repos - not_found_repos @@ -61845,7 +61910,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &440 + value: &441 summary: Default response value: id: 1 @@ -61997,10 +62062,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *440 + value: *441 repository_lists: summary: Response for a successful variant analysis submission - value: *440 + value: *441 '404': *6 '422': description: Unable to process variant analysis submission @@ -62028,8 +62093,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62041,9 +62106,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *440 + default: *441 '404': *6 '503': *104 x-github: @@ -62066,7 +62131,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62101,7 +62166,7 @@ paths: type: object properties: repository: *53 - analysis_status: *442 + analysis_status: *443 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62226,8 +62291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62312,7 +62377,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -62333,8 +62398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62426,7 +62491,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *429 + '403': *430 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62497,8 +62562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62506,7 +62571,7 @@ paths: schema: type: object properties: - commit_sha: *443 + commit_sha: *444 ref: type: string description: |- @@ -62564,7 +62629,7 @@ paths: schema: type: object properties: - id: *434 + id: *435 url: type: string description: The REST API URL for checking the status of the upload. @@ -62578,7 +62643,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': *429 + '403': *430 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62601,8 +62666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62648,7 +62713,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': *423 + '403': *424 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62673,8 +62738,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62755,8 +62820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -62876,8 +62941,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63191,8 +63256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63257,7 +63322,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63265,7 +63330,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '400': *14 '401': *25 '403': *29 @@ -63294,8 +63359,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63359,8 +63424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63395,14 +63460,14 @@ paths: type: integer machines: type: array - items: &666 + items: &667 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *446 + required: *447 examples: - default: &667 + default: &668 value: total_count: 2 machines: @@ -63442,8 +63507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63527,8 +63592,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: - - *324 - *325 + - *326 - 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 @@ -63594,8 +63659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -63613,7 +63678,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &451 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63633,7 +63698,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *448 headers: Link: *54 x-github: @@ -63656,16 +63721,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63685,17 +63750,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63715,8 +63780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -63769,8 +63834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -63799,8 +63864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63842,7 +63907,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &452 + properties: &453 login: type: string example: octocat @@ -63935,7 +64000,7 @@ paths: user_view_type: type: string example: public - required: &453 + required: &454 - avatar_url - events_url - followers_url @@ -64009,8 +64074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 responses: '204': @@ -64057,8 +64122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 requestBody: required: false @@ -64085,7 +64150,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &519 + schema: &520 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64314,8 +64379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 responses: '204': @@ -64347,8 +64412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *59 responses: '200': @@ -64369,8 +64434,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *452 - required: *453 + properties: *453 + required: *454 nullable: true required: - permission @@ -64425,8 +64490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64436,7 +64501,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 title: Commit Comment description: Commit Comment type: object @@ -64494,7 +64559,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &458 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64553,17 +64618,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &458 + default: &459 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64620,8 +64685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -64644,7 +64709,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -64695,8 +64760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -64718,8 +64783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64746,9 +64811,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -64769,8 +64834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -64803,16 +64868,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -64834,10 +64899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -64886,8 +64951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64943,9 +65008,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65039,9 +65104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &456 + - *326 + - &457 name: commit_sha description: The SHA of the commit. in: path @@ -65113,9 +65178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *456 + - *326 + - *457 - *17 - *19 responses: @@ -65125,9 +65190,9 @@ paths: application/json: schema: type: array - items: *454 + items: *455 examples: - default: *457 + default: *458 headers: Link: *54 x-github: @@ -65155,9 +65220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *456 + - *326 + - *457 requestBody: required: true content: @@ -65192,9 +65257,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *458 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65222,9 +65287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *456 + - *326 + - *457 - *17 - *19 responses: @@ -65234,9 +65299,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: &564 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65773,11 +65838,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &460 + - &461 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)" @@ -65792,9 +65857,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &549 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65907,11 +65972,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *460 + - *326 - *461 - *462 + - *463 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65945,9 +66010,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *405 examples: - default: *463 + default: *464 headers: Link: *54 x-github: @@ -65972,9 +66037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65982,7 +66047,7 @@ paths: schema: type: integer example: 1 - - *461 + - *462 - *17 - *19 responses: @@ -66000,7 +66065,7 @@ paths: type: integer check_suites: type: array - items: *409 + items: *410 examples: default: value: @@ -66200,9 +66265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - *17 - *19 responses: @@ -66400,9 +66465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - *17 - *19 responses: @@ -66412,7 +66477,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Status description: The status of a commit. type: object @@ -66493,7 +66558,7 @@ paths: site_admin: false headers: Link: *54 - '301': *331 + '301': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66521,8 +66586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -66551,20 +66616,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *464 - required: *465 + properties: *465 + required: *466 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &466 + properties: &467 url: type: string format: uri html_url: type: string format: uri - required: &467 + required: &468 - url - html_url nullable: true @@ -66578,26 +66643,26 @@ paths: contributing: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true readme: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true issue_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true pull_request_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true required: - code_of_conduct @@ -66724,8 +66789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -66768,8 +66833,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *455 - merge_base_commit: *455 + base_commit: *456 + merge_base_commit: *456 status: type: string enum: @@ -66789,10 +66854,10 @@ paths: example: 6 commits: type: array - items: *455 + items: *456 files: type: array - items: *468 + items: *469 required: - url - html_url @@ -67078,8 +67143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67222,7 +67287,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &469 + response-if-content-is-a-file: &470 summary: Response if content is a file value: type: file @@ -67354,7 +67419,7 @@ paths: - size - type - url - - &577 + - &578 title: Content File description: Content File type: object @@ -67555,7 +67620,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *469 + response-if-content-is-a-file: *470 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67624,7 +67689,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *470 + '302': *471 '304': *37 x-github: githubCloudOnly: false @@ -67647,8 +67712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67741,7 +67806,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: File Commit description: File Commit type: object @@ -67893,7 +67958,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: example-for-creating-a-file: value: @@ -67947,7 +68012,7 @@ paths: schema: oneOf: - *3 - - &501 + - &502 description: Repository rule violation was detected type: object properties: @@ -67968,7 +68033,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &630 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68000,8 +68065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68062,7 +68127,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -68117,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68241,8 +68306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *180 - *181 - *182 @@ -68254,7 +68319,7 @@ paths: schema: type: string - *184 - - *472 + - *473 - *185 - *186 - *48 @@ -68275,7 +68340,7 @@ paths: application/json: schema: type: array - items: &475 + items: &476 type: object description: A Dependabot alert. properties: @@ -68321,7 +68386,7 @@ paths: - unknown - direct - transitive - security_advisory: *473 + security_advisory: *474 security_vulnerability: *52 url: *162 html_url: *163 @@ -68352,7 +68417,7 @@ paths: nullable: true maxLength: 280 fixed_at: *164 - auto_dismissed_at: *474 + auto_dismissed_at: *475 required: - number - state @@ -68582,9 +68647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &476 + - *326 + - &477 name: alert_number in: path description: |- @@ -68599,7 +68664,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -68712,9 +68777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *476 + - *326 + - *477 requestBody: required: true content: @@ -68759,7 +68824,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -68888,8 +68953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -68907,7 +68972,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &480 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68960,16 +69025,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68989,15 +69054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69023,8 +69088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -69077,8 +69142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -69101,8 +69166,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: - - *324 - *325 + - *326 - 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 @@ -69262,8 +69327,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69502,8 +69567,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69578,7 +69643,7 @@ paths: - version - url additionalProperties: false - metadata: &480 + metadata: &481 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69611,7 +69676,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *480 + metadata: *481 resolved: type: object description: A collection of resolved package dependencies. @@ -69624,7 +69689,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *480 + metadata: *481 relationship: type: string description: A notation of whether a dependency is requested @@ -69753,8 +69818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -69794,9 +69859,9 @@ paths: application/json: schema: type: array - items: *481 + items: *482 examples: - default: *482 + default: *483 headers: Link: *54 x-github: @@ -69862,8 +69927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69944,7 +70009,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: simple-example: summary: Simple example @@ -70017,9 +70082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &483 + - *326 + - &484 name: deployment_id description: deployment_id parameter in: path @@ -70031,7 +70096,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -70096,9 +70161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *483 + - *326 + - *484 responses: '204': description: Response @@ -70120,9 +70185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *483 + - *326 + - *484 - *17 - *19 responses: @@ -70132,7 +70197,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Deployment Status description: The status of a deployment. type: object @@ -70293,9 +70358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *483 + - *326 + - *484 requestBody: required: true content: @@ -70370,9 +70435,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70428,9 +70493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *483 + - *326 + - *484 - name: status_id in: path required: true @@ -70441,9 +70506,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -70468,8 +70533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70526,8 +70591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -70544,7 +70609,7 @@ paths: type: integer environments: type: array - items: &487 + items: &488 title: Environment description: Details of a deployment environment type: object @@ -70596,7 +70661,7 @@ paths: type: type: string example: wait_timer - wait_timer: &489 + wait_timer: &490 type: integer example: 30 description: The amount of time to delay a job after @@ -70633,7 +70698,7 @@ paths: items: type: object properties: - type: *486 + type: *487 reviewer: anyOf: - *4 @@ -70657,7 +70722,7 @@ paths: - id - node_id - type - deployment_branch_policy: &490 + deployment_branch_policy: &491 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70773,9 +70838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &488 + - *326 + - &489 name: environment_name in: path required: true @@ -70788,9 +70853,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &491 + default: &492 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70874,9 +70939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: false content: @@ -70885,7 +70950,7 @@ paths: type: object nullable: true properties: - wait_timer: *489 + wait_timer: *490 prevent_self_review: type: boolean example: false @@ -70902,13 +70967,13 @@ paths: items: type: object properties: - type: *486 + type: *487 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *490 + deployment_branch_policy: *491 additionalProperties: false examples: default: @@ -70928,9 +70993,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *491 + default: *492 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70954,9 +71019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *488 + - *326 + - *489 responses: '204': description: Default response @@ -70981,9 +71046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *17 - *19 responses: @@ -71001,7 +71066,7 @@ paths: example: 2 branch_policies: type: array - items: &492 + items: &493 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71058,9 +71123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: true content: @@ -71106,9 +71171,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - example-wildcard: &493 + example-wildcard: &494 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71150,10 +71215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - &494 + - *326 + - *489 + - &495 name: branch_policy_id in: path required: true @@ -71165,9 +71230,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71186,10 +71251,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - *494 + - *326 + - *489 + - *495 requestBody: required: true content: @@ -71217,9 +71282,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71238,10 +71303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - *494 + - *326 + - *489 + - *495 responses: '204': description: Response @@ -71266,9 +71331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *488 + - *489 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71284,7 +71349,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &495 + items: &496 title: Deployment protection rule description: Deployment protection rule type: object @@ -71303,7 +71368,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &496 + app: &497 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71402,9 +71467,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: - - *488 + - *489 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71425,9 +71490,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *495 + schema: *496 examples: - default: &497 + default: &498 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71462,9 +71527,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: - - *488 + - *489 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71483,7 +71548,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *496 + items: *497 examples: default: value: @@ -71518,10 +71583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *488 - - &498 + - *326 + - *489 + - &499 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71533,9 +71598,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71556,10 +71621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *488 + - *489 + - *326 - *325 - - *324 - - *498 + - *499 responses: '204': description: Response @@ -71585,9 +71650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *17 - *19 responses: @@ -71605,9 +71670,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *371 examples: - default: *371 + default: *372 headers: Link: *54 x-github: @@ -71632,17 +71697,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *488 + - *326 + - *489 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71664,18 +71729,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 responses: '200': description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71697,9 +71762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 requestBody: required: true @@ -71757,9 +71822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 responses: '204': @@ -71785,10 +71850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *488 - - *341 + - *326 + - *489 + - *342 - *19 responses: '200': @@ -71805,9 +71870,9 @@ paths: type: integer variables: type: array - items: *374 + items: *375 examples: - default: *375 + default: *376 headers: Link: *54 x-github: @@ -71830,9 +71895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: true content: @@ -71884,18 +71949,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *154 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71916,10 +71981,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *154 - - *488 + - *489 requestBody: required: true content: @@ -71961,10 +72026,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *154 - - *488 + - *489 responses: '204': description: Response @@ -71986,8 +72051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72055,8 +72120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72215,8 +72280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72248,9 +72313,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 '400': *14 '422': *15 '403': *29 @@ -72271,8 +72336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72332,7 +72397,7 @@ paths: schema: oneOf: - *112 - - *501 + - *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72357,8 +72422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72457,8 +72522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72567,7 +72632,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72781,15 +72846,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *456 + - *326 + - *457 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -72845,9 +72910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &503 + - *326 + - &504 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. @@ -72864,7 +72929,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Git Reference description: Git references within a repository type: object @@ -72939,17 +73004,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72978,8 +73043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73008,9 +73073,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73036,9 +73101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 requestBody: required: true content: @@ -73067,9 +73132,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 '409': *47 x-github: @@ -73087,9 +73152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 responses: '204': description: Response @@ -73144,8 +73209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73212,7 +73277,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &508 title: Git Tag description: Metadata for a Git tag type: object @@ -73263,7 +73328,7 @@ paths: - sha - type - url - verification: *506 + verification: *507 required: - sha - url @@ -73273,7 +73338,7 @@ paths: - tag - message examples: - default: &508 + default: &509 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73346,8 +73411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73358,9 +73423,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 '404': *6 '409': *47 x-github: @@ -73384,8 +73449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73458,7 +73523,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &510 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73554,8 +73619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73578,7 +73643,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: default-response: summary: Default response @@ -73637,8 +73702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -73648,7 +73713,7 @@ paths: application/json: schema: type: array - items: &510 + items: &511 title: Webhook description: Webhooks for repositories. type: object @@ -73776,8 +73841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -73829,9 +73894,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: &511 + default: &512 value: type: Repository id: 12345678 @@ -73879,17 +73944,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73909,8 +73974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 requestBody: required: true @@ -73956,9 +74021,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 '422': *15 '404': *6 x-github: @@ -73979,8 +74044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74005,8 +74070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *194 responses: '200': @@ -74034,8 +74099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *194 requestBody: required: false @@ -74080,8 +74145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *17 - *195 @@ -74113,8 +74178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *16 responses: @@ -74143,8 +74208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *16 responses: @@ -74168,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74195,8 +74260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74220,8 +74285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74267,8 +74332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *173 '409': *47 @@ -74288,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *173 '409': *47 @@ -74346,14 +74411,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &512 + schema: &513 title: Import description: A repository import from an external source. type: object @@ -74452,7 +74517,7 @@ paths: - html_url - authors_url examples: - default: &515 + default: &516 value: vcs: subversion use_lfs: true @@ -74468,7 +74533,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': &513 + '503': &514 description: Unavailable due to service under maintenance. content: application/json: @@ -74497,8 +74562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -74546,7 +74611,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: default: value: @@ -74571,7 +74636,7 @@ paths: type: string '422': *15 '404': *6 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74599,8 +74664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74649,7 +74714,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: example-1: summary: Example 1 @@ -74697,7 +74762,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': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74720,12 +74785,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74751,9 +74816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &688 + - *326 + - &689 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74767,7 +74832,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Porter Author description: Porter Author type: object @@ -74821,7 +74886,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': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74846,8 +74911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -74877,7 +74942,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -74890,7 +74955,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74914,8 +74979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -74956,7 +75021,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74984,8 +75049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75012,11 +75077,11 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *515 + default: *516 '422': *15 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75039,8 +75104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75048,8 +75113,8 @@ paths: application/json: schema: *22 examples: - default: *516 - '301': *331 + default: *517 + '301': *332 '404': *6 x-github: githubCloudOnly: false @@ -75069,8 +75134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75083,7 +75148,7 @@ paths: properties: {} additionalProperties: false examples: - default: &518 + default: &519 value: limit: collaborators_only origin: repository @@ -75108,13 +75173,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *517 + schema: *518 examples: default: summary: Example request body @@ -75128,7 +75193,7 @@ paths: application/json: schema: *212 examples: - default: *518 + default: *519 '409': description: Response x-github: @@ -75150,8 +75215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75174,8 +75239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75185,9 +75250,9 @@ paths: application/json: schema: type: array - items: *519 + items: *520 examples: - default: &681 + default: &682 value: - id: 1 repository: @@ -75318,8 +75383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *216 requestBody: required: false @@ -75349,7 +75414,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75480,8 +75545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *216 responses: '204': @@ -75513,8 +75578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -75587,7 +75652,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75735,7 +75800,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *331 + '301': *332 '422': *15 '404': *6 x-github: @@ -75764,8 +75829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75849,7 +75914,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -76005,7 +76070,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *520 + '410': *521 x-github: triggersNotification: true githubCloudOnly: false @@ -76033,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76055,9 +76120,9 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: &528 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76115,17 +76180,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76179,8 +76244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -76203,9 +76268,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -76223,8 +76288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -76245,8 +76310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76273,9 +76338,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -76296,8 +76361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -76330,16 +76395,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76361,10 +76426,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -76384,8 +76449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76395,7 +76460,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Issue Event description: Issue Event type: object @@ -76438,8 +76503,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76746,8 +76811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -76758,7 +76823,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -76951,7 +77016,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *520 + '410': *521 '403': *29 x-github: githubCloudOnly: false @@ -76985,9 +77050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &527 + - *326 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -77001,10 +77066,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '404': *6 - '410': *520 + '410': *521 '304': *37 x-github: githubCloudOnly: false @@ -77029,9 +77094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -77137,13 +77202,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '422': *15 '503': *104 '403': *29 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77161,9 +77226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -77191,7 +77256,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77207,9 +77272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: content: application/json: @@ -77236,7 +77301,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77258,9 +77323,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: - - *324 - *325 - - *527 + - *326 + - *528 - name: assignee in: path required: true @@ -77300,9 +77365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *72 - *17 - *19 @@ -77313,13 +77378,13 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *528 + default: *529 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77348,9 +77413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -77372,16 +77437,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -77409,9 +77474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77423,12 +77488,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77456,9 +77521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -77482,15 +77547,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *332 '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -77521,9 +77586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77537,13 +77602,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *520 + '410': *521 x-github: triggersNotification: true githubCloudOnly: false @@ -77569,9 +77634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77583,12 +77648,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77605,9 +77670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77621,7 +77686,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &533 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77675,7 +77740,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77811,7 +77876,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &535 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77862,7 +77927,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77913,7 +77978,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77967,7 +78032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &538 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78014,7 +78079,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78061,7 +78126,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &540 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78121,7 +78186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Locked Issue Event description: Locked Issue Event type: object @@ -78169,7 +78234,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78235,7 +78300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78301,7 +78366,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78367,7 +78432,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78458,7 +78523,7 @@ paths: color: red headers: Link: *54 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78475,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -78487,7 +78552,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78534,7 +78599,7 @@ paths: - color - default examples: - default: &531 + default: &532 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78552,9 +78617,9 @@ paths: default: false headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78571,9 +78636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78632,12 +78697,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *331 + default: *532 + '301': *332 '404': *6 - '410': *520 + '410': *521 '422': *15 x-github: githubCloudOnly: false @@ -78654,9 +78719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78716,12 +78781,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *331 + default: *532 + '301': *332 '404': *6 - '410': *520 + '410': *521 '422': *15 x-github: githubCloudOnly: false @@ -78738,15 +78803,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '204': description: Response - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78765,9 +78830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - name: name in: path required: true @@ -78780,7 +78845,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -78791,9 +78856,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78813,9 +78878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78843,7 +78908,7 @@ paths: '204': description: Response '403': *29 - '410': *520 + '410': *521 '404': *6 '422': *15 x-github: @@ -78861,9 +78926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '204': description: Response @@ -78893,9 +78958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '200': description: Response @@ -78903,10 +78968,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78923,9 +78988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - 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. @@ -78951,13 +79016,13 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78975,9 +79040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79009,16 +79074,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -79040,10 +79105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *527 - - *320 + - *326 + - *528 + - *321 responses: '204': description: Response @@ -79072,9 +79137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79098,7 +79163,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79131,9 +79196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -79145,11 +79210,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,9 +79242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79208,14 +79273,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -79235,9 +79300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79270,7 +79335,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '403': *29 '404': *6 '422': *7 @@ -79292,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -79309,7 +79374,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - *533 - *534 - *535 @@ -79322,6 +79386,7 @@ paths: - *542 - *543 - *544 + - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79630,7 +79695,7 @@ paths: type: string comments: type: array - items: &566 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79839,7 +79904,7 @@ paths: type: string comments: type: array - items: *454 + items: *455 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80128,7 +80193,7 @@ paths: headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80145,8 +80210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80156,7 +80221,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80222,8 +80287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80259,9 +80324,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: id: 1 key: ssh-rsa AAA... @@ -80295,9 +80360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &547 + - *326 + - &548 name: key_id description: The unique identifier of the key. in: path @@ -80309,9 +80374,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80329,9 +80394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *547 + - *326 + - *548 responses: '204': description: Response @@ -80351,8 +80416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80362,9 +80427,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 '404': *6 @@ -80385,8 +80450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80422,9 +80487,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &548 + default: &549 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80456,8 +80521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80468,9 +80533,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *548 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80487,8 +80552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80527,7 +80592,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -80553,8 +80618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80580,8 +80645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -80620,9 +80685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *430 + - *326 + - *431 responses: '200': description: Response @@ -80767,8 +80832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80833,8 +80898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80868,9 +80933,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *455 + schema: *456 examples: - default: *549 + default: *550 '204': description: Response when already merged '404': @@ -80895,8 +80960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80937,12 +81002,12 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 examples: default: value: @@ -80998,8 +81063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81039,9 +81104,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81100,9 +81165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: milestone_number description: The number that identifies the milestone. in: path @@ -81114,9 +81179,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -81133,9 +81198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 requestBody: required: false content: @@ -81173,9 +81238,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -81214,9 +81279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 - *17 - *19 responses: @@ -81226,9 +81291,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 x-github: @@ -81247,12 +81312,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *553 + - *326 - *554 - - *72 - *555 + - *72 + - *556 - *17 - *19 responses: @@ -81264,7 +81329,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *557 headers: Link: *54 x-github: @@ -81288,8 +81353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81347,14 +81412,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &557 + schema: &558 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81479,7 +81544,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81520,8 +81585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81575,9 +81640,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '422': *15 '409': *47 x-github: @@ -81600,8 +81665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81700,8 +81765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -81727,8 +81792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -81738,7 +81803,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: Page Build description: Page Build type: object @@ -81832,8 +81897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -81878,16 +81943,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81935,8 +82000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -81947,9 +82012,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81969,8 +82034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82075,9 +82140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &561 + - *326 + - &562 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82135,9 +82200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *561 + - *326 + - *562 responses: '204': *173 '404': *6 @@ -82164,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82423,8 +82488,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82461,8 +82526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *173 '422': *14 @@ -82483,8 +82548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *173 '422': *14 @@ -82506,8 +82571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82517,7 +82582,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *563 '403': *29 '404': *6 x-github: @@ -82539,8 +82604,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82556,7 +82621,7 @@ paths: required: - properties examples: - default: *563 + default: *564 responses: '204': description: No Content when custom property values are successfully created @@ -82594,8 +82659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82655,9 +82720,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: *564 + default: *565 headers: Link: *54 '304': *37 @@ -82689,8 +82754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82755,7 +82820,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82866,8 +82931,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -82912,7 +82977,7 @@ paths: nullable: true requested_teams: type: array - items: *302 + items: *303 nullable: true head: type: object @@ -82951,14 +83016,14 @@ paths: _links: type: object properties: - comments: *257 - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + comments: *256 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -82969,7 +83034,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83061,7 +83126,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83588,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -83618,9 +83683,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &571 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83697,17 +83762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83782,8 +83847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -83806,9 +83871,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83824,8 +83889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -83847,8 +83912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83875,9 +83940,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -83898,8 +83963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -83932,16 +83997,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -83963,10 +84028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -84009,9 +84074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &570 + - *326 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -84024,9 +84089,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '304': *37 '404': *6 '406': @@ -84061,9 +84126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84105,9 +84170,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '422': *15 '403': *29 x-github: @@ -84129,9 +84194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -84193,7 +84258,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84201,7 +84266,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -84231,9 +84296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84254,9 +84319,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *571 + default: *572 headers: Link: *54 x-github: @@ -84289,9 +84354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -84396,7 +84461,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84484,9 +84549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *81 requestBody: required: true @@ -84509,7 +84574,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -84595,9 +84660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -84607,9 +84672,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *572 + default: *573 headers: Link: *54 x-github: @@ -84639,9 +84704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -84651,7 +84716,7 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: default: value: @@ -84689,9 +84754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *570 + - *326 + - *571 responses: '204': description: Response if pull request has been merged @@ -84714,9 +84779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84827,9 +84892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 responses: '200': description: Response @@ -84904,9 +84969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84943,7 +85008,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -85479,9 +85544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -85515,7 +85580,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -86020,9 +86085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -86032,7 +86097,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86183,9 +86248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -86271,9 +86336,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &575 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86336,10 +86401,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - &574 + - *326 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86351,9 +86416,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &576 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86412,10 +86477,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86438,7 +86503,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86500,18 +86565,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *575 + default: *576 '422': *7 '404': *6 x-github: @@ -86538,10 +86603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 - *17 - *19 responses: @@ -86624,9 +86689,9 @@ paths: _links: type: object properties: - self: *257 - html: *257 - pull_request: *257 + self: *256 + html: *256 + pull_request: *256 required: - self - html @@ -86776,10 +86841,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86807,7 +86872,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86870,10 +86935,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86908,9 +86973,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *576 + default: *577 '404': *6 '422': *7 '403': *29 @@ -86932,9 +86997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -86997,8 +87062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87011,9 +87076,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: &578 + default: &579 value: type: file encoding: base64 @@ -87055,8 +87120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87076,9 +87141,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *6 '422': *15 x-github: @@ -87100,8 +87165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87111,7 +87176,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Release description: A release. type: object @@ -87182,7 +87247,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -87369,8 +87434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87446,9 +87511,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &583 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87553,9 +87618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &581 + - *326 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87567,9 +87632,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 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 @@ -87604,7 +87669,7 @@ paths: type: User site_admin: false '404': *6 - '302': *470 + '302': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87620,9 +87685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *581 + - *326 + - *582 requestBody: required: false content: @@ -87650,9 +87715,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87668,9 +87733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *581 + - *326 + - *582 responses: '204': description: Response @@ -87694,8 +87759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87780,16 +87845,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87806,8 +87871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -87820,9 +87885,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -87844,9 +87909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -87860,9 +87925,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: *579 + schema: *580 examples: - default: *583 + default: *584 '401': description: Unauthorized x-github: @@ -87880,9 +87945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87946,9 +88011,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -87969,9 +88034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87991,9 +88056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *584 + - *326 + - *585 - *17 - *19 responses: @@ -88003,7 +88068,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -88084,9 +88149,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: - - *324 - *325 - - *584 + - *326 + - *585 - name: name in: query required: true @@ -88112,7 +88177,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *581 examples: response-for-successful-upload: value: @@ -88167,9 +88232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 - 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. @@ -88193,9 +88258,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -88216,9 +88281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: true content: @@ -88248,16 +88313,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88279,10 +88344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *584 - - *320 + - *326 + - *585 + - *321 responses: '204': description: Response @@ -88306,9 +88371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 - *17 - *19 responses: @@ -88324,8 +88389,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *275 - - &585 + - *276 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88344,69 +88409,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *276 - - *585 - allOf: - *277 - - *585 + - *586 - allOf: - *278 - - *585 - - allOf: - *586 - - *585 - allOf: - *279 - - *585 + - *586 + - allOf: + - *587 + - *586 - allOf: - *280 - - *585 + - *586 - allOf: - *281 - - *585 + - *586 - allOf: - *282 - - *585 + - *586 - allOf: - *283 - - *585 + - *586 - allOf: - *284 - - *585 + - *586 - allOf: - *285 - - *585 + - *586 - allOf: - *286 - - *585 + - *586 - allOf: - *287 - - *585 + - *586 - allOf: - *288 - - *585 + - *586 - allOf: - *289 - - *585 + - *586 - allOf: - *290 - - *585 + - *586 - allOf: - *291 - - *585 + - *586 - allOf: - *292 - - *585 + - *586 - allOf: - *293 - - *585 + - *586 - allOf: - *294 - - *585 + - *586 - allOf: - - *587 - - *585 + - *295 + - *586 + - allOf: + - *588 + - *586 examples: default: value: @@ -88445,8 +88510,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88457,7 +88522,7 @@ paths: schema: type: boolean default: true - - *588 + - *589 responses: '200': description: Response @@ -88465,7 +88530,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -88512,8 +88577,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88533,16 +88598,16 @@ paths: - tag - push default: branch - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *590 required: - name - enforcement @@ -88573,9 +88638,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &599 + default: &600 value: id: 42 name: super cool ruleset @@ -88622,12 +88687,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *590 + - *326 - *591 - *592 - *593 + - *594 - *17 - *19 responses: @@ -88635,9 +88700,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '500': *103 x-github: @@ -88658,17 +88723,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *596 + - *326 + - *597 responses: '200': description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *598 + default: *599 '404': *6 '500': *103 x-github: @@ -88696,8 +88761,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88717,9 +88782,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *599 + default: *600 '404': *6 '500': *103 put: @@ -88737,8 +88802,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88763,16 +88828,16 @@ paths: - branch - tag - push - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *590 examples: default: value: @@ -88800,9 +88865,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *599 + default: *600 '404': *6 '500': *103 delete: @@ -88820,8 +88885,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88844,8 +88909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -88861,9 +88926,9 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *600 + default: *601 '404': *6 '500': *103 x-github: @@ -88882,8 +88947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88901,7 +88966,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -88956,21 +89021,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *602 + - *326 - *603 - *604 - *605 + - *606 - *48 - *19 - *17 - - *606 - *607 - *608 - *609 - *610 - *611 + - *612 responses: '200': description: Response @@ -88978,7 +89043,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 type: object properties: number: *159 @@ -88997,8 +89062,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolved_at: type: string format: date-time @@ -89094,7 +89159,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *615 nullable: true has_more_locations: type: boolean @@ -89243,16 +89308,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 - - *611 + - *326 + - *425 + - *612 responses: '200': description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89304,9 +89369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: true content: @@ -89314,8 +89379,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89334,7 +89399,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89409,9 +89474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 - *19 - *17 responses: @@ -89448,7 +89513,6 @@ paths: example: commit details: oneOf: - - *616 - *617 - *618 - *619 @@ -89461,6 +89525,7 @@ paths: - *626 - *627 - *628 + - *629 examples: default: value: @@ -89546,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89555,14 +89620,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &631 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *630 required: - reason - placeholder_id @@ -89579,7 +89644,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *631 expire_at: type: string format: date-time @@ -89625,8 +89690,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89641,7 +89706,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &632 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89667,15 +89732,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *632 backfill_scans: type: array - items: *631 + items: *632 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *632 - type: object properties: pattern_name: @@ -89745,8 +89810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -89790,9 +89855,9 @@ paths: application/json: schema: type: array - items: *632 + items: *633 examples: - default: *633 + default: *634 '400': *14 '404': *6 x-github: @@ -89815,8 +89880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89889,7 +89954,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 required: - login - type @@ -89976,9 +90041,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90211,8 +90276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90316,7 +90381,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -90463,17 +90528,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *634 + - *326 + - *635 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '403': *29 '404': *6 x-github: @@ -90497,9 +90562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *634 + - *326 + - *635 requestBody: required: true content: @@ -90572,7 +90637,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 required: - login - type @@ -90658,10 +90723,10 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 - add_credit: *635 + default: *636 + add_credit: *636 '403': *29 '404': *6 '422': @@ -90699,9 +90764,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: - - *324 - *325 - - *634 + - *326 + - *635 responses: '202': *39 '400': *14 @@ -90728,17 +90793,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *634 + - *326 + - *635 responses: '202': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 '400': *14 '422': *15 '403': *29 @@ -90764,8 +90829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -90864,8 +90929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90874,7 +90939,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90907,8 +90972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -90984,8 +91049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91081,8 +91146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91236,8 +91301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91247,7 +91312,7 @@ paths: application/json: schema: type: array - items: *636 + items: *637 examples: default: value: @@ -91280,8 +91345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91335,7 +91400,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -91389,8 +91454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91422,14 +91487,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91497,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91524,7 +91589,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -91551,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91572,8 +91637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91652,8 +91717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91661,7 +91726,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Tag protection description: Tag protection type: object @@ -91713,8 +91778,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -91737,7 +91802,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -91768,8 +91833,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91806,8 +91871,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -91843,8 +91908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91876,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -91885,7 +91950,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91897,7 +91962,7 @@ paths: required: - names examples: - default: &641 + default: &642 value: names: - octocat @@ -91920,8 +91985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -91952,9 +92017,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *7 x-github: @@ -91975,9 +92040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &642 + - *326 + - &643 name: per description: The time frame to display results for. in: query @@ -92006,7 +92071,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &644 title: Traffic type: object properties: @@ -92093,8 +92158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92184,8 +92249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92245,9 +92310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *642 + - *326 + - *643 responses: '200': description: Response @@ -92266,7 +92331,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *644 required: - uniques - count @@ -92343,8 +92408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92618,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92642,8 +92707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -92665,8 +92730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -92692,8 +92757,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92785,9 +92850,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93035,7 +93100,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -93197,7 +93262,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -93268,7 +93333,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true comment_count: type: integer @@ -93288,7 +93353,7 @@ paths: url: type: string format: uri - verification: *506 + verification: *507 required: - author - committer @@ -93307,7 +93372,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true parents: type: array @@ -93325,7 +93390,7 @@ paths: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -93517,7 +93582,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *17 - *19 - name: advanced_search @@ -93614,11 +93679,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -93635,8 +93700,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true comments: type: integer @@ -93650,7 +93715,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -93875,7 +93940,7 @@ paths: enum: - created - updated - - *645 + - *646 - *17 - *19 responses: @@ -93919,7 +93984,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -94004,7 +94069,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *17 - *19 responses: @@ -94243,7 +94308,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -94543,7 +94608,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -94734,7 +94799,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *17 - *19 responses: @@ -94838,7 +94903,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -94917,7 +94982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &650 name: team_id description: The unique identifier of the team. in: path @@ -94929,9 +94994,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -94958,7 +95023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95021,16 +95086,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '201': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95058,7 +95123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *650 responses: '204': description: Response @@ -95089,7 +95154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *650 - *48 - *17 - *19 @@ -95100,9 +95165,9 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: - default: *650 + default: *651 headers: Link: *54 x-github: @@ -95131,7 +95196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95165,9 +95230,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95194,16 +95259,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95228,8 +95293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: false content: @@ -95252,9 +95317,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *651 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95279,8 +95344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 responses: '204': description: Response @@ -95309,8 +95374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *313 + - *650 + - *314 - *48 - *17 - *19 @@ -95321,9 +95386,9 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: - default: *652 + default: *653 headers: Link: *54 x-github: @@ -95352,8 +95417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: true content: @@ -95375,9 +95440,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95404,17 +95469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95439,9 +95504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 requestBody: required: true content: @@ -95463,9 +95528,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *653 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95490,9 +95555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 responses: '204': description: Response @@ -95521,9 +95586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 - 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. @@ -95549,9 +95614,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -95580,9 +95645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 requestBody: required: true content: @@ -95614,9 +95679,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95642,8 +95707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 - 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. @@ -95669,9 +95734,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -95700,8 +95765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: true content: @@ -95733,9 +95798,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95759,7 +95824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95797,7 +95862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *650 - name: role description: Filters members returned by their role in the team. in: query @@ -95848,7 +95913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95885,7 +95950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95925,7 +95990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95962,16 +96027,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *655 '404': *6 x-github: githubCloudOnly: false @@ -96004,7 +96069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 requestBody: required: false @@ -96030,9 +96095,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *656 '403': description: Forbidden if team synchronization is set up '422': @@ -96066,7 +96131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -96095,7 +96160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96105,9 +96170,9 @@ paths: application/json: schema: type: array - items: *322 + items: *323 examples: - default: *656 + default: *657 headers: Link: *54 '404': *6 @@ -96133,16 +96198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *323 + - *650 + - *324 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *657 + default: *658 '404': description: Not Found if project is not managed by this team x-github: @@ -96166,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *323 + - *650 + - *324 requestBody: required: false content: @@ -96234,8 +96299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *323 + - *650 + - *324 responses: '204': description: Response @@ -96262,7 +96327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96304,15 +96369,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *659 examples: alternative-response-with-extra-repository-information: value: @@ -96463,9 +96528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 requestBody: required: false content: @@ -96515,9 +96580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 responses: '204': description: Response @@ -96542,7 +96607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96554,7 +96619,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *660 headers: Link: *54 '404': *6 @@ -96587,7 +96652,7 @@ paths: application/json: schema: oneOf: - - &661 + - &662 title: Private User description: Private User type: object @@ -96790,7 +96855,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *661 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96943,7 +97008,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -97289,7 +97354,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97297,7 +97362,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -97341,7 +97406,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &663 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97381,7 +97446,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *448 headers: Link: *54 x-github: @@ -97457,7 +97522,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -97603,7 +97668,7 @@ paths: type: array items: *143 examples: - default: *663 + default: *664 '401': *25 '403': *29 '404': *6 @@ -97755,7 +97820,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '304': *37 '500': *103 '401': *25 @@ -97813,7 +97878,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -97870,7 +97935,7 @@ paths: description: Response content: application/json: - schema: &664 + schema: &665 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97911,7 +97976,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &666 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97956,9 +98021,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97995,9 +98060,9 @@ paths: type: integer machines: type: array - items: *666 + items: *667 examples: - default: *667 + default: *668 '304': *37 '500': *103 '401': *25 @@ -98076,13 +98141,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *331 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *446 + required: *447 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98864,7 +98929,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '304': *37 '500': *103 '400': *14 @@ -98904,7 +98969,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '500': *103 '401': *25 '403': *29 @@ -98936,7 +99001,7 @@ paths: type: array items: *235 examples: - default: &678 + default: &679 value: - id: 197 name: hello_docker @@ -99037,7 +99102,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 title: Email description: Email type: object @@ -99102,9 +99167,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: &680 + default: &681 value: - email: octocat@github.com verified: true @@ -99179,7 +99244,7 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: default: value: @@ -99435,7 +99500,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: GPG Key description: A unique encryption key type: object @@ -99566,7 +99631,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &695 value: - id: 3 name: Octocat's GPG Key @@ -99651,9 +99716,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: id: 3 name: Octocat's GPG Key @@ -99710,7 +99775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &672 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99722,9 +99787,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99747,7 +99812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *672 responses: '204': description: Response @@ -100052,7 +100117,7 @@ paths: required: true content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -100202,7 +100267,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Key description: Key type: object @@ -100303,9 +100368,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: &673 + default: &674 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100338,15 +100403,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '200': description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '404': *6 '304': *37 '403': *29 @@ -100369,7 +100434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '204': description: Response @@ -100402,7 +100467,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100470,7 +100535,7 @@ paths: - account - plan examples: - default: &675 + default: &676 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100532,9 +100597,9 @@ paths: application/json: schema: type: array - items: *674 + items: *675 examples: - default: *675 + default: *676 headers: Link: *54 '304': *37 @@ -101529,7 +101594,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *229 - - *676 + - *677 responses: '204': description: Response @@ -101644,7 +101709,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *19 - *17 responses: @@ -101656,8 +101721,8 @@ paths: type: array items: *235 examples: - default: *678 - '400': *679 + default: *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101686,7 +101751,7 @@ paths: application/json: schema: *235 examples: - default: &695 + default: &696 value: id: 40201 name: octo-name @@ -102048,9 +102113,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: *680 + default: *681 headers: Link: *54 '304': *37 @@ -102163,7 +102228,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &688 summary: Default response value: - id: 1296269 @@ -102467,9 +102532,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102507,9 +102572,9 @@ paths: application/json: schema: type: array - items: *519 + items: *520 examples: - default: *681 + default: *682 headers: Link: *54 '304': *37 @@ -102588,7 +102653,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Social account description: Social media account type: object @@ -102603,7 +102668,7 @@ paths: - provider - url examples: - default: &683 + default: &684 value: - provider: twitter url: https://twitter.com/github @@ -102665,9 +102730,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 '422': *15 '304': *37 '404': *6 @@ -102754,7 +102819,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102840,9 +102905,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102873,7 +102938,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: - - &686 + - &687 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102885,9 +102950,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 '404': *6 '304': *37 '403': *29 @@ -102910,7 +102975,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: - - *686 + - *687 responses: '204': description: Response @@ -102964,7 +103029,7 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *688 application/vnd.github.v3.star+json: schema: type: array @@ -103124,8 +103189,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103153,8 +103218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -103178,8 +103243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -103251,7 +103316,7 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: default: value: @@ -103337,10 +103402,10 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: &689 + default-response: &690 summary: Default response value: login: octocat @@ -103375,7 +103440,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &691 summary: Response with GitHub plan information value: login: octocat @@ -103435,7 +103500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *689 - *17 responses: '200': @@ -103484,11 +103549,11 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *690 + response-with-git-hub-plan-information: *691 '404': *6 x-github: githubCloudOnly: false @@ -103538,8 +103603,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *692 + withPredicateType: *693 responses: '200': description: Response @@ -103592,7 +103657,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103797,7 +103862,7 @@ paths: initiator: type: string examples: - default: *386 + default: *387 '201': description: Response content: @@ -103838,7 +103903,7 @@ paths: type: array items: *235 examples: - default: *678 + default: *679 '403': *29 '401': *25 x-github: @@ -104222,9 +104287,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *694 + default: *695 headers: Link: *54 x-github: @@ -104328,7 +104393,7 @@ paths: application/json: schema: *22 examples: - default: *516 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104452,7 +104517,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *59 - *19 - *17 @@ -104465,10 +104530,10 @@ paths: type: array items: *235 examples: - default: *678 + default: *679 '403': *29 '401': *25 - '400': *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104498,7 +104563,7 @@ paths: application/json: schema: *235 examples: - default: *695 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104845,9 +104910,9 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: - default: *696 + default: *697 headers: Link: *54 '304': *37 @@ -104870,16 +104935,16 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *253 - - *697 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *698 + default: *699 headers: Link: *54 '304': *37 @@ -104935,9 +105000,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -104996,10 +105061,10 @@ paths: description: Response content: application/json: - schema: *699 + schema: *259 examples: - issue: *259 - pull_request: *259 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -105021,7 +105086,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105041,9 +105106,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -105066,7 +105131,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105136,13 +105201,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -105164,7 +105229,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 responses: '204': description: Response @@ -105866,9 +105931,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 headers: Link: *54 x-github: @@ -105898,7 +105963,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: *710 headers: @@ -105941,7 +106006,7 @@ paths: - type: array items: *66 examples: - default-response: *687 + default-response: *688 headers: Link: *54 x-github: @@ -107711,7 +107776,7 @@ x-webhooks: type: string pull_requests: type: array - items: *403 + items: *404 repository: *143 status: example: completed @@ -107799,7 +107864,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *403 + items: *404 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -111529,7 +111594,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111852,7 +111917,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112182,7 +112247,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112524,7 +112589,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112795,7 +112860,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113069,7 +113134,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113657,7 +113722,7 @@ x-webhooks: type: string enum: - created - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -113824,7 +113889,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -113904,7 +113969,7 @@ x-webhooks: type: string enum: - updated - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -114167,7 +114232,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114255,7 +114320,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114343,7 +114408,7 @@ x-webhooks: type: string enum: - created - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114429,7 +114494,7 @@ x-webhooks: type: string enum: - dismissed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114515,7 +114580,7 @@ x-webhooks: type: string enum: - fixed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114602,7 +114667,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114688,7 +114753,7 @@ x-webhooks: type: string enum: - reopened - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -116181,10 +116246,10 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *481 + deployment: *482 pull_requests: type: array - items: *568 + items: *569 repository: *716 organization: *715 installation: *714 @@ -120863,7 +120928,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *531 required: - repository_url - category @@ -125455,8 +125520,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126842,8 +126907,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128082,8 +128147,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129689,11 +129754,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130686,11 +130751,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131808,11 +131873,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132816,11 +132881,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133943,11 +134008,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134935,11 +135000,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135951,11 +136016,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136936,11 +137001,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137904,11 +137969,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139260,11 +139325,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140246,11 +140311,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141257,11 +141322,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142223,11 +142288,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144030,11 +144095,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160699,7 +160764,7 @@ x-webhooks: organization: *715 pull_request: &764 allOf: - - *568 + - *569 - type: object properties: allow_auto_merge: @@ -160928,7 +160993,7 @@ x-webhooks: enum: - demilestoned enterprise: *713 - milestone: *550 + milestone: *551 number: *763 organization: *715 pull_request: &765 @@ -172850,7 +172915,7 @@ x-webhooks: enum: - milestoned enterprise: *713 - milestone: *550 + milestone: *551 number: *763 organization: *715 pull_request: *765 @@ -214866,7 +214931,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_advisory: *632 + repository_advisory: *633 sender: *4 required: - action @@ -214946,7 +215011,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_advisory: *632 + repository_advisory: *633 sender: *4 required: - action @@ -215808,7 +215873,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 sender: *4 required: - action @@ -215890,7 +215955,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 sender: *4 required: - action @@ -215972,7 +216037,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 changes: type: object properties: @@ -215991,16 +216056,16 @@ x-webhooks: properties: added: type: array - items: *270 + items: *271 deleted: type: array - items: *270 + items: *271 updated: type: array items: type: object properties: - condition: *270 + condition: *271 changes: type: object properties: @@ -216033,16 +216098,16 @@ x-webhooks: properties: added: type: array - items: *589 + items: *590 deleted: type: array - items: *589 + items: *590 updated: type: array items: type: object properties: - rule: *589 + rule: *590 changes: type: object properties: @@ -218485,11 +218550,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *269 + security_and_analysis: *270 enterprise: *713 installation: *714 organization: *715 - repository: *330 + repository: *331 sender: *4 required: - changes @@ -223712,7 +223777,7 @@ x-webhooks: type: string required: - conclusion - deployment: *481 + deployment: *482 required: - action - repository @@ -224054,7 +224119,7 @@ x-webhooks: required: - status - steps - deployment: *481 + deployment: *482 required: - action - repository @@ -224271,7 +224336,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *481 + deployment: *482 required: - action - repository @@ -224489,7 +224554,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *481 + deployment: *482 required: - action - repository diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 78a37d7b8f..db161be71a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -73442,7 +73442,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -73453,6 +73453,14 @@ "maxLength": 71, "pattern": "^sha256:[a-f0-9]{64}$" }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "example": "1.2.3" + }, "artifact_url": { "type": "string", "format": "uri", @@ -73508,7 +73516,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/", @@ -73577,7 +73586,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/", @@ -131631,6 +131640,5991 @@ } } }, + "/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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "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", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "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?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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", + "example": [ + "bug", + "registration" + ], + "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", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": true + } + }, + "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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "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", + "format": "uri", + "nullable": true + }, + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "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", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDExOlB1bGxSZXF1ZXN0MQ==" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347" + }, + "diff_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347.diff" + }, + "patch_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "issue_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "commits_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "review_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "comments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "statuses_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "number": { + "type": "integer", + "example": 1347 + }, + "state": { + "type": "string", + "example": "open" + }, + "locked": { + "type": "boolean", + "example": true + }, + "title": { + "type": "string", + "example": "new-feature" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "body": { + "type": "string", + "example": "Please pull these awesome changes", + "nullable": true + }, + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": true + } + }, + "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" + ], + "nullable": true + }, + "active_lock_reason": { + "type": "string", + "example": "too heated", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "merged_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "merge_commit_sha": { + "type": "string", + "example": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "nullable": true + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "requested_reviewers": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "nullable": true + }, + "requested_teams": { + "type": "array", + "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", + "nullable": true + }, + "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", + "example": "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", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, + "parent": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + }, + "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", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + }, + "nullable": true + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": 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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "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", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": "object", + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "example": false, + "type": "boolean" + } + }, + "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", + "description": "The body content of the draft issue", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the item was last updated." + }, + "archived_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "nullable": true, + "description": "The time when the item was archived." + }, + "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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index b9faf964ea..868c227add 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &301 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &635 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &268 + required: &269 - archive_url - assignees_url - blobs_url @@ -8608,7 +8608,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 - - &472 + - &473 name: has in: query description: |- @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &473 + security_advisory: &474 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8986,7 +8986,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &474 + auto_dismissed_at: &475 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &524 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &255 + properties: &254 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &256 + required: &255 - closed_issues - creator - description @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &647 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &648 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &525 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &661 title: Public User description: Public User type: object @@ -14649,14 +14649,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14718,7 +14718,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &332 description: Moved permanently content: application/json: @@ -14740,7 +14740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &554 name: all description: If `true`, show notifications marked as read. in: query @@ -14748,7 +14748,7 @@ paths: schema: type: boolean default: false - - &554 + - &555 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14758,7 +14758,7 @@ paths: type: boolean default: false - *72 - - &555 + - &556 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: @@ -15070,7 +15070,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &270 nullable: true type: object properties: @@ -15232,7 +15232,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &557 value: - id: '1' repository: @@ -16100,7 +16100,7 @@ paths: - property_name - value examples: - default: &562 + default: &563 value: - property_name: environment value: production @@ -16150,7 +16150,7 @@ paths: required: - properties examples: - default: &563 + default: &564 value: properties: - property_name: environment @@ -17863,7 +17863,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &337 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19055,7 +19055,7 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &343 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` @@ -19138,7 +19138,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -19180,7 +19180,7 @@ paths: required: true content: application/json: - schema: &347 + schema: &348 type: object properties: days: @@ -19237,7 +19237,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &349 value: approval_policy: first_time_contributors '404': *6 @@ -19296,7 +19296,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -19350,7 +19350,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -19985,7 +19985,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: &136 @@ -20036,7 +20036,7 @@ paths: required: false content: application/json: - schema: &352 + schema: &353 type: object properties: default_workflow_permissions: *136 @@ -20525,7 +20525,7 @@ paths: type: array items: *143 examples: - default: &663 + default: &664 value: total_count: 1 repositories: @@ -21167,7 +21167,7 @@ paths: application/json: schema: type: array - items: &353 + items: &354 title: Runner Application description: Runner Application type: object @@ -21192,7 +21192,7 @@ paths: - download_url - filename examples: - default: &354 + default: &355 value: - os: osx architecture: x64 @@ -21278,7 +21278,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &356 description: Response content: application/json: @@ -21389,7 +21389,7 @@ paths: - token - expires_at examples: - default: &356 + default: &357 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21428,7 +21428,7 @@ paths: application/json: schema: *147 examples: - default: &357 + default: &358 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21462,7 +21462,7 @@ paths: application/json: schema: *145 examples: - default: &358 + default: &359 value: id: 23 name: MBP @@ -21688,7 +21688,7 @@ paths: - *63 - *144 responses: - '200': &359 + '200': &360 description: Response content: application/json: @@ -21745,7 +21745,7 @@ paths: parameters: - *63 - *144 - - &360 + - &361 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21875,7 +21875,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21904,7 +21904,7 @@ paths: - key_id - key examples: - default: &373 + default: &374 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22317,7 +22317,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &341 + - &342 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)." @@ -22807,7 +22807,7 @@ paths: name: type: string description: The name of the artifact. - example: libfoo-1.2.3 + example: libfoo minLength: 1 digest: type: string @@ -22816,6 +22816,13 @@ paths: minLength: 71 maxLength: 71 pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + example: 1.2.3 artifact_url: type: string format: uri @@ -22867,7 +22874,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/ @@ -22914,7 +22922,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/ @@ -23050,12 +23058,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &692 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &693 value: subject_digests: - sha256:abc123 @@ -23113,7 +23121,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &694 value: attestations_subject_digests: - sha256:abc: @@ -23462,7 +23470,7 @@ paths: initiator: type: string examples: - default: &386 + default: &387 value: attestations: - bundle: @@ -24391,7 +24399,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &412 + - &413 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`, @@ -24401,7 +24409,7 @@ paths: schema: &166 type: string description: The name of the tool used to generate the code scanning analysis. - - &413 + - &414 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 @@ -24424,7 +24432,7 @@ paths: be returned. in: query required: false - schema: &415 + schema: &416 type: string description: State of a code scanning alert. enum: @@ -24447,7 +24455,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &417 type: string description: Severity of a code scanning alert. enum: @@ -24473,7 +24481,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: &417 + instances_url: &418 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24496,7 +24504,7 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: &418 + dismissed_reason: &419 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -24505,13 +24513,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &419 + dismissed_comment: &420 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &420 + rule: &421 type: object properties: id: @@ -24564,7 +24572,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &421 + tool: &422 type: object properties: name: *166 @@ -24574,15 +24582,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *167 - most_recent_instance: &422 + most_recent_instance: &423 type: object properties: - ref: &414 + ref: &415 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &432 + analysis_key: &433 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24593,7 +24601,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &433 + category: &434 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25917,7 +25925,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &445 + properties: &446 name: type: string description: The name of the machine. @@ -25959,7 +25967,7 @@ paths: - ready - in_progress nullable: true - required: &446 + required: &447 - name - display_name - operating_system @@ -26827,7 +26835,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &448 value: total_count: 2 secrets: @@ -26865,7 +26873,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &449 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26894,7 +26902,7 @@ paths: - key_id - key examples: - default: &449 + default: &450 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26926,7 +26934,7 @@ paths: application/json: schema: *176 examples: - default: &451 + default: &452 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27924,7 +27932,7 @@ paths: application/json: schema: type: array - items: &306 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28231,7 +28239,7 @@ paths: - date additionalProperties: true examples: - default: &307 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -28333,7 +28341,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &308 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28539,7 +28547,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28556,7 +28564,7 @@ paths: - key_id - key examples: - default: &478 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30356,7 +30364,7 @@ paths: application/json: schema: *22 examples: - default: &516 + default: &517 value: id: 1 account: @@ -30581,7 +30589,7 @@ paths: required: true content: application/json: - schema: &517 + schema: &518 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -31434,7 +31442,7 @@ paths: application/json: schema: *222 examples: - default: &444 + default: &445 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32679,7 +32687,7 @@ paths: parameters: - *63 - *229 - - &676 + - &677 name: repo_name description: repo_name parameter in: path @@ -33424,7 +33432,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &302 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -33718,7 +33726,7 @@ paths: - nuget - container - *63 - - &677 + - &678 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33759,7 +33767,7 @@ paths: default: *236 '403': *29 '401': *25 - '400': &679 + '400': &680 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35753,6 +35761,500 @@ 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: + - *63 + - *253 + 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: &259 + 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: + - *82 + - &460 + title: Pull Request Simple + description: Pull Request Simple + type: object + properties: + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 + id: + type: integer + format: int64 + example: 1 + node_id: + type: string + example: MDExOlB1bGxSZXF1ZXN0MQ== + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347 + diff_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347.diff + patch_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World/pull/1347.patch + issue_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + commits_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits + review_comments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments + review_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} + comments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/issues/1347/comments + statuses_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e + number: + type: integer + example: 1347 + state: + type: string + example: open + locked: + type: boolean + example: true + title: + type: string + example: new-feature + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + body: + type: string + example: Please pull these awesome changes + nullable: true + 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: + title: Milestone + description: A collection of related issues and pull requests. + type: object + properties: *254 + required: *255 + nullable: true + active_lock_reason: + type: string + example: too heated + nullable: true + created_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + updated_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + closed_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + nullable: true + merged_at: + type: string + format: date-time + example: '2011-01-26T19:01:12Z' + nullable: true + merge_commit_sha: + type: string + example: e5bd3914e2e596debea16f433f57875b5b90bcd6 + nullable: true + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + assignees: + type: array + items: *4 + nullable: true + requested_reviewers: + type: array + items: *4 + nullable: true + requested_teams: + type: array + items: *179 + nullable: true + head: + type: object + properties: + label: + type: string + ref: + type: string + repo: *66 + sha: + type: string + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + required: + - label + - ref + - repo + - sha + - user + base: + type: object + properties: + label: + type: string + ref: + type: string + repo: *66 + sha: + type: string + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + required: + - label + - ref + - repo + - sha + - user + _links: + type: object + properties: + comments: &256 + title: Link + description: Hypermedia Link + type: object + properties: + href: + type: string + required: + - href + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 + required: + - comments + - commits + - statuses + - html + - issue + - review_comments + - review_comment + - self + author_association: *69 + auto_merge: &566 + title: Auto merge + description: The status of auto merging a pull request. + type: object + 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 + nullable: true + draft: + description: Indicates whether or not the pull request is + a draft. + example: false + type: boolean + 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 + description: The body content of the draft issue + nullable: true + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + 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: &258 + 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 + example: '2022-04-28T12:00:00Z' + description: The time when the item was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the item was last updated. + archived_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + nullable: true + description: The time when the item was archived. + 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: &260 + 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': *37 + '403': *29 + '401': *25 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/orgs/{org}/projectsV2/{project_number}/fields": get: summary: List project fields for organization @@ -35776,7 +36278,7 @@ paths: application/json: schema: type: array - items: &254 + items: &257 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35923,7 +36425,7 @@ paths: - updated_at - project_url examples: - default: &696 + default: &697 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36027,7 +36529,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *253 - - &697 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -36040,9 +36542,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: &698 + default: &699 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36119,7 +36621,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Projects v2 Item description: An item belonging to a project type: object @@ -36135,14 +36637,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &258 - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue + content_type: *258 content: type: object additionalProperties: true @@ -36185,7 +36680,7 @@ paths: - updated_at - archived_at examples: - default: &261 + default: &262 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36917,440 +37412,10 @@ paths: description: Response content: application/json: - schema: &699 - 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: - - *82 - - &459 - title: Pull Request Simple - description: Pull Request Simple - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347 - id: - type: integer - format: int64 - example: 1 - node_id: - type: string - example: MDExOlB1bGxSZXF1ZXN0MQ== - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347 - diff_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347.diff - patch_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World/pull/1347.patch - issue_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - commits_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits - review_comments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments - review_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number} - comments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/issues/1347/comments - statuses_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e - number: - type: integer - example: 1347 - state: - type: string - example: open - locked: - type: boolean - example: true - title: - type: string - example: new-feature - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - body: - type: string - example: Please pull these awesome changes - nullable: true - 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: - title: Milestone - description: A collection of related issues and pull requests. - type: object - properties: *255 - required: *256 - nullable: true - active_lock_reason: - type: string - example: too heated - nullable: true - created_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - closed_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - nullable: true - merged_at: - type: string - format: date-time - example: '2011-01-26T19:01:12Z' - nullable: true - merge_commit_sha: - type: string - example: e5bd3914e2e596debea16f433f57875b5b90bcd6 - nullable: true - assignee: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - assignees: - type: array - items: *4 - nullable: true - requested_reviewers: - type: array - items: *4 - nullable: true - requested_teams: - type: array - items: *179 - nullable: true - head: - type: object - properties: - label: - type: string - ref: - type: string - repo: *66 - sha: - type: string - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - required: - - label - - ref - - repo - - sha - - user - base: - type: object - properties: - label: - type: string - ref: - type: string - repo: *66 - sha: - type: string - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - required: - - label - - ref - - repo - - sha - - user - _links: - type: object - properties: - comments: &257 - title: Link - description: Hypermedia Link - type: object - properties: - href: - type: string - required: - - href - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 - required: - - comments - - commits - - statuses - - html - - issue - - review_comments - - review_comment - - self - author_association: *69 - auto_merge: &565 - title: Auto merge - description: The status of auto merging a pull request. - type: object - 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 - nullable: true - draft: - description: Indicates whether or not the pull request is - a draft. - example: false - type: boolean - 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 - description: The body content of the draft issue - nullable: true - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - 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: *258 - creator: *4 - created_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was created. - updated_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - description: The time when the item was last updated. - archived_at: - type: string - format: date-time - example: '2022-04-28T12:00:00Z' - nullable: true - description: The time when the item was archived. - 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: *259 examples: - issue: &259 - 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: *259 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -37372,7 +37437,7 @@ paths: parameters: - *253 - *63 - - &262 + - &263 name: item_id description: The unique identifier of the project item. in: path @@ -37398,9 +37463,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -37423,7 +37488,7 @@ paths: parameters: - *253 - *63 - - *262 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37493,13 +37558,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -37521,7 +37586,7 @@ paths: parameters: - *253 - *63 - - *262 + - *263 responses: '204': description: Response @@ -37553,7 +37618,7 @@ paths: application/json: schema: type: array - items: &263 + items: &264 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37619,7 +37684,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &265 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37678,7 +37743,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *264 minItems: 1 maxItems: 100 required: @@ -37708,9 +37773,9 @@ paths: application/json: schema: type: array - items: *263 + items: *264 examples: - default: *264 + default: *265 '403': *29 '404': *6 x-github: @@ -37732,7 +37797,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &265 + - &266 name: custom_property_name description: The custom property name in: path @@ -37744,9 +37809,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: &266 + default: &267 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37781,7 +37846,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *266 requestBody: required: true content: @@ -37850,9 +37915,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - default: *266 + default: *267 '403': *29 '404': *6 x-github: @@ -37876,7 +37941,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *266 responses: '204': *173 '403': *29 @@ -38400,7 +38465,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &331 title: Full Repository description: Full Repository type: object @@ -38677,8 +38742,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -38793,7 +38858,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &464 + properties: &465 url: type: string format: uri @@ -38809,12 +38874,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &465 + required: &466 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38898,7 +38963,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &333 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39419,7 +39484,7 @@ paths: - *63 - *17 - *19 - - &588 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39437,7 +39502,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39472,7 +39537,7 @@ paths: source: type: string description: The name of the source - enforcement: &272 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39485,7 +39550,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &273 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39555,7 +39620,7 @@ paths: conditions: nullable: true anyOf: - - &270 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39579,7 +39644,7 @@ paths: match. items: type: string - - &274 + - &275 title: Organization ruleset conditions type: object description: |- @@ -39593,7 +39658,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39627,7 +39692,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39649,7 +39714,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *270 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39662,7 +39727,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &271 + items: &272 title: Repository ruleset property targeting definition type: object @@ -39695,17 +39760,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *271 + items: *272 required: - repository_property rules: type: array - items: &589 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &275 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39717,7 +39782,7 @@ paths: type: string enum: - creation - - &276 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -39738,7 +39803,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &277 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39750,7 +39815,7 @@ paths: type: string enum: - deletion - - &278 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39762,7 +39827,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39840,7 +39905,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &279 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39864,7 +39929,7 @@ paths: type: string required: - required_deployment_environments - - &280 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39876,7 +39941,7 @@ paths: type: string enum: - required_signatures - - &281 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39938,7 +40003,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &282 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39986,7 +40051,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &283 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39998,7 +40063,7 @@ paths: type: string enum: - non_fast_forward - - &284 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40034,7 +40099,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40070,7 +40135,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40106,7 +40171,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40142,7 +40207,7 @@ paths: required: - operator - pattern - - &288 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40178,7 +40243,7 @@ paths: required: - operator - pattern - - &289 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40203,7 +40268,7 @@ paths: type: string required: - restricted_file_paths - - &290 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40227,7 +40292,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &291 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40250,7 +40315,7 @@ paths: type: string required: - restricted_file_extensions - - &292 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40275,7 +40340,7 @@ paths: maximum: 100 required: - max_file_size - - &293 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40325,7 +40390,7 @@ paths: - repository_id required: - workflows - - &294 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40386,7 +40451,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40484,21 +40549,20 @@ paths: - push - repository default: branch - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &297 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *275 - *276 - *277 - *278 @@ -40518,6 +40582,7 @@ paths: - *292 - *293 - *294 + - *295 required: - name - enforcement @@ -40555,9 +40620,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: id: 21 name: super cool ruleset @@ -40612,7 +40677,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &591 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 @@ -40627,7 +40692,7 @@ paths: in: query schema: type: string - - &591 + - &592 name: time_period description: |- The time period to filter by. @@ -40643,14 +40708,14 @@ paths: - week - month default: day - - &592 + - &593 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 - - &593 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40670,7 +40735,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suites description: Response type: array @@ -40725,7 +40790,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &596 value: - id: 21 actor_id: 12 @@ -40769,7 +40834,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40785,7 +40850,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &598 title: Rule Suite description: Response type: object @@ -40884,7 +40949,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &599 value: id: 21 actor_id: 12 @@ -40957,9 +41022,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '404': *6 '500': *103 put: @@ -41003,16 +41068,16 @@ paths: - tag - push - repository - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *297 + items: *298 examples: default: value: @@ -41047,9 +41112,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '404': *6 '500': *103 delete: @@ -41106,7 +41171,7 @@ paths: application/json: schema: type: array - items: &298 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -41130,7 +41195,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &601 value: - version_id: 3 actor: @@ -41183,9 +41248,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &602 allOf: - - *298 + - *299 - type: object required: - state @@ -41255,7 +41320,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &603 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41266,7 +41331,7 @@ paths: enum: - open - resolved - - &603 + - &604 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41276,7 +41341,7 @@ paths: required: false schema: type: string - - &604 + - &605 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41285,7 +41350,7 @@ paths: required: false schema: type: string - - &605 + - &606 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. @@ -41300,7 +41365,7 @@ paths: - *48 - *19 - *17 - - &606 + - &607 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 @@ -41310,7 +41375,7 @@ paths: required: false schema: type: string - - &607 + - &608 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 @@ -41320,7 +41385,7 @@ paths: required: false schema: type: string - - &608 + - &609 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41329,7 +41394,7 @@ paths: required: false schema: type: string - - &609 + - &610 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41338,7 +41403,7 @@ paths: schema: type: boolean default: false - - &610 + - &611 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41347,7 +41412,7 @@ paths: schema: type: boolean default: false - - &611 + - &612 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41382,14 +41447,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &613 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: &613 + resolution: &614 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41496,8 +41561,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &615 + - &617 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41549,7 +41614,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &618 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. @@ -41604,7 +41669,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &619 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41618,7 +41683,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &620 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41632,7 +41697,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &621 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41646,7 +41711,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &622 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41660,7 +41725,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &623 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41674,7 +41739,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &624 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41688,7 +41753,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &625 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. @@ -41702,7 +41767,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &626 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. @@ -41716,7 +41781,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &627 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. @@ -41730,7 +41795,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &628 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. @@ -41744,7 +41809,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &629 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41986,7 +42051,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &300 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41995,7 +42060,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &299 + items: &300 type: object properties: token_type: @@ -42061,7 +42126,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *299 + items: *300 examples: default: value: @@ -42118,7 +42183,7 @@ paths: schema: type: object properties: - pattern_config_version: *300 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42144,7 +42209,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *300 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42242,7 +42307,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 description: A repository security advisory. type: object properties: @@ -42462,7 +42527,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 credits_detailed: type: array nullable: true @@ -42472,7 +42537,7 @@ paths: type: object properties: user: *4 - type: *301 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42533,7 +42598,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &634 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42920,7 +42985,7 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: default: *234 x-github: @@ -43464,7 +43529,7 @@ paths: type: integer network_configurations: type: array - items: &303 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43584,9 +43649,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &304 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43615,7 +43680,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &305 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43627,9 +43692,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 headers: Link: *54 x-github: @@ -43651,7 +43716,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *305 + - *306 requestBody: required: true content: @@ -43690,9 +43755,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43712,7 +43777,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *305 + - *306 responses: '204': description: Response @@ -43852,13 +43917,13 @@ paths: application/json: schema: type: array - items: *306 + items: *307 examples: - default: *307 + default: *308 '500': *103 '403': *29 '404': *6 - '422': *308 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43982,7 +44047,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44309,7 +44374,7 @@ paths: - repos_count - organization examples: - default: &310 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44386,9 +44451,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -44472,16 +44537,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '201': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44551,7 +44616,7 @@ paths: application/json: schema: type: array - items: &311 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44650,7 +44715,7 @@ paths: - updated_at - url examples: - default: &650 + default: &651 value: - author: login: octocat @@ -44759,9 +44824,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: author: login: octocat @@ -44835,7 +44900,7 @@ paths: parameters: - *63 - *64 - - &313 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44847,9 +44912,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44873,7 +44938,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: false content: @@ -44896,9 +44961,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &651 + default: &652 value: author: login: octocat @@ -44970,7 +45035,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 responses: '204': description: Response @@ -44998,7 +45063,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 - *48 - *17 - *19 @@ -45009,7 +45074,7 @@ paths: application/json: schema: type: array - items: &314 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45081,7 +45146,7 @@ paths: - updated_at - url examples: - default: &652 + default: &653 value: - author: login: octocat @@ -45151,7 +45216,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: true content: @@ -45173,9 +45238,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &315 + default: &316 value: author: login: octocat @@ -45243,8 +45308,8 @@ paths: parameters: - *63 - *64 - - *313 - - &316 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -45256,9 +45321,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45282,8 +45347,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 requestBody: required: true content: @@ -45305,9 +45370,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: &653 + default: &654 value: author: login: octocat @@ -45373,8 +45438,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 responses: '204': description: Response @@ -45402,8 +45467,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 - 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. @@ -45429,7 +45494,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45472,7 +45537,7 @@ paths: - content - created_at examples: - default: &319 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45524,8 +45589,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *314 + - *317 requestBody: required: true content: @@ -45558,9 +45623,9 @@ paths: team discussion comment content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45589,9 +45654,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45616,9 +45681,9 @@ paths: parameters: - *63 - *64 - - *313 - - *316 - - &320 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45652,7 +45717,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 - 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. @@ -45678,9 +45743,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -45708,7 +45773,7 @@ paths: parameters: - *63 - *64 - - *313 + - *314 requestBody: required: true content: @@ -45740,16 +45805,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45774,8 +45839,8 @@ paths: parameters: - *63 - *64 - - *313 - - *320 + - *314 + - *321 responses: '204': description: Response @@ -45896,7 +45961,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Team Membership description: Team Membership type: object @@ -45923,7 +45988,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &655 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45986,9 +46051,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &656 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46061,7 +46126,7 @@ paths: application/json: schema: type: array - items: &322 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -46129,7 +46194,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &657 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46194,7 +46259,7 @@ paths: parameters: - *63 - *64 - - &323 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -46206,9 +46271,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: &657 + default: &658 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46272,7 +46337,7 @@ paths: parameters: - *63 - *64 - - *323 + - *324 requestBody: required: false content: @@ -46340,7 +46405,7 @@ paths: parameters: - *63 - *64 - - *323 + - *324 responses: '204': description: Response @@ -46411,14 +46476,14 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &659 title: Team Repository description: A team's access to a repository. type: object @@ -46989,8 +47054,8 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47037,8 +47102,8 @@ paths: parameters: - *63 - *64 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47075,7 +47140,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &660 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47202,7 +47267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &326 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -47214,7 +47279,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -47260,7 +47325,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47295,7 +47360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *326 + - *327 requestBody: required: true content: @@ -47319,9 +47384,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 '304': *37 '403': *29 '401': *25 @@ -47346,7 +47411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *326 + - *327 responses: '204': description: Response @@ -47375,7 +47440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *326 + - *327 requestBody: required: true content: @@ -47435,7 +47500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *323 + - *324 - 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 @@ -47492,7 +47557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *323 + - *324 - *59 requestBody: required: false @@ -47545,7 +47610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *323 + - *324 - *59 responses: '204': @@ -47577,7 +47642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *323 + - *324 - *59 responses: '200': @@ -47678,7 +47743,7 @@ paths: resources: type: object properties: - core: &329 + core: &330 title: Rate Limit type: object properties: @@ -47695,21 +47760,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *330 + search: *330 + code_search: *330 + source_import: *330 + integration_manifest: *330 + code_scanning_upload: *330 + actions_runner_registration: *330 + scim: *330 + dependency_snapshots: *330 + dependency_sbom: *330 + code_scanning_autofix: *330 required: - core - search - rate: *329 + rate: *330 required: - rate - resources @@ -47814,14 +47879,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default-response: summary: Default response @@ -48322,7 +48387,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48340,8 +48405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48588,10 +48653,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 - '307': &333 + default: *333 + '307': &334 description: Temporary Redirect content: application/json: @@ -48620,8 +48685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48643,7 +48708,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *334 '404': *6 '409': *47 x-github: @@ -48667,11 +48732,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &364 + - &365 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48694,7 +48759,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &335 title: Artifact description: An artifact type: object @@ -48772,7 +48837,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &366 value: total_count: 2 artifacts: @@ -48833,9 +48898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &335 + - *326 + - &336 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48847,7 +48912,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: default: value: @@ -48885,9 +48950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *335 + - *326 + - *336 responses: '204': description: Response @@ -48911,9 +48976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *335 + - *326 + - *336 - name: archive_format in: path required: true @@ -48927,7 +48992,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': &520 + '410': &521 description: Gone content: application/json: @@ -48954,14 +49019,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *336 + schema: *337 examples: default: value: @@ -48987,11 +49052,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &337 + - &338 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 @@ -49025,7 +49090,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Repository actions caches description: Repository actions caches type: object @@ -49067,7 +49132,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &340 value: total_count: 1 actions_caches: @@ -49099,23 +49164,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49135,8 +49200,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49167,9 +49232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &340 + - *326 + - &341 name: job_id description: The unique identifier of the job. in: path @@ -49181,7 +49246,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &369 title: Job description: Information of a job execution in a workflow run type: object @@ -49488,9 +49553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *340 + - *326 + - *341 responses: '302': description: Response @@ -49518,9 +49583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *340 + - *326 + - *341 requestBody: required: false content: @@ -49565,8 +49630,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -49616,8 +49681,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -49680,8 +49745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -49699,7 +49764,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &371 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49719,7 +49784,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &372 value: total_count: 2 secrets: @@ -49752,9 +49817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *341 + - *326 + - *342 - *19 responses: '200': @@ -49771,7 +49836,7 @@ paths: type: integer variables: type: array - items: &374 + items: &375 title: Actions Variable type: object properties: @@ -49801,7 +49866,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &376 value: total_count: 2 variables: @@ -49834,8 +49899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -49844,11 +49909,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &344 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *128 - selected_actions_url: *342 + selected_actions_url: *343 sha_pinning_required: *129 required: - enabled @@ -49877,8 +49942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -49889,7 +49954,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *344 allowed_actions: *128 sha_pinning_required: *129 required: @@ -49921,14 +49986,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &344 + schema: &345 type: object properties: access_level: @@ -49945,7 +50010,7 @@ paths: required: - access_level examples: - default: &345 + default: &346 value: access_level: organization x-github: @@ -49969,15 +50034,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *344 + schema: *345 examples: - default: *345 + default: *346 responses: '204': description: Response @@ -50001,14 +50066,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50032,8 +50097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50043,7 +50108,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *348 examples: default: summary: Set retention days @@ -50067,8 +50132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50076,7 +50141,7 @@ paths: application/json: schema: *130 examples: - default: *348 + default: *349 '404': *6 x-github: enabledForGitHubApps: true @@ -50095,8 +50160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50130,14 +50195,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *349 + schema: *350 examples: default: *131 '403': *29 @@ -50159,13 +50224,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *350 + schema: *351 examples: default: *131 responses: @@ -50191,8 +50256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50219,8 +50284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50252,14 +50317,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: default: *138 x-github: @@ -50282,8 +50347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50294,7 +50359,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *353 examples: default: *138 x-github: @@ -50323,8 +50388,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50368,8 +50433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50377,9 +50442,9 @@ paths: application/json: schema: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50401,8 +50466,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50445,7 +50510,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *356 '404': *6 '422': *7 '409': *47 @@ -50476,8 +50541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50485,7 +50550,7 @@ paths: application/json: schema: *147 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50513,8 +50578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50522,7 +50587,7 @@ paths: application/json: schema: *147 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50544,8 +50609,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: - - *324 - *325 + - *326 - *144 responses: '200': @@ -50554,7 +50619,7 @@ paths: application/json: schema: *145 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50575,8 +50640,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: - - *324 - *325 + - *326 - *144 responses: '204': @@ -50603,8 +50668,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: - - *324 - *325 + - *326 - *144 responses: '200': *149 @@ -50629,8 +50694,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: - - *324 - *325 + - *326 - *144 requestBody: required: true @@ -50679,8 +50744,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: - - *324 - *325 + - *326 - *144 requestBody: required: true @@ -50730,11 +50795,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: - - *324 - *325 + - *326 - *144 responses: - '200': *359 + '200': *360 '404': *6 x-github: githubCloudOnly: false @@ -50761,10 +50826,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: - - *324 - *325 + - *326 - *144 - - *360 + - *361 responses: '200': *149 '404': *6 @@ -50792,9 +50857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &378 + - *326 + - &379 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. @@ -50802,7 +50867,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50810,7 +50875,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50819,7 +50884,7 @@ paths: required: false schema: type: string - - &381 + - &382 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 @@ -50846,7 +50911,7 @@ paths: - pending - *17 - *19 - - &382 + - &383 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)." @@ -50855,7 +50920,7 @@ paths: schema: type: string format: date-time - - &361 + - &362 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50864,13 +50929,13 @@ paths: schema: type: boolean default: false - - &383 + - &384 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &385 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50893,7 +50958,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &363 title: Workflow Run description: An invocation of a workflow type: object @@ -50988,7 +51053,7 @@ paths: that triggered the run. type: array nullable: true - items: &403 + items: &404 title: Pull Request Minimal type: object properties: @@ -51107,7 +51172,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &407 + properties: &408 id: type: string description: SHA for the commit @@ -51158,7 +51223,7 @@ paths: - name - email nullable: true - required: &408 + required: &409 - id - tree_id - message @@ -51205,7 +51270,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &386 value: total_count: 1 workflow_runs: @@ -51441,24 +51506,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &363 + - *326 + - &364 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *362 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: &366 + default: &367 value: id: 30433642 name: Build @@ -51699,9 +51764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '204': description: Response @@ -51724,9 +51789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -51845,9 +51910,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: - - *324 - *325 - - *363 + - *326 + - *364 responses: '201': description: Response @@ -51880,12 +51945,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *363 + - *326 + - *364 - *17 - *19 - - *364 + - *365 responses: '200': description: Response @@ -51901,9 +51966,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *335 examples: - default: *365 + default: *366 headers: Link: *54 x-github: @@ -51927,25 +51992,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *363 - - &367 + - *326 + - *364 + - &368 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *362 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51968,10 +52033,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *363 - - *367 + - *326 + - *364 + - *368 - *17 - *19 responses: @@ -51989,9 +52054,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *369 examples: - default: &369 + default: &370 value: total_count: 1 jobs: @@ -52104,10 +52169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *363 - - *367 + - *326 + - *364 + - *368 responses: '302': description: Response @@ -52135,9 +52200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '202': description: Response @@ -52170,9 +52235,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: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: true content: @@ -52239,9 +52304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '202': description: Response @@ -52274,9 +52339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 - 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 @@ -52306,9 +52371,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *369 examples: - default: *369 + default: *370 headers: Link: *54 x-github: @@ -52333,9 +52398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '302': description: Response @@ -52362,9 +52427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '204': description: Response @@ -52391,9 +52456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -52453,7 +52518,7 @@ paths: items: type: object properties: - type: &486 + type: &487 type: string description: The type of reviewer. enum: @@ -52538,9 +52603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: true content: @@ -52587,7 +52652,7 @@ paths: application/json: schema: type: array - items: &481 + items: &482 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52693,7 +52758,7 @@ paths: - created_at - updated_at examples: - default: &482 + default: &483 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52749,9 +52814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: false content: @@ -52795,9 +52860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *363 + - *326 + - *364 requestBody: required: false content: @@ -52850,9 +52915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *363 + - *326 + - *364 responses: '200': description: Response @@ -52989,8 +53054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53008,9 +53073,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *371 examples: - default: *371 + default: *372 headers: Link: *54 x-github: @@ -53035,16 +53100,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53066,17 +53131,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &499 + default: &500 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53102,8 +53167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -53161,8 +53226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -53188,9 +53253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *341 + - *326 + - *342 - *19 responses: '200': @@ -53207,9 +53272,9 @@ paths: type: integer variables: type: array - items: *374 + items: *375 examples: - default: *375 + default: *376 headers: Link: *54 x-github: @@ -53232,8 +53297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53285,17 +53350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &500 + default: &501 value: name: USERNAME value: octocat @@ -53321,8 +53386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 requestBody: required: true @@ -53365,8 +53430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *154 responses: '204': @@ -53392,8 +53457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53411,7 +53476,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &377 title: Workflow description: A GitHub Actions workflow type: object @@ -53518,9 +53583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &377 + - *326 + - &378 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53535,7 +53600,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -53568,9 +53633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53595,9 +53660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53648,9 +53713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '204': description: Response @@ -53677,19 +53742,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *377 + - *326 - *378 - *379 - *380 - *381 + - *382 - *17 - *19 - - *382 - - *361 - *383 + - *362 - *384 + - *385 responses: '200': description: Response @@ -53705,9 +53770,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *363 examples: - default: *385 + default: *386 headers: Link: *54 x-github: @@ -53739,9 +53804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *377 + - *326 + - *378 responses: '200': description: Response @@ -53802,8 +53867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *48 - *17 - *40 @@ -53967,8 +54032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54005,8 +54070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54042,8 +54107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54155,8 +54220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *40 - *41 @@ -54213,7 +54278,7 @@ paths: initiator: type: string examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54233,8 +54298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54242,7 +54307,7 @@ paths: application/json: schema: type: array - items: &387 + items: &388 title: Autolink reference description: An autolink reference. type: object @@ -54296,8 +54361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54336,9 +54401,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: id: 1 key_prefix: TICKET- @@ -54369,9 +54434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &389 + - *326 + - &390 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54383,9 +54448,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 '404': *6 x-github: githubCloudOnly: false @@ -54405,9 +54470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *389 + - *326 + - *390 responses: '204': description: Response @@ -54431,8 +54496,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54480,8 +54545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54502,8 +54567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54523,8 +54588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54562,7 +54627,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &392 title: Branch Protection description: Branch Protection type: object @@ -54604,7 +54669,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &395 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54619,7 +54684,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &397 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54695,7 +54760,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &394 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54972,9 +55037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &392 + - *326 + - &393 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). @@ -54988,14 +55053,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &455 + commit: &456 title: Commit description: Commit type: object @@ -55029,7 +55094,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &390 + properties: &391 name: type: string example: '"Chris Wanstrath"' @@ -55044,7 +55109,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true message: type: string @@ -55065,7 +55130,7 @@ paths: required: - sha - url - verification: &506 + verification: &507 title: Verification type: object properties: @@ -55135,7 +55200,7 @@ paths: type: integer files: type: array - items: &468 + items: &469 title: Diff Entry description: Diff Entry type: object @@ -55219,7 +55284,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *392 protection_url: type: string format: uri @@ -55326,7 +55391,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *332 '404': *6 x-github: githubCloudOnly: false @@ -55348,15 +55413,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *391 + schema: *392 examples: default: value: @@ -55550,9 +55615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -55807,7 +55872,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &400 title: Status Check Policy description: Status Check Policy type: object @@ -55959,7 +56024,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *394 required_conversation_resolution: type: object properties: @@ -56071,9 +56136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56098,17 +56163,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &395 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56130,17 +56195,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *395 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56159,9 +56224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56186,17 +56251,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56292,9 +56357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56392,9 +56457,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *397 + default: *398 '422': *15 x-github: githubCloudOnly: false @@ -56415,9 +56480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56444,17 +56509,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: &398 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56477,17 +56542,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: - default: *398 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -56507,9 +56572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56534,17 +56599,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: &400 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56570,9 +56635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56624,9 +56689,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 '422': *15 x-github: @@ -56648,9 +56713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -56674,9 +56739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -56710,9 +56775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56779,9 +56844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -56845,9 +56910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: content: application/json: @@ -56913,15 +56978,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -57012,9 +57077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '204': description: Response @@ -57037,9 +57102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57049,7 +57114,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &402 value: - id: 1 slug: octoapp @@ -57106,9 +57171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57142,7 +57207,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57163,9 +57228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57199,7 +57264,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57220,9 +57285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57256,7 +57321,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *402 '422': *15 x-github: githubCloudOnly: false @@ -57278,9 +57343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57310,9 +57375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -57371,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: false content: @@ -57432,9 +57497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: content: application/json: @@ -57493,9 +57558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 responses: '200': description: Response @@ -57529,9 +57594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57589,9 +57654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57649,9 +57714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57711,9 +57776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 requestBody: required: true content: @@ -57735,7 +57800,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -57851,8 +57916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58131,7 +58196,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &405 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58250,7 +58315,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *403 + items: *404 deployment: &718 title: Deployment description: A deployment created as the result of an Actions @@ -58531,9 +58596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &405 + - *326 + - &406 name: check_run_id description: The unique identifier of the check run. in: path @@ -58545,9 +58610,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &406 + default: &407 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58647,9 +58712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *405 + - *326 + - *406 requestBody: required: true content: @@ -58889,9 +58954,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58911,9 +58976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *405 + - *326 + - *406 - *17 - *19 responses: @@ -59008,9 +59073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *405 + - *326 + - *406 responses: '201': description: Response @@ -59054,8 +59119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59077,7 +59142,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &409 + schema: &410 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59141,7 +59206,7 @@ paths: nullable: true pull_requests: type: array - items: *403 + items: *404 nullable: true app: title: GitHub app @@ -59167,8 +59232,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *407 - required: *408 + properties: *408 + required: *409 latest_check_runs_count: type: integer check_runs_url: @@ -59196,7 +59261,7 @@ paths: - check_runs_url - pull_requests examples: - default: &410 + default: &411 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59487,9 +59552,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +59573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59818,9 +59883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &411 + - *326 + - &412 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59832,9 +59897,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59857,17 +59922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *411 - - &461 + - *326 + - *412 + - &462 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &462 + - &463 name: status description: Returns check runs with the specified `status`. in: query @@ -59906,9 +59971,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *405 examples: - default: &463 + default: &464 value: total_count: 1 check_runs: @@ -60010,9 +60075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *411 + - *326 + - *412 responses: '201': description: Response @@ -60045,21 +60110,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *412 + - *326 - *413 + - *414 - *19 - *17 - - &430 + - &431 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: *414 - - &431 + schema: *415 + - &432 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60084,13 +60149,13 @@ paths: be returned. in: query required: false - schema: *415 + schema: *416 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *416 + schema: *417 responses: '200': description: Response @@ -60106,7 +60171,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: *417 + instances_url: *418 state: *168 fixed_at: *164 dismissed_by: @@ -60117,11 +60182,11 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: *418 - dismissed_comment: *419 - rule: *420 - tool: *421 - most_recent_instance: *422 + dismissed_reason: *419 + dismissed_comment: *420 + rule: *421 + tool: *422 + most_recent_instance: *423 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60247,7 +60312,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &423 + '403': &424 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60274,9 +60339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &424 + - *326 + - &425 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60290,7 +60355,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &426 type: object properties: number: *159 @@ -60298,7 +60363,7 @@ paths: updated_at: *161 url: *162 html_url: *163 - instances_url: *417 + instances_url: *418 state: *168 fixed_at: *164 dismissed_by: @@ -60309,8 +60374,8 @@ paths: required: *21 nullable: true dismissed_at: *165 - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *419 + dismissed_comment: *420 rule: type: object properties: @@ -60364,8 +60429,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *421 - most_recent_instance: *422 + tool: *422 + most_recent_instance: *423 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60464,7 +60529,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60484,9 +60549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: true content: @@ -60501,8 +60566,8 @@ paths: enum: - open - dismissed - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *419 + dismissed_comment: *420 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60521,7 +60586,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: default: value: @@ -60597,7 +60662,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &429 + '403': &430 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60624,15 +60689,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: - - *324 - *325 - - *424 + - *326 + - *425 responses: '200': description: Response content: application/json: - schema: &426 + schema: &427 type: object properties: status: @@ -60658,13 +60723,13 @@ paths: - description - started_at examples: - default: &427 + default: &428 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &428 + '400': &429 description: Bad Request content: application/json: @@ -60675,7 +60740,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': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60700,29 +60765,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: - - *324 - *325 - - *424 + - *326 + - *425 responses: '200': description: OK content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '202': description: Accepted content: application/json: - schema: *426 + schema: *427 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *428 + '400': *429 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60754,9 +60819,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: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: false content: @@ -60801,8 +60866,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *428 - '403': *429 + '400': *429 + '403': *430 '404': *6 '422': description: Unprocessable Entity @@ -60826,13 +60891,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 - *19 - *17 - - *430 - *431 + - *432 responses: '200': description: Response @@ -60840,7 +60905,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: value: @@ -60879,7 +60944,7 @@ paths: end_column: 50 classifications: - source - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -60913,25 +60978,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *412 + - *326 - *413 + - *414 - *19 - *17 - - *431 + - *432 - 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: *414 + schema: *415 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &434 + schema: &435 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60952,23 +61017,23 @@ paths: application/json: schema: type: array - items: &435 + items: &436 type: object properties: - ref: *414 - commit_sha: &443 + ref: *415 + commit_sha: &444 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: *432 + analysis_key: *433 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *433 + category: *434 error: type: string example: error reading field xyz @@ -60992,8 +61057,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *434 - tool: *421 + sarif_id: *435 + tool: *422 deletable: type: boolean warning: @@ -61054,7 +61119,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61090,8 +61155,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61104,7 +61169,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: response: summary: application/json response @@ -61158,7 +61223,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *423 + '403': *424 '404': *6 '422': description: Response if analysis could not be processed @@ -61245,8 +61310,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61299,7 +61364,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': *429 + '403': *430 '404': *6 '503': *104 x-github: @@ -61321,8 +61386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61330,7 +61395,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: CodeQL Database description: A CodeQL database. type: object @@ -61441,7 +61506,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': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61470,8 +61535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61483,7 +61548,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -61515,9 +61580,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': &470 + '302': &471 description: Found - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -61539,8 +61604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61550,7 +61615,7 @@ paths: responses: '204': description: Response - '403': *429 + '403': *430 '404': *6 '503': *104 x-github: @@ -61578,8 +61643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61588,7 +61653,7 @@ paths: type: object additionalProperties: false properties: - language: &437 + language: &438 type: string description: The language targeted by the CodeQL query enum: @@ -61667,7 +61732,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &441 + schema: &442 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61677,7 +61742,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *437 + query_language: *438 query_pack_url: type: string description: The download url for the query pack. @@ -61724,7 +61789,7 @@ paths: items: type: object properties: - repository: &438 + repository: &439 title: Repository Identifier description: Repository Identifier type: object @@ -61760,7 +61825,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &442 + analysis_status: &443 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61792,7 +61857,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &439 + access_mismatch_repos: &440 type: object properties: repository_count: @@ -61806,7 +61871,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: *438 + items: *439 required: - repository_count - repositories @@ -61828,8 +61893,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *439 - over_limit_repos: *439 + no_codeql_db_repos: *440 + over_limit_repos: *440 required: - access_mismatch_repos - not_found_repos @@ -61845,7 +61910,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &440 + value: &441 summary: Default response value: id: 1 @@ -61997,10 +62062,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *440 + value: *441 repository_lists: summary: Response for a successful variant analysis submission - value: *440 + value: *441 '404': *6 '422': description: Unable to process variant analysis submission @@ -62028,8 +62093,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62041,9 +62106,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *440 + default: *441 '404': *6 '503': *104 x-github: @@ -62066,7 +62131,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62101,7 +62166,7 @@ paths: type: object properties: repository: *53 - analysis_status: *442 + analysis_status: *443 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62226,8 +62291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62312,7 +62377,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *423 + '403': *424 '404': *6 '503': *104 x-github: @@ -62333,8 +62398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62426,7 +62491,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *429 + '403': *430 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62497,8 +62562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62506,7 +62571,7 @@ paths: schema: type: object properties: - commit_sha: *443 + commit_sha: *444 ref: type: string description: |- @@ -62564,7 +62629,7 @@ paths: schema: type: object properties: - id: *434 + id: *435 url: type: string description: The REST API URL for checking the status of the upload. @@ -62578,7 +62643,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': *429 + '403': *430 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62601,8 +62666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62648,7 +62713,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': *423 + '403': *424 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62673,8 +62738,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62755,8 +62820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -62876,8 +62941,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63191,8 +63256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63257,7 +63322,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63265,7 +63330,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '400': *14 '401': *25 '403': *29 @@ -63294,8 +63359,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63359,8 +63424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63395,14 +63460,14 @@ paths: type: integer machines: type: array - items: &666 + items: &667 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *446 + required: *447 examples: - default: &667 + default: &668 value: total_count: 2 machines: @@ -63442,8 +63507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63527,8 +63592,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: - - *324 - *325 + - *326 - 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 @@ -63594,8 +63659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -63613,7 +63678,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &451 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63633,7 +63698,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *448 headers: Link: *54 x-github: @@ -63656,16 +63721,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63685,17 +63750,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63715,8 +63780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -63769,8 +63834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -63799,8 +63864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63842,7 +63907,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &452 + properties: &453 login: type: string example: octocat @@ -63935,7 +64000,7 @@ paths: user_view_type: type: string example: public - required: &453 + required: &454 - avatar_url - events_url - followers_url @@ -64009,8 +64074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 responses: '204': @@ -64057,8 +64122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 requestBody: required: false @@ -64085,7 +64150,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &519 + schema: &520 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64314,8 +64379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *59 responses: '204': @@ -64347,8 +64412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *59 responses: '200': @@ -64369,8 +64434,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *452 - required: *453 + properties: *453 + required: *454 nullable: true required: - permission @@ -64425,8 +64490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64436,7 +64501,7 @@ paths: application/json: schema: type: array - items: &454 + items: &455 title: Commit Comment description: Commit Comment type: object @@ -64494,7 +64559,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &458 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64553,17 +64618,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &458 + default: &459 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64620,8 +64685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -64644,7 +64709,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -64695,8 +64760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -64718,8 +64783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64746,9 +64811,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -64769,8 +64834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -64803,16 +64868,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -64834,10 +64899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -64886,8 +64951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64943,9 +65008,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65039,9 +65104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &456 + - *326 + - &457 name: commit_sha description: The SHA of the commit. in: path @@ -65113,9 +65178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *456 + - *326 + - *457 - *17 - *19 responses: @@ -65125,9 +65190,9 @@ paths: application/json: schema: type: array - items: *454 + items: *455 examples: - default: *457 + default: *458 headers: Link: *54 x-github: @@ -65155,9 +65220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *456 + - *326 + - *457 requestBody: required: true content: @@ -65192,9 +65257,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *458 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65222,9 +65287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *456 + - *326 + - *457 - *17 - *19 responses: @@ -65234,9 +65299,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: &564 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65773,11 +65838,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &460 + - &461 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)" @@ -65792,9 +65857,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &549 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65907,11 +65972,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *460 + - *326 - *461 - *462 + - *463 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65945,9 +66010,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *405 examples: - default: *463 + default: *464 headers: Link: *54 x-github: @@ -65972,9 +66037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65982,7 +66047,7 @@ paths: schema: type: integer example: 1 - - *461 + - *462 - *17 - *19 responses: @@ -66000,7 +66065,7 @@ paths: type: integer check_suites: type: array - items: *409 + items: *410 examples: default: value: @@ -66200,9 +66265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - *17 - *19 responses: @@ -66400,9 +66465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *460 + - *326 + - *461 - *17 - *19 responses: @@ -66412,7 +66477,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Status description: The status of a commit. type: object @@ -66493,7 +66558,7 @@ paths: site_admin: false headers: Link: *54 - '301': *331 + '301': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66521,8 +66586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -66551,20 +66616,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *464 - required: *465 + properties: *465 + required: *466 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &466 + properties: &467 url: type: string format: uri html_url: type: string format: uri - required: &467 + required: &468 - url - html_url nullable: true @@ -66578,26 +66643,26 @@ paths: contributing: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true readme: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true issue_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true pull_request_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true required: - code_of_conduct @@ -66724,8 +66789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -66768,8 +66833,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *455 - merge_base_commit: *455 + base_commit: *456 + merge_base_commit: *456 status: type: string enum: @@ -66789,10 +66854,10 @@ paths: example: 6 commits: type: array - items: *455 + items: *456 files: type: array - items: *468 + items: *469 required: - url - html_url @@ -67078,8 +67143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67222,7 +67287,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &469 + response-if-content-is-a-file: &470 summary: Response if content is a file value: type: file @@ -67354,7 +67419,7 @@ paths: - size - type - url - - &577 + - &578 title: Content File description: Content File type: object @@ -67555,7 +67620,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *469 + response-if-content-is-a-file: *470 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67624,7 +67689,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *470 + '302': *471 '304': *37 x-github: githubCloudOnly: false @@ -67647,8 +67712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67741,7 +67806,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: File Commit description: File Commit type: object @@ -67893,7 +67958,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: example-for-creating-a-file: value: @@ -67947,7 +68012,7 @@ paths: schema: oneOf: - *3 - - &501 + - &502 description: Repository rule violation was detected type: object properties: @@ -67968,7 +68033,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &630 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68000,8 +68065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68062,7 +68127,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -68117,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68241,8 +68306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *180 - *181 - *182 @@ -68254,7 +68319,7 @@ paths: schema: type: string - *184 - - *472 + - *473 - *185 - *186 - *48 @@ -68275,7 +68340,7 @@ paths: application/json: schema: type: array - items: &475 + items: &476 type: object description: A Dependabot alert. properties: @@ -68321,7 +68386,7 @@ paths: - unknown - direct - transitive - security_advisory: *473 + security_advisory: *474 security_vulnerability: *52 url: *162 html_url: *163 @@ -68352,7 +68417,7 @@ paths: nullable: true maxLength: 280 fixed_at: *164 - auto_dismissed_at: *474 + auto_dismissed_at: *475 required: - number - state @@ -68582,9 +68647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &476 + - *326 + - &477 name: alert_number in: path description: |- @@ -68599,7 +68664,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -68712,9 +68777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *476 + - *326 + - *477 requestBody: required: true content: @@ -68759,7 +68824,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -68888,8 +68953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -68907,7 +68972,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &480 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68960,16 +69025,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68989,15 +69054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69023,8 +69088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 requestBody: required: true @@ -69077,8 +69142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *151 responses: '204': @@ -69101,8 +69166,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: - - *324 - *325 + - *326 - 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 @@ -69262,8 +69327,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69502,8 +69567,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69578,7 +69643,7 @@ paths: - version - url additionalProperties: false - metadata: &480 + metadata: &481 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69611,7 +69676,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *480 + metadata: *481 resolved: type: object description: A collection of resolved package dependencies. @@ -69624,7 +69689,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *480 + metadata: *481 relationship: type: string description: A notation of whether a dependency is requested @@ -69753,8 +69818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -69794,9 +69859,9 @@ paths: application/json: schema: type: array - items: *481 + items: *482 examples: - default: *482 + default: *483 headers: Link: *54 x-github: @@ -69862,8 +69927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69944,7 +70009,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: simple-example: summary: Simple example @@ -70017,9 +70082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &483 + - *326 + - &484 name: deployment_id description: deployment_id parameter in: path @@ -70031,7 +70096,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -70096,9 +70161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *483 + - *326 + - *484 responses: '204': description: Response @@ -70120,9 +70185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *483 + - *326 + - *484 - *17 - *19 responses: @@ -70132,7 +70197,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Deployment Status description: The status of a deployment. type: object @@ -70293,9 +70358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *483 + - *326 + - *484 requestBody: required: true content: @@ -70370,9 +70435,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70428,9 +70493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *483 + - *326 + - *484 - name: status_id in: path required: true @@ -70441,9 +70506,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '404': *6 x-github: githubCloudOnly: false @@ -70468,8 +70533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70526,8 +70591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -70544,7 +70609,7 @@ paths: type: integer environments: type: array - items: &487 + items: &488 title: Environment description: Details of a deployment environment type: object @@ -70596,7 +70661,7 @@ paths: type: type: string example: wait_timer - wait_timer: &489 + wait_timer: &490 type: integer example: 30 description: The amount of time to delay a job after @@ -70633,7 +70698,7 @@ paths: items: type: object properties: - type: *486 + type: *487 reviewer: anyOf: - *4 @@ -70657,7 +70722,7 @@ paths: - id - node_id - type - deployment_branch_policy: &490 + deployment_branch_policy: &491 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70773,9 +70838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &488 + - *326 + - &489 name: environment_name in: path required: true @@ -70788,9 +70853,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &491 + default: &492 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70874,9 +70939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: false content: @@ -70885,7 +70950,7 @@ paths: type: object nullable: true properties: - wait_timer: *489 + wait_timer: *490 prevent_self_review: type: boolean example: false @@ -70902,13 +70967,13 @@ paths: items: type: object properties: - type: *486 + type: *487 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *490 + deployment_branch_policy: *491 additionalProperties: false examples: default: @@ -70928,9 +70993,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *491 + default: *492 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70954,9 +71019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *488 + - *326 + - *489 responses: '204': description: Default response @@ -70981,9 +71046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *17 - *19 responses: @@ -71001,7 +71066,7 @@ paths: example: 2 branch_policies: type: array - items: &492 + items: &493 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71058,9 +71123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: true content: @@ -71106,9 +71171,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - example-wildcard: &493 + example-wildcard: &494 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71150,10 +71215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - &494 + - *326 + - *489 + - &495 name: branch_policy_id in: path required: true @@ -71165,9 +71230,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71186,10 +71251,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - *494 + - *326 + - *489 + - *495 requestBody: required: true content: @@ -71217,9 +71282,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71238,10 +71303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *488 - - *494 + - *326 + - *489 + - *495 responses: '204': description: Response @@ -71266,9 +71331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *488 + - *489 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71284,7 +71349,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &495 + items: &496 title: Deployment protection rule description: Deployment protection rule type: object @@ -71303,7 +71368,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &496 + app: &497 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71402,9 +71467,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: - - *488 + - *489 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71425,9 +71490,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *495 + schema: *496 examples: - default: &497 + default: &498 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71462,9 +71527,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: - - *488 + - *489 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71483,7 +71548,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *496 + items: *497 examples: default: value: @@ -71518,10 +71583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *488 - - &498 + - *326 + - *489 + - &499 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71533,9 +71598,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71556,10 +71621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *488 + - *489 + - *326 - *325 - - *324 - - *498 + - *499 responses: '204': description: Response @@ -71585,9 +71650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *17 - *19 responses: @@ -71605,9 +71670,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *371 examples: - default: *371 + default: *372 headers: Link: *54 x-github: @@ -71632,17 +71697,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *488 + - *326 + - *489 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71664,18 +71729,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 responses: '200': description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71697,9 +71762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 requestBody: required: true @@ -71757,9 +71822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *151 responses: '204': @@ -71785,10 +71850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *488 - - *341 + - *326 + - *489 + - *342 - *19 responses: '200': @@ -71805,9 +71870,9 @@ paths: type: integer variables: type: array - items: *374 + items: *375 examples: - default: *375 + default: *376 headers: Link: *54 x-github: @@ -71830,9 +71895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *488 + - *326 + - *489 requestBody: required: true content: @@ -71884,18 +71949,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *488 + - *326 + - *489 - *154 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71916,10 +71981,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *154 - - *488 + - *489 requestBody: required: true content: @@ -71961,10 +72026,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *154 - - *488 + - *489 responses: '204': description: Response @@ -71986,8 +72051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72055,8 +72120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72215,8 +72280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72248,9 +72313,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 '400': *14 '422': *15 '403': *29 @@ -72271,8 +72336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72332,7 +72397,7 @@ paths: schema: oneOf: - *112 - - *501 + - *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72357,8 +72422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72457,8 +72522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72567,7 +72632,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72781,15 +72846,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *456 + - *326 + - *457 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -72845,9 +72910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &503 + - *326 + - &504 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. @@ -72864,7 +72929,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Git Reference description: Git references within a repository type: object @@ -72939,17 +73004,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72978,8 +73043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73008,9 +73073,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73036,9 +73101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 requestBody: required: true content: @@ -73067,9 +73132,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 '409': *47 x-github: @@ -73087,9 +73152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *503 + - *326 + - *504 responses: '204': description: Response @@ -73144,8 +73209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73212,7 +73277,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &508 title: Git Tag description: Metadata for a Git tag type: object @@ -73263,7 +73328,7 @@ paths: - sha - type - url - verification: *506 + verification: *507 required: - sha - url @@ -73273,7 +73338,7 @@ paths: - tag - message examples: - default: &508 + default: &509 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73346,8 +73411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73358,9 +73423,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 '404': *6 '409': *47 x-github: @@ -73384,8 +73449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73458,7 +73523,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &510 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73554,8 +73619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73578,7 +73643,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: default-response: summary: Default response @@ -73637,8 +73702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -73648,7 +73713,7 @@ paths: application/json: schema: type: array - items: &510 + items: &511 title: Webhook description: Webhooks for repositories. type: object @@ -73776,8 +73841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -73829,9 +73894,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: &511 + default: &512 value: type: Repository id: 12345678 @@ -73879,17 +73944,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73909,8 +73974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 requestBody: required: true @@ -73956,9 +74021,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 '422': *15 '404': *6 x-github: @@ -73979,8 +74044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74005,8 +74070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *194 responses: '200': @@ -74034,8 +74099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *194 requestBody: required: false @@ -74080,8 +74145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *17 - *195 @@ -74113,8 +74178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *16 responses: @@ -74143,8 +74208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 - *16 responses: @@ -74168,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74195,8 +74260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *194 responses: '204': @@ -74220,8 +74285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74267,8 +74332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *173 '409': *47 @@ -74288,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *173 '409': *47 @@ -74346,14 +74411,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &512 + schema: &513 title: Import description: A repository import from an external source. type: object @@ -74452,7 +74517,7 @@ paths: - html_url - authors_url examples: - default: &515 + default: &516 value: vcs: subversion use_lfs: true @@ -74468,7 +74533,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': &513 + '503': &514 description: Unavailable due to service under maintenance. content: application/json: @@ -74497,8 +74562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -74546,7 +74611,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: default: value: @@ -74571,7 +74636,7 @@ paths: type: string '422': *15 '404': *6 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74599,8 +74664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74649,7 +74714,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: example-1: summary: Example 1 @@ -74697,7 +74762,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': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74720,12 +74785,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74751,9 +74816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &688 + - *326 + - &689 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74767,7 +74832,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Porter Author description: Porter Author type: object @@ -74821,7 +74886,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': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74846,8 +74911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -74877,7 +74942,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -74890,7 +74955,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74914,8 +74979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -74956,7 +75021,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74984,8 +75049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75012,11 +75077,11 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *515 + default: *516 '422': *15 - '503': *513 + '503': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75039,8 +75104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75048,8 +75113,8 @@ paths: application/json: schema: *22 examples: - default: *516 - '301': *331 + default: *517 + '301': *332 '404': *6 x-github: githubCloudOnly: false @@ -75069,8 +75134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75083,7 +75148,7 @@ paths: properties: {} additionalProperties: false examples: - default: &518 + default: &519 value: limit: collaborators_only origin: repository @@ -75108,13 +75173,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *517 + schema: *518 examples: default: summary: Example request body @@ -75128,7 +75193,7 @@ paths: application/json: schema: *212 examples: - default: *518 + default: *519 '409': description: Response x-github: @@ -75150,8 +75215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75174,8 +75239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75185,9 +75250,9 @@ paths: application/json: schema: type: array - items: *519 + items: *520 examples: - default: &681 + default: &682 value: - id: 1 repository: @@ -75318,8 +75383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *216 requestBody: required: false @@ -75349,7 +75414,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75480,8 +75545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *216 responses: '204': @@ -75513,8 +75578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -75587,7 +75652,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75735,7 +75800,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *331 + '301': *332 '422': *15 '404': *6 x-github: @@ -75764,8 +75829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75849,7 +75914,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -76005,7 +76070,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *520 + '410': *521 x-github: triggersNotification: true githubCloudOnly: false @@ -76033,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76055,9 +76120,9 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: &528 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76115,17 +76180,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76179,8 +76244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -76203,9 +76268,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -76223,8 +76288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -76245,8 +76310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76273,9 +76338,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -76296,8 +76361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -76330,16 +76395,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76361,10 +76426,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -76384,8 +76449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76395,7 +76460,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Issue Event description: Issue Event type: object @@ -76438,8 +76503,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76746,8 +76811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -76758,7 +76823,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -76951,7 +77016,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *520 + '410': *521 '403': *29 x-github: githubCloudOnly: false @@ -76985,9 +77050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &527 + - *326 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -77001,10 +77066,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '404': *6 - '410': *520 + '410': *521 '304': *37 x-github: githubCloudOnly: false @@ -77029,9 +77094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -77137,13 +77202,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '422': *15 '503': *104 '403': *29 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77161,9 +77226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -77191,7 +77256,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77207,9 +77272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: content: application/json: @@ -77236,7 +77301,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77258,9 +77323,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: - - *324 - *325 - - *527 + - *326 + - *528 - name: assignee in: path required: true @@ -77300,9 +77365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *72 - *17 - *19 @@ -77313,13 +77378,13 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *528 + default: *529 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77348,9 +77413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -77372,16 +77437,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -77409,9 +77474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77423,12 +77488,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77456,9 +77521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -77482,15 +77547,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *332 '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -77521,9 +77586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *527 + - *326 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77537,13 +77602,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *520 + '410': *521 x-github: triggersNotification: true githubCloudOnly: false @@ -77569,9 +77634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77583,12 +77648,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77605,9 +77670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -77621,7 +77686,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &533 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77675,7 +77740,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77811,7 +77876,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &535 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77862,7 +77927,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77913,7 +77978,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77967,7 +78032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &538 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78014,7 +78079,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78061,7 +78126,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &540 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78121,7 +78186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Locked Issue Event description: Locked Issue Event type: object @@ -78169,7 +78234,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78235,7 +78300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78301,7 +78366,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78367,7 +78432,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78458,7 +78523,7 @@ paths: color: red headers: Link: *54 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78475,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -78487,7 +78552,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78534,7 +78599,7 @@ paths: - color - default examples: - default: &531 + default: &532 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78552,9 +78617,9 @@ paths: default: false headers: Link: *54 - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78571,9 +78636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78632,12 +78697,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *331 + default: *532 + '301': *332 '404': *6 - '410': *520 + '410': *521 '422': *15 x-github: githubCloudOnly: false @@ -78654,9 +78719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78716,12 +78781,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *331 + default: *532 + '301': *332 '404': *6 - '410': *520 + '410': *521 '422': *15 x-github: githubCloudOnly: false @@ -78738,15 +78803,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '204': description: Response - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78765,9 +78830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - name: name in: path required: true @@ -78780,7 +78845,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -78791,9 +78856,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78813,9 +78878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: false content: @@ -78843,7 +78908,7 @@ paths: '204': description: Response '403': *29 - '410': *520 + '410': *521 '404': *6 '422': *15 x-github: @@ -78861,9 +78926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '204': description: Response @@ -78893,9 +78958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 responses: '200': description: Response @@ -78903,10 +78968,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *331 + default: *527 + '301': *332 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78923,9 +78988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - 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. @@ -78951,13 +79016,13 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78975,9 +79040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79009,16 +79074,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -79040,10 +79105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *527 - - *320 + - *326 + - *528 + - *321 responses: '204': description: Response @@ -79072,9 +79137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79098,7 +79163,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79131,9 +79196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -79145,11 +79210,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,9 +79242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79208,14 +79273,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *520 + '410': *521 '422': *15 '404': *6 x-github: @@ -79235,9 +79300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 requestBody: required: true content: @@ -79270,7 +79335,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '403': *29 '404': *6 '422': *7 @@ -79292,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *527 + - *326 + - *528 - *17 - *19 responses: @@ -79309,7 +79374,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - *533 - *534 - *535 @@ -79322,6 +79386,7 @@ paths: - *542 - *543 - *544 + - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79630,7 +79695,7 @@ paths: type: string comments: type: array - items: &566 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79839,7 +79904,7 @@ paths: type: string comments: type: array - items: *454 + items: *455 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80128,7 +80193,7 @@ paths: headers: Link: *54 '404': *6 - '410': *520 + '410': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80145,8 +80210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80156,7 +80221,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80222,8 +80287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80259,9 +80324,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: id: 1 key: ssh-rsa AAA... @@ -80295,9 +80360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &547 + - *326 + - &548 name: key_id description: The unique identifier of the key. in: path @@ -80309,9 +80374,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80329,9 +80394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *547 + - *326 + - *548 responses: '204': description: Response @@ -80351,8 +80416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80362,9 +80427,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 '404': *6 @@ -80385,8 +80450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80422,9 +80487,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &548 + default: &549 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80456,8 +80521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80468,9 +80533,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *548 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80487,8 +80552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80527,7 +80592,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -80553,8 +80618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80580,8 +80645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -80620,9 +80685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *430 + - *326 + - *431 responses: '200': description: Response @@ -80767,8 +80832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80833,8 +80898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80868,9 +80933,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *455 + schema: *456 examples: - default: *549 + default: *550 '204': description: Response when already merged '404': @@ -80895,8 +80960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80937,12 +81002,12 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 examples: default: value: @@ -80998,8 +81063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81039,9 +81104,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81100,9 +81165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: milestone_number description: The number that identifies the milestone. in: path @@ -81114,9 +81179,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -81133,9 +81198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 requestBody: required: false content: @@ -81173,9 +81238,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -81214,9 +81279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *552 + - *326 + - *553 - *17 - *19 responses: @@ -81226,9 +81291,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 x-github: @@ -81247,12 +81312,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *553 + - *326 - *554 - - *72 - *555 + - *72 + - *556 - *17 - *19 responses: @@ -81264,7 +81329,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *557 headers: Link: *54 x-github: @@ -81288,8 +81353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81347,14 +81412,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &557 + schema: &558 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81479,7 +81544,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81520,8 +81585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81575,9 +81640,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '422': *15 '409': *47 x-github: @@ -81600,8 +81665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81700,8 +81765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -81727,8 +81792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -81738,7 +81803,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: Page Build description: Page Build type: object @@ -81832,8 +81897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -81878,16 +81943,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81935,8 +82000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -81947,9 +82012,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81969,8 +82034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82075,9 +82140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &561 + - *326 + - &562 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82135,9 +82200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *561 + - *326 + - *562 responses: '204': *173 '404': *6 @@ -82164,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82423,8 +82488,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82461,8 +82526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *173 '422': *14 @@ -82483,8 +82548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *173 '422': *14 @@ -82506,8 +82571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82517,7 +82582,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *563 '403': *29 '404': *6 x-github: @@ -82539,8 +82604,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82556,7 +82621,7 @@ paths: required: - properties examples: - default: *563 + default: *564 responses: '204': description: No Content when custom property values are successfully created @@ -82594,8 +82659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82655,9 +82720,9 @@ paths: application/json: schema: type: array - items: *459 + items: *460 examples: - default: *564 + default: *565 headers: Link: *54 '304': *37 @@ -82689,8 +82754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82755,7 +82820,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82866,8 +82931,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -82912,7 +82977,7 @@ paths: nullable: true requested_teams: type: array - items: *302 + items: *303 nullable: true head: type: object @@ -82951,14 +83016,14 @@ paths: _links: type: object properties: - comments: *257 - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + comments: *256 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -82969,7 +83034,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83061,7 +83126,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83588,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -83618,9 +83683,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &571 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83697,17 +83762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83782,8 +83847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -83806,9 +83871,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83824,8 +83889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *81 responses: '204': @@ -83847,8 +83912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83875,9 +83940,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -83898,8 +83963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *81 requestBody: required: true @@ -83932,16 +83997,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -83963,10 +84028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *81 - - *320 + - *321 responses: '204': description: Response @@ -84009,9 +84074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &570 + - *326 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -84024,9 +84089,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '304': *37 '404': *6 '406': @@ -84061,9 +84126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84105,9 +84170,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '422': *15 '403': *29 x-github: @@ -84129,9 +84194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -84193,7 +84258,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84201,7 +84266,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -84231,9 +84296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84254,9 +84319,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *571 + default: *572 headers: Link: *54 x-github: @@ -84289,9 +84354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -84396,7 +84461,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84484,9 +84549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *81 requestBody: required: true @@ -84509,7 +84574,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -84595,9 +84660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -84607,9 +84672,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *572 + default: *573 headers: Link: *54 x-github: @@ -84639,9 +84704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -84651,7 +84716,7 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: default: value: @@ -84689,9 +84754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *570 + - *326 + - *571 responses: '204': description: Response if pull request has been merged @@ -84714,9 +84779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84827,9 +84892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 responses: '200': description: Response @@ -84904,9 +84969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -84943,7 +85008,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -85479,9 +85544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: true content: @@ -85515,7 +85580,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -86020,9 +86085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 - *17 - *19 responses: @@ -86032,7 +86097,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86183,9 +86248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -86271,9 +86336,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &575 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86336,10 +86401,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - &574 + - *326 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86351,9 +86416,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &576 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86412,10 +86477,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86438,7 +86503,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86500,18 +86565,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *575 + default: *576 '422': *7 '404': *6 x-github: @@ -86538,10 +86603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 - *17 - *19 responses: @@ -86624,9 +86689,9 @@ paths: _links: type: object properties: - self: *257 - html: *257 - pull_request: *257 + self: *256 + html: *256 + pull_request: *256 required: - self - html @@ -86776,10 +86841,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86807,7 +86872,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86870,10 +86935,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *570 - - *574 + - *326 + - *571 + - *575 requestBody: required: true content: @@ -86908,9 +86973,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *576 + default: *577 '404': *6 '422': *7 '403': *29 @@ -86932,9 +86997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *570 + - *326 + - *571 requestBody: required: false content: @@ -86997,8 +87062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87011,9 +87076,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: &578 + default: &579 value: type: file encoding: base64 @@ -87055,8 +87120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87076,9 +87141,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *6 '422': *15 x-github: @@ -87100,8 +87165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87111,7 +87176,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Release description: A release. type: object @@ -87182,7 +87247,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -87369,8 +87434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87446,9 +87511,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &583 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87553,9 +87618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &581 + - *326 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87567,9 +87632,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 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 @@ -87604,7 +87669,7 @@ paths: type: User site_admin: false '404': *6 - '302': *470 + '302': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87620,9 +87685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *581 + - *326 + - *582 requestBody: required: false content: @@ -87650,9 +87715,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87668,9 +87733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *581 + - *326 + - *582 responses: '204': description: Response @@ -87694,8 +87759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87780,16 +87845,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87806,8 +87871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -87820,9 +87885,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -87844,9 +87909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -87860,9 +87925,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: *579 + schema: *580 examples: - default: *583 + default: *584 '401': description: Unauthorized x-github: @@ -87880,9 +87945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87946,9 +88011,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -87969,9 +88034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87991,9 +88056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *584 + - *326 + - *585 - *17 - *19 responses: @@ -88003,7 +88068,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -88084,9 +88149,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: - - *324 - *325 - - *584 + - *326 + - *585 - name: name in: query required: true @@ -88112,7 +88177,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *581 examples: response-for-successful-upload: value: @@ -88167,9 +88232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 - 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. @@ -88193,9 +88258,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 '404': *6 @@ -88216,9 +88281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: true content: @@ -88248,16 +88313,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '201': description: Reaction created content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88279,10 +88344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *584 - - *320 + - *326 + - *585 + - *321 responses: '204': description: Response @@ -88306,9 +88371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *392 + - *326 + - *393 - *17 - *19 responses: @@ -88324,8 +88389,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *275 - - &585 + - *276 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88344,69 +88409,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *276 - - *585 - allOf: - *277 - - *585 + - *586 - allOf: - *278 - - *585 - - allOf: - *586 - - *585 - allOf: - *279 - - *585 + - *586 + - allOf: + - *587 + - *586 - allOf: - *280 - - *585 + - *586 - allOf: - *281 - - *585 + - *586 - allOf: - *282 - - *585 + - *586 - allOf: - *283 - - *585 + - *586 - allOf: - *284 - - *585 + - *586 - allOf: - *285 - - *585 + - *586 - allOf: - *286 - - *585 + - *586 - allOf: - *287 - - *585 + - *586 - allOf: - *288 - - *585 + - *586 - allOf: - *289 - - *585 + - *586 - allOf: - *290 - - *585 + - *586 - allOf: - *291 - - *585 + - *586 - allOf: - *292 - - *585 + - *586 - allOf: - *293 - - *585 + - *586 - allOf: - *294 - - *585 + - *586 - allOf: - - *587 - - *585 + - *295 + - *586 + - allOf: + - *588 + - *586 examples: default: value: @@ -88445,8 +88510,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88457,7 +88522,7 @@ paths: schema: type: boolean default: true - - *588 + - *589 responses: '200': description: Response @@ -88465,7 +88530,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -88512,8 +88577,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88533,16 +88598,16 @@ paths: - tag - push default: branch - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *590 required: - name - enforcement @@ -88573,9 +88638,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: &599 + default: &600 value: id: 42 name: super cool ruleset @@ -88622,12 +88687,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *590 + - *326 - *591 - *592 - *593 + - *594 - *17 - *19 responses: @@ -88635,9 +88700,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '500': *103 x-github: @@ -88658,17 +88723,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *596 + - *326 + - *597 responses: '200': description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *598 + default: *599 '404': *6 '500': *103 x-github: @@ -88696,8 +88761,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88717,9 +88782,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *599 + default: *600 '404': *6 '500': *103 put: @@ -88737,8 +88802,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88763,16 +88828,16 @@ paths: - branch - tag - push - enforcement: *272 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *590 examples: default: value: @@ -88800,9 +88865,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *599 + default: *600 '404': *6 '500': *103 delete: @@ -88820,8 +88885,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88844,8 +88909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -88861,9 +88926,9 @@ paths: application/json: schema: type: array - items: *298 + items: *299 examples: - default: *600 + default: *601 '404': *6 '500': *103 x-github: @@ -88882,8 +88947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88901,7 +88966,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -88956,21 +89021,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *602 + - *326 - *603 - *604 - *605 + - *606 - *48 - *19 - *17 - - *606 - *607 - *608 - *609 - *610 - *611 + - *612 responses: '200': description: Response @@ -88978,7 +89043,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 type: object properties: number: *159 @@ -88997,8 +89062,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolved_at: type: string format: date-time @@ -89094,7 +89159,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *615 nullable: true has_more_locations: type: boolean @@ -89243,16 +89308,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 - - *611 + - *326 + - *425 + - *612 responses: '200': description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89304,9 +89369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 requestBody: required: true content: @@ -89314,8 +89379,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89334,7 +89399,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89409,9 +89474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *424 + - *326 + - *425 - *19 - *17 responses: @@ -89448,7 +89513,6 @@ paths: example: commit details: oneOf: - - *616 - *617 - *618 - *619 @@ -89461,6 +89525,7 @@ paths: - *626 - *627 - *628 + - *629 examples: default: value: @@ -89546,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89555,14 +89620,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &631 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *630 required: - reason - placeholder_id @@ -89579,7 +89644,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *631 expire_at: type: string format: date-time @@ -89625,8 +89690,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89641,7 +89706,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &632 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89667,15 +89732,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *632 backfill_scans: type: array - items: *631 + items: *632 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *632 - type: object properties: pattern_name: @@ -89745,8 +89810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -89790,9 +89855,9 @@ paths: application/json: schema: type: array - items: *632 + items: *633 examples: - default: *633 + default: *634 '400': *14 '404': *6 x-github: @@ -89815,8 +89880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89889,7 +89954,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 required: - login - type @@ -89976,9 +90041,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90211,8 +90276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90316,7 +90381,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -90463,17 +90528,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *634 + - *326 + - *635 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '403': *29 '404': *6 x-github: @@ -90497,9 +90562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *634 + - *326 + - *635 requestBody: required: true content: @@ -90572,7 +90637,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *302 required: - login - type @@ -90658,10 +90723,10 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 - add_credit: *635 + default: *636 + add_credit: *636 '403': *29 '404': *6 '422': @@ -90699,9 +90764,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: - - *324 - *325 - - *634 + - *326 + - *635 responses: '202': *39 '400': *14 @@ -90728,17 +90793,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *634 + - *326 + - *635 responses: '202': description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 '400': *14 '422': *15 '403': *29 @@ -90764,8 +90829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -90864,8 +90929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90874,7 +90939,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90907,8 +90972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -90984,8 +91049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91081,8 +91146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91236,8 +91301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91247,7 +91312,7 @@ paths: application/json: schema: type: array - items: *636 + items: *637 examples: default: value: @@ -91280,8 +91345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91335,7 +91400,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -91389,8 +91454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91422,14 +91487,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91497,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91524,7 +91589,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -91551,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91572,8 +91637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91652,8 +91717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91661,7 +91726,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Tag protection description: Tag protection type: object @@ -91713,8 +91778,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -91737,7 +91802,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -91768,8 +91833,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91806,8 +91871,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -91843,8 +91908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91876,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -91885,7 +91950,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91897,7 +91962,7 @@ paths: required: - names examples: - default: &641 + default: &642 value: names: - octocat @@ -91920,8 +91985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -91952,9 +92017,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *7 x-github: @@ -91975,9 +92040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &642 + - *326 + - &643 name: per description: The time frame to display results for. in: query @@ -92006,7 +92071,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &644 title: Traffic type: object properties: @@ -92093,8 +92158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92184,8 +92249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92245,9 +92310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *642 + - *326 + - *643 responses: '200': description: Response @@ -92266,7 +92331,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *644 required: - uniques - count @@ -92343,8 +92408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92618,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92642,8 +92707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -92665,8 +92730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -92692,8 +92757,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92785,9 +92850,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93035,7 +93100,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -93197,7 +93262,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -93268,7 +93333,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true comment_count: type: integer @@ -93288,7 +93353,7 @@ paths: url: type: string format: uri - verification: *506 + verification: *507 required: - author - committer @@ -93307,7 +93372,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *391 nullable: true parents: type: array @@ -93325,7 +93390,7 @@ paths: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -93517,7 +93582,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *17 - *19 - name: advanced_search @@ -93614,11 +93679,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -93635,8 +93700,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true comments: type: integer @@ -93650,7 +93715,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -93875,7 +93940,7 @@ paths: enum: - created - updated - - *645 + - *646 - *17 - *19 responses: @@ -93919,7 +93984,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -94004,7 +94069,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *17 - *19 responses: @@ -94243,7 +94308,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -94543,7 +94608,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -94734,7 +94799,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *17 - *19 responses: @@ -94838,7 +94903,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -94917,7 +94982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &650 name: team_id description: The unique identifier of the team. in: path @@ -94929,9 +94994,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -94958,7 +95023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95021,16 +95086,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '201': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *310 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95058,7 +95123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *650 responses: '204': description: Response @@ -95089,7 +95154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *650 - *48 - *17 - *19 @@ -95100,9 +95165,9 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: - default: *650 + default: *651 headers: Link: *54 x-github: @@ -95131,7 +95196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95165,9 +95230,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95194,16 +95259,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95228,8 +95293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: false content: @@ -95252,9 +95317,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *651 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95279,8 +95344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 responses: '204': description: Response @@ -95309,8 +95374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *313 + - *650 + - *314 - *48 - *17 - *19 @@ -95321,9 +95386,9 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: - default: *652 + default: *653 headers: Link: *54 x-github: @@ -95352,8 +95417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: true content: @@ -95375,9 +95440,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95404,17 +95469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95439,9 +95504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 requestBody: required: true content: @@ -95463,9 +95528,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *653 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95490,9 +95555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 responses: '204': description: Response @@ -95521,9 +95586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 - 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. @@ -95549,9 +95614,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -95580,9 +95645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *313 - - *316 + - *650 + - *314 + - *317 requestBody: required: true content: @@ -95614,9 +95679,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95642,8 +95707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 - 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. @@ -95669,9 +95734,9 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: - default: *319 + default: *320 headers: Link: *54 x-github: @@ -95700,8 +95765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *313 + - *650 + - *314 requestBody: required: true content: @@ -95733,9 +95798,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95759,7 +95824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95797,7 +95862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *650 - name: role description: Filters members returned by their role in the team. in: query @@ -95848,7 +95913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95885,7 +95950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95925,7 +95990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95962,16 +96027,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *655 '404': *6 x-github: githubCloudOnly: false @@ -96004,7 +96069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 requestBody: required: false @@ -96030,9 +96095,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *656 '403': description: Forbidden if team synchronization is set up '422': @@ -96066,7 +96131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -96095,7 +96160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96105,9 +96170,9 @@ paths: application/json: schema: type: array - items: *322 + items: *323 examples: - default: *656 + default: *657 headers: Link: *54 '404': *6 @@ -96133,16 +96198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *323 + - *650 + - *324 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *657 + default: *658 '404': description: Not Found if project is not managed by this team x-github: @@ -96166,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *323 + - *650 + - *324 requestBody: required: false content: @@ -96234,8 +96299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *323 + - *650 + - *324 responses: '204': description: Response @@ -96262,7 +96327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96304,15 +96369,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *659 examples: alternative-response-with-extra-repository-information: value: @@ -96463,9 +96528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 requestBody: required: false content: @@ -96515,9 +96580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *324 + - *650 - *325 + - *326 responses: '204': description: Response @@ -96542,7 +96607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96554,7 +96619,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *660 headers: Link: *54 '404': *6 @@ -96587,7 +96652,7 @@ paths: application/json: schema: oneOf: - - &661 + - &662 title: Private User description: Private User type: object @@ -96790,7 +96855,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *661 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96943,7 +97008,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -97289,7 +97354,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97297,7 +97362,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -97341,7 +97406,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &663 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97381,7 +97446,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *448 headers: Link: *54 x-github: @@ -97457,7 +97522,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -97603,7 +97668,7 @@ paths: type: array items: *143 examples: - default: *663 + default: *664 '401': *25 '403': *29 '404': *6 @@ -97755,7 +97820,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '304': *37 '500': *103 '401': *25 @@ -97813,7 +97878,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '401': *25 '403': *29 '404': *6 @@ -97870,7 +97935,7 @@ paths: description: Response content: application/json: - schema: &664 + schema: &665 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97911,7 +97976,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &666 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97956,9 +98021,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97995,9 +98060,9 @@ paths: type: integer machines: type: array - items: *666 + items: *667 examples: - default: *667 + default: *668 '304': *37 '500': *103 '401': *25 @@ -98076,13 +98141,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *331 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *446 + required: *447 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98864,7 +98929,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '304': *37 '500': *103 '400': *14 @@ -98904,7 +98969,7 @@ paths: application/json: schema: *222 examples: - default: *444 + default: *445 '500': *103 '401': *25 '403': *29 @@ -98936,7 +99001,7 @@ paths: type: array items: *235 examples: - default: &678 + default: &679 value: - id: 197 name: hello_docker @@ -99037,7 +99102,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 title: Email description: Email type: object @@ -99102,9 +99167,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: &680 + default: &681 value: - email: octocat@github.com verified: true @@ -99179,7 +99244,7 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: default: value: @@ -99435,7 +99500,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: GPG Key description: A unique encryption key type: object @@ -99566,7 +99631,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &695 value: - id: 3 name: Octocat's GPG Key @@ -99651,9 +99716,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: id: 3 name: Octocat's GPG Key @@ -99710,7 +99775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &672 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99722,9 +99787,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99747,7 +99812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *672 responses: '204': description: Response @@ -100052,7 +100117,7 @@ paths: required: true content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -100202,7 +100267,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Key description: Key type: object @@ -100303,9 +100368,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: &673 + default: &674 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100338,15 +100403,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '200': description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '404': *6 '304': *37 '403': *29 @@ -100369,7 +100434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '204': description: Response @@ -100402,7 +100467,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100470,7 +100535,7 @@ paths: - account - plan examples: - default: &675 + default: &676 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100532,9 +100597,9 @@ paths: application/json: schema: type: array - items: *674 + items: *675 examples: - default: *675 + default: *676 headers: Link: *54 '304': *37 @@ -101529,7 +101594,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *229 - - *676 + - *677 responses: '204': description: Response @@ -101644,7 +101709,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *19 - *17 responses: @@ -101656,8 +101721,8 @@ paths: type: array items: *235 examples: - default: *678 - '400': *679 + default: *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101686,7 +101751,7 @@ paths: application/json: schema: *235 examples: - default: &695 + default: &696 value: id: 40201 name: octo-name @@ -102048,9 +102113,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: *680 + default: *681 headers: Link: *54 '304': *37 @@ -102163,7 +102228,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &688 summary: Default response value: - id: 1296269 @@ -102467,9 +102532,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *331 examples: - default: *332 + default: *333 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102507,9 +102572,9 @@ paths: application/json: schema: type: array - items: *519 + items: *520 examples: - default: *681 + default: *682 headers: Link: *54 '304': *37 @@ -102588,7 +102653,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Social account description: Social media account type: object @@ -102603,7 +102668,7 @@ paths: - provider - url examples: - default: &683 + default: &684 value: - provider: twitter url: https://twitter.com/github @@ -102665,9 +102730,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 '422': *15 '304': *37 '404': *6 @@ -102754,7 +102819,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102840,9 +102905,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102873,7 +102938,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: - - &686 + - &687 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102885,9 +102950,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 '404': *6 '304': *37 '403': *29 @@ -102910,7 +102975,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: - - *686 + - *687 responses: '204': description: Response @@ -102964,7 +103029,7 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *688 application/vnd.github.v3.star+json: schema: type: array @@ -103124,8 +103189,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103153,8 +103218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -103178,8 +103243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -103251,7 +103316,7 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: default: value: @@ -103337,10 +103402,10 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: &689 + default-response: &690 summary: Default response value: login: octocat @@ -103375,7 +103440,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &691 summary: Response with GitHub plan information value: login: octocat @@ -103435,7 +103500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *689 - *17 responses: '200': @@ -103484,11 +103549,11 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *690 + response-with-git-hub-plan-information: *691 '404': *6 x-github: githubCloudOnly: false @@ -103538,8 +103603,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *692 + withPredicateType: *693 responses: '200': description: Response @@ -103592,7 +103657,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103797,7 +103862,7 @@ paths: initiator: type: string examples: - default: *386 + default: *387 '201': description: Response content: @@ -103838,7 +103903,7 @@ paths: type: array items: *235 examples: - default: *678 + default: *679 '403': *29 '401': *25 x-github: @@ -104222,9 +104287,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *694 + default: *695 headers: Link: *54 x-github: @@ -104328,7 +104393,7 @@ paths: application/json: schema: *22 examples: - default: *516 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104452,7 +104517,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *59 - *19 - *17 @@ -104465,10 +104530,10 @@ paths: type: array items: *235 examples: - default: *678 + default: *679 '403': *29 '401': *25 - '400': *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104498,7 +104563,7 @@ paths: application/json: schema: *235 examples: - default: *695 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104845,9 +104910,9 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: - default: *696 + default: *697 headers: Link: *54 '304': *37 @@ -104870,16 +104935,16 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *253 - - *697 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *698 + default: *699 headers: Link: *54 '304': *37 @@ -104935,9 +105000,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -104996,10 +105061,10 @@ paths: description: Response content: application/json: - schema: *699 + schema: *259 examples: - issue: *259 - pull_request: *259 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -105021,7 +105086,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105041,9 +105106,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 headers: Link: *54 '304': *37 @@ -105066,7 +105131,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105136,13 +105201,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -105164,7 +105229,7 @@ paths: parameters: - *253 - *59 - - *262 + - *263 responses: '204': description: Response @@ -105866,9 +105931,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 headers: Link: *54 x-github: @@ -105898,7 +105963,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: *710 headers: @@ -105941,7 +106006,7 @@ paths: - type: array items: *66 examples: - default-response: *687 + default-response: *688 headers: Link: *54 x-github: @@ -107711,7 +107776,7 @@ x-webhooks: type: string pull_requests: type: array - items: *403 + items: *404 repository: *143 status: example: completed @@ -107799,7 +107864,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *403 + items: *404 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -111529,7 +111594,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111852,7 +111917,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112182,7 +112247,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112524,7 +112589,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112795,7 +112860,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113069,7 +113134,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *420 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113657,7 +113722,7 @@ x-webhooks: type: string enum: - created - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -113824,7 +113889,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -113904,7 +113969,7 @@ x-webhooks: type: string enum: - updated - definition: *263 + definition: *264 enterprise: *713 installation: *714 organization: *715 @@ -114167,7 +114232,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114255,7 +114320,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114343,7 +114408,7 @@ x-webhooks: type: string enum: - created - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114429,7 +114494,7 @@ x-webhooks: type: string enum: - dismissed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114515,7 +114580,7 @@ x-webhooks: type: string enum: - fixed - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114602,7 +114667,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -114688,7 +114753,7 @@ x-webhooks: type: string enum: - reopened - alert: *475 + alert: *476 installation: *714 organization: *715 enterprise: *713 @@ -116181,10 +116246,10 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *481 + deployment: *482 pull_requests: type: array - items: *568 + items: *569 repository: *716 organization: *715 installation: *714 @@ -120863,7 +120928,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *531 required: - repository_url - category @@ -125455,8 +125520,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126842,8 +126907,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128082,8 +128147,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129689,11 +129754,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130686,11 +130751,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131808,11 +131873,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132816,11 +132881,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133943,11 +134008,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134935,11 +135000,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135951,11 +136016,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136936,11 +137001,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137904,11 +137969,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139260,11 +139325,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140246,11 +140311,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141257,11 +141322,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142223,11 +142288,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144030,11 +144095,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160699,7 +160764,7 @@ x-webhooks: organization: *715 pull_request: &764 allOf: - - *568 + - *569 - type: object properties: allow_auto_merge: @@ -160928,7 +160993,7 @@ x-webhooks: enum: - demilestoned enterprise: *713 - milestone: *550 + milestone: *551 number: *763 organization: *715 pull_request: &765 @@ -172850,7 +172915,7 @@ x-webhooks: enum: - milestoned enterprise: *713 - milestone: *550 + milestone: *551 number: *763 organization: *715 pull_request: *765 @@ -214866,7 +214931,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_advisory: *632 + repository_advisory: *633 sender: *4 required: - action @@ -214946,7 +215011,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_advisory: *632 + repository_advisory: *633 sender: *4 required: - action @@ -215808,7 +215873,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 sender: *4 required: - action @@ -215890,7 +215955,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 sender: *4 required: - action @@ -215972,7 +216037,7 @@ x-webhooks: installation: *714 organization: *715 repository: *716 - repository_ruleset: *295 + repository_ruleset: *296 changes: type: object properties: @@ -215991,16 +216056,16 @@ x-webhooks: properties: added: type: array - items: *270 + items: *271 deleted: type: array - items: *270 + items: *271 updated: type: array items: type: object properties: - condition: *270 + condition: *271 changes: {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}