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 6deab2db1..a161427ec 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 d8bd9b190..f37a1e594 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 6deab2db1..a161427ec 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 d8bd9b190..f37a1e594 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 78a37d7b8..db161be71 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 b9faf964e..868c227ad 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 78a37d7b8..db161be71 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 b9faf964e..868c227ad 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: 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/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 58a927f8c..5d59424b0 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -118886,7 +118886,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -118897,6 +118897,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", @@ -118952,7 +118960,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/", @@ -119021,7 +119030,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/", @@ -183799,6 +183808,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/enterprise-cloud@latest//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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 3f381249e..d6a2eb24f 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &435 + type: &436 type: string description: The type of credit the user is receiving. enum: @@ -1031,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &763 + - &764 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &773 + schema: &774 title: Scim Error description: Scim Error type: object @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &413 + properties: &414 id: description: Unique identifier of the repository example: 42 @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &414 + required: &415 - archive_url - assignees_url - blobs_url @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &774 + '401': &775 description: Authorization failure '404': *6 x-github: @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &548 + instances_url: &549 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &549 + dismissed_reason: &550 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &550 + dismissed_comment: &551 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &551 + rule: &552 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &552 + tool: &553 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &553 + most_recent_instance: &554 type: object properties: - ref: &546 + ref: &547 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &563 + analysis_key: &564 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &564 + category: &565 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16743,7 +16743,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 - - &603 + - &604 name: has in: query description: |- @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &604 + security_advisory: &605 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &605 + auto_dismissed_at: &606 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &446 + default: &447 value: total_count: 2 network_configurations: @@ -18449,7 +18449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &447 + - &448 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &449 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &449 + default: &450 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &412 + schema: &413 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &418 + - &419 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &729 + items: &730 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &726 + - &727 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &727 + - &728 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &421 + default: &422 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &423 + - &424 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &424 + - &425 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &425 + - &426 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &426 + - &427 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &427 + - &428 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &428 + - &429 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &429 + - &430 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &430 + - &431 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &741 + state: &742 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: &742 + resolution: &743 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &743 - - &745 + oneOf: &744 + - &746 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &746 + - &747 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. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &747 + - &748 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &748 + - &749 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &749 + - &750 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &750 + - &751 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &751 + - &752 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &752 + - &753 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &753 + - &754 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. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &754 + - &755 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. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &755 + - &756 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. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &756 + - &757 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. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &757 + - &758 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. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &432 + default: &433 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &434 + default: &435 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &438 + default: &439 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &439 + - &440 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &440 + schema: &441 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &441 + default: &442 value: total_advanced_security_committers: 2 total_count: 2 @@ -23349,7 +23349,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &443 type: object properties: total_gigabytes_bandwidth_used: @@ -23367,7 +23367,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &443 + default: &444 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -23611,7 +23611,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &445 type: object properties: days_left_in_billing_cycle: @@ -23629,7 +23629,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &445 + default: &446 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -24861,7 +24861,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &663 + properties: &664 id: type: integer format: int64 @@ -24973,7 +24973,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &404 + properties: &403 url: type: string format: uri @@ -25043,7 +25043,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &405 + required: &404 - closed_issues - creator - description @@ -25233,7 +25233,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &801 + sub_issues_summary: &802 title: Sub-issues Summary type: object properties: @@ -25253,7 +25253,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &802 + issue_dependencies_summary: &803 title: Issue Dependencies Summary type: object properties: @@ -25272,7 +25272,7 @@ paths: - total_blocking issue_field_values: type: array - items: &803 + items: &804 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25332,7 +25332,7 @@ paths: - node_id - data_type - value - required: &664 + required: &665 - assignee - closed_at - comments @@ -25353,7 +25353,7 @@ paths: - user - created_at - updated_at - comment: &661 + comment: &662 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25911,7 +25911,7 @@ paths: url: type: string format: uri - user: &815 + user: &816 title: Public User description: Public User type: object @@ -29216,14 +29216,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &469 + - &470 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &470 + - &471 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29285,7 +29285,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &481 + '301': &482 description: Moved permanently content: application/json: @@ -29307,7 +29307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &693 + - &694 name: all description: If `true`, show notifications marked as read. in: query @@ -29315,7 +29315,7 @@ paths: schema: type: boolean default: false - - &694 + - &695 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29325,7 +29325,7 @@ paths: type: boolean default: false - *217 - - &695 + - &696 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: @@ -29637,7 +29637,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &415 + security_and_analysis: &416 nullable: true type: object properties: @@ -29807,7 +29807,7 @@ paths: - url - subscription_url examples: - default: &696 + default: &697 value: - id: '1' repository: @@ -30778,7 +30778,7 @@ paths: type: array items: *151 examples: - default: &702 + default: &703 value: - property_name: environment value: production @@ -30828,7 +30828,7 @@ paths: required: - properties examples: - default: &703 + default: &704 value: properties: - property_name: environment @@ -32204,7 +32204,7 @@ paths: type: integer repository_cache_usages: type: array - items: &486 + items: &487 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -34318,7 +34318,7 @@ paths: type: array items: *284 examples: - default: &818 + default: &819 value: total_count: 1 repositories: @@ -35360,7 +35360,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35389,7 +35389,7 @@ paths: - key_id - key examples: - default: &507 + default: &508 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35802,7 +35802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &491 + - &492 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/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -36370,7 +36370,7 @@ paths: name: type: string description: The name of the artifact. - example: libfoo-1.2.3 + example: libfoo minLength: 1 digest: type: string @@ -36379,6 +36379,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 @@ -36430,7 +36437,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/ @@ -36477,7 +36485,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/ @@ -36613,12 +36621,12 @@ paths: required: - subject_digests examples: - default: &846 + default: &847 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &847 + withPredicateType: &848 value: subject_digests: - sha256:abc123 @@ -36676,7 +36684,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &848 + default: &849 value: attestations_subject_digests: - sha256:abc: @@ -37025,7 +37033,7 @@ paths: initiator: type: string examples: - default: &520 + default: &521 value: attestations: - bundle: @@ -37942,7 +37950,7 @@ paths: be returned. in: query required: false - schema: &547 + schema: &548 type: string description: Severity of a code scanning alert. enum: @@ -38988,7 +38996,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &576 + properties: &577 name: type: string description: The name of the machine. @@ -39030,7 +39038,7 @@ paths: - ready - in_progress nullable: true - required: &577 + required: &578 - name - display_name - operating_system @@ -39898,7 +39906,7 @@ paths: - updated_at - visibility examples: - default: &578 + default: &579 value: total_count: 2 secrets: @@ -39936,7 +39944,7 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -39965,7 +39973,7 @@ paths: - key_id - key examples: - default: &580 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39997,7 +40005,7 @@ paths: application/json: schema: *326 examples: - default: &582 + default: &583 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41706,7 +41714,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -41723,7 +41731,7 @@ paths: - key_id - key examples: - default: &609 + default: &610 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42053,7 +42061,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &617 + - &618 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -42061,7 +42069,7 @@ paths: required: false schema: type: string - - &618 + - &619 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -42069,7 +42077,7 @@ paths: required: false schema: type: string - - &619 + - &620 name: time_period description: |- The time period to filter by. @@ -42085,7 +42093,7 @@ paths: - week - month default: month - - &620 + - &621 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -42110,7 +42118,7 @@ paths: application/json: schema: type: array - items: &621 + items: &622 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42266,7 +42274,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &622 + default: &623 value: - id: 21 number: 42 @@ -42357,7 +42365,7 @@ paths: - *99 - *100 - *101 - - &623 + - &624 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42383,7 +42391,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42504,7 +42512,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &625 + default: &626 value: - id: 21 number: 42 @@ -42849,7 +42857,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &465 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -42930,7 +42938,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &465 + default: &466 value: group_id: '123' group_name: Octocat admins @@ -42985,7 +42993,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &463 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -43022,7 +43030,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &463 + default: &464 value: groups: - group_id: '123' @@ -43180,7 +43188,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -43194,7 +43202,7 @@ paths: - name - description examples: - default: &417 + default: &418 value: - name: add_assignee description: Assign or remove a user @@ -44324,7 +44332,7 @@ paths: application/json: schema: *22 examples: - default: &656 + default: &657 value: id: 1 account: @@ -44549,7 +44557,7 @@ paths: required: true content: application/json: - schema: &657 + schema: &658 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -45410,7 +45418,7 @@ paths: application/json: schema: *373 examples: - default: &575 + default: &576 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46655,7 +46663,7 @@ paths: parameters: - *83 - *379 - - &831 + - &832 name: repo_name description: repo_name parameter in: path @@ -47687,7 +47695,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &436 + items: &437 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -47981,7 +47989,7 @@ paths: - nuget - container - *83 - - &832 + - &833 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -48022,7 +48030,7 @@ paths: default: *385 '403': *29 '401': *25 - '400': &834 + '400': &835 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -50016,6 +50024,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/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project + parameters: + - *83 + - *402 + 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: &408 + 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: + - *227 + - &591 + 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: *403 + required: *404 + 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: *311 + nullable: true + head: + type: object + properties: + label: + type: string + ref: + type: string + repo: *74 + 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: *74 + 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: &405 + title: Link + description: Hypermedia Link + type: object + properties: + href: + type: string + required: + - href + commits: *405 + statuses: *405 + html: *405 + issue: *405 + review_comments: *405 + review_comment: *405 + self: *405 + required: + - comments + - commits + - statuses + - html + - issue + - review_comments + - review_comment + - self + author_association: *214 + auto_merge: &706 + 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: &407 + 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: &409 + 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 @@ -50039,7 +50541,7 @@ paths: application/json: schema: type: array - items: &403 + items: &406 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -50186,7 +50688,7 @@ paths: - updated_at - project_url examples: - default: &851 + default: &852 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50290,7 +50792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *402 - - &852 + - &853 name: field_id description: The unique identifier of the field. in: path @@ -50303,9 +50805,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: &853 + default: &854 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50382,7 +50884,7 @@ paths: application/json: schema: type: array - items: &409 + items: &410 title: Projects v2 Item description: An item belonging to a project type: object @@ -50398,14 +50900,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: &407 - title: Projects v2 Item Content Type - description: The type of content tracked in a project item - type: string - enum: - - Issue - - PullRequest - - DraftIssue + content_type: *407 content: type: object additionalProperties: true @@ -50448,7 +50943,7 @@ paths: - updated_at - archived_at examples: - default: &410 + default: &411 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -51180,440 +51675,10 @@ paths: description: Response content: application/json: - schema: &854 - 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: - - *227 - - &590 - 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: *404 - required: *405 - 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: *311 - nullable: true - head: - type: object - properties: - label: - type: string - ref: - type: string - repo: *74 - 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: *74 - 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: &406 - title: Link - description: Hypermedia Link - type: object - properties: - href: - type: string - required: - - href - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 - required: - - comments - - commits - - statuses - - html - - issue - - review_comments - - review_comment - - self - author_association: *214 - auto_merge: &705 - 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: *407 - 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: *408 examples: - issue: &408 - 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: *408 + issue: *409 + pull_request: *409 '304': *37 '403': *29 '401': *25 @@ -51635,7 +51700,7 @@ paths: parameters: - *402 - *83 - - &411 + - &412 name: item_id description: The unique identifier of the project item. in: path @@ -51661,9 +51726,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 headers: Link: *43 '304': *37 @@ -51686,7 +51751,7 @@ paths: parameters: - *402 - *83 - - *411 + - *412 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -51756,13 +51821,13 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - text_field: *410 - number_field: *410 - date_field: *410 - single_select_field: *410 - iteration_field: *410 + text_field: *411 + number_field: *411 + date_field: *411 + single_select_field: *411 + iteration_field: *411 '401': *25 '403': *29 '404': *6 @@ -51784,7 +51849,7 @@ paths: parameters: - *402 - *83 - - *411 + - *412 responses: '204': description: Response @@ -51947,7 +52012,7 @@ paths: required: true content: application/json: - schema: *412 + schema: *413 examples: default: value: @@ -52515,7 +52580,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &481 title: Full Repository description: Full Repository type: object @@ -52792,8 +52857,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *413 - required: *414 + properties: *414 + required: *415 nullable: true temp_clone_token: type: string @@ -52908,7 +52973,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &595 + properties: &596 url: type: string format: uri @@ -52924,12 +52989,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &596 + required: &597 - url - key - name - html_url - security_and_analysis: *415 + security_and_analysis: *416 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53013,7 +53078,7 @@ paths: - network_count - subscribers_count examples: - default: &482 + default: &483 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -53539,9 +53604,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53566,7 +53631,7 @@ paths: - *83 - *17 - *19 - - &728 + - &729 name: targets description: | A comma-separated list of rule targets to filter by. @@ -53657,11 +53722,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *418 + conditions: *419 rules: type: array description: An array of rules within the ruleset. - items: &420 + items: &421 title: Repository Rule type: object description: A repository rule. @@ -53725,7 +53790,7 @@ paths: application/json: schema: *185 examples: - default: &419 + default: &420 value: id: 21 name: super cool ruleset @@ -53780,7 +53845,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &730 + - &731 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 @@ -53792,14 +53857,14 @@ paths: x-multi-segment: true - *308 - *101 - - &731 + - &732 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 - - &732 + - &733 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53819,7 +53884,7 @@ paths: description: Response content: application/json: - schema: &733 + schema: &734 title: Rule Suites description: Response type: array @@ -53874,7 +53939,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &734 + default: &735 value: - id: 21 actor_id: 12 @@ -53918,7 +53983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &735 + - &736 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53934,7 +53999,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &737 title: Rule Suite description: Response type: object @@ -54033,7 +54098,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &737 + default: &738 value: id: 21 actor_id: 12 @@ -54108,7 +54173,7 @@ paths: application/json: schema: *185 examples: - default: *419 + default: *420 '404': *6 '500': *40 put: @@ -54157,11 +54222,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *418 + conditions: *419 rules: description: An array of rules within the ruleset. type: array - items: *420 + items: *421 examples: default: value: @@ -54198,7 +54263,7 @@ paths: application/json: schema: *185 examples: - default: *419 + default: *420 '404': *6 '500': *40 delete: @@ -54257,7 +54322,7 @@ paths: type: array items: *189 examples: - default: *421 + default: *422 '404': *6 '500': *40 x-github: @@ -54294,7 +54359,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -54357,14 +54422,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *423 - *424 - *425 - *426 + - *427 - *106 - *19 - *17 - - &739 + - &740 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -54374,7 +54439,7 @@ paths: required: false schema: type: string - - &740 + - &741 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -54384,10 +54449,10 @@ paths: required: false schema: type: string - - *427 - *428 - *429 - *430 + - *431 responses: '200': description: Response @@ -54395,9 +54460,9 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: - default: *432 + default: *433 headers: Link: *43 '404': *6 @@ -54432,9 +54497,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 '403': *29 '404': *6 patch: @@ -54587,7 +54652,7 @@ paths: application/json: schema: type: array - items: &761 + items: &762 description: A repository security advisory. type: object properties: @@ -54807,7 +54872,7 @@ paths: login: type: string description: The username of the user credited. - type: *435 + type: *436 credits_detailed: type: array nullable: true @@ -54817,7 +54882,7 @@ paths: type: object properties: user: *4 - type: *435 + type: *436 state: type: string description: The state of the user's acceptance of the @@ -54878,7 +54943,7 @@ paths: - private_fork additionalProperties: false examples: - default: &762 + default: &763 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55265,7 +55330,7 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: default: *383 x-github: @@ -55352,9 +55417,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55379,7 +55444,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *439 + - *440 - *17 - *19 responses: @@ -55387,9 +55452,9 @@ paths: description: Success content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55417,9 +55482,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55447,9 +55512,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55730,7 +55795,7 @@ paths: type: array items: *143 examples: - default: *446 + default: *447 headers: Link: *43 x-github: @@ -55931,15 +55996,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *83 - - *447 + - *448 responses: '200': description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 headers: Link: *43 x-github: @@ -55977,7 +56042,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56023,7 +56088,7 @@ paths: type: string nullable: true examples: - default: &472 + default: &473 value: groups: - group_id: '123' @@ -56231,7 +56296,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &451 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56558,7 +56623,7 @@ paths: - repos_count - organization examples: - default: &451 + default: &452 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56635,9 +56700,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -56721,16 +56786,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '201': description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 '422': *15 '403': *29 @@ -56800,7 +56865,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56899,7 +56964,7 @@ paths: - updated_at - url examples: - default: &805 + default: &806 value: - author: login: octocat @@ -57008,9 +57073,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &453 + default: &454 value: author: login: octocat @@ -57084,7 +57149,7 @@ paths: parameters: - *83 - *210 - - &454 + - &455 name: discussion_number description: The number that identifies the discussion. in: path @@ -57096,9 +57161,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57122,7 +57187,7 @@ paths: parameters: - *83 - *210 - - *454 + - *455 requestBody: required: false content: @@ -57145,9 +57210,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &806 + default: &807 value: author: login: octocat @@ -57219,7 +57284,7 @@ paths: parameters: - *83 - *210 - - *454 + - *455 responses: '204': description: Response @@ -57247,7 +57312,7 @@ paths: parameters: - *83 - *210 - - *454 + - *455 - *106 - *17 - *19 @@ -57258,7 +57323,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -57330,7 +57395,7 @@ paths: - updated_at - url examples: - default: &807 + default: &808 value: - author: login: octocat @@ -57400,7 +57465,7 @@ paths: parameters: - *83 - *210 - - *454 + - *455 requestBody: required: true content: @@ -57422,9 +57487,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &456 + default: &457 value: author: login: octocat @@ -57492,8 +57557,8 @@ paths: parameters: - *83 - *210 - - *454 - - &457 + - *455 + - &458 name: comment_number description: The number that identifies the comment. in: path @@ -57505,9 +57570,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *456 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57531,8 +57596,8 @@ paths: parameters: - *83 - *210 - - *454 - - *457 + - *455 + - *458 requestBody: required: true content: @@ -57554,9 +57619,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &808 + default: &809 value: author: login: octocat @@ -57622,8 +57687,8 @@ paths: parameters: - *83 - *210 - - *454 - - *457 + - *455 + - *458 responses: '204': description: Response @@ -57651,8 +57716,8 @@ paths: parameters: - *83 - *210 - - *454 - - *457 + - *455 + - *458 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -57678,258 +57743,258 @@ paths: application/json: schema: type: array - items: &458 - title: Reaction - description: Reactions to conversations provide a way to help people - express their feelings more simply and effectively. - type: object - properties: - id: - type: integer - example: 1 - node_id: - type: string - example: MDg6UmVhY3Rpb24x - user: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - content: - description: The reaction to use - example: heart - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - created_at: - type: string - format: date-time - example: '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at - examples: - default: &460 - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - 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: heart - created_at: '2016-05-20T20:09:31Z' - headers: - Link: *43 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - *83 - - *210 - - *454 - - *457 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: *458 - examples: - default: &459 - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - 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: heart - created_at: '2016-05-20T20:09:31Z' - '201': - description: Response - content: - application/json: - schema: *458 - examples: - default: *459 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - *83 - - *210 - - *454 - - *457 - - &461 - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - *83 - - *210 - - *454 - - name: content - description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). - Omit this parameter to list all reactions to a team discussion. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *458 + items: &459 + title: Reaction + description: Reactions to conversations provide a way to help people + express their feelings more simply and effectively. + type: object + properties: + id: + type: integer + example: 1 + node_id: + type: string + example: MDg6UmVhY3Rpb24x + user: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + content: + description: The reaction to use + example: heart + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + created_at: + type: string + format: date-time + example: '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at + examples: + default: &461 + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + 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: heart + created_at: '2016-05-20T20:09:31Z' + headers: + Link: *43 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: reactions + subcategory: reactions + post: + summary: Create reaction for a team discussion comment + description: |- + Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). + + A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. + + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + + OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + tags: + - reactions + operationId: reactions/create-for-team-discussion-comment-in-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment + parameters: + - *83 + - *210 + - *455 + - *458 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + content: + type: string + description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) + to add to the team discussion comment. + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + required: + - content + examples: + default: + value: + content: heart + responses: + '200': + description: Response when the reaction type has already been added to this + team discussion comment + content: + application/json: + schema: *459 + examples: + default: &460 + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + 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: heart + created_at: '2016-05-20T20:09:31Z' + '201': + description: Response + content: + application/json: + schema: *459 examples: default: *460 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: reactions + subcategory: reactions + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": + delete: + summary: Delete team discussion comment reaction + description: |- + > [!NOTE] + > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. + + Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). + + OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + tags: + - reactions + operationId: reactions/delete-for-team-discussion-comment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction + parameters: + - *83 + - *210 + - *455 + - *458 + - &462 + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: reactions + subcategory: reactions + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": + get: + summary: List reactions for a team discussion + description: |- + List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). + + > [!NOTE] + > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + + OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + tags: + - reactions + operationId: reactions/list-for-team-discussion-in-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion + parameters: + - *83 + - *210 + - *455 + - name: content + description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). + Omit this parameter to list all reactions to a team discussion. + in: query + required: false + schema: + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *459 + examples: + default: *461 headers: Link: *43 x-github: @@ -57957,7 +58022,7 @@ paths: parameters: - *83 - *210 - - *454 + - *455 requestBody: required: true content: @@ -57989,16 +58054,16 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58023,8 +58088,8 @@ paths: parameters: - *83 - *210 - - *454 - - *461 + - *455 + - *462 responses: '204': description: Response @@ -58054,9 +58119,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58099,9 +58164,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58242,7 +58307,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &467 title: Team Membership description: Team Membership type: object @@ -58269,7 +58334,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &809 + response-if-user-is-a-team-maintainer: &810 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58332,9 +58397,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - response-if-users-membership-with-team-is-now-pending: &810 + response-if-users-membership-with-team-is-now-pending: &811 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58407,7 +58472,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Team Project description: A team's access to a project. type: object @@ -58475,7 +58540,7 @@ paths: - updated_at - permissions examples: - default: &811 + default: &812 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58540,7 +58605,7 @@ paths: parameters: - *83 - *210 - - &468 + - &469 name: project_id description: The unique identifier of the project. in: path @@ -58552,9 +58617,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: &812 + default: &813 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58618,7 +58683,7 @@ paths: parameters: - *83 - *210 - - *468 + - *469 requestBody: required: false content: @@ -58686,7 +58751,7 @@ paths: parameters: - *83 - *210 - - *468 + - *469 responses: '204': description: Response @@ -58757,14 +58822,14 @@ paths: parameters: - *83 - *210 - - *469 - *470 + - *471 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &813 + schema: &814 title: Team Repository description: A team's access to a repository. type: object @@ -59335,8 +59400,8 @@ paths: parameters: - *83 - *210 - - *469 - *470 + - *471 requestBody: required: false content: @@ -59383,8 +59448,8 @@ paths: parameters: - *83 - *210 - - *469 - *470 + - *471 responses: '204': description: Response @@ -59417,9 +59482,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59485,7 +59550,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -59530,7 +59595,7 @@ paths: type: array items: *311 examples: - response-if-child-teams-exist: &814 + response-if-child-teams-exist: &815 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59657,7 +59722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &473 + - &474 name: card_id description: The unique identifier of the card. in: path @@ -59669,7 +59734,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: Project Card description: Project cards represent a scope of work. type: object @@ -59736,7 +59801,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &476 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59792,7 +59857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *473 + - *474 requestBody: required: false content: @@ -59819,9 +59884,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '304': *37 '403': *29 '401': *25 @@ -59848,7 +59913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *473 + - *474 responses: '204': description: Response @@ -59892,7 +59957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *473 + - *474 requestBody: required: true content: @@ -60003,7 +60068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &476 + - &477 name: column_id description: The unique identifier of the column. in: path @@ -60015,7 +60080,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: Project Column description: Project columns contain cards of work. type: object @@ -60061,7 +60126,7 @@ paths: - created_at - updated_at examples: - default: &478 + default: &479 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60096,7 +60161,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *476 + - *477 requestBody: required: true content: @@ -60120,9 +60185,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '304': *37 '403': *29 '401': *25 @@ -60147,7 +60212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *476 + - *477 responses: '204': description: Response @@ -60176,7 +60241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *476 + - *477 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -60197,7 +60262,7 @@ paths: application/json: schema: type: array - items: *474 + items: *475 examples: default: value: @@ -60256,7 +60321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *476 + - *477 requestBody: required: true content: @@ -60296,9 +60361,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '304': *37 '403': *29 '401': *25 @@ -60354,7 +60419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *476 + - *477 requestBody: required: true content: @@ -60414,7 +60479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *468 + - *469 - 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 @@ -60471,7 +60536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *468 + - *469 - *138 requestBody: required: false @@ -60524,7 +60589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *468 + - *469 - *138 responses: '204': @@ -60556,7 +60621,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *468 + - *469 - *138 responses: '200': @@ -60657,7 +60722,7 @@ paths: resources: type: object properties: - core: &479 + core: &480 title: Rate Limit type: object properties: @@ -60674,21 +60739,21 @@ paths: - remaining - reset - used - graphql: *479 - search: *479 - code_search: *479 - source_import: *479 - integration_manifest: *479 - code_scanning_upload: *479 - actions_runner_registration: *479 - scim: *479 - dependency_snapshots: *479 - dependency_sbom: *479 - code_scanning_autofix: *479 + graphql: *480 + search: *480 + code_search: *480 + source_import: *480 + integration_manifest: *480 + code_scanning_upload: *480 + actions_runner_registration: *480 + scim: *480 + dependency_snapshots: *480 + dependency_sbom: *480 + code_scanning_autofix: *480 required: - core - search - rate: *479 + rate: *480 required: - rate - resources @@ -60793,14 +60858,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *480 + schema: *481 examples: default-response: summary: Default response @@ -61305,7 +61370,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *481 + '301': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61323,8 +61388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -61581,10 +61646,10 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *482 - '307': &483 + default: *483 + '307': &484 description: Temporary Redirect content: application/json: @@ -61613,8 +61678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -61636,7 +61701,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *483 + '307': *484 '404': *6 '409': *114 x-github: @@ -61660,11 +61725,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *469 - *470 + - *471 - *17 - *19 - - &498 + - &499 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61687,7 +61752,7 @@ paths: type: integer artifacts: type: array - items: &484 + items: &485 title: Artifact description: An artifact type: object @@ -61765,7 +61830,7 @@ paths: - expires_at - updated_at examples: - default: &499 + default: &500 value: total_count: 2 artifacts: @@ -61826,9 +61891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *469 - *470 - - &485 + - *471 + - &486 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61840,7 +61905,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: default: value: @@ -61878,9 +61943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *469 - *470 - - *485 + - *471 + - *486 responses: '204': description: Response @@ -61904,9 +61969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *469 - *470 - - *485 + - *471 + - *486 - name: archive_format in: path required: true @@ -61920,7 +61985,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': &660 + '410': &661 description: Gone content: application/json: @@ -61947,14 +62012,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: default: value: @@ -61980,11 +62045,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *469 - *470 + - *471 - *17 - *19 - - &487 + - &488 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 @@ -62018,7 +62083,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Repository actions caches description: Repository actions caches type: object @@ -62060,7 +62125,7 @@ paths: - total_count - actions_caches examples: - default: &489 + default: &490 value: total_count: 1 actions_caches: @@ -62092,23 +62157,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *469 - *470 + - *471 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *487 + - *488 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62128,8 +62193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *469 - *470 + - *471 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62160,9 +62225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *469 - *470 - - &490 + - *471 + - &491 name: job_id description: The unique identifier of the job. in: path @@ -62174,7 +62239,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Job description: Information of a job execution in a workflow run type: object @@ -62481,9 +62546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *469 - *470 - - *490 + - *471 + - *491 responses: '302': description: Response @@ -62511,9 +62576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *469 - *470 - - *490 + - *471 + - *491 requestBody: required: false content: @@ -62558,8 +62623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Status response @@ -62609,8 +62674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -62673,8 +62738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -62692,7 +62757,7 @@ paths: type: integer secrets: type: array - items: &504 + items: &505 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62712,7 +62777,7 @@ paths: - created_at - updated_at examples: - default: &505 + default: &506 value: total_count: 2 secrets: @@ -62745,9 +62810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *469 - *470 - - *491 + - *471 + - *492 - *19 responses: '200': @@ -62764,7 +62829,7 @@ paths: type: integer variables: type: array - items: &508 + items: &509 title: Actions Variable type: object properties: @@ -62794,7 +62859,7 @@ paths: - created_at - updated_at examples: - default: &509 + default: &510 value: total_count: 2 variables: @@ -62827,8 +62892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -62837,7 +62902,7 @@ paths: schema: type: object properties: - enabled: &492 + enabled: &493 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 @@ -62872,8 +62937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -62884,7 +62949,7 @@ paths: schema: type: object properties: - enabled: *492 + enabled: *493 allowed_actions: *56 sha_pinning_required: *57 required: @@ -62917,14 +62982,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: &493 + schema: &494 type: object properties: access_level: @@ -62942,7 +63007,7 @@ paths: required: - access_level examples: - default: &494 + default: &495 value: access_level: organization x-github: @@ -62967,15 +63032,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 responses: '204': description: Response @@ -62999,8 +63064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63030,8 +63095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Empty response for successful settings update @@ -63065,8 +63130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63093,8 +63158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -63128,8 +63193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63157,8 +63222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -63189,8 +63254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63221,8 +63286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -63254,8 +63319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63284,8 +63349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Success response @@ -63325,8 +63390,8 @@ paths: in: query schema: type: string - - *469 - *470 + - *471 - *17 - *19 responses: @@ -63370,8 +63435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -63403,8 +63468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -63478,8 +63543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *469 - *470 + - *471 responses: '201': description: Response @@ -63515,8 +63580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *469 - *470 + - *471 responses: '201': description: Response @@ -63546,8 +63611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 responses: '200': @@ -63577,8 +63642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *469 - *470 + - *471 - *71 responses: '204': @@ -63605,8 +63670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 responses: '200': *77 @@ -63631,8 +63696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 requestBody: required: true @@ -63681,8 +63746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 requestBody: required: true @@ -63732,8 +63797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 responses: '200': *291 @@ -63763,8 +63828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *469 - *470 + - *471 - *71 - *292 responses: @@ -63794,9 +63859,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *469 - *470 - - &512 + - *471 + - &513 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. @@ -63804,7 +63869,7 @@ paths: required: false schema: type: string - - &513 + - &514 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63812,7 +63877,7 @@ paths: required: false schema: type: string - - &514 + - &515 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63821,7 +63886,7 @@ paths: required: false schema: type: string - - &515 + - &516 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 @@ -63848,7 +63913,7 @@ paths: - pending - *17 - *19 - - &516 + - &517 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/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63857,7 +63922,7 @@ paths: schema: type: string format: date-time - - &495 + - &496 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63866,13 +63931,13 @@ paths: schema: type: boolean default: false - - &517 + - &518 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &518 + - &519 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63895,7 +63960,7 @@ paths: type: integer workflow_runs: type: array - items: &496 + items: &497 title: Workflow Run description: An invocation of a workflow type: object @@ -63990,7 +64055,7 @@ paths: that triggered the run. type: array nullable: true - items: &537 + items: &538 title: Pull Request Minimal type: object properties: @@ -64109,7 +64174,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &541 + properties: &542 id: type: string description: SHA for the commit @@ -64160,7 +64225,7 @@ paths: - name - email nullable: true - required: &542 + required: &543 - id - tree_id - message @@ -64207,7 +64272,7 @@ paths: - workflow_url - pull_requests examples: - default: &519 + default: &520 value: total_count: 1 workflow_runs: @@ -64443,24 +64508,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *469 - *470 - - &497 + - *471 + - &498 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *495 + - *496 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &500 + default: &501 value: id: 30433642 name: Build @@ -64701,9 +64766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '204': description: Response @@ -64726,9 +64791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '200': description: Response @@ -64847,9 +64912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '201': description: Response @@ -64882,12 +64947,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *469 - *470 - - *497 + - *471 + - *498 - *17 - *19 - - *498 + - *499 responses: '200': description: Response @@ -64903,9 +64968,9 @@ paths: type: integer artifacts: type: array - items: *484 + items: *485 examples: - default: *499 + default: *500 headers: Link: *43 x-github: @@ -64929,25 +64994,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *469 - *470 - - *497 - - &501 + - *471 + - *498 + - &502 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *495 + - *496 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64970,10 +65035,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *469 - *470 - - *497 - - *501 + - *471 + - *498 + - *502 - *17 - *19 responses: @@ -64991,9 +65056,9 @@ paths: type: integer jobs: type: array - items: *502 + items: *503 examples: - default: &503 + default: &504 value: total_count: 1 jobs: @@ -65106,10 +65171,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *469 - *470 - - *497 - - *501 + - *471 + - *498 + - *502 responses: '302': description: Response @@ -65137,9 +65202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '202': description: Response @@ -65172,9 +65237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 requestBody: required: true content: @@ -65241,9 +65306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '202': description: Response @@ -65276,9 +65341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 - 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 @@ -65308,9 +65373,9 @@ paths: type: integer jobs: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *43 x-github: @@ -65335,9 +65400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '302': description: Response @@ -65364,9 +65429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '204': description: Response @@ -65393,9 +65458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '200': description: Response @@ -65455,7 +65520,7 @@ paths: items: type: object properties: - type: &626 + type: &627 type: string description: The type of reviewer. enum: @@ -65540,9 +65605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 requestBody: required: true content: @@ -65589,7 +65654,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65695,7 +65760,7 @@ paths: - created_at - updated_at examples: - default: &613 + default: &614 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65751,9 +65816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *469 - *470 - - *497 + - *471 + - *498 requestBody: required: false content: @@ -65797,9 +65862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *469 - *470 - - *497 + - *471 + - *498 requestBody: required: false content: @@ -65853,9 +65918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *469 - *470 - - *497 + - *471 + - *498 responses: '200': description: Response @@ -65992,8 +66057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -66011,9 +66076,9 @@ paths: type: integer secrets: type: array - items: *504 + items: *505 examples: - default: *505 + default: *506 headers: Link: *43 x-github: @@ -66038,16 +66103,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66069,17 +66134,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &639 + default: &640 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66105,8 +66170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 requestBody: required: true @@ -66164,8 +66229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '204': @@ -66191,9 +66256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *469 - *470 - - *491 + - *471 + - *492 - *19 responses: '200': @@ -66210,9 +66275,9 @@ paths: type: integer variables: type: array - items: *508 + items: *509 examples: - default: *509 + default: *510 headers: Link: *43 x-github: @@ -66235,8 +66300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -66288,17 +66353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *469 - *470 + - *471 - *297 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &640 + default: &641 value: name: USERNAME value: octocat @@ -66324,8 +66389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *469 - *470 + - *471 - *297 requestBody: required: true @@ -66368,8 +66433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *469 - *470 + - *471 - *297 responses: '204': @@ -66395,8 +66460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -66414,7 +66479,7 @@ paths: type: integer workflows: type: array - items: &510 + items: &511 title: Workflow description: A GitHub Actions workflow type: object @@ -66521,9 +66586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *469 - *470 - - &511 + - *471 + - &512 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66538,7 +66603,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -66571,9 +66636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *469 - *470 - - *511 + - *471 + - *512 responses: '204': description: Response @@ -66598,9 +66663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *469 - *470 - - *511 + - *471 + - *512 responses: '204': description: Response @@ -66651,9 +66716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *469 - *470 - - *511 + - *471 + - *512 responses: '204': description: Response @@ -66680,19 +66745,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *469 - *470 - - *511 + - *471 - *512 - *513 - *514 - *515 + - *516 - *17 - *19 - - *516 - - *495 - *517 + - *496 - *518 + - *519 responses: '200': description: Response @@ -66708,9 +66773,9 @@ paths: type: integer workflow_runs: type: array - items: *496 + items: *497 examples: - default: *519 + default: *520 headers: Link: *43 x-github: @@ -66743,9 +66808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *469 - *470 - - *511 + - *471 + - *512 responses: '200': description: Response @@ -66806,8 +66871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *469 - *470 + - *471 - *106 - *17 - *104 @@ -66971,8 +67036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -67009,8 +67074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *469 - *470 + - *471 - name: assignee in: path required: true @@ -67046,8 +67111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -67159,8 +67224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *469 - *470 + - *471 - *17 - *104 - *105 @@ -67217,7 +67282,7 @@ paths: initiator: type: string examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67237,8 +67302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -67246,7 +67311,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Autolink reference description: An autolink reference. type: object @@ -67300,8 +67365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -67340,9 +67405,9 @@ paths: description: response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 key_prefix: TICKET- @@ -67373,9 +67438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *469 - *470 - - &523 + - *471 + - &524 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67387,9 +67452,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -67409,9 +67474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *469 - *470 - - *523 + - *471 + - *524 responses: '204': description: Response @@ -67435,8 +67500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response if Dependabot is enabled @@ -67484,8 +67549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -67506,8 +67571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -67527,8 +67592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *469 - *470 + - *471 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67566,7 +67631,7 @@ paths: - url protected: type: boolean - protection: &525 + protection: &526 title: Branch Protection description: Branch Protection type: object @@ -67608,7 +67673,7 @@ paths: required: - contexts - checks - enforce_admins: &528 + enforce_admins: &529 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67623,7 +67688,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &530 + required_pull_request_reviews: &531 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67699,7 +67764,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &527 + restrictions: &528 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67976,9 +68041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *469 - *470 - - &526 + - *471 + - &527 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/enterprise-cloud@latest//graphql). @@ -67992,14 +68057,14 @@ paths: description: Response content: application/json: - schema: &536 + schema: &537 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &586 + commit: &587 title: Commit description: Commit type: object @@ -68033,7 +68098,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &524 + properties: &525 name: type: string example: '"Chris Wanstrath"' @@ -68048,7 +68113,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true message: type: string @@ -68069,7 +68134,7 @@ paths: required: - sha - url - verification: &646 + verification: &647 title: Verification type: object properties: @@ -68139,7 +68204,7 @@ paths: type: integer files: type: array - items: &599 + items: &600 title: Diff Entry description: Diff Entry type: object @@ -68223,7 +68288,7 @@ paths: - self protected: type: boolean - protection: *525 + protection: *526 protection_url: type: string format: uri @@ -68330,7 +68395,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *481 + '301': *482 '404': *6 x-github: githubCloudOnly: false @@ -68352,15 +68417,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -68554,9 +68619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -68811,7 +68876,7 @@ paths: url: type: string format: uri - required_status_checks: &533 + required_status_checks: &534 title: Status Check Policy description: Status Check Policy type: object @@ -68963,7 +69028,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *527 + restrictions: *528 required_conversation_resolution: type: object properties: @@ -69075,9 +69140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -69102,17 +69167,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69134,17 +69199,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69163,9 +69228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -69190,17 +69255,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69296,9 +69361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -69396,9 +69461,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '422': *15 x-github: githubCloudOnly: false @@ -69419,9 +69484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -69448,17 +69513,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69481,17 +69546,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -69511,9 +69576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -69538,17 +69603,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69574,9 +69639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -69628,9 +69693,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *6 '422': *15 x-github: @@ -69652,9 +69717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -69678,9 +69743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response @@ -69714,9 +69779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -69783,9 +69848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -69849,9 +69914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: content: application/json: @@ -69917,15 +69982,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -70016,9 +70081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '204': description: Response @@ -70041,9 +70106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response @@ -70053,7 +70118,7 @@ paths: type: array items: *5 examples: - default: &535 + default: &536 value: - id: 1 slug: octoapp @@ -70110,9 +70175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70146,7 +70211,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -70167,9 +70232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70203,7 +70268,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -70224,9 +70289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70260,7 +70325,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -70282,9 +70347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response @@ -70314,9 +70379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -70375,9 +70440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: false content: @@ -70436,9 +70501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: content: application/json: @@ -70497,9 +70562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *469 - *470 - - *526 + - *471 + - *527 responses: '200': description: Response @@ -70533,9 +70598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70593,9 +70658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70653,9 +70718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70715,9 +70780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *469 - *470 - - *526 + - *471 + - *527 requestBody: required: true content: @@ -70739,7 +70804,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -70853,8 +70918,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *469 - *470 + - *471 - *99 - *100 - *101 @@ -70890,8 +70955,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *469 - *470 + - *471 - name: bypass_request_number in: path required: true @@ -70964,8 +71029,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *469 - *470 + - *471 - *99 - *100 - *101 @@ -71005,8 +71070,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *469 - *470 + - *471 - name: bypass_request_number in: path required: true @@ -71076,8 +71141,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *469 - *470 + - *471 - name: bypass_request_number in: path required: true @@ -71148,8 +71213,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *469 - *470 + - *471 - name: bypass_response_id in: path required: true @@ -71182,8 +71247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -71462,7 +71527,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &539 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71581,7 +71646,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *537 + items: *538 deployment: &870 title: Deployment description: A deployment created as the result of an Actions @@ -71862,9 +71927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *469 - *470 - - &539 + - *471 + - &540 name: check_run_id description: The unique identifier of the check run. in: path @@ -71876,9 +71941,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &540 + default: &541 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71978,9 +72043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *469 - *470 - - *539 + - *471 + - *540 requestBody: required: true content: @@ -72220,9 +72285,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *540 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72242,9 +72307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *469 - *470 - - *539 + - *471 + - *540 - *17 - *19 responses: @@ -72339,9 +72404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *469 - *470 - - *539 + - *471 + - *540 responses: '201': description: Response @@ -72385,8 +72450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -72408,7 +72473,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &543 + schema: &544 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72472,7 +72537,7 @@ paths: nullable: true pull_requests: type: array - items: *537 + items: *538 nullable: true app: title: GitHub app @@ -72498,8 +72563,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *541 - required: *542 + properties: *542 + required: *543 latest_check_runs_count: type: integer check_runs_url: @@ -72527,7 +72592,7 @@ paths: - check_runs_url - pull_requests examples: - default: &544 + default: &545 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72818,9 +72883,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *543 + schema: *544 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72839,8 +72904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -73149,9 +73214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *469 - *470 - - &545 + - *471 + - &546 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73163,9 +73228,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73188,17 +73253,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *469 - *470 - - *545 - - &592 + - *471 + - *546 + - &593 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &593 + - &594 name: status description: Returns check runs with the specified `status`. in: query @@ -73237,9 +73302,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *539 examples: - default: &594 + default: &595 value: total_count: 1 check_runs: @@ -73341,9 +73406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *469 - *470 - - *545 + - *471 + - *546 responses: '201': description: Response @@ -73376,21 +73441,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *469 - *470 + - *471 - *315 - *316 - *19 - *17 - - &561 + - &562 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: *546 - - &562 + schema: *547 + - &563 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73421,7 +73486,7 @@ paths: be returned. in: query required: false - schema: *547 + schema: *548 responses: '200': description: Response @@ -73437,7 +73502,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *548 + instances_url: *549 state: *109 fixed_at: *133 dismissed_by: @@ -73448,11 +73513,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *549 - dismissed_comment: *550 - rule: *551 - tool: *552 - most_recent_instance: *553 + dismissed_reason: *550 + dismissed_comment: *551 + rule: *552 + tool: *553 + most_recent_instance: *554 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73578,7 +73643,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &554 + '403': &555 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73605,9 +73670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *469 - *470 - - &555 + - *471 + - &556 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73621,7 +73686,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &557 type: object properties: number: *123 @@ -73629,7 +73694,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *548 + instances_url: *549 state: *109 fixed_at: *133 dismissed_by: @@ -73640,8 +73705,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *549 - dismissed_comment: *550 + dismissed_reason: *550 + dismissed_comment: *551 rule: type: object properties: @@ -73695,8 +73760,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *552 - most_recent_instance: *553 + tool: *553 + most_recent_instance: *554 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73795,7 +73860,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -73815,9 +73880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 requestBody: required: true content: @@ -73832,8 +73897,8 @@ paths: enum: - open - dismissed - dismissed_reason: *549 - dismissed_comment: *550 + dismissed_reason: *550 + dismissed_comment: *551 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73852,7 +73917,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -73928,7 +73993,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &560 + '403': &561 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73955,15 +74020,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 responses: '200': description: Response content: application/json: - schema: &557 + schema: &558 type: object properties: status: @@ -73989,13 +74054,13 @@ paths: - description - started_at examples: - default: &558 + default: &559 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &559 + '400': &560 description: Bad Request content: application/json: @@ -74006,7 +74071,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': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -74031,29 +74096,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 responses: '200': description: OK content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '202': description: Accepted content: application/json: - schema: *557 + schema: *558 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *559 + '400': *560 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74085,9 +74150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 requestBody: required: false content: @@ -74132,8 +74197,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *559 - '403': *560 + '400': *560 + '403': *561 '404': *6 '422': description: Unprocessable Entity @@ -74157,13 +74222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 - *19 - *17 - - *561 - *562 + - *563 responses: '200': description: Response @@ -74171,7 +74236,7 @@ paths: application/json: schema: type: array - items: *553 + items: *554 examples: default: value: @@ -74210,7 +74275,7 @@ paths: end_column: 50 classifications: - source - '403': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -74244,25 +74309,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *469 - *470 + - *471 - *315 - *316 - *19 - *17 - - *562 + - *563 - 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: *546 + schema: *547 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &565 + schema: &566 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74283,23 +74348,23 @@ paths: application/json: schema: type: array - items: &566 + items: &567 type: object properties: - ref: *546 - commit_sha: &574 + ref: *547 + commit_sha: &575 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: *563 + analysis_key: *564 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *564 + category: *565 error: type: string example: error reading field xyz @@ -74323,8 +74388,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *565 - tool: *552 + sarif_id: *566 + tool: *553 deletable: type: boolean warning: @@ -74385,7 +74450,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -74421,8 +74486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *469 - *470 + - *471 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74435,7 +74500,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: response: summary: application/json response @@ -74489,7 +74554,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *554 + '403': *555 '404': *6 '422': description: Response if analysis could not be processed @@ -74576,8 +74641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *469 - *470 + - *471 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74630,7 +74695,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': *560 + '403': *561 '404': *6 '503': *190 x-github: @@ -74652,8 +74717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -74661,7 +74726,7 @@ paths: application/json: schema: type: array - items: &567 + items: &568 title: CodeQL Database description: A CodeQL database. type: object @@ -74772,7 +74837,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': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -74801,8 +74866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *469 - *470 + - *471 - name: language in: path description: The language of the CodeQL database. @@ -74814,7 +74879,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: default: value: @@ -74846,9 +74911,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': &601 + '302': &602 description: Found - '403': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -74870,8 +74935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *469 - *470 + - *471 - name: language in: path description: The language of the CodeQL database. @@ -74881,7 +74946,7 @@ paths: responses: '204': description: Response - '403': *560 + '403': *561 '404': *6 '503': *190 x-github: @@ -74909,8 +74974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -74919,7 +74984,7 @@ paths: type: object additionalProperties: false properties: - language: &568 + language: &569 type: string description: The language targeted by the CodeQL query enum: @@ -74998,7 +75063,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &572 + schema: &573 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75008,7 +75073,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *568 + query_language: *569 query_pack_url: type: string description: The download url for the query pack. @@ -75055,7 +75120,7 @@ paths: items: type: object properties: - repository: &569 + repository: &570 title: Repository Identifier description: Repository Identifier type: object @@ -75091,7 +75156,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &573 + analysis_status: &574 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75123,7 +75188,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &570 + access_mismatch_repos: &571 type: object properties: repository_count: @@ -75137,7 +75202,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: *569 + items: *570 required: - repository_count - repositories @@ -75159,8 +75224,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *570 - over_limit_repos: *570 + no_codeql_db_repos: *571 + over_limit_repos: *571 required: - access_mismatch_repos - not_found_repos @@ -75176,7 +75241,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &571 + value: &572 summary: Default response value: id: 1 @@ -75328,10 +75393,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *571 + value: *572 repository_lists: summary: Response for a successful variant analysis submission - value: *571 + value: *572 '404': *6 '422': description: Unable to process variant analysis submission @@ -75359,8 +75424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *469 - *470 + - *471 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75372,9 +75437,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *571 + default: *572 '404': *6 '503': *190 x-github: @@ -75397,7 +75462,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *469 + - *470 - name: repo in: path description: The name of the controller repository. @@ -75432,7 +75497,7 @@ paths: type: object properties: repository: *115 - analysis_status: *573 + analysis_status: *574 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75557,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -75643,7 +75708,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *554 + '403': *555 '404': *6 '503': *190 x-github: @@ -75664,8 +75729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -75757,7 +75822,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *560 + '403': *561 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75828,8 +75893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -75837,7 +75902,7 @@ paths: schema: type: object properties: - commit_sha: *574 + commit_sha: *575 ref: type: string description: |- @@ -75895,7 +75960,7 @@ paths: schema: type: object properties: - id: *565 + id: *566 url: type: string description: The REST API URL for checking the status of the upload. @@ -75909,7 +75974,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': *560 + '403': *561 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75932,8 +75997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *469 - *470 + - *471 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75979,7 +76044,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': *554 + '403': *555 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -76004,8 +76069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -76086,8 +76151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *469 - *470 + - *471 - 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 @@ -76207,8 +76272,8 @@ paths: parameters: - *17 - *19 - - *469 - *470 + - *471 responses: '200': description: Response @@ -76522,8 +76587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -76588,7 +76653,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76596,7 +76661,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '400': *14 '401': *25 '403': *29 @@ -76625,8 +76690,8 @@ paths: parameters: - *17 - *19 - - *469 - *470 + - *471 responses: '200': description: Response @@ -76690,8 +76755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *469 - *470 + - *471 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76726,14 +76791,14 @@ paths: type: integer machines: type: array - items: &821 + items: &822 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 examples: - default: &822 + default: &823 value: total_count: 2 machines: @@ -76773,8 +76838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *469 - *470 + - *471 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76858,8 +76923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *469 - *470 + - *471 - 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 @@ -76925,8 +76990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -76944,7 +77009,7 @@ paths: type: integer secrets: type: array - items: &581 + items: &582 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76964,7 +77029,7 @@ paths: - created_at - updated_at examples: - default: *578 + default: *579 headers: Link: *43 x-github: @@ -76987,16 +77052,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77016,17 +77081,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '200': description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77046,8 +77111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 requestBody: required: true @@ -77100,8 +77165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '204': @@ -77130,8 +77195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *469 - *470 + - *471 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77173,7 +77238,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &583 + properties: &584 login: type: string example: octocat @@ -77266,7 +77331,7 @@ paths: user_view_type: type: string example: public - required: &584 + required: &585 - avatar_url - events_url - followers_url @@ -77340,8 +77405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *469 - *470 + - *471 - *138 responses: '204': @@ -77388,8 +77453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *469 - *470 + - *471 - *138 requestBody: required: false @@ -77416,7 +77481,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &659 + schema: &660 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77645,8 +77710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *469 - *470 + - *471 - *138 responses: '204': @@ -77678,8 +77743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *469 - *470 + - *471 - *138 responses: '200': @@ -77700,8 +77765,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *583 - required: *584 + properties: *584 + required: *585 nullable: true required: - permission @@ -77756,8 +77821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -77767,7 +77832,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 title: Commit Comment description: Commit Comment type: object @@ -77825,7 +77890,7 @@ paths: - created_at - updated_at examples: - default: &588 + default: &589 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77884,17 +77949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *469 - *470 + - *471 - *226 responses: '200': description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: &589 + default: &590 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77951,8 +78016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -77975,7 +78040,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -78026,8 +78091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *469 - *470 + - *471 - *226 responses: '204': @@ -78049,8 +78114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *469 - *470 + - *471 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78077,9 +78142,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 '404': *6 @@ -78100,8 +78165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -78134,16 +78199,16 @@ paths: description: Reaction exists content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Reaction created content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '422': *15 x-github: githubCloudOnly: false @@ -78165,10 +78230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *469 - *470 + - *471 - *226 - - *461 + - *462 responses: '204': description: Response @@ -78217,8 +78282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *469 - *470 + - *471 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78274,9 +78339,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: &712 + default: &713 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78370,9 +78435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *469 - *470 - - &587 + - *471 + - &588 name: commit_sha description: The SHA of the commit. in: path @@ -78444,9 +78509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *469 - *470 - - *587 + - *471 + - *588 - *17 - *19 responses: @@ -78456,9 +78521,9 @@ paths: application/json: schema: type: array - items: *585 + items: *586 examples: - default: *588 + default: *589 headers: Link: *43 x-github: @@ -78486,9 +78551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *469 - *470 - - *587 + - *471 + - *588 requestBody: required: true content: @@ -78523,9 +78588,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *589 + default: *590 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78553,9 +78618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *469 - *470 - - *587 + - *471 + - *588 - *17 - *19 responses: @@ -78565,9 +78630,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: &704 + default: &705 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79104,11 +79169,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *469 - *470 + - *471 - *19 - *17 - - &591 + - &592 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)" @@ -79123,9 +79188,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &689 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79238,11 +79303,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *469 - *470 - - *591 + - *471 - *592 - *593 + - *594 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79276,9 +79341,9 @@ paths: type: integer check_runs: type: array - items: *538 + items: *539 examples: - default: *594 + default: *595 headers: Link: *43 x-github: @@ -79303,9 +79368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *469 - *470 - - *591 + - *471 + - *592 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79313,7 +79378,7 @@ paths: schema: type: integer example: 1 - - *592 + - *593 - *17 - *19 responses: @@ -79331,7 +79396,7 @@ paths: type: integer check_suites: type: array - items: *543 + items: *544 examples: default: value: @@ -79531,9 +79596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *469 - *470 - - *591 + - *471 + - *592 - *17 - *19 responses: @@ -79731,9 +79796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *469 - *470 - - *591 + - *471 + - *592 - *17 - *19 responses: @@ -79743,7 +79808,7 @@ paths: application/json: schema: type: array - items: &766 + items: &767 title: Status description: The status of a commit. type: object @@ -79824,7 +79889,7 @@ paths: site_admin: false headers: Link: *43 - '301': *481 + '301': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79852,8 +79917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -79882,20 +79947,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *595 - required: *596 + properties: *596 + required: *597 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &597 + properties: &598 url: type: string format: uri html_url: type: string format: uri - required: &598 + required: &599 - url - html_url nullable: true @@ -79909,26 +79974,26 @@ paths: contributing: title: Community Health File type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true readme: title: Community Health File type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true issue_template: title: Community Health File type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true pull_request_template: title: Community Health File type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true required: - code_of_conduct @@ -80055,8 +80120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *469 - *470 + - *471 - *19 - *17 - name: basehead @@ -80099,8 +80164,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *586 - merge_base_commit: *586 + base_commit: *587 + merge_base_commit: *587 status: type: string enum: @@ -80120,10 +80185,10 @@ paths: example: 6 commits: type: array - items: *586 + items: *587 files: type: array - items: *599 + items: *600 required: - url - html_url @@ -80409,8 +80474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *469 - *470 + - *471 - name: path description: path parameter in: path @@ -80553,7 +80618,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &600 + response-if-content-is-a-file: &601 summary: Response if content is a file value: type: file @@ -80685,7 +80750,7 @@ paths: - size - type - url - - &717 + - &718 title: Content File description: Content File type: object @@ -80886,7 +80951,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *600 + response-if-content-is-a-file: *601 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80955,7 +81020,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *601 + '302': *602 '304': *37 x-github: githubCloudOnly: false @@ -80978,8 +81043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *469 - *470 + - *471 - name: path description: path parameter in: path @@ -81072,7 +81137,7 @@ paths: description: Response content: application/json: - schema: &602 + schema: &603 title: File Commit description: File Commit type: object @@ -81224,7 +81289,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *603 examples: example-for-creating-a-file: value: @@ -81278,7 +81343,7 @@ paths: schema: oneOf: - *3 - - &641 + - &642 description: Repository rule violation was detected type: object properties: @@ -81299,7 +81364,7 @@ paths: items: type: object properties: - placeholder_id: &758 + placeholder_id: &759 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81331,8 +81396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *469 - *470 + - *471 - name: path description: path parameter in: path @@ -81393,7 +81458,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -81448,8 +81513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *469 - *470 + - *471 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81572,8 +81637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *469 - *470 + - *471 - *331 - *332 - *333 @@ -81585,7 +81650,7 @@ paths: schema: type: string - *335 - - *603 + - *604 - *336 - *337 - *106 @@ -81606,7 +81671,7 @@ paths: application/json: schema: type: array - items: &606 + items: &607 type: object description: A Dependabot alert. properties: @@ -81652,7 +81717,7 @@ paths: - unknown - direct - transitive - security_advisory: *604 + security_advisory: *605 security_vulnerability: *127 url: *128 html_url: *129 @@ -81683,7 +81748,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *605 + auto_dismissed_at: *606 required: - number - state @@ -81913,9 +81978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *469 - *470 - - &607 + - *471 + - &608 name: alert_number in: path description: |- @@ -81930,7 +81995,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: default: value: @@ -82043,9 +82108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *469 - *470 - - *607 + - *471 + - *608 requestBody: required: true content: @@ -82090,7 +82155,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: default: value: @@ -82219,8 +82284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -82238,7 +82303,7 @@ paths: type: integer secrets: type: array - items: &610 + items: &611 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82291,16 +82356,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *609 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82320,15 +82385,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '200': description: Response content: application/json: - schema: *610 + schema: *611 examples: default: value: @@ -82354,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 requestBody: required: true @@ -82408,8 +82473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *469 - *470 + - *471 - *294 responses: '204': @@ -82432,8 +82497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *469 - *470 + - *471 - 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 @@ -82593,8 +82658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -82833,8 +82898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -82909,7 +82974,7 @@ paths: - version - url additionalProperties: false - metadata: &611 + metadata: &612 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82942,7 +83007,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *611 + metadata: *612 resolved: type: object description: A collection of resolved package dependencies. @@ -82955,7 +83020,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *611 + metadata: *612 relationship: type: string description: A notation of whether a dependency is requested @@ -83084,8 +83149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *469 - *470 + - *471 - name: sha description: The SHA recorded at creation time. in: query @@ -83125,9 +83190,9 @@ paths: application/json: schema: type: array - items: *612 + items: *613 examples: - default: *613 + default: *614 headers: Link: *43 x-github: @@ -83193,8 +83258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -83275,7 +83340,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: simple-example: summary: Simple example @@ -83348,9 +83413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *469 - *470 - - &614 + - *471 + - &615 name: deployment_id description: deployment_id parameter in: path @@ -83362,7 +83427,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: default: value: @@ -83427,9 +83492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *469 - *470 - - *614 + - *471 + - *615 responses: '204': description: Response @@ -83451,9 +83516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *469 - *470 - - *614 + - *471 + - *615 - *17 - *19 responses: @@ -83463,7 +83528,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Deployment Status description: The status of a deployment. type: object @@ -83624,9 +83689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *469 - *470 - - *614 + - *471 + - *615 requestBody: required: true content: @@ -83701,9 +83766,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: - default: &616 + default: &617 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83759,9 +83824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *469 - *470 - - *614 + - *471 + - *615 - name: status_id in: path required: true @@ -83772,9 +83837,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: - default: *616 + default: *617 '404': *6 x-github: githubCloudOnly: false @@ -83801,12 +83866,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 - - *617 + - *471 - *618 - *619 - *620 + - *621 - *17 - *19 responses: @@ -83816,9 +83881,9 @@ paths: application/json: schema: type: array - items: *621 + items: *622 examples: - default: *622 + default: *623 '404': *6 '403': *29 '500': *40 @@ -83842,8 +83907,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 + - *471 - name: alert_number in: path required: true @@ -83855,7 +83920,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *621 + schema: *622 examples: default: value: @@ -83911,8 +83976,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 + - *471 - name: alert_number in: path required: true @@ -83971,12 +84036,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 + - *471 - *99 - *100 - *101 - - *623 + - *624 - *17 - *19 responses: @@ -83986,9 +84051,9 @@ paths: application/json: schema: type: array - items: *624 + items: *625 examples: - default: *625 + default: *626 '404': *6 '403': *29 '500': *40 @@ -84013,8 +84078,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 + - *471 - name: alert_number in: path required: true @@ -84026,7 +84091,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *624 + schema: *625 examples: default: value: @@ -84084,8 +84149,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *469 - *470 + - *471 - name: alert_number in: path required: true @@ -84154,8 +84219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -84212,8 +84277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -84230,7 +84295,7 @@ paths: type: integer environments: type: array - items: &627 + items: &628 title: Environment description: Details of a deployment environment type: object @@ -84282,7 +84347,7 @@ paths: type: type: string example: wait_timer - wait_timer: &629 + wait_timer: &630 type: integer example: 30 description: The amount of time to delay a job after @@ -84319,7 +84384,7 @@ paths: items: type: object properties: - type: *626 + type: *627 reviewer: anyOf: - *4 @@ -84343,7 +84408,7 @@ paths: - id - node_id - type - deployment_branch_policy: &630 + deployment_branch_policy: &631 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84459,9 +84524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *469 - *470 - - &628 + - *471 + - &629 name: environment_name in: path required: true @@ -84474,9 +84539,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: &631 + default: &632 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84560,9 +84625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *469 - *470 - - *628 + - *471 + - *629 requestBody: required: false content: @@ -84571,7 +84636,7 @@ paths: type: object nullable: true properties: - wait_timer: *629 + wait_timer: *630 prevent_self_review: type: boolean example: false @@ -84588,13 +84653,13 @@ paths: items: type: object properties: - type: *626 + type: *627 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *630 + deployment_branch_policy: *631 additionalProperties: false examples: default: @@ -84614,9 +84679,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *631 + default: *632 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84640,9 +84705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *469 - *470 - - *628 + - *471 + - *629 responses: '204': description: Default response @@ -84667,9 +84732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *17 - *19 responses: @@ -84687,7 +84752,7 @@ paths: example: 2 branch_policies: type: array - items: &632 + items: &633 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84744,9 +84809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *469 - *470 - - *628 + - *471 + - *629 requestBody: required: true content: @@ -84792,9 +84857,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - example-wildcard: &633 + example-wildcard: &634 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84836,10 +84901,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *469 - *470 - - *628 - - &634 + - *471 + - *629 + - &635 name: branch_policy_id in: path required: true @@ -84851,9 +84916,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84872,10 +84937,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *469 - *470 - - *628 - - *634 + - *471 + - *629 + - *635 requestBody: required: true content: @@ -84903,9 +84968,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84924,10 +84989,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *469 - *470 - - *628 - - *634 + - *471 + - *629 + - *635 responses: '204': description: Response @@ -84952,9 +85017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *628 + - *629 + - *471 - *470 - - *469 responses: '200': description: List of deployment protection rules @@ -84970,7 +85035,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &635 + items: &636 title: Deployment protection rule description: Deployment protection rule type: object @@ -84989,7 +85054,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &636 + app: &637 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85088,9 +85153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *628 + - *629 + - *471 - *470 - - *469 requestBody: content: application/json: @@ -85111,9 +85176,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *635 + schema: *636 examples: - default: &637 + default: &638 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85148,9 +85213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *628 + - *629 + - *471 - *470 - - *469 - *19 - *17 responses: @@ -85169,7 +85234,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *636 + items: *637 examples: default: value: @@ -85204,10 +85269,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *469 - *470 - - *628 - - &638 + - *471 + - *629 + - &639 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85219,9 +85284,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *637 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85242,10 +85307,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *628 + - *629 + - *471 - *470 - - *469 - - *638 + - *639 responses: '204': description: Response @@ -85271,9 +85336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *17 - *19 responses: @@ -85291,9 +85356,9 @@ paths: type: integer secrets: type: array - items: *504 + items: *505 examples: - default: *505 + default: *506 headers: Link: *43 x-github: @@ -85318,17 +85383,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *469 - *470 - - *628 + - *471 + - *629 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85350,18 +85415,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *294 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *639 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85383,9 +85448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *294 requestBody: required: true @@ -85443,9 +85508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *294 responses: '204': @@ -85471,10 +85536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *469 - *470 - - *628 - - *491 + - *471 + - *629 + - *492 - *19 responses: '200': @@ -85491,9 +85556,9 @@ paths: type: integer variables: type: array - items: *508 + items: *509 examples: - default: *509 + default: *510 headers: Link: *43 x-github: @@ -85516,9 +85581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *469 - *470 - - *628 + - *471 + - *629 requestBody: required: true content: @@ -85570,18 +85635,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *469 - *470 - - *628 + - *471 + - *629 - *297 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *640 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85602,10 +85667,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *469 - *470 + - *471 - *297 - - *628 + - *629 requestBody: required: true content: @@ -85647,10 +85712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *469 - *470 + - *471 - *297 - - *628 + - *629 responses: '204': description: Response @@ -85672,8 +85737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -85741,8 +85806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *469 - *470 + - *471 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85901,8 +85966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -85934,9 +85999,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *482 + default: *483 '400': *14 '422': *15 '403': *29 @@ -85957,8 +86022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -86018,7 +86083,7 @@ paths: schema: oneOf: - *259 - - *641 + - *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86043,8 +86108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *469 - *470 + - *471 - name: file_sha in: path required: true @@ -86143,8 +86208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -86253,7 +86318,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &643 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86467,15 +86532,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *469 - *470 - - *587 + - *471 + - *588 responses: '200': description: Response content: application/json: - schema: *642 + schema: *643 examples: default: value: @@ -86531,9 +86596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *469 - *470 - - &643 + - *471 + - &644 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. @@ -86550,7 +86615,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: Git Reference description: Git references within a repository type: object @@ -86625,17 +86690,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *469 - *470 - - *643 + - *471 + - *644 responses: '200': description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86664,8 +86729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -86694,9 +86759,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86722,9 +86787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *469 - *470 - - *643 + - *471 + - *644 requestBody: required: true content: @@ -86753,9 +86818,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '422': *15 '409': *114 x-github: @@ -86773,9 +86838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *469 - *470 - - *643 + - *471 + - *644 responses: '204': description: Response @@ -86830,8 +86895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -86898,7 +86963,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &648 title: Git Tag description: Metadata for a Git tag type: object @@ -86949,7 +87014,7 @@ paths: - sha - type - url - verification: *646 + verification: *647 required: - sha - url @@ -86959,7 +87024,7 @@ paths: - tag - message examples: - default: &648 + default: &649 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87032,8 +87097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *469 - *470 + - *471 - name: tag_sha in: path required: true @@ -87044,9 +87109,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '409': *114 x-github: @@ -87070,8 +87135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -87144,7 +87209,7 @@ paths: description: Response content: application/json: - schema: &649 + schema: &650 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87240,8 +87305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *469 - *470 + - *471 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87264,7 +87329,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: default-response: summary: Default response @@ -87323,8 +87388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -87334,7 +87399,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Webhook description: Webhooks for repositories. type: object @@ -87462,8 +87527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -87515,9 +87580,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: type: Repository id: 12345678 @@ -87565,17 +87630,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -87595,8 +87660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 requestBody: required: true @@ -87642,9 +87707,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 '404': *6 x-github: @@ -87665,8 +87730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 responses: '204': @@ -87691,8 +87756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *469 - *470 + - *471 - *345 responses: '200': @@ -87720,8 +87785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *469 - *470 + - *471 - *345 requestBody: required: false @@ -87766,8 +87831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 - *17 - *346 @@ -87799,8 +87864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 - *16 responses: @@ -87829,8 +87894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 - *16 responses: @@ -87854,8 +87919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *469 - *470 + - *471 - *345 responses: '204': @@ -87881,8 +87946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *469 - *470 + - *471 - *345 responses: '204': @@ -87906,8 +87971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response if immutable releases are enabled @@ -87953,8 +88018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *469 - *470 + - *471 responses: '204': *150 '409': *114 @@ -87974,8 +88039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *469 - *470 + - *471 responses: '204': *150 '409': *114 @@ -88032,14 +88097,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: &652 + schema: &653 title: Import description: A repository import from an external source. type: object @@ -88138,7 +88203,7 @@ paths: - html_url - authors_url examples: - default: &655 + default: &656 value: vcs: subversion use_lfs: true @@ -88154,7 +88219,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': &653 + '503': &654 description: Unavailable due to service under maintenance. content: application/json: @@ -88183,8 +88248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -88232,7 +88297,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: default: value: @@ -88257,7 +88322,7 @@ paths: type: string '422': *15 '404': *6 - '503': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88285,8 +88350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -88335,7 +88400,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: example-1: summary: Example 1 @@ -88383,7 +88448,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': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88406,12 +88471,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *469 - *470 + - *471 responses: '204': description: Response - '503': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88437,9 +88502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *469 - *470 - - &843 + - *471 + - &844 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88453,7 +88518,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Porter Author description: Porter Author type: object @@ -88507,7 +88572,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': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88532,8 +88597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *469 - *470 + - *471 - name: author_id in: path required: true @@ -88563,7 +88628,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: default: value: @@ -88576,7 +88641,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88600,8 +88665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -88642,7 +88707,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88670,8 +88735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -88698,11 +88763,11 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: - default: *655 + default: *656 '422': *15 - '503': *653 + '503': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88725,8 +88790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -88734,8 +88799,8 @@ paths: application/json: schema: *22 examples: - default: *656 - '301': *481 + default: *657 + '301': *482 '404': *6 x-github: githubCloudOnly: false @@ -88755,8 +88820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -88769,7 +88834,7 @@ paths: properties: {} additionalProperties: false examples: - default: &658 + default: &659 value: limit: collaborators_only origin: repository @@ -88794,13 +88859,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: application/json: - schema: *657 + schema: *658 examples: default: summary: Example request body @@ -88814,7 +88879,7 @@ paths: application/json: schema: *363 examples: - default: *658 + default: *659 '409': description: Response x-github: @@ -88836,8 +88901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -88860,8 +88925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -88871,9 +88936,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: &836 + default: &837 value: - id: 1 repository: @@ -89004,8 +89069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *469 - *470 + - *471 - *367 requestBody: required: false @@ -89035,7 +89100,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -89166,8 +89231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *469 - *470 + - *471 - *367 responses: '204': @@ -89199,8 +89264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *469 - *470 + - *471 - 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 @@ -89273,7 +89338,7 @@ paths: type: array items: *227 examples: - default: &669 + default: &670 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89421,7 +89486,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *481 + '301': *482 '422': *15 '404': *6 x-github: @@ -89450,8 +89515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -89535,7 +89600,7 @@ paths: application/json: schema: *227 examples: - default: &666 + default: &667 value: id: 1 node_id: MDU6SXNzdWUx @@ -89691,7 +89756,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *660 + '410': *661 x-github: triggersNotification: true githubCloudOnly: false @@ -89719,8 +89784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *469 - *470 + - *471 - *237 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89741,9 +89806,9 @@ paths: application/json: schema: type: array - items: *661 + items: *662 examples: - default: &668 + default: &669 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89801,17 +89866,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *469 - *470 + - *471 - *226 responses: '200': description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: &662 + default: &663 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89865,8 +89930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -89889,9 +89954,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '422': *15 x-github: githubCloudOnly: false @@ -89909,8 +89974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *469 - *470 + - *471 - *226 responses: '204': @@ -89931,8 +89996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *469 - *470 + - *471 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -89959,9 +90024,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 '404': *6 @@ -89982,8 +90047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -90016,16 +90081,16 @@ paths: description: Reaction exists content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Reaction created content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '422': *15 x-github: githubCloudOnly: false @@ -90047,10 +90112,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *469 - *470 + - *471 - *226 - - *461 + - *462 responses: '204': description: Response @@ -90070,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -90081,7 +90146,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Issue Event description: Issue Event type: object @@ -90124,8 +90189,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *663 - required: *664 + properties: *664 + required: *665 nullable: true label: title: Issue Event Label @@ -90432,8 +90497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *469 - *470 + - *471 - name: event_id in: path required: true @@ -90444,7 +90509,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: default: value: @@ -90637,7 +90702,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *660 + '410': *661 '403': *29 x-github: githubCloudOnly: false @@ -90671,9 +90736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *469 - *470 - - &667 + - *471 + - &668 name: issue_number description: The number that identifies the issue. in: path @@ -90687,10 +90752,10 @@ paths: application/json: schema: *227 examples: - default: *666 - '301': *481 + default: *667 + '301': *482 '404': *6 - '410': *660 + '410': *661 '304': *37 x-github: githubCloudOnly: false @@ -90715,9 +90780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: false content: @@ -90823,13 +90888,13 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 '422': *15 '503': *190 '403': *29 - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90847,9 +90912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: false content: @@ -90877,7 +90942,7 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90893,9 +90958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: content: application/json: @@ -90922,7 +90987,7 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90944,9 +91009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 - name: assignee in: path required: true @@ -90986,9 +91051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *217 - *17 - *19 @@ -90999,13 +91064,13 @@ paths: application/json: schema: type: array - items: *661 + items: *662 examples: - default: *668 + default: *669 headers: Link: *43 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91034,9 +91099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -91058,16 +91123,16 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *660 + '410': *661 '422': *15 '404': *6 x-github: @@ -91095,9 +91160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -91109,12 +91174,12 @@ paths: type: array items: *227 examples: - default: *669 + default: *670 headers: Link: *43 - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91142,9 +91207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -91168,15 +91233,15 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *481 + '301': *482 '403': *29 - '410': *660 + '410': *661 '422': *15 '404': *6 x-github: @@ -91207,9 +91272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *469 - *470 - - *667 + - *471 + - *668 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91223,13 +91288,13 @@ paths: application/json: schema: *227 examples: - default: *666 - '301': *481 + default: *667 + '301': *482 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *660 + '410': *661 x-github: triggersNotification: true githubCloudOnly: false @@ -91255,9 +91320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -91269,12 +91334,12 @@ paths: type: array items: *227 examples: - default: *669 + default: *670 headers: Link: *43 - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91291,9 +91356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -91307,7 +91372,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &672 + - &673 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91361,7 +91426,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91497,7 +91562,7 @@ paths: - performed_via_github_app - assignee - assigner - - &674 + - &675 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91548,7 +91613,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &676 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91599,7 +91664,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &677 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91653,7 +91718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &678 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91700,7 +91765,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &679 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91747,7 +91812,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &680 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91807,7 +91872,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &681 title: Locked Issue Event description: Locked Issue Event type: object @@ -91855,7 +91920,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91921,7 +91986,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &683 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91987,7 +92052,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92053,7 +92118,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &685 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92144,7 +92209,7 @@ paths: color: red headers: Link: *43 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92161,9 +92226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -92173,7 +92238,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -92220,7 +92285,7 @@ paths: - color - default examples: - default: &671 + default: &672 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92238,9 +92303,9 @@ paths: default: false headers: Link: *43 - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92257,9 +92322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: false content: @@ -92318,12 +92383,12 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *671 - '301': *481 + default: *672 + '301': *482 '404': *6 - '410': *660 + '410': *661 '422': *15 x-github: githubCloudOnly: false @@ -92340,9 +92405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: false content: @@ -92402,12 +92467,12 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *671 - '301': *481 + default: *672 + '301': *482 '404': *6 - '410': *660 + '410': *661 '422': *15 x-github: githubCloudOnly: false @@ -92424,15 +92489,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 responses: '204': description: Response - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92451,9 +92516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 - name: name in: path required: true @@ -92466,7 +92531,7 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: default: value: @@ -92477,9 +92542,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *481 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92499,9 +92564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: false content: @@ -92529,7 +92594,7 @@ paths: '204': description: Response '403': *29 - '410': *660 + '410': *661 '404': *6 '422': *15 x-github: @@ -92547,9 +92612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 responses: '204': description: Response @@ -92579,9 +92644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 responses: '200': description: Response @@ -92589,10 +92654,10 @@ paths: application/json: schema: *227 examples: - default: *666 - '301': *481 + default: *667 + '301': *482 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92609,9 +92674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92637,13 +92702,13 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92661,9 +92726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -92695,16 +92760,16 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '422': *15 x-github: githubCloudOnly: false @@ -92726,10 +92791,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *469 - *470 - - *667 - - *461 + - *471 + - *668 + - *462 responses: '204': description: Response @@ -92758,9 +92823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -92784,7 +92849,7 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92817,9 +92882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -92831,11 +92896,11 @@ paths: type: array items: *227 examples: - default: *669 + default: *670 headers: Link: *43 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92863,9 +92928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -92894,14 +92959,14 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *660 + '410': *661 '422': *15 '404': *6 x-github: @@ -92921,9 +92986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 requestBody: required: true content: @@ -92956,7 +93021,7 @@ paths: application/json: schema: *227 examples: - default: *666 + default: *667 '403': *29 '404': *6 '422': *7 @@ -92978,9 +93043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *469 - *470 - - *667 + - *471 + - *668 - *17 - *19 responses: @@ -92995,7 +93060,6 @@ paths: description: Timeline Event type: object anyOf: - - *672 - *673 - *674 - *675 @@ -93008,6 +93072,7 @@ paths: - *682 - *683 - *684 + - *685 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93316,7 +93381,7 @@ paths: type: string comments: type: array - items: &706 + items: &707 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93525,7 +93590,7 @@ paths: type: string comments: type: array - items: *585 + items: *586 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93814,7 +93879,7 @@ paths: headers: Link: *43 '404': *6 - '410': *660 + '410': *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93831,8 +93896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -93842,7 +93907,7 @@ paths: application/json: schema: type: array - items: &685 + items: &686 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93908,8 +93973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -93945,9 +94010,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *686 examples: - default: &686 + default: &687 value: id: 1 key: ssh-rsa AAA... @@ -93981,9 +94046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *469 - *470 - - &687 + - *471 + - &688 name: key_id description: The unique identifier of the key. in: path @@ -93995,9 +94060,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *686 examples: - default: *686 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -94015,9 +94080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *469 - *470 - - *687 + - *471 + - *688 responses: '204': description: Response @@ -94037,8 +94102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -94048,9 +94113,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *671 + default: *672 headers: Link: *43 '404': *6 @@ -94071,8 +94136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -94108,9 +94173,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: &688 + default: &689 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94142,8 +94207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *469 - *470 + - *471 - name: name in: path required: true @@ -94154,9 +94219,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *688 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -94173,8 +94238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *469 - *470 + - *471 - name: name in: path required: true @@ -94213,7 +94278,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -94239,8 +94304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *469 - *470 + - *471 - name: name in: path required: true @@ -94266,8 +94331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -94303,8 +94368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *469 - *470 + - *471 responses: '202': *39 '403': @@ -94332,8 +94397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -94359,9 +94424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *469 - *470 - - *561 + - *471 + - *562 responses: '200': description: Response @@ -94506,8 +94571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -94572,8 +94637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -94607,9 +94672,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *586 + schema: *587 examples: - default: *689 + default: *690 '204': description: Response when already merged '404': @@ -94634,8 +94699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *469 - *470 + - *471 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94676,12 +94741,12 @@ paths: application/json: schema: type: array - items: &690 + items: &691 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *403 + required: *404 examples: default: value: @@ -94737,8 +94802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -94778,9 +94843,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: &691 + default: &692 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94839,9 +94904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *469 - *470 - - &692 + - *471 + - &693 name: milestone_number description: The number that identifies the milestone. in: path @@ -94853,9 +94918,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 '404': *6 x-github: githubCloudOnly: false @@ -94872,9 +94937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *469 - *470 - - *692 + - *471 + - *693 requestBody: required: false content: @@ -94912,9 +94977,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94930,9 +94995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *469 - *470 - - *692 + - *471 + - *693 responses: '204': description: Response @@ -94953,9 +95018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *469 - *470 - - *692 + - *471 + - *693 - *17 - *19 responses: @@ -94965,9 +95030,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *671 + default: *672 headers: Link: *43 x-github: @@ -94986,12 +95051,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *469 - *470 - - *693 + - *471 - *694 - - *217 - *695 + - *217 + - *696 - *17 - *19 responses: @@ -95003,7 +95068,7 @@ paths: type: array items: *240 examples: - default: *696 + default: *697 headers: Link: *43 x-github: @@ -95027,8 +95092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -95086,14 +95151,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: &697 + schema: &698 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95218,7 +95283,7 @@ paths: - custom_404 - public examples: - default: &698 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95259,8 +95324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -95314,9 +95379,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *698 + default: *699 '422': *15 '409': *114 x-github: @@ -95339,8 +95404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -95447,8 +95512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -95474,8 +95539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -95485,7 +95550,7 @@ paths: application/json: schema: type: array - items: &699 + items: &700 title: Page Build description: Page Build type: object @@ -95579,8 +95644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *469 - *470 + - *471 responses: '201': description: Response @@ -95625,16 +95690,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *699 + schema: *700 examples: - default: &700 + default: &701 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95682,8 +95747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *469 - *470 + - *471 - name: build_id in: path required: true @@ -95694,9 +95759,9 @@ paths: description: Response content: application/json: - schema: *699 + schema: *700 examples: - default: *700 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95716,8 +95781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -95822,9 +95887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *469 - *470 - - &701 + - *471 + - &702 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95882,9 +95947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *469 - *470 - - *701 + - *471 + - *702 responses: '204': *150 '404': *6 @@ -95911,8 +95976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -96170,8 +96235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Private vulnerability reporting status @@ -96208,8 +96273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': *150 '422': *14 @@ -96230,8 +96295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': *150 '422': *14 @@ -96253,8 +96318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -96264,7 +96329,7 @@ paths: type: array items: *151 examples: - default: *702 + default: *703 '403': *29 '404': *6 x-github: @@ -96286,8 +96351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -96303,7 +96368,7 @@ paths: required: - properties examples: - default: *703 + default: *704 responses: '204': description: No Content when custom property values are successfully created @@ -96341,8 +96406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *469 - *470 + - *471 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96402,9 +96467,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *704 + default: *705 headers: Link: *43 '304': *37 @@ -96436,8 +96501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -96502,7 +96567,7 @@ paths: description: Response content: application/json: - schema: &708 + schema: &709 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96613,8 +96678,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *403 + required: *404 nullable: true active_lock_reason: type: string @@ -96659,7 +96724,7 @@ paths: nullable: true requested_teams: type: array - items: *436 + items: *437 nullable: true head: type: object @@ -96698,14 +96763,14 @@ paths: _links: type: object properties: - comments: *406 - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 + comments: *405 + commits: *405 + statuses: *405 + html: *405 + issue: *405 + review_comments: *405 + review_comment: *405 + self: *405 required: - comments - commits @@ -96716,7 +96781,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *705 + auto_merge: *706 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96808,7 +96873,7 @@ paths: - merged_by - review_comments examples: - default: &709 + default: &710 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97335,8 +97400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *469 - *470 + - *471 - name: sort in: query required: false @@ -97365,9 +97430,9 @@ paths: application/json: schema: type: array - items: *706 + items: *707 examples: - default: &711 + default: &712 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97444,17 +97509,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *469 - *470 + - *471 - *226 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: &707 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97529,8 +97594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -97553,9 +97618,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: *707 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97571,8 +97636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *469 - *470 + - *471 - *226 responses: '204': @@ -97594,8 +97659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *469 - *470 + - *471 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97622,9 +97687,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 '404': *6 @@ -97645,8 +97710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *469 - *470 + - *471 - *226 requestBody: required: true @@ -97679,16 +97744,16 @@ paths: description: Reaction exists content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Reaction created content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '422': *15 x-github: githubCloudOnly: false @@ -97710,10 +97775,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *469 - *470 + - *471 - *226 - - *461 + - *462 responses: '204': description: Response @@ -97756,9 +97821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *469 - *470 - - &710 + - *471 + - &711 name: pull_number description: The number that identifies the pull request. in: path @@ -97771,9 +97836,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *708 + schema: *709 examples: - default: *709 + default: *710 '304': *37 '404': *6 '406': @@ -97808,9 +97873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: false content: @@ -97852,9 +97917,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *709 examples: - default: *709 + default: *710 '422': *15 '403': *29 x-github: @@ -97876,9 +97941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: true content: @@ -97940,7 +98005,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97948,7 +98013,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -97978,9 +98043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 - *237 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98001,9 +98066,9 @@ paths: application/json: schema: type: array - items: *706 + items: *707 examples: - default: *711 + default: *712 headers: Link: *43 x-github: @@ -98036,9 +98101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: true content: @@ -98143,7 +98208,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: example-for-a-multi-line-comment: value: @@ -98231,9 +98296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *469 - *470 - - *710 + - *471 + - *711 - *226 requestBody: required: true @@ -98256,7 +98321,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -98342,9 +98407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 - *17 - *19 responses: @@ -98354,9 +98419,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *712 + default: *713 headers: Link: *43 x-github: @@ -98386,9 +98451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *469 - *470 - - *710 + - *471 + - *711 - *17 - *19 responses: @@ -98398,7 +98463,7 @@ paths: application/json: schema: type: array - items: *599 + items: *600 examples: default: value: @@ -98436,9 +98501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *469 - *470 - - *710 + - *471 + - *711 responses: '204': description: Response if pull request has been merged @@ -98461,9 +98526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: false content: @@ -98574,9 +98639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 responses: '200': description: Response @@ -98651,9 +98716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: false content: @@ -98690,7 +98755,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -99226,9 +99291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: true content: @@ -99262,7 +99327,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -99767,9 +99832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 - *17 - *19 responses: @@ -99779,7 +99844,7 @@ paths: application/json: schema: type: array - items: &713 + items: &714 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99930,9 +99995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: false content: @@ -100018,9 +100083,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: &715 + default: &716 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100083,10 +100148,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *469 - *470 - - *710 - - &714 + - *471 + - *711 + - &715 name: review_id description: The unique identifier of the review. in: path @@ -100098,9 +100163,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: &716 + default: &717 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100159,10 +100224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *469 - *470 - - *710 - - *714 + - *471 + - *711 + - *715 requestBody: required: true content: @@ -100185,7 +100250,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: default: value: @@ -100247,18 +100312,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *469 - *470 - - *710 - - *714 + - *471 + - *711 + - *715 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *715 + default: *716 '422': *7 '404': *6 x-github: @@ -100285,10 +100350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *469 - *470 - - *710 - - *714 + - *471 + - *711 + - *715 - *17 - *19 responses: @@ -100371,9 +100436,9 @@ paths: _links: type: object properties: - self: *406 - html: *406 - pull_request: *406 + self: *405 + html: *405 + pull_request: *405 required: - self - html @@ -100523,10 +100588,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *469 - *470 - - *710 - - *714 + - *471 + - *711 + - *715 requestBody: required: true content: @@ -100554,7 +100619,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: default: value: @@ -100617,10 +100682,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *469 - *470 - - *710 - - *714 + - *471 + - *711 + - *715 requestBody: required: true content: @@ -100655,9 +100720,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *716 + default: *717 '404': *6 '422': *7 '403': *29 @@ -100679,9 +100744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *469 - *470 - - *710 + - *471 + - *711 requestBody: required: false content: @@ -100744,8 +100809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *469 - *470 + - *471 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100758,9 +100823,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: &718 + default: &719 value: type: file encoding: base64 @@ -100802,8 +100867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *469 - *470 + - *471 - name: dir description: The alternate path to look for a README file in: path @@ -100823,9 +100888,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *718 examples: - default: *718 + default: *719 '404': *6 '422': *15 x-github: @@ -100847,8 +100912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -100858,7 +100923,7 @@ paths: application/json: schema: type: array - items: &719 + items: &720 title: Release description: A release. type: object @@ -100929,7 +100994,7 @@ paths: author: *4 assets: type: array - items: &720 + items: &721 title: Release Asset description: Data related to a release. type: object @@ -101116,8 +101181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -101193,9 +101258,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: &723 + default: &724 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101300,9 +101365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *469 - *470 - - &721 + - *471 + - &722 name: asset_id description: The unique identifier of the asset. in: path @@ -101314,9 +101379,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &722 + default: &723 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 @@ -101351,7 +101416,7 @@ paths: type: User site_admin: false '404': *6 - '302': *601 + '302': *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101367,9 +101432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *469 - *470 - - *721 + - *471 + - *722 requestBody: required: false content: @@ -101397,9 +101462,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *722 + default: *723 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101415,9 +101480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *469 - *470 - - *721 + - *471 + - *722 responses: '204': description: Response @@ -101441,8 +101506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -101527,16 +101592,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *469 - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *723 + default: *724 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101553,8 +101618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *469 - *470 + - *471 - name: tag description: tag parameter in: path @@ -101567,9 +101632,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *723 + default: *724 '404': *6 x-github: githubCloudOnly: false @@ -101591,9 +101656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *469 - *470 - - &724 + - *471 + - &725 name: release_id description: The unique identifier of the release. in: path @@ -101607,9 +101672,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *719 + schema: *720 examples: - default: *723 + default: *724 '401': description: Unauthorized x-github: @@ -101627,9 +101692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *469 - *470 - - *724 + - *471 + - *725 requestBody: required: false content: @@ -101693,9 +101758,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *720 examples: - default: *723 + default: *724 '404': description: Not Found if the discussion category name is invalid content: @@ -101716,9 +101781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *469 - *470 - - *724 + - *471 + - *725 responses: '204': description: Response @@ -101738,9 +101803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *469 - *470 - - *724 + - *471 + - *725 - *17 - *19 responses: @@ -101750,7 +101815,7 @@ paths: application/json: schema: type: array - items: *720 + items: *721 examples: default: value: @@ -101832,9 +101897,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: - - *469 - *470 - - *724 + - *471 + - *725 - name: name in: query required: true @@ -101860,7 +101925,7 @@ paths: description: Response for successful upload content: application/json: - schema: *720 + schema: *721 examples: response-for-successful-upload: value: @@ -101915,9 +101980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *469 - *470 - - *724 + - *471 + - *725 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101941,9 +102006,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 '404': *6 @@ -101964,9 +102029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *469 - *470 - - *724 + - *471 + - *725 requestBody: required: true content: @@ -101996,16 +102061,16 @@ paths: description: Reaction exists content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '201': description: Reaction created content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '422': *15 x-github: githubCloudOnly: false @@ -102027,10 +102092,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *469 - *470 - - *724 - - *461 + - *471 + - *725 + - *462 responses: '204': description: Response @@ -102054,9 +102119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *469 - *470 - - *526 + - *471 + - *527 - *17 - *19 responses: @@ -102073,7 +102138,7 @@ paths: oneOf: - allOf: - *165 - - &725 + - &726 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102094,67 +102159,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *725 + - *726 - allOf: - *167 - - *725 + - *726 - allOf: - *168 - - *725 + - *726 - allOf: + - *727 - *726 - - *725 - allOf: - *169 - - *725 + - *726 - allOf: - *170 - - *725 + - *726 - allOf: - *171 - - *725 + - *726 - allOf: - *172 - - *725 + - *726 - allOf: - *173 - - *725 + - *726 - allOf: - *174 - - *725 + - *726 - allOf: - *175 - - *725 + - *726 - allOf: - *176 - - *725 + - *726 - allOf: - *177 - - *725 + - *726 - allOf: - *178 - - *725 + - *726 - allOf: - *179 - - *725 + - *726 - allOf: - *180 - - *725 + - *726 - allOf: - *181 - - *725 + - *726 - allOf: - *182 - - *725 + - *726 - allOf: - *183 - - *725 + - *726 - allOf: - *184 - - *725 + - *726 - allOf: - - *727 - - *725 + - *728 + - *726 examples: default: value: @@ -102193,8 +102258,8 @@ paths: category: repos subcategory: rules parameters: - - *469 - *470 + - *471 - *17 - *19 - name: includes_parents @@ -102205,7 +102270,7 @@ paths: schema: type: boolean default: true - - *728 + - *729 responses: '200': description: Response @@ -102260,8 +102325,8 @@ paths: category: repos subcategory: rules parameters: - - *469 - *470 + - *471 requestBody: description: Request body required: true @@ -102290,7 +102355,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *729 + items: *730 required: - name - enforcement @@ -102323,7 +102388,7 @@ paths: application/json: schema: *185 examples: - default: &738 + default: &739 value: id: 42 name: super cool ruleset @@ -102370,12 +102435,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *469 - *470 - - *730 - - *101 + - *471 - *731 + - *101 - *732 + - *733 - *17 - *19 responses: @@ -102383,9 +102448,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: - default: *734 + default: *735 '404': *6 '500': *40 x-github: @@ -102406,17 +102471,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *469 - *470 - - *735 + - *471 + - *736 responses: '200': description: Response content: application/json: - schema: *736 + schema: *737 examples: - default: *737 + default: *738 '404': *6 '500': *40 x-github: @@ -102444,8 +102509,8 @@ paths: category: repos subcategory: rules parameters: - - *469 - *470 + - *471 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102467,7 +102532,7 @@ paths: application/json: schema: *185 examples: - default: *738 + default: *739 '404': *6 '500': *40 put: @@ -102485,8 +102550,8 @@ paths: category: repos subcategory: rules parameters: - - *469 - *470 + - *471 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102520,7 +102585,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *729 + items: *730 examples: default: value: @@ -102550,7 +102615,7 @@ paths: application/json: schema: *185 examples: - default: *738 + default: *739 '404': *6 '500': *40 delete: @@ -102568,8 +102633,8 @@ paths: category: repos subcategory: rules parameters: - - *469 - *470 + - *471 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102592,8 +102657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *469 - *470 + - *471 - *17 - *19 - name: ruleset_id @@ -102611,7 +102676,7 @@ paths: type: array items: *189 examples: - default: *421 + default: *422 '404': *6 '500': *40 x-github: @@ -102630,8 +102695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *469 - *470 + - *471 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102649,7 +102714,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -102704,21 +102769,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *469 - *470 - - *423 + - *471 - *424 - *425 - *426 + - *427 - *106 - *19 - *17 - - *739 - *740 - - *427 + - *741 - *428 - *429 - *430 + - *431 responses: '200': description: Response @@ -102726,7 +102791,7 @@ paths: application/json: schema: type: array - items: &744 + items: &745 type: object properties: number: *123 @@ -102745,8 +102810,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *741 - resolution: *742 + state: *742 + resolution: *743 resolved_at: type: string format: date-time @@ -102842,7 +102907,7 @@ paths: pull request. ' - oneOf: *743 + oneOf: *744 nullable: true has_more_locations: type: boolean @@ -102991,16 +103056,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *469 - *470 - - *555 - - *430 + - *471 + - *556 + - *431 responses: '200': description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -103052,9 +103117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 requestBody: required: true content: @@ -103062,8 +103127,8 @@ paths: schema: type: object properties: - state: *741 - resolution: *742 + state: *742 + resolution: *743 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103082,7 +103147,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -103157,9 +103222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *469 - *470 - - *555 + - *471 + - *556 - *19 - *17 responses: @@ -103196,7 +103261,6 @@ paths: example: commit details: oneOf: - - *745 - *746 - *747 - *748 @@ -103209,6 +103273,7 @@ paths: - *755 - *756 - *757 + - *758 examples: default: value: @@ -103294,8 +103359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -103303,14 +103368,14 @@ paths: schema: type: object properties: - reason: &759 + reason: &760 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *758 + placeholder_id: *759 required: - reason - placeholder_id @@ -103327,7 +103392,7 @@ paths: schema: type: object properties: - reason: *759 + reason: *760 expire_at: type: string format: date-time @@ -103373,8 +103438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *469 - *470 + - *471 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103389,7 +103454,7 @@ paths: properties: incremental_scans: type: array - items: &760 + items: &761 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103415,15 +103480,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *760 + items: *761 backfill_scans: type: array - items: *760 + items: *761 custom_pattern_backfill_scans: type: array items: allOf: - - *760 + - *761 - type: object properties: pattern_name: @@ -103493,8 +103558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *469 - *470 + - *471 - *106 - name: sort description: The property to sort the results by. @@ -103538,9 +103603,9 @@ paths: application/json: schema: type: array - items: *761 + items: *762 examples: - default: *762 + default: *763 '400': *14 '404': *6 x-github: @@ -103563,8 +103628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -103637,7 +103702,7 @@ paths: login: type: string description: The username of the user credited. - type: *435 + type: *436 required: - login - type @@ -103724,9 +103789,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *762 examples: - default: &764 + default: &765 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103959,8 +104024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -104064,7 +104129,7 @@ paths: description: Response content: application/json: - schema: *761 + schema: *762 examples: default: value: @@ -104211,17 +104276,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *469 - *470 - - *763 + - *471 + - *764 responses: '200': description: Response content: application/json: - schema: *761 + schema: *762 examples: - default: *764 + default: *765 '403': *29 '404': *6 x-github: @@ -104245,9 +104310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *469 - *470 - - *763 + - *471 + - *764 requestBody: required: true content: @@ -104320,7 +104385,7 @@ paths: login: type: string description: The username of the user credited. - type: *435 + type: *436 required: - login - type @@ -104406,10 +104471,10 @@ paths: description: Response content: application/json: - schema: *761 + schema: *762 examples: - default: *764 - add_credit: *764 + default: *765 + add_credit: *765 '403': *29 '404': *6 '422': @@ -104447,9 +104512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *469 - *470 - - *763 + - *471 + - *764 responses: '202': *39 '400': *14 @@ -104476,17 +104541,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *469 - *470 - - *763 + - *471 + - *764 responses: '202': description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *482 + default: *483 '400': *14 '422': *15 '403': *29 @@ -104512,8 +104577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -104612,8 +104677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *469 - *470 + - *471 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104622,7 +104687,7 @@ paths: application/json: schema: type: array - items: &765 + items: &766 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104655,8 +104720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -104732,8 +104797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -104829,8 +104894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *469 - *470 + - *471 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104984,8 +105049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *469 - *470 + - *471 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104995,7 +105060,7 @@ paths: application/json: schema: type: array - items: *765 + items: *766 examples: default: value: @@ -105028,8 +105093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *469 - *470 + - *471 - name: sha in: path required: true @@ -105083,7 +105148,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *767 examples: default: value: @@ -105137,8 +105202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -105170,14 +105235,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *469 - *470 + - *471 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &767 + schema: &768 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105245,8 +105310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *469 - *470 + - *471 requestBody: required: false content: @@ -105272,7 +105337,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: default: value: @@ -105299,8 +105364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -105320,8 +105385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -105400,8 +105465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -105409,7 +105474,7 @@ paths: application/json: schema: type: array - items: &768 + items: &769 title: Tag protection description: Tag protection type: object @@ -105461,8 +105526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -105485,7 +105550,7 @@ paths: description: Response content: application/json: - schema: *768 + schema: *769 examples: default: value: @@ -105516,8 +105581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *469 - *470 + - *471 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105554,8 +105619,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *469 - *470 + - *471 - name: ref in: path required: true @@ -105591,8 +105656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *469 - *470 + - *471 - *17 - *19 responses: @@ -105624,8 +105689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *469 - *470 + - *471 - *19 - *17 responses: @@ -105633,7 +105698,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &770 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105645,7 +105710,7 @@ paths: required: - names examples: - default: &770 + default: &771 value: names: - octocat @@ -105668,8 +105733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -105700,9 +105765,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *770 examples: - default: *770 + default: *771 '404': *6 '422': *7 x-github: @@ -105723,9 +105788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *469 - *470 - - &771 + - *471 + - &772 name: per description: The time frame to display results for. in: query @@ -105754,7 +105819,7 @@ paths: example: 128 clones: type: array - items: &772 + items: &773 title: Traffic type: object properties: @@ -105841,8 +105906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -105932,8 +105997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *469 - *470 + - *471 responses: '200': description: Response @@ -105993,9 +106058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *469 - *470 - - *771 + - *471 + - *772 responses: '200': description: Response @@ -106014,7 +106079,7 @@ paths: example: 3782 views: type: array - items: *772 + items: *773 required: - uniques - count @@ -106091,8 +106156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *469 - *470 + - *471 requestBody: required: true content: @@ -106366,8 +106431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *469 - *470 + - *471 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106390,8 +106455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -106413,8 +106478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -106440,8 +106505,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *469 - *470 + - *471 - name: ref in: path required: true @@ -106533,9 +106598,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *482 + default: *483 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106686,7 +106751,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &780 + - &781 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106695,7 +106760,7 @@ paths: schema: type: string example: members - - &785 + - &786 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106706,7 +106771,7 @@ paths: default: 1 format: int32 example: 1 - - &786 + - &787 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106748,7 +106813,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &775 + items: &776 allOf: - type: object required: @@ -106823,7 +106888,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &787 + meta: &788 type: object description: The metadata associated with the creation/updates to the user. @@ -106883,30 +106948,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &776 + '400': &777 description: Bad request content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 - '401': *774 - '403': &777 + schema: *774 + '401': *775 + '403': &778 description: Permission denied - '429': &778 + '429': &779 description: Too many requests content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 - '500': &779 + schema: *774 + '500': &780 description: Internal server error content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 + schema: *774 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106930,7 +106995,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - schemas @@ -106990,9 +107055,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *775 + schema: *776 examples: - group: &781 + group: &782 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107011,13 +107076,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *776 - '401': *774 - '403': *777 - '409': &784 + '400': *777 + '401': *775 + '403': *778 + '409': &785 description: Duplicate record detected - '429': *778 - '500': *779 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107034,7 +107099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &782 + - &783 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107042,22 +107107,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *780 + - *781 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *775 + schema: *776 examples: - default: *781 - '400': *776 - '401': *774 - '403': *777 + default: *782 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '429': *778 - '500': *779 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107076,13 +107141,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: group: summary: Group @@ -107108,17 +107173,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *775 + schema: *776 examples: - group: *781 - groupWithMembers: *781 - '400': *776 - '401': *774 - '403': *777 + group: *782 + groupWithMembers: *782 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *785 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107142,13 +107207,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: &794 + schema: &795 type: object required: - Operations @@ -107208,17 +107273,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *775 + schema: *776 examples: - updateGroup: *781 - addMembers: *781 - '400': *776 - '401': *774 - '403': *777 + updateGroup: *782 + addMembers: *782 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *785 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107234,17 +107299,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *782 + - *783 - *41 responses: '204': description: Group was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '429': *778 - '500': *779 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107278,8 +107343,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *785 - *786 + - *787 - *41 responses: '200': @@ -107312,7 +107377,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &789 + items: &790 allOf: - type: object required: @@ -107391,7 +107456,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &788 + roles: &789 type: array description: The roles assigned to the user. items: @@ -107447,7 +107512,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *787 + meta: *788 startIndex: type: integer description: A starting index for the returned page @@ -107484,11 +107549,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *776 - '401': *774 - '403': *777 - '429': *778 - '500': *779 + '400': *777 + '401': *775 + '403': *778 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107512,7 +107577,7 @@ paths: required: true content: application/json: - schema: &792 + schema: &793 type: object required: - schemas @@ -107594,9 +107659,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *788 + roles: *789 examples: - user: &793 + user: &794 summary: User value: schemas: @@ -107643,9 +107708,9 @@ paths: description: User has been created content: application/scim+json: - schema: *789 + schema: *790 examples: - user: &790 + user: &791 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107671,13 +107736,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *790 - '400': *776 - '401': *774 - '403': *777 - '409': *784 - '429': *778 - '500': *779 + enterpriseOwner: *791 + '400': *777 + '401': *775 + '403': *778 + '409': *785 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107694,7 +107759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &791 + - &792 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107707,15 +107772,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *789 + schema: *790 examples: - default: *790 - '400': *776 - '401': *774 - '403': *777 + default: *791 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '429': *778 - '500': *779 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107737,30 +107802,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *791 + - *792 - *41 requestBody: required: true content: application/json: - schema: *792 + schema: *793 examples: - user: *793 + user: *794 responses: '200': description: User was updated content: application/scim+json: - schema: *789 + schema: *790 examples: - user: *790 - '400': *776 - '401': *774 - '403': *777 + user: *791 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *785 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107795,13 +107860,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *791 + - *792 - *41 requestBody: required: true content: application/json: - schema: *794 + schema: *795 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107841,18 +107906,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *789 + schema: *790 examples: - userMultiValuedProperties: *790 - userSingleValuedProperties: *790 - disableUser: *790 - '400': *776 - '401': *774 - '403': *777 + userMultiValuedProperties: *791 + userSingleValuedProperties: *791 + disableUser: *791 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '409': *784 - '429': *778 - '500': *779 + '409': *785 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107872,17 +107937,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *791 + - *792 - *41 responses: '204': description: User was deleted, no content - '400': *776 - '401': *774 - '403': *777 + '400': *777 + '401': *775 + '403': *778 '404': *6 - '429': *778 - '500': *779 + '429': *779 + '500': *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107969,7 +108034,7 @@ paths: example: 1 Resources: type: array - items: &795 + items: &796 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108200,22 +108265,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &796 + '404': &797 description: Resource not found content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 - '403': &797 + schema: *774 + '403': &798 description: Forbidden content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 - '400': *776 - '429': *778 + schema: *774 + '400': *777 + '429': *779 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108241,9 +108306,9 @@ paths: description: Response content: application/scim+json: - schema: *795 + schema: *796 examples: - default: &798 + default: &799 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108266,17 +108331,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *796 - '403': *797 - '500': *779 + '404': *797 + '403': *798 + '500': *780 '409': description: Conflict content: application/json: - schema: *773 + schema: *774 application/scim+json: - schema: *773 - '400': *776 + schema: *774 + '400': *777 requestBody: required: true content: @@ -108374,17 +108439,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *791 + - *792 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *796 examples: - default: *798 - '404': *796 - '403': *797 + default: *799 + '404': *797 + '403': *798 '304': *37 x-github: githubCloudOnly: true @@ -108408,18 +108473,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *791 + - *792 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *796 examples: - default: *798 + default: *799 '304': *37 - '404': *796 - '403': *797 + '404': *797 + '403': *798 requestBody: required: true content: @@ -108532,19 +108597,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *791 + - *792 responses: '200': description: Response content: application/scim+json: - schema: *795 + schema: *796 examples: - default: *798 + default: *799 '304': *37 - '404': *796 - '403': *797 - '400': *776 + '404': *797 + '403': *798 + '400': *777 '429': description: Response content: @@ -108635,12 +108700,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *791 + - *792 responses: '204': description: Response - '404': *796 - '403': *797 + '404': *797 + '403': *798 '304': *37 x-github: githubCloudOnly: true @@ -108773,7 +108838,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &799 + text_matches: &800 title: Search Result Text Matches type: array items: @@ -108936,7 +109001,7 @@ paths: enum: - author-date - committer-date - - &800 + - &801 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 @@ -109007,7 +109072,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true comment_count: type: integer @@ -109027,7 +109092,7 @@ paths: url: type: string format: uri - verification: *646 + verification: *647 required: - author - committer @@ -109046,7 +109111,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true parents: type: array @@ -109064,7 +109129,7 @@ paths: type: number node_id: type: string - text_matches: *799 + text_matches: *800 required: - sha - node_id @@ -109257,7 +109322,7 @@ paths: - interactions - created - updated - - *800 + - *801 - *17 - *19 - name: advanced_search @@ -109354,11 +109419,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: type: string state_reason: @@ -109375,8 +109440,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *403 + required: *404 nullable: true comments: type: integer @@ -109390,7 +109455,7 @@ paths: type: string format: date-time nullable: true - text_matches: *799 + text_matches: *800 pull_request: type: object properties: @@ -109615,7 +109680,7 @@ paths: enum: - created - updated - - *800 + - *801 - *17 - *19 responses: @@ -109659,7 +109724,7 @@ paths: nullable: true score: type: number - text_matches: *799 + text_matches: *800 required: - id - node_id @@ -109745,7 +109810,7 @@ paths: - forks - help-wanted-issues - updated - - *800 + - *801 - *17 - *19 responses: @@ -109984,7 +110049,7 @@ paths: - admin - pull - push - text_matches: *799 + text_matches: *800 temp_clone_token: type: string allow_merge_commit: @@ -110285,7 +110350,7 @@ paths: type: string format: uri nullable: true - text_matches: *799 + text_matches: *800 related: type: array nullable: true @@ -110478,7 +110543,7 @@ paths: - followers - repositories - joined - - *800 + - *801 - *17 - *19 responses: @@ -110582,7 +110647,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *799 + text_matches: *800 blog: type: string nullable: true @@ -110661,7 +110726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &804 + - &805 name: team_id description: The unique identifier of the team. in: path @@ -110673,9 +110738,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -110702,7 +110767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *804 + - *805 requestBody: required: true content: @@ -110765,16 +110830,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '201': description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 '422': *15 '403': *29 @@ -110802,7 +110867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *804 + - *805 responses: '204': description: Response @@ -110833,7 +110898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *804 + - *805 - *106 - *17 - *19 @@ -110844,9 +110909,9 @@ paths: application/json: schema: type: array - items: *452 + items: *453 examples: - default: *805 + default: *806 headers: Link: *43 x-github: @@ -110875,7 +110940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *804 + - *805 requestBody: required: true content: @@ -110909,9 +110974,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 x-github: triggersNotification: true githubCloudOnly: false @@ -110938,16 +111003,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *804 - - *454 + - *805 + - *455 responses: '200': description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110972,8 +111037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *804 - - *454 + - *805 + - *455 requestBody: required: false content: @@ -110996,9 +111061,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *806 + default: *807 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111023,8 +111088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *804 - - *454 + - *805 + - *455 responses: '204': description: Response @@ -111053,8 +111118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *804 - - *454 + - *805 + - *455 - *106 - *17 - *19 @@ -111065,9 +111130,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *807 + default: *808 headers: Link: *43 x-github: @@ -111096,8 +111161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *804 - - *454 + - *805 + - *455 requestBody: required: true content: @@ -111119,9 +111184,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *456 + default: *457 x-github: triggersNotification: true githubCloudOnly: false @@ -111148,17 +111213,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *804 - - *454 - - *457 + - *805 + - *455 + - *458 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *456 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111183,9 +111248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *804 - - *454 - - *457 + - *805 + - *455 + - *458 requestBody: required: true content: @@ -111207,9 +111272,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *808 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111234,9 +111299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *804 - - *454 - - *457 + - *805 + - *455 + - *458 responses: '204': description: Response @@ -111265,9 +111330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *804 - - *454 - - *457 + - *805 + - *455 + - *458 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111293,9 +111358,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 x-github: @@ -111324,9 +111389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *804 - - *454 - - *457 + - *805 + - *455 + - *458 requestBody: required: true content: @@ -111358,9 +111423,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111386,8 +111451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *804 - - *454 + - *805 + - *455 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -111413,9 +111478,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *460 + default: *461 headers: Link: *43 x-github: @@ -111444,8 +111509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *804 - - *454 + - *805 + - *455 requestBody: required: true content: @@ -111477,9 +111542,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111503,7 +111568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *804 + - *805 - *17 - *19 responses: @@ -111541,7 +111606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *804 + - *805 - name: role description: Filters members returned by their role in the team. in: query @@ -111592,7 +111657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *804 + - *805 - *138 responses: '204': @@ -111629,7 +111694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *804 + - *805 - *138 responses: '204': @@ -111669,7 +111734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *804 + - *805 - *138 responses: '204': @@ -111706,16 +111771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *804 + - *805 - *138 responses: '200': description: Response content: application/json: - schema: *466 + schema: *467 examples: - response-if-user-is-a-team-maintainer: *809 + response-if-user-is-a-team-maintainer: *810 '404': *6 x-github: githubCloudOnly: false @@ -111748,7 +111813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *804 + - *805 - *138 requestBody: required: false @@ -111774,9 +111839,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - response-if-users-membership-with-team-is-now-pending: *810 + response-if-users-membership-with-team-is-now-pending: *811 '403': description: Forbidden if team synchronization is set up '422': @@ -111810,7 +111875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *804 + - *805 - *138 responses: '204': @@ -111839,7 +111904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *804 + - *805 - *17 - *19 responses: @@ -111849,9 +111914,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *811 + default: *812 headers: Link: *43 '404': *6 @@ -111877,16 +111942,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *804 - - *468 + - *805 + - *469 responses: '200': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *812 + default: *813 '404': description: Not Found if project is not managed by this team x-github: @@ -111910,8 +111975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *804 - - *468 + - *805 + - *469 requestBody: required: false content: @@ -111978,8 +112043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *804 - - *468 + - *805 + - *469 responses: '204': description: Response @@ -112006,7 +112071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *804 + - *805 - *17 - *19 responses: @@ -112048,15 +112113,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *804 - - *469 + - *805 - *470 + - *471 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *813 + schema: *814 examples: alternative-response-with-extra-repository-information: value: @@ -112207,9 +112272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *804 - - *469 + - *805 - *470 + - *471 requestBody: required: false content: @@ -112259,9 +112324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *804 - - *469 + - *805 - *470 + - *471 responses: '204': description: Response @@ -112290,15 +112355,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *804 + - *805 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '403': *29 '404': *6 x-github: @@ -112325,7 +112390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *804 + - *805 requestBody: required: true content: @@ -112382,7 +112447,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: value: @@ -112413,7 +112478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *804 + - *805 - *17 - *19 responses: @@ -112425,7 +112490,7 @@ paths: type: array items: *311 examples: - response-if-child-teams-exist: *814 + response-if-child-teams-exist: *815 headers: Link: *43 '404': *6 @@ -112458,7 +112523,7 @@ paths: application/json: schema: oneOf: - - &816 + - &817 title: Private User description: Private User type: object @@ -112661,7 +112726,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *815 + - *816 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112814,7 +112879,7 @@ paths: description: Response content: application/json: - schema: *816 + schema: *817 examples: default: value: @@ -113160,7 +113225,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -113168,7 +113233,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -113212,7 +113277,7 @@ paths: type: integer secrets: type: array - items: &817 + items: &818 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113252,7 +113317,7 @@ paths: - visibility - selected_repositories_url examples: - default: *578 + default: *579 headers: Link: *43 x-github: @@ -113328,7 +113393,7 @@ paths: description: Response content: application/json: - schema: *817 + schema: *818 examples: default: value: @@ -113474,7 +113539,7 @@ paths: type: array items: *284 examples: - default: *818 + default: *819 '401': *25 '403': *29 '404': *6 @@ -113626,7 +113691,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '304': *37 '500': *40 '401': *25 @@ -113684,7 +113749,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -113741,7 +113806,7 @@ paths: description: Response content: application/json: - schema: &819 + schema: &820 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113782,7 +113847,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &820 + default: &821 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113827,9 +113892,9 @@ paths: description: Response content: application/json: - schema: *819 + schema: *820 examples: - default: *820 + default: *821 '404': *6 x-github: githubCloudOnly: false @@ -113866,9 +113931,9 @@ paths: type: integer machines: type: array - items: *821 + items: *822 examples: - default: *822 + default: *823 '304': *37 '500': *40 '401': *25 @@ -113947,13 +114012,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *480 + repository: *481 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -114735,7 +114800,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '304': *37 '500': *40 '400': *14 @@ -114775,7 +114840,7 @@ paths: application/json: schema: *373 examples: - default: *575 + default: *576 '500': *40 '401': *25 '403': *29 @@ -114807,7 +114872,7 @@ paths: type: array items: *384 examples: - default: &833 + default: &834 value: - id: 197 name: hello_docker @@ -114908,7 +114973,7 @@ paths: application/json: schema: type: array - items: &823 + items: &824 title: Email description: Email type: object @@ -114973,9 +115038,9 @@ paths: application/json: schema: type: array - items: *823 + items: *824 examples: - default: &835 + default: &836 value: - email: octocat@github.com verified: true @@ -115050,7 +115115,7 @@ paths: application/json: schema: type: array - items: *823 + items: *824 examples: default: value: @@ -115306,7 +115371,7 @@ paths: application/json: schema: type: array - items: &824 + items: &825 title: GPG Key description: A unique encryption key type: object @@ -115437,7 +115502,7 @@ paths: - subkeys - revoked examples: - default: &849 + default: &850 value: - id: 3 name: Octocat's GPG Key @@ -115522,9 +115587,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *825 examples: - default: &825 + default: &826 value: id: 3 name: Octocat's GPG Key @@ -115581,7 +115646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &826 + - &827 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115593,9 +115658,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *825 examples: - default: *825 + default: *826 '404': *6 '304': *37 '403': *29 @@ -115618,7 +115683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *826 + - *827 responses: '204': description: Response @@ -115923,7 +115988,7 @@ paths: required: true content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -116073,7 +116138,7 @@ paths: application/json: schema: type: array - items: &827 + items: &828 title: Key description: Key type: object @@ -116174,9 +116239,9 @@ paths: description: Response content: application/json: - schema: *827 + schema: *828 examples: - default: &828 + default: &829 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116209,15 +116274,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *687 + - *688 responses: '200': description: Response content: application/json: - schema: *827 + schema: *828 examples: - default: *828 + default: *829 '404': *6 '304': *37 '403': *29 @@ -116240,7 +116305,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *687 + - *688 responses: '204': description: Response @@ -116273,7 +116338,7 @@ paths: application/json: schema: type: array - items: &829 + items: &830 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116341,7 +116406,7 @@ paths: - account - plan examples: - default: &830 + default: &831 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116403,9 +116468,9 @@ paths: application/json: schema: type: array - items: *829 + items: *830 examples: - default: *830 + default: *831 headers: Link: *43 '304': *37 @@ -117400,7 +117465,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *379 - - *831 + - *832 responses: '204': description: Response @@ -117515,7 +117580,7 @@ paths: - docker - nuget - container - - *832 + - *833 - *19 - *17 responses: @@ -117527,8 +117592,8 @@ paths: type: array items: *384 examples: - default: *833 - '400': *834 + default: *834 + '400': *835 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117557,7 +117622,7 @@ paths: application/json: schema: *384 examples: - default: &850 + default: &851 value: id: 40201 name: octo-name @@ -117919,9 +117984,9 @@ paths: application/json: schema: type: array - items: *823 + items: *824 examples: - default: *835 + default: *836 headers: Link: *43 '304': *37 @@ -118034,7 +118099,7 @@ paths: type: array items: *74 examples: - default: &842 + default: &843 summary: Default response value: - id: 1296269 @@ -118338,9 +118403,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *482 + default: *483 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118378,9 +118443,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: *836 + default: *837 headers: Link: *43 '304': *37 @@ -118459,7 +118524,7 @@ paths: application/json: schema: type: array - items: &837 + items: &838 title: Social account description: Social media account type: object @@ -118474,7 +118539,7 @@ paths: - provider - url examples: - default: &838 + default: &839 value: - provider: twitter url: https://twitter.com/github @@ -118536,9 +118601,9 @@ paths: application/json: schema: type: array - items: *837 + items: *838 examples: - default: *838 + default: *839 '422': *15 '304': *37 '404': *6 @@ -118625,7 +118690,7 @@ paths: application/json: schema: type: array - items: &839 + items: &840 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118711,9 +118776,9 @@ paths: description: Response content: application/json: - schema: *839 + schema: *840 examples: - default: &840 + default: &841 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118744,7 +118809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &841 + - &842 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118756,9 +118821,9 @@ paths: description: Response content: application/json: - schema: *839 + schema: *840 examples: - default: *840 + default: *841 '404': *6 '304': *37 '403': *29 @@ -118781,7 +118846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *841 + - *842 responses: '204': description: Response @@ -118835,7 +118900,7 @@ paths: type: array items: *74 examples: - default-response: *842 + default-response: *843 application/vnd.github.v3.star+json: schema: type: array @@ -118995,8 +119060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *469 - *470 + - *471 responses: '204': description: Response if this repository is starred by you @@ -119024,8 +119089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -119049,8 +119114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *469 - *470 + - *471 responses: '204': description: Response @@ -119122,7 +119187,7 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: default: value: @@ -119208,10 +119273,10 @@ paths: application/json: schema: oneOf: + - *817 - *816 - - *815 examples: - default-response: &844 + default-response: &845 summary: Default response value: login: octocat @@ -119246,7 +119311,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &845 + response-with-git-hub-plan-information: &846 summary: Response with GitHub plan information value: login: octocat @@ -119306,7 +119371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *843 + - *844 - *17 responses: '200': @@ -119355,11 +119420,11 @@ paths: application/json: schema: oneOf: + - *817 - *816 - - *815 examples: - default-response: *844 - response-with-git-hub-plan-information: *845 + default-response: *845 + response-with-git-hub-plan-information: *846 '404': *6 x-github: githubCloudOnly: false @@ -119409,8 +119474,8 @@ paths: required: - subject_digests examples: - default: *846 - withPredicateType: *847 + default: *847 + withPredicateType: *848 responses: '200': description: Response @@ -119463,7 +119528,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *848 + default: *849 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119668,7 +119733,7 @@ paths: initiator: type: string examples: - default: *520 + default: *521 '201': description: Response content: @@ -119709,7 +119774,7 @@ paths: type: array items: *384 examples: - default: *833 + default: *834 '403': *29 '401': *25 x-github: @@ -120093,9 +120158,9 @@ paths: application/json: schema: type: array - items: *824 + items: *825 examples: - default: *849 + default: *850 headers: Link: *43 x-github: @@ -120199,7 +120264,7 @@ paths: application/json: schema: *22 examples: - default: *656 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120323,7 +120388,7 @@ paths: - docker - nuget - container - - *832 + - *833 - *138 - *19 - *17 @@ -120336,10 +120401,10 @@ paths: type: array items: *384 examples: - default: *833 + default: *834 '403': *29 '401': *25 - '400': *834 + '400': *835 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120369,7 +120434,7 @@ paths: application/json: schema: *384 examples: - default: *850 + default: *851 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120716,9 +120781,9 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: - default: *851 + default: *852 headers: Link: *43 '304': *37 @@ -120741,16 +120806,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *402 - - *852 + - *853 - *138 responses: '200': description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: *853 + default: *854 headers: Link: *43 '304': *37 @@ -120806,9 +120871,9 @@ paths: application/json: schema: type: array - items: *409 + items: *410 examples: - default: *410 + default: *411 headers: Link: *43 '304': *37 @@ -120867,10 +120932,10 @@ paths: description: Response content: application/json: - schema: *854 + schema: *408 examples: - issue: *408 - pull_request: *408 + issue: *409 + pull_request: *409 '304': *37 '403': *29 '401': *25 @@ -120892,7 +120957,7 @@ paths: parameters: - *402 - *138 - - *411 + - *412 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120912,9 +120977,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 headers: Link: *43 '304': *37 @@ -120937,7 +121002,7 @@ paths: parameters: - *402 - *138 - - *411 + - *412 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121007,13 +121072,13 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - text_field: *410 - number_field: *410 - date_field: *410 - single_select_field: *410 - iteration_field: *410 + text_field: *411 + number_field: *411 + date_field: *411 + single_select_field: *411 + iteration_field: *411 '401': *25 '403': *29 '404': *6 @@ -121035,7 +121100,7 @@ paths: parameters: - *402 - *138 - - *411 + - *412 responses: '204': description: Response @@ -121285,9 +121350,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121315,9 +121380,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121478,9 +121543,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121737,9 +121802,9 @@ paths: application/json: schema: type: array - items: *837 + items: *838 examples: - default: *838 + default: *839 headers: Link: *43 x-github: @@ -121769,7 +121834,7 @@ paths: application/json: schema: type: array - items: *839 + items: *840 examples: default: *855 headers: @@ -121812,7 +121877,7 @@ paths: - type: array items: *74 examples: - default-response: *842 + default-response: *843 headers: Link: *43 x-github: @@ -124604,7 +124669,7 @@ x-webhooks: type: string pull_requests: type: array - items: *537 + items: *538 repository: *284 status: example: completed @@ -124692,7 +124757,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *537 + items: *538 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -128422,7 +128487,7 @@ x-webhooks: required: - login - id - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128745,7 +128810,7 @@ x-webhooks: required: - login - id - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129075,7 +129140,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129417,7 +129482,7 @@ x-webhooks: required: - login - id - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129688,7 +129753,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129962,7 +130027,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *550 + dismissed_comment: *551 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131060,7 +131125,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131148,7 +131213,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131236,7 +131301,7 @@ x-webhooks: type: string enum: - created - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131322,7 +131387,7 @@ x-webhooks: type: string enum: - dismissed - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131408,7 +131473,7 @@ x-webhooks: type: string enum: - fixed - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131495,7 +131560,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -131581,7 +131646,7 @@ x-webhooks: type: string enum: - reopened - alert: *606 + alert: *607 installation: *859 organization: *860 enterprise: *858 @@ -133074,10 +133139,10 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *612 + deployment: *613 pull_requests: type: array - items: *708 + items: *709 repository: *861 organization: *860 installation: *859 @@ -137756,7 +137821,7 @@ x-webhooks: - id labels: type: array - items: *670 + items: *671 required: - repository_url - category @@ -142805,8 +142870,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144192,8 +144257,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145432,8 +145497,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147039,11 +147104,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148036,11 +148101,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149158,11 +149223,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150166,11 +150231,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151293,11 +151358,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152285,11 +152350,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153301,11 +153366,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154286,11 +154351,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155254,11 +155319,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156610,11 +156675,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157596,11 +157661,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158607,11 +158672,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159573,11 +159638,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161380,11 +161445,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *801 - issue_dependencies_summary: *802 + sub_issues_summary: *802 + issue_dependencies_summary: *803 issue_field_values: type: array - items: *803 + items: *804 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178363,7 +178428,7 @@ x-webhooks: organization: *860 pull_request: &916 allOf: - - *708 + - *709 - type: object properties: allow_auto_merge: @@ -178592,7 +178657,7 @@ x-webhooks: enum: - demilestoned enterprise: *858 - milestone: *690 + milestone: *691 number: *915 organization: *860 pull_request: &917 @@ -190514,7 +190579,7 @@ x-webhooks: enum: - milestoned enterprise: *858 - milestone: *690 + milestone: *691 number: *915 organization: *860 pull_request: *917 @@ -232530,7 +232595,7 @@ x-webhooks: installation: *859 organization: *860 repository: *861 - repository_advisory: *761 + repository_advisory: *762 sender: *4 required: - action @@ -232610,7 +232675,7 @@ x-webhooks: installation: *859 organization: *860 repository: *861 - repository_advisory: *761 + repository_advisory: *762 sender: *4 required: - action @@ -233697,16 +233762,16 @@ x-webhooks: properties: added: type: array - items: *729 + items: *730 deleted: type: array - items: *729 + items: *730 updated: type: array items: type: object properties: - rule: *729 + rule: *730 changes: type: object properties: @@ -236149,11 +236214,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *415 + security_and_analysis: *416 enterprise: *858 installation: *859 organization: *860 - repository: *480 + repository: *481 sender: *4 required: - changes @@ -241376,7 +241441,7 @@ x-webhooks: type: string required: - conclusion - deployment: *612 + deployment: *613 required: - action - repository @@ -241718,7 +241783,7 @@ x-webhooks: required: - status - steps - deployment: *612 + deployment: *613 required: - action - repository @@ -241935,7 +242000,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *612 + deployment: *613 required: - action - repository @@ -242153,7 +242218,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *612 + deployment: *613 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 58a927f8c..5d59424b0 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -118886,7 +118886,7 @@ "name": { "type": "string", "description": "The name of the artifact.", - "example": "libfoo-1.2.3", + "example": "libfoo", "minLength": 1 }, "digest": { @@ -118897,6 +118897,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", @@ -118952,7 +118960,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/", @@ -119021,7 +119030,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/", @@ -183799,6 +183808,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/enterprise-cloud@latest//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_ev{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}