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 2b51a42e77..8599ce5cc7 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 @@ -3200,12 +3200,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -7256,7 +7250,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12734,6 +12728,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16388,12 +16453,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,7 +23050,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -22999,8 +23058,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -44273,16 +44331,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -44298,12 +44346,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -74895,7 +74937,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -74903,8 +74945,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -75625,7 +75666,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -110861,6 +110902,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -283043,6 +283093,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -309091,29 +309153,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, "secret-scanning-alert-state": { "name": "state", "in": "query", 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 9427653ab2..e0657c9cfb 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 @@ -2296,8 +2296,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -5116,9 +5114,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9182,6 +9181,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11933,8 +11979,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,8 +16679,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -16644,7 +16690,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32235,14 +32280,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). 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)." @@ -32253,8 +32290,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -54263,8 +54298,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -54272,7 +54309,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54750,7 +54786,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -80811,6 +80850,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -212043,6 +212089,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -234545,31 +234597,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 secret-scanning-alert-state: name: state in: query diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 2b51a42e77..8599ce5cc7 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -3200,12 +3200,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -7256,7 +7250,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12734,6 +12728,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16388,12 +16453,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,7 +23050,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -22999,8 +23058,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -44273,16 +44331,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -44298,12 +44346,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -74895,7 +74937,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -74903,8 +74945,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -75625,7 +75666,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -110861,6 +110902,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -283043,6 +283093,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -309091,29 +309153,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, "secret-scanning-alert-state": { "name": "state", "in": "query", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 9427653ab2..e0657c9cfb 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2296,8 +2296,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -5116,9 +5114,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9182,6 +9181,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11933,8 +11979,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,8 +16679,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -16644,7 +16690,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32235,14 +32280,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). 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)." @@ -32253,8 +32290,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -54263,8 +54298,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -54272,7 +54309,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54750,7 +54786,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -80811,6 +80850,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -212043,6 +212089,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -234545,31 +234597,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 secret-scanning-alert-state: name: state in: query 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 744d87ec26..28fb0a9d56 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 @@ -20480,29 +20480,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -65205,7 +65182,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -83791,6 +83768,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "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 results before this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -100085,29 +100166,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -148274,7 +148332,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -148282,8 +148340,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -304039,16 +304096,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -304076,29 +304123,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -624057,7 +624081,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -624065,8 +624089,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -655215,7 +655238,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], 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 f6e9af8bd8..2ddf8323ac 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 @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &627 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &187 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &188 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &191 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &262 - archive_url - assignees_url - blobs_url @@ -8589,7 +8589,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 - - &479 + - &477 name: has in: query description: |- @@ -8631,31 +8631,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,7 +8639,7 @@ paths: application/json: schema: type: array - items: &179 + items: &177 type: object description: A Dependabot alert. properties: @@ -8730,7 +8705,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &478 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8992,7 +8967,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &479 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8993,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &178 value: - number: 2 state: dismissed @@ -9365,7 +9340,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &295 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9376,7 +9351,7 @@ paths: enum: - open - resolved - - &296 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9386,7 +9361,7 @@ paths: required: false schema: type: string - - &297 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9395,7 +9370,7 @@ paths: required: false schema: type: string - - &298 + - &296 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. @@ -9411,7 +9386,7 @@ paths: - *17 - *40 - *41 - - &299 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9420,7 +9395,7 @@ paths: required: false schema: type: string - - &300 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9429,7 +9404,7 @@ paths: schema: type: boolean default: false - - &301 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9438,7 +9413,7 @@ paths: schema: type: boolean default: false - - &302 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9454,7 +9429,7 @@ paths: application/json: schema: type: array - items: &303 + items: &301 type: object properties: number: *54 @@ -9473,14 +9448,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &607 + state: &605 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: &608 + resolution: &606 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9587,8 +9562,8 @@ paths: pull request. ' - oneOf: &609 - - &611 + oneOf: &607 + - &609 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9640,7 +9615,7 @@ paths: - blob_url - commit_sha - commit_url - - &612 + - &610 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. @@ -9695,7 +9670,7 @@ paths: - page_url - commit_sha - commit_url - - &613 + - &611 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9709,7 +9684,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &614 + - &612 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9723,7 +9698,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &615 + - &613 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9737,7 +9712,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &616 + - &614 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9751,7 +9726,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &617 + - &615 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9765,7 +9740,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &618 + - &616 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9779,7 +9754,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &619 + - &617 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. @@ -9793,7 +9768,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &620 + - &618 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. @@ -9807,7 +9782,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &621 + - &619 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. @@ -9821,7 +9796,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &622 + - &620 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. @@ -9835,7 +9810,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &623 + - &621 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. @@ -9862,7 +9837,7 @@ paths: required: *21 nullable: true examples: - default: &304 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10727,7 +10702,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &722 title: Discussion description: A Discussion in a repository. type: object @@ -11094,7 +11069,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &527 id: type: integer format: int64 @@ -11208,7 +11183,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &248 url: type: string format: uri @@ -11278,7 +11253,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &249 - closed_issues - creator - description @@ -11357,7 +11332,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &207 title: Issue Type description: The type of issue. type: object @@ -11471,7 +11446,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &639 title: Sub-issues Summary type: object properties: @@ -11491,7 +11466,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &640 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11485,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &641 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11546,7 @@ paths: - node_id - data_type - value - required: &530 + required: &528 - assignee - closed_at - comments @@ -11609,7 +11584,7 @@ paths: action: type: string issue: *71 - comment: &527 + comment: &525 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12328,7 +12303,7 @@ paths: type: string release: allOf: - - &582 + - &580 title: Release description: A release. type: object @@ -12399,7 +12374,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -12978,7 +12953,7 @@ paths: url: type: string format: uri - user: &655 + user: &653 title: Public User description: Public User type: object @@ -14848,7 +14823,7 @@ paths: - closed - all default: open - - &212 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14899,7 +14874,7 @@ paths: type: array items: *71 examples: - default: &213 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16284,14 +16259,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16353,7 +16328,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &337 description: Moved permanently content: application/json: @@ -16375,7 +16350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &556 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +16358,7 @@ paths: schema: type: boolean default: false - - &559 + - &557 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16393,7 +16368,7 @@ paths: type: boolean default: false - *79 - - &560 + - &558 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: @@ -16429,7 +16404,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &180 id: type: integer format: int64 @@ -16705,7 +16680,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &263 nullable: true type: object properties: @@ -16779,7 +16754,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &181 - archive_url - assignees_url - blobs_url @@ -16867,7 +16842,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &559 value: - id: '1' repository: @@ -17409,7 +17384,7 @@ paths: application/json: schema: type: array - items: &218 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17468,7 +17443,7 @@ paths: - avatar_url - description examples: - default: &672 + default: &670 value: - login: github id: 1 @@ -17767,9 +17742,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17787,7 +17763,7 @@ paths: required: false schema: type: integer - - &698 + - &696 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17811,14 +17787,14 @@ paths: required: false schema: type: string - - &699 + - &697 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &698 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17957,7 +17933,7 @@ paths: parameters: - *105 - *107 - - &703 + - &701 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17967,7 +17943,7 @@ paths: schema: type: integer - *108 - - &704 + - &702 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18842,7 +18818,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19709,7 +19685,7 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &348 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` @@ -19792,7 +19768,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &352 type: object properties: days: @@ -19834,7 +19810,7 @@ paths: required: true content: application/json: - schema: &355 + schema: &353 type: object properties: days: @@ -19891,7 +19867,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -19950,7 +19926,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -20004,7 +19980,7 @@ paths: required: true content: application/json: - schema: &358 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -20639,7 +20615,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &357 type: object properties: default_workflow_permissions: &130 @@ -20690,7 +20666,7 @@ paths: required: false content: application/json: - schema: &360 + schema: &358 type: object properties: default_workflow_permissions: *130 @@ -21179,7 +21155,7 @@ paths: type: array items: *137 examples: - default: &658 + default: &656 value: total_count: 1 repositories: @@ -21821,7 +21797,7 @@ paths: application/json: schema: type: array - items: &361 + items: &359 title: Runner Application description: Runner Application type: object @@ -21846,7 +21822,7 @@ paths: - download_url - filename examples: - default: &362 + default: &360 value: - os: osx architecture: x64 @@ -21932,7 +21908,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &361 description: Response content: application/json: @@ -22043,7 +22019,7 @@ paths: - token - expires_at examples: - default: &364 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22082,7 +22058,7 @@ paths: application/json: schema: *141 examples: - default: &365 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22116,7 +22092,7 @@ paths: application/json: schema: *139 examples: - default: &366 + default: &364 value: id: 23 name: MBP @@ -22342,7 +22318,7 @@ paths: - *105 - *138 responses: - '200': &367 + '200': &365 description: Response content: application/json: @@ -22399,7 +22375,7 @@ paths: parameters: - *105 - *138 - - &368 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22529,7 +22505,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22534,7 @@ paths: - key_id - key examples: - default: &381 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22971,7 +22947,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *105 - - &349 + - &347 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)." @@ -23690,12 +23666,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &685 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &686 value: subject_digests: - sha256:abc123 @@ -23753,7 +23729,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &687 value: attestations_subject_digests: - sha256:abc: @@ -23946,6 +23922,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestation-repositories + parameters: + - *17 + - *40 + - *41 + - *105 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24049,7 +24076,7 @@ paths: initiator: type: string examples: - default: &394 + default: &392 value: attestations: - bundle: @@ -24400,7 +24427,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &223 id: description: Unique identifier of the team type: integer @@ -24472,7 +24499,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &224 - id - node_id - url @@ -24973,7 +25000,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *105 - - &419 + - &417 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`, @@ -24983,7 +25010,7 @@ paths: schema: &156 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &418 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 @@ -25006,7 +25033,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &420 type: string description: State of a code scanning alert. enum: @@ -25029,7 +25056,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &421 type: string description: Severity of a code scanning alert. enum: @@ -25055,7 +25082,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: &424 + instances_url: &422 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25078,7 +25105,7 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: &425 + dismissed_reason: &423 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +25114,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &424 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &425 type: object properties: id: @@ -25146,7 +25173,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &426 type: object properties: name: *156 @@ -25156,15 +25183,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *157 - most_recent_instance: &429 + most_recent_instance: &427 type: object properties: - ref: &421 + ref: &419 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &437 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,7 +25202,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &438 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26469,7 +26496,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &212 type: object title: Codespace description: A codespace. @@ -26499,7 +26526,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &450 name: type: string description: The name of the machine. @@ -26541,7 +26568,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &451 - name - display_name - operating_system @@ -26746,7 +26773,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &213 value: total_count: 3 codespaces: @@ -27409,7 +27436,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &452 value: total_count: 2 secrets: @@ -27447,7 +27474,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &453 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27503,7 @@ paths: - key_id - key examples: - default: &456 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27508,7 +27535,7 @@ paths: application/json: schema: *166 examples: - default: &458 + default: &456 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27975,7 +28002,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28506,7 +28533,7 @@ paths: application/json: schema: type: array - items: &312 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28840,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -28915,7 +28942,7 @@ paths: '500': *106 '403': *29 '404': *6 - '422': &314 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28990,8 +29017,6 @@ paths: - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +29025,9 @@ paths: application/json: schema: type: array - items: *179 + items: *177 examples: - default: *180 + default: *178 '304': *37 '400': *14 '403': *29 @@ -29046,7 +29071,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29123,7 +29148,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +29165,7 @@ paths: - key_id - key examples: - default: &485 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29170,7 +29195,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *179 examples: default: value: @@ -29471,7 +29496,7 @@ paths: application/json: schema: type: array - items: &228 + items: &226 title: Package description: A software package type: object @@ -29521,8 +29546,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -29541,7 +29566,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &227 value: - id: 197 name: hello_docker @@ -29711,7 +29736,7 @@ paths: application/json: schema: type: array - items: &206 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29783,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &205 value: - id: 1 login: monalisa @@ -29825,7 +29850,7 @@ paths: application/json: schema: type: array - items: &184 + items: &182 title: Org Hook description: Org Hook type: object @@ -29996,9 +30021,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: &185 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30046,7 +30071,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *105 - - &186 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30059,9 +30084,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -30089,7 +30114,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *105 - - *186 + - *184 requestBody: required: false content: @@ -30134,7 +30159,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: default: value: @@ -30176,7 +30201,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *105 - - *186 + - *184 responses: '204': description: Response @@ -30204,7 +30229,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *105 - - *186 + - *184 responses: '200': description: Response @@ -30235,7 +30260,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *105 - - *186 + - *184 requestBody: required: false content: @@ -30286,9 +30311,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -30296,9 +30321,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -30324,16 +30349,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -30359,7 +30384,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *16 responses: '202': *39 @@ -30389,7 +30414,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *105 - - *186 + - *184 responses: '204': description: Response @@ -30412,7 +30437,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *105 - - &196 + - &194 name: actor_type in: path description: The type of the actor @@ -30425,14 +30450,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30440,7 +30465,7 @@ paths: required: true schema: type: string - - &193 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30534,12 +30559,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *105 - - *192 - - *193 + - *190 + - *191 - *19 - *17 - *48 - - &202 + - &200 name: sort description: The property to sort the results by. in: query @@ -30618,14 +30643,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *105 - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: &194 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30666,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30662,23 +30687,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *105 - - &198 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30697,18 +30722,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *105 - - *192 - - *193 - - *196 - - *197 + - *190 + - *191 + - *194 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30726,9 +30751,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *105 - - *192 - - *193 - - &199 + - *190 + - *191 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30766,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30782,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30794,18 +30819,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *105 - - *198 - - *192 - - *193 - - *199 + - *196 + - *190 + - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30823,19 +30848,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *105 - - *196 + - *194 + - *195 + - *190 + - *191 - *197 - - *192 - - *193 - - *199 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30853,13 +30878,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *105 - - *198 - - *192 - - *193 + - *196 + - *190 + - *191 - *19 - *17 - *48 - - *202 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30940,7 +30965,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &521 value: id: 1 account: @@ -31106,12 +31131,12 @@ paths: application/json: schema: anyOf: - - &204 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +31161,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &203 value: limit: collaborators_only origin: organization @@ -31165,13 +31190,13 @@ paths: required: true content: application/json: - schema: &524 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +31220,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *205 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -31273,9 +31298,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 '404': *6 @@ -31352,7 +31377,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *204 examples: default: value: @@ -31407,7 +31432,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *105 - - &208 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31438,7 +31463,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *105 - - *208 + - *206 - *17 - *19 responses: @@ -31450,7 +31475,7 @@ paths: type: array items: *169 examples: - default: &227 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31493,7 +31518,7 @@ paths: application/json: schema: type: array - items: *209 + items: *207 examples: default: value: @@ -31578,9 +31603,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: &210 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31613,7 +31638,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *105 - - &211 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31691,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: *210 + default: *208 '404': *6 '422': *7 x-github: @@ -31693,7 +31718,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *105 - - *211 + - *209 responses: '204': description: Response @@ -31756,7 +31781,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -31787,7 +31812,7 @@ paths: type: array items: *71 examples: - default: *213 + default: *211 headers: Link: *58 '404': *6 @@ -31946,9 +31971,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 '500': *106 '401': *25 @@ -31975,7 +32000,7 @@ paths: parameters: - *105 - *63 - - &216 + - &214 name: codespace_name in: path required: true @@ -32010,15 +32035,15 @@ paths: parameters: - *105 - *63 - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: &451 + default: &449 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32198,7 +32223,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *215 examples: default: value: @@ -32274,7 +32299,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32318,7 +32343,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *216 user: title: Simple User description: A GitHub user. @@ -32341,7 +32366,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32438,9 +32463,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -32511,7 +32536,7 @@ paths: application/json: schema: type: array - items: &221 + items: &219 title: Migration description: A migration. type: object @@ -32840,7 +32865,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33019,7 +33044,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *105 - - &222 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +33071,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33216,7 +33241,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *105 - - *222 + - *220 responses: '302': description: Response @@ -33238,7 +33263,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *105 - - *222 + - *220 responses: '204': description: Response @@ -33262,8 +33287,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *105 - - *222 - - &671 + - *220 + - &669 name: repo_name description: repo_name parameter in: path @@ -33291,7 +33316,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *105 - - *222 + - *220 - *17 - *19 responses: @@ -33303,7 +33328,7 @@ paths: type: array items: *137 examples: - default: &234 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33456,7 +33481,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &222 title: Organization Role description: Organization roles type: object @@ -33631,7 +33656,7 @@ paths: parameters: - *105 - *65 - - &223 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -33668,7 +33693,7 @@ paths: parameters: - *105 - *65 - - *223 + - *221 responses: '204': description: Response @@ -33721,7 +33746,7 @@ paths: parameters: - *105 - *63 - - *223 + - *221 responses: '204': description: Response @@ -33753,7 +33778,7 @@ paths: parameters: - *105 - *63 - - *223 + - *221 responses: '204': description: Response @@ -33782,13 +33807,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *105 - - *223 + - *221 responses: '200': description: Response content: application/json: - schema: *224 + schema: *222 examples: default: value: @@ -33839,7 +33864,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *105 - - *223 + - *221 - *17 - *19 responses: @@ -33917,8 +33942,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -33950,7 +33975,7 @@ paths: - type - parent examples: - default: *227 + default: *225 headers: Link: *58 '404': @@ -33980,7 +34005,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *105 - - *223 + - *221 - *17 - *19 responses: @@ -34008,13 +34033,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 name: nullable: true type: string @@ -34302,7 +34327,7 @@ paths: - nuget - container - *105 - - &673 + - &671 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +34363,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *229 + default: *227 '403': *29 '401': *25 - '400': &675 + '400': &673 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +34390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34383,7 +34408,7 @@ paths: - docker - nuget - container - - &231 + - &229 name: package_name description: The name of the package. in: path @@ -34396,7 +34421,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *226 examples: default: value: @@ -34448,8 +34473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 responses: '204': @@ -34482,8 +34507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - name: token description: package token @@ -34516,8 +34541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - *19 - *17 @@ -34538,7 +34563,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Package Version description: A version of a software package type: object @@ -34663,10 +34688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - &233 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34703,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -34714,10 +34739,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - *233 + - *231 responses: '204': description: Response @@ -34749,10 +34774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - *233 + - *231 responses: '204': description: Response @@ -34782,7 +34807,7 @@ paths: - *105 - *17 - *19 - - &235 + - &233 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34818,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34829,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34837,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34845,7 @@ paths: schema: type: string example: issues_read - - &239 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34830,7 +34855,7 @@ paths: schema: type: string format: date-time - - &240 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34840,7 +34865,7 @@ paths: schema: type: string format: date-time - - &241 + - &239 name: token_id description: The ID of the token in: query @@ -35153,7 +35178,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -35179,14 +35204,14 @@ paths: - *105 - *17 - *19 - - *235 + - *233 - *48 + - *234 + - *235 - *236 - *237 - *238 - *239 - - *240 - - *241 responses: '500': *106 '422': *15 @@ -35468,7 +35493,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -35510,7 +35535,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35763,7 +35788,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35859,9 +35884,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -36025,7 +36050,7 @@ paths: application/json: schema: type: array - items: &244 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -36198,7 +36223,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -36236,7 +36261,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &334 description: Gone content: application/json: @@ -36279,7 +36304,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +36374,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &753 id: type: number description: The unique identifier of the status update. @@ -36397,7 +36422,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &754 - id - node_id - created_at @@ -36422,7 +36447,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36525,7 +36550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &245 name: project_number description: The project's number. in: path @@ -36538,9 +36563,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -36562,7 +36587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 + - *245 - *105 - *17 - *40 @@ -36574,7 +36599,7 @@ paths: application/json: schema: type: array - items: &248 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36746,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36764,8 +36789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *245 + - &690 name: field_id description: The unique identifier of the field. in: path @@ -36778,9 +36803,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -36803,7 +36828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 + - *245 - *105 - 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) @@ -36813,8 +36838,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -36822,7 +36849,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - *40 - *41 - *17 @@ -36833,7 +36859,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36875,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: &253 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36925,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37594,7 +37620,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *105 - - *247 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +37657,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &691 title: Projects v2 Item description: An item belonging to a project type: object @@ -37645,7 +37671,7 @@ paths: content: oneOf: - *71 - - &466 + - &464 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37777,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -37848,7 +37874,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &250 title: Link description: Hypermedia Link type: object @@ -37857,13 +37883,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -37874,7 +37900,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &568 + auto_merge: &566 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +38002,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -38009,7 +38035,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +38090,7 @@ paths: 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: *254 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -38084,9 +38110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 + - *245 - *105 - - &257 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -38109,9 +38135,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -38132,9 +38158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 + - *245 - *105 - - *257 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +38230,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -38230,9 +38256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 + - *245 - *105 - - *257 + - *255 responses: '204': description: Response @@ -38264,7 +38290,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +38356,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38389,7 +38415,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *256 minItems: 1 maxItems: 100 required: @@ -38419,9 +38445,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *259 + default: *257 '403': *29 '404': *6 x-github: @@ -38443,7 +38469,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *105 - - &260 + - &258 name: custom_property_name description: The custom property name in: path @@ -38455,9 +38481,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: &261 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38492,7 +38518,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *105 - - *260 + - *258 requestBody: required: true content: @@ -38561,9 +38587,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *261 + default: *259 '403': *29 '404': *6 x-github: @@ -38587,7 +38613,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *105 - - *260 + - *258 responses: '204': *163 '403': *29 @@ -38648,7 +38674,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -38735,7 +38761,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - repository_names - properties @@ -38927,7 +38953,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -39129,7 +39155,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &336 title: Full Repository description: Full Repository type: object @@ -39406,8 +39432,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -39522,7 +39548,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &469 url: type: string format: uri @@ -39538,12 +39564,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &470 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +39653,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40148,7 +40174,7 @@ paths: - *105 - *17 - *19 - - &591 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +40192,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +40227,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +40240,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +40310,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +40334,7 @@ paths: match. items: type: string - - &270 + - &268 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +40348,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +40382,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +40404,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +40417,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &265 title: Repository ruleset property targeting definition type: object @@ -40424,17 +40450,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *265 required: - repository_property rules: type: array - items: &592 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +40472,7 @@ paths: type: string enum: - creation - - &272 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +40493,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +40505,7 @@ paths: type: string enum: - deletion - - &274 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +40517,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +40595,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +40619,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +40631,7 @@ paths: type: string enum: - required_signatures - - &277 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +40693,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40741,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40753,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40789,7 @@ paths: required: - operator - pattern - - &281 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40825,7 @@ paths: required: - operator - pattern - - &282 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40861,7 @@ paths: required: - operator - pattern - - &283 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40897,7 @@ paths: required: - operator - pattern - - &284 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40933,7 @@ paths: required: - operator - pattern - - &285 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40958,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40982,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +41005,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +41030,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +41080,7 @@ paths: - repository_id required: - workflows - - &290 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +41141,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41213,20 +41239,22 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 + - *270 - *271 - *272 - *273 @@ -41245,8 +41273,6 @@ paths: - *286 - *287 - *288 - - *289 - - *290 required: - name - enforcement @@ -41284,9 +41310,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &292 + default: &290 value: id: 21 name: super cool ruleset @@ -41341,7 +41367,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *105 - - &593 + - &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 @@ -41356,7 +41382,7 @@ paths: in: query schema: type: string - - &594 + - &592 name: time_period description: |- The time period to filter by. @@ -41372,14 +41398,14 @@ paths: - week - month default: day - - &595 + - &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 - - &596 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +41425,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &595 title: Rule Suites description: Response type: array @@ -41454,7 +41480,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &596 value: - id: 21 actor_id: 12 @@ -41498,7 +41524,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *105 - - &599 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41540,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &598 title: Rule Suite description: Response type: object @@ -41613,7 +41639,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &599 value: id: 21 actor_id: 12 @@ -41686,9 +41712,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 '500': *106 put: @@ -41732,16 +41758,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *291 examples: default: value: @@ -41776,9 +41802,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 '500': *106 delete: @@ -41835,7 +41861,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41885,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &601 value: - version_id: 3 actor: @@ -41912,9 +41938,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &602 allOf: - - *294 + - *292 - type: object required: - state @@ -41984,14 +42010,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *105 + - *293 + - *294 - *295 - *296 - - *297 - - *298 - *48 - *19 - *17 - - &605 + - &603 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 @@ -42001,7 +42027,7 @@ paths: required: false schema: type: string - - &606 + - &604 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 @@ -42011,10 +42037,10 @@ paths: required: false schema: type: string + - *297 + - *298 - *299 - *300 - - *301 - - *302 responses: '200': description: Response @@ -42022,9 +42048,9 @@ paths: application/json: schema: type: array - items: *303 + items: *301 examples: - default: *304 + default: *302 headers: Link: *58 '404': *6 @@ -42065,7 +42091,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42100,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &303 type: object properties: token_type: @@ -42140,7 +42166,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *303 examples: default: value: @@ -42197,7 +42223,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42249,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42321,7 +42347,7 @@ paths: application/json: schema: type: array - items: &627 + items: &625 description: A repository security advisory. type: object properties: @@ -42541,7 +42567,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 credits_detailed: type: array nullable: true @@ -42551,7 +42577,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -42612,7 +42638,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &626 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42999,9 +43025,9 @@ paths: application/json: schema: type: array - items: *308 + items: *306 examples: - default: *227 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43086,7 +43112,7 @@ paths: description: Response content: application/json: - schema: &694 + schema: &692 type: object properties: total_minutes_used: @@ -43156,7 +43182,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &693 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43192,7 +43218,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &694 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43236,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &695 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43242,7 +43268,7 @@ paths: description: Response content: application/json: - schema: &701 + schema: &699 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43286,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &700 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43543,7 +43569,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43663,9 +43689,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: &310 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -43694,7 +43720,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *105 - - &311 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,9 +43732,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 headers: Link: *58 x-github: @@ -43730,7 +43756,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *105 - - *311 + - *309 requestBody: required: true content: @@ -43769,9 +43795,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43791,7 +43817,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *105 - - *311 + - *309 responses: '204': description: Response @@ -43931,13 +43957,13 @@ paths: application/json: schema: type: array - items: *312 + items: *310 examples: - default: *313 + default: *311 '500': *106 '403': *29 '404': *6 - '422': *314 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43967,7 +43993,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: Link: *58 '403': *29 @@ -44061,7 +44087,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44150,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -44388,7 +44414,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44465,9 +44491,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -44551,16 +44577,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '201': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 '422': *15 '403': *29 @@ -44630,7 +44656,7 @@ paths: application/json: schema: type: array - items: &317 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44729,7 +44755,7 @@ paths: - updated_at - url examples: - default: &645 + default: &643 value: - author: login: octocat @@ -44838,9 +44864,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: &318 + default: &316 value: author: login: octocat @@ -44914,7 +44940,7 @@ paths: parameters: - *105 - *65 - - &319 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +44952,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44952,7 +44978,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: false content: @@ -44975,9 +45001,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: &646 + default: &644 value: author: login: octocat @@ -45049,7 +45075,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 responses: '204': description: Response @@ -45077,7 +45103,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 - *48 - *17 - *19 @@ -45088,7 +45114,7 @@ paths: application/json: schema: type: array - items: &320 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45160,7 +45186,7 @@ paths: - updated_at - url examples: - default: &647 + default: &645 value: - author: login: octocat @@ -45230,7 +45256,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: true content: @@ -45252,9 +45278,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: &321 + default: &319 value: author: login: octocat @@ -45322,8 +45348,8 @@ paths: parameters: - *105 - *65 - - *319 - - &322 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45361,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45361,8 +45387,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 requestBody: required: true content: @@ -45384,9 +45410,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: &648 + default: &646 value: author: login: octocat @@ -45452,8 +45478,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 responses: '204': description: Response @@ -45481,8 +45507,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 - 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. @@ -45508,7 +45534,7 @@ paths: application/json: schema: type: array - items: &323 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45577,7 @@ paths: - content - created_at examples: - default: &325 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45603,8 +45629,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 requestBody: required: true content: @@ -45637,9 +45663,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *321 examples: - default: &324 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45694,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45695,9 +45721,9 @@ paths: parameters: - *105 - *65 - - *319 - - *322 - - &326 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45731,7 +45757,7 @@ paths: parameters: - *105 - *65 - - *319 + - *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. @@ -45757,9 +45783,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -45787,7 +45813,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: true content: @@ -45819,16 +45845,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45853,8 +45879,8 @@ paths: parameters: - *105 - *65 - - *319 - - *326 + - *317 + - *324 responses: '204': description: Response @@ -45889,9 +45915,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 x-github: @@ -45975,7 +46001,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &325 title: Team Membership description: Team Membership type: object @@ -46002,7 +46028,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &647 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46065,9 +46091,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &648 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46140,7 +46166,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46234,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &649 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46273,7 +46299,7 @@ paths: parameters: - *105 - *65 - - &329 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46311,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: &652 + default: &650 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46351,7 +46377,7 @@ paths: parameters: - *105 - *65 - - *329 + - *327 requestBody: required: false content: @@ -46419,7 +46445,7 @@ paths: parameters: - *105 - *65 - - *329 + - *327 responses: '204': description: Response @@ -46459,7 +46485,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -46490,14 +46516,14 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &651 title: Team Repository description: A team's access to a repository. type: object @@ -47068,8 +47094,8 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -47116,8 +47142,8 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -47154,7 +47180,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &652 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47281,7 +47307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47319,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47365,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *330 requestBody: required: true content: @@ -47398,9 +47424,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *330 responses: '204': description: Response @@ -47454,7 +47480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *330 requestBody: required: true content: @@ -47514,15 +47540,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *327 responses: '200': description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: &335 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *327 requestBody: required: false content: @@ -47625,9 +47651,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47674,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *327 responses: '204': description: Delete Success @@ -47692,7 +47718,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *327 - 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 @@ -47773,7 +47799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 + - *327 - *63 requestBody: required: false @@ -47826,7 +47852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 + - *327 - *63 responses: '204': @@ -47858,7 +47884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 + - *327 - *63 responses: '200': @@ -47932,7 +47958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *327 - *17 - *19 responses: @@ -47942,7 +47968,7 @@ paths: application/json: schema: type: array - items: *333 + items: *331 examples: default: value: @@ -47980,7 +48006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *327 requestBody: required: true content: @@ -48003,7 +48029,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *331 examples: default: value: @@ -48068,7 +48094,7 @@ paths: resources: type: object properties: - core: &337 + core: &335 title: Rate Limit type: object properties: @@ -48085,21 +48111,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *337 + rate: *335 required: - rate - resources @@ -48204,14 +48230,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *338 + schema: *336 examples: default-response: summary: Default response @@ -48712,7 +48738,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -48978,10 +49004,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 - '307': &341 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -49010,8 +49036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -49033,7 +49059,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *339 '404': *6 '409': *47 x-github: @@ -49057,11 +49083,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - - &372 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49110,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &340 title: Artifact description: An artifact type: object @@ -49162,7 +49188,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &371 value: total_count: 2 artifacts: @@ -49223,9 +49249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *328 + - *329 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49263,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *340 examples: default: value: @@ -49275,9 +49301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *328 + - *329 + - *341 responses: '204': description: Response @@ -49301,9 +49327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *328 + - *329 + - *341 - name: archive_format in: path required: true @@ -49317,7 +49343,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': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49366,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: default: value: @@ -49373,11 +49399,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - - &345 + - &343 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 @@ -49411,7 +49437,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49479,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &345 value: total_count: 1 actions_caches: @@ -49485,23 +49511,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: - - *330 - - *331 + - *328 + - *329 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *343 responses: '200': description: Response content: application/json: - schema: *346 + schema: *344 examples: - default: *347 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49547,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: - - *330 - - *331 + - *328 + - *329 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *328 + - *329 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49593,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +49900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *328 + - *329 + - *346 responses: '302': description: Response @@ -49904,9 +49930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *328 + - *329 + - *346 requestBody: required: false content: @@ -49951,8 +49977,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Status response @@ -50002,8 +50028,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -50066,8 +50092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -50085,7 +50111,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50131,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &377 value: total_count: 2 secrets: @@ -50138,9 +50164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *328 + - *329 + - *347 - *19 responses: '200': @@ -50157,7 +50183,7 @@ paths: type: integer variables: type: array - items: &382 + items: &380 title: Actions Variable type: object properties: @@ -50187,7 +50213,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &381 value: total_count: 2 variables: @@ -50220,8 +50246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50230,11 +50256,11 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *122 - selected_actions_url: *350 + selected_actions_url: *348 sha_pinning_required: *123 required: - enabled @@ -50263,8 +50289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50275,7 +50301,7 @@ paths: schema: type: object properties: - enabled: *351 + enabled: *349 allowed_actions: *122 sha_pinning_required: *123 required: @@ -50307,14 +50333,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &352 + schema: &350 type: object properties: access_level: @@ -50331,7 +50357,7 @@ paths: required: - access_level examples: - default: &353 + default: &351 value: access_level: organization x-github: @@ -50355,15 +50381,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *352 + schema: *350 examples: - default: *353 + default: *351 responses: '204': description: Response @@ -50387,14 +50413,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *354 + schema: *352 examples: default: value: @@ -50418,8 +50444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50455,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *353 examples: default: summary: Set retention days @@ -50453,8 +50479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50462,7 +50488,7 @@ paths: application/json: schema: *124 examples: - default: *356 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50516,14 +50542,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *357 + schema: *355 examples: default: *125 '403': *29 @@ -50545,13 +50571,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *358 + schema: *356 examples: default: *125 responses: @@ -50577,8 +50603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50605,8 +50631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50638,14 +50664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *359 + schema: *357 examples: default: *132 x-github: @@ -50668,8 +50694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Success response @@ -50680,7 +50706,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *358 examples: default: *132 x-github: @@ -50709,8 +50735,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -50754,8 +50780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50763,9 +50789,9 @@ paths: application/json: schema: type: array - items: *361 + items: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +50813,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -50831,7 +50857,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -50862,8 +50888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -50871,7 +50897,7 @@ paths: application/json: schema: *141 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,8 +50925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -50908,7 +50934,7 @@ paths: application/json: schema: *141 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,8 +50956,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '200': @@ -50940,7 +50966,7 @@ paths: application/json: schema: *139 examples: - default: *366 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,8 +50987,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '204': @@ -50989,8 +51015,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '200': *143 @@ -51015,8 +51041,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: - - *330 - - *331 + - *328 + - *329 - *138 requestBody: required: true @@ -51065,8 +51091,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: - - *330 - - *331 + - *328 + - *329 - *138 requestBody: required: true @@ -51116,11 +51142,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: - '200': *367 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -51147,10 +51173,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: - - *330 - - *331 + - *328 + - *329 - *138 - - *368 + - *366 responses: '200': *143 '404': *6 @@ -51178,9 +51204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *328 + - *329 + - &384 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. @@ -51188,7 +51214,7 @@ paths: required: false schema: type: string - - &387 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51222,7 @@ paths: required: false schema: type: string - - &388 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51231,7 @@ paths: required: false schema: type: string - - &389 + - &387 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 @@ -51232,7 +51258,7 @@ paths: - pending - *17 - *19 - - &390 + - &388 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)." @@ -51241,7 +51267,7 @@ paths: schema: type: string format: date-time - - &369 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51276,13 @@ paths: schema: type: boolean default: false - - &391 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51305,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -51427,7 +51453,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &412 id: type: string description: SHA for the commit @@ -51478,7 +51504,7 @@ paths: - name - email nullable: true - required: &415 + required: &413 - id - tree_id - message @@ -51525,7 +51551,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &391 value: total_count: 1 workflow_runs: @@ -51761,24 +51787,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *328 + - *329 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *367 responses: '200': description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: &374 + default: &372 value: id: 30433642 name: Build @@ -52019,9 +52045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '204': description: Response @@ -52044,9 +52070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -52165,9 +52191,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: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '201': description: Response @@ -52200,12 +52226,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 - *17 - *19 - - *372 + - *370 responses: '200': description: Response @@ -52221,9 +52247,9 @@ paths: type: integer artifacts: type: array - items: *342 + items: *340 examples: - default: *373 + default: *371 headers: Link: *58 x-github: @@ -52247,25 +52273,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *328 + - *329 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *367 responses: '200': description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *374 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52314,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *328 + - *329 + - *369 + - *373 - *17 - *19 responses: @@ -52309,9 +52335,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *374 examples: - default: &377 + default: &375 value: total_count: 1 jobs: @@ -52424,10 +52450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *328 + - *329 + - *369 + - *373 responses: '302': description: Response @@ -52455,9 +52481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '202': description: Response @@ -52490,9 +52516,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: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: true content: @@ -52559,9 +52585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '202': description: Response @@ -52594,9 +52620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 - 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 @@ -52626,9 +52652,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *374 examples: - default: *377 + default: *375 headers: Link: *58 x-github: @@ -52653,9 +52679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '302': description: Response @@ -52682,9 +52708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '204': description: Response @@ -52711,9 +52737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -52773,7 +52799,7 @@ paths: items: type: object properties: - type: &493 + type: &491 type: string description: The type of reviewer. enum: @@ -52858,9 +52884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: true content: @@ -52907,7 +52933,7 @@ paths: application/json: schema: type: array - items: &488 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53013,7 +53039,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: false content: @@ -53115,9 +53141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: false content: @@ -53170,9 +53196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -53309,8 +53335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -53328,9 +53354,9 @@ paths: type: integer secrets: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 headers: Link: *58 x-github: @@ -53355,16 +53381,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: &506 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,8 +53448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -53481,8 +53507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -53508,9 +53534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *328 + - *329 + - *347 - *19 responses: '200': @@ -53527,9 +53553,9 @@ paths: type: integer variables: type: array - items: *382 + items: *380 examples: - default: *383 + default: *381 headers: Link: *58 x-github: @@ -53552,8 +53578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -53605,17 +53631,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 responses: '200': description: Response content: application/json: - schema: *382 + schema: *380 examples: - default: &507 + default: &505 value: name: USERNAME value: octocat @@ -53641,8 +53667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 requestBody: required: true @@ -53685,8 +53711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 responses: '204': @@ -53712,8 +53738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -53731,7 +53757,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -53838,9 +53864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *328 + - *329 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +53881,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *382 examples: default: value: @@ -53888,9 +53914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53915,9 +53941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53968,9 +53994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53997,19 +54023,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 + - *328 + - *329 + - *383 + - *384 - *385 - *386 - *387 - - *388 - - *389 - *17 - *19 + - *388 + - *367 + - *389 - *390 - - *369 - - *391 - - *392 responses: '200': description: Response @@ -54025,9 +54051,9 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *368 examples: - default: *393 + default: *391 headers: Link: *58 x-github: @@ -54059,9 +54085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '200': description: Response @@ -54122,8 +54148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *328 + - *329 - *48 - *17 - *40 @@ -54287,8 +54313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -54325,8 +54351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *328 + - *329 - name: assignee in: path required: true @@ -54362,8 +54388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -54475,8 +54501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *40 - *41 @@ -54532,7 +54558,7 @@ paths: initiator: type: string examples: - default: *394 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -54561,7 +54587,7 @@ paths: application/json: schema: type: array - items: &395 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -54655,9 +54681,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *393 examples: - default: &396 + default: &394 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *328 + - *329 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54728,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *393 examples: - default: *396 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *328 + - *329 + - *395 responses: '204': description: Response @@ -54750,8 +54776,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +54825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -54821,8 +54847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -54842,8 +54868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *328 + - *329 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +54907,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +54949,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +54964,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55014,7 +55040,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55291,9 +55317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *328 + - *329 + - &398 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). @@ -55307,14 +55333,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &460 title: Commit description: Commit type: object @@ -55348,7 +55374,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55389,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true message: type: string @@ -55384,7 +55410,7 @@ paths: required: - sha - url - verification: &513 + verification: &511 title: Verification type: object properties: @@ -55454,7 +55480,7 @@ paths: type: integer files: type: array - items: &475 + items: &473 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55564,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *397 protection_url: type: string format: uri @@ -55645,7 +55671,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55693,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: default: value: @@ -55869,9 +55895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -56126,7 +56152,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -56278,7 +56304,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -56390,9 +56416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56417,17 +56443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: &403 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56475,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *403 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56505,17 +56531,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: &405 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -56711,9 +56737,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *405 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56763,17 +56789,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: &406 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +56822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *406 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +56852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56853,17 +56879,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *407 + schema: *405 examples: - default: &408 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +56915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -56943,9 +56969,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *405 examples: - default: *408 + default: *406 '404': *6 '422': *15 x-github: @@ -56967,9 +56993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56993,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57029,9 +57055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57098,9 +57124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57164,9 +57190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: content: application/json: @@ -57232,15 +57258,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: default: value: @@ -57331,9 +57357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -57356,9 +57382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57368,7 +57394,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &407 value: - id: 1 slug: octoapp @@ -57425,9 +57451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57461,7 +57487,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57518,7 +57544,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57575,7 +57601,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57609,7 +57635,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +57655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57669,7 +57695,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57730,7 +57756,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +57777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: content: application/json: @@ -57790,7 +57816,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +57838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57848,9 +57874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57908,9 +57934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57968,9 +57994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -58030,9 +58056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -58054,7 +58080,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *408 examples: default: value: @@ -58170,8 +58196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -58450,7 +58476,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &409 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58570,7 +58596,7 @@ paths: check. type: array items: *76 - deployment: &713 + deployment: &711 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58850,9 +58876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *328 + - *329 + - &410 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +58890,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: &413 + default: &411 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +58992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 requestBody: required: true content: @@ -59208,9 +59234,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *413 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 - *17 - *19 responses: @@ -59327,9 +59353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 responses: '201': description: Response @@ -59373,8 +59399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -59396,7 +59422,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &414 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59482,12 +59508,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &737 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *412 + required: *413 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59541,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &415 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +59832,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -60137,9 +60163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *328 + - *329 + - &416 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60177,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60202,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *328 + - *329 + - *416 + - &466 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &467 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60251,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *409 examples: - default: &470 + default: &468 value: total_count: 1 check_runs: @@ -60329,9 +60355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *328 + - *329 + - *416 responses: '201': description: Response @@ -60364,21 +60390,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *328 + - *329 + - *417 + - *418 - *19 - *17 - - &437 + - &435 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: *421 - - &438 + schema: *419 + - &436 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60429,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *420 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *421 responses: '200': description: Response @@ -60425,7 +60451,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: *424 + instances_url: *422 state: *158 fixed_at: *154 dismissed_by: @@ -60436,11 +60462,11 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *423 + dismissed_comment: *424 + rule: *425 + tool: *426 + most_recent_instance: *427 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,7 +60592,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &428 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60593,9 +60619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *328 + - *329 + - &429 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60609,7 +60635,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &430 type: object properties: number: *54 @@ -60617,7 +60643,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: *424 + instances_url: *422 state: *158 fixed_at: *154 dismissed_by: @@ -60628,8 +60654,8 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *423 + dismissed_comment: *424 rule: type: object properties: @@ -60683,8 +60709,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *426 + most_recent_instance: *427 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,7 +60809,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -60803,9 +60829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: true content: @@ -60820,8 +60846,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *423 + dismissed_comment: *424 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +60866,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -60916,7 +60942,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &434 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60943,15 +60969,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 responses: '200': description: Response content: application/json: - schema: &433 + schema: &431 type: object properties: status: @@ -60977,13 +61003,13 @@ paths: - description - started_at examples: - default: &434 + default: &432 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &433 description: Bad Request content: application/json: @@ -60994,7 +61020,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': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61019,29 +61045,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 responses: '200': description: OK content: application/json: - schema: *433 + schema: *431 examples: - default: *434 + default: *432 '202': description: Accepted content: application/json: - schema: *433 + schema: *431 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *433 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61073,9 +61099,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: false content: @@ -61120,8 +61146,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *433 + '403': *434 '404': *6 '422': description: Unprocessable Entity @@ -61145,13 +61171,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 - *19 - *17 - - *437 - - *438 + - *435 + - *436 responses: '200': description: Response @@ -61159,7 +61185,7 @@ paths: application/json: schema: type: array - items: *429 + items: *427 examples: default: value: @@ -61198,7 +61224,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61232,25 +61258,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *328 + - *329 + - *417 + - *418 - *19 - *17 - - *438 + - *436 - 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: *421 + schema: *419 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &439 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61297,23 @@ paths: application/json: schema: type: array - items: &442 + items: &440 type: object properties: - ref: *421 - commit_sha: &450 + ref: *419 + commit_sha: &448 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: *439 + analysis_key: *437 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *438 error: type: string example: error reading field xyz @@ -61311,8 +61337,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *439 + tool: *426 deletable: type: boolean warning: @@ -61373,7 +61399,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61409,8 +61435,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: - - *330 - - *331 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61449,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: response: summary: application/json response @@ -61477,7 +61503,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *428 '404': *6 '422': description: Response if analysis could not be processed @@ -61564,8 +61590,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: - - *330 - - *331 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,7 +61644,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': *436 + '403': *434 '404': *6 '503': *77 x-github: @@ -61640,8 +61666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -61649,7 +61675,7 @@ paths: application/json: schema: type: array - items: &443 + items: &441 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,7 +61786,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': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61789,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +61828,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: default: value: @@ -61834,9 +61860,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': &477 + '302': &475 description: Found - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61858,8 +61884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61869,7 +61895,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *434 '404': *6 '503': *77 x-github: @@ -61897,8 +61923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -61907,7 +61933,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &442 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62012,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &446 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62022,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *442 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62069,7 @@ paths: items: type: object properties: - repository: &445 + repository: &443 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62105,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &447 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62137,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &444 type: object properties: repository_count: @@ -62125,7 +62151,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: *445 + items: *443 required: - repository_count - repositories @@ -62147,8 +62173,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *444 + over_limit_repos: *444 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62190,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &445 summary: Default response value: id: 1 @@ -62316,10 +62342,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *445 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *445 '404': *6 '422': description: Unable to process variant analysis submission @@ -62347,8 +62373,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: - - *330 - - *331 + - *328 + - *329 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,9 +62386,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *447 + default: *445 '404': *6 '503': *77 x-github: @@ -62385,7 +62411,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: - - *330 + - *328 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62446,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *447 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62545,8 +62571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -62631,7 +62657,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -62652,8 +62678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -62745,7 +62771,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *434 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62816,8 +62842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -62825,7 +62851,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *448 ref: type: string description: |- @@ -62883,7 +62909,7 @@ paths: schema: type: object properties: - id: *441 + id: *439 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,7 +62923,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': *436 + '403': *434 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62920,8 +62946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *328 + - *329 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,7 +62993,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': *430 + '403': *428 '404': description: Not Found if the sarif id does not match any upload '503': *77 @@ -62992,8 +63018,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63074,8 +63100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *328 + - *329 - 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 @@ -63195,8 +63221,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63212,7 +63238,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: default: value: @@ -63510,8 +63536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -63574,17 +63600,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '400': *14 '401': *25 '403': *29 @@ -63613,8 +63639,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63678,8 +63704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63740,14 @@ paths: type: integer machines: type: array - items: &661 + items: &659 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *450 + required: *451 examples: - default: &662 + default: &660 value: total_count: 2 machines: @@ -63761,8 +63787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *328 + - *329 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +63872,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: - - *330 - - *331 + - *328 + - *329 - 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 @@ -63913,8 +63939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -63932,7 +63958,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &455 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,7 +63978,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *452 headers: Link: *58 x-github: @@ -63975,16 +64001,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *455 + schema: *453 examples: - default: *456 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *457 + schema: *455 examples: - default: *458 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,8 +64060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -64088,8 +64114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -64118,8 +64144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *328 + - *329 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64187,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &457 login: type: string example: octocat @@ -64254,7 +64280,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &458 - avatar_url - events_url - followers_url @@ -64328,8 +64354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '204': @@ -64376,8 +64402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 requestBody: required: false @@ -64404,7 +64430,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64633,8 +64659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '204': @@ -64666,8 +64692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '200': @@ -64688,8 +64714,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *457 + required: *458 nullable: true required: - permission @@ -64744,8 +64770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -64755,7 +64781,7 @@ paths: application/json: schema: type: array - items: &461 + items: &459 title: Commit Comment description: Commit Comment type: object @@ -64813,7 +64839,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &462 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64872,17 +64898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *461 + schema: *459 examples: - default: &465 + default: &463 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,8 +64965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -64963,7 +64989,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: default: value: @@ -65014,8 +65040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -65037,8 +65063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65065,9 +65091,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -65088,8 +65114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -65122,16 +65148,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -65205,8 +65231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *328 + - *329 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65288,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: &575 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65358,9 +65384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *328 + - *329 + - &461 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 - *17 - *19 responses: @@ -65444,9 +65470,9 @@ paths: application/json: schema: type: array - items: *461 + items: *459 examples: - default: *464 + default: *462 headers: Link: *58 x-github: @@ -65474,9 +65500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 requestBody: required: true content: @@ -65511,9 +65537,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: - default: *465 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 - *17 - *19 responses: @@ -65553,9 +65579,9 @@ paths: application/json: schema: type: array - items: *466 + items: *464 examples: - default: &567 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66092,11 +66118,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 - - &467 + - &465 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)" @@ -66111,9 +66137,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: &554 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66226,11 +66252,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 + - *328 + - *329 + - *465 + - *466 - *467 - - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,9 +66290,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *409 examples: - default: *470 + default: *468 headers: Link: *58 x-github: @@ -66291,9 +66317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66327,7 @@ paths: schema: type: integer example: 1 - - *468 + - *466 - *17 - *19 responses: @@ -66319,7 +66345,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *414 examples: default: value: @@ -66519,9 +66545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - *17 - *19 responses: @@ -66719,9 +66745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - *17 - *19 responses: @@ -66731,7 +66757,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: Status description: The status of a commit. type: object @@ -66812,7 +66838,7 @@ paths: site_admin: false headers: Link: *58 - '301': *339 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +66866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -66870,20 +66896,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *469 + required: *470 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &471 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &472 - url - html_url nullable: true @@ -66897,26 +66923,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true required: - code_of_conduct @@ -67043,8 +67069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 - name: basehead @@ -67087,8 +67113,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *460 + merge_base_commit: *460 status: type: string enum: @@ -67108,10 +67134,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *460 files: type: array - items: *475 + items: *473 required: - url - html_url @@ -67397,8 +67423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -67541,7 +67567,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &474 summary: Response if content is a file value: type: file @@ -67673,7 +67699,7 @@ paths: - size - type - url - - &580 + - &578 title: Content File description: Content File type: object @@ -67874,7 +67900,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *474 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +67969,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *475 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +67992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -68060,7 +68086,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &476 title: File Commit description: File Commit type: object @@ -68212,7 +68238,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: example-for-creating-a-file: value: @@ -68266,7 +68292,7 @@ paths: schema: oneOf: - *3 - - &508 + - &506 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68313,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &622 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -68381,7 +68407,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: default: value: @@ -68436,8 +68462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *328 + - *329 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68560,8 +68586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *170 - *171 - *172 @@ -68573,18 +68599,10 @@ paths: schema: type: string - *174 - - *479 + - *477 - *175 - *176 - *48 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). 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)." @@ -68595,8 +68613,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,7 +68620,7 @@ paths: application/json: schema: type: array - items: &482 + items: &480 type: object description: A Dependabot alert. properties: @@ -68650,7 +68666,7 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *478 security_vulnerability: *52 url: *56 html_url: *57 @@ -68681,7 +68697,7 @@ paths: nullable: true maxLength: 280 fixed_at: *154 - auto_dismissed_at: *481 + auto_dismissed_at: *479 required: - number - state @@ -68911,9 +68927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *328 + - *329 + - &481 name: alert_number in: path description: |- @@ -68928,7 +68944,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: default: value: @@ -69041,9 +69057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *328 + - *329 + - *481 requestBody: required: true content: @@ -69088,7 +69104,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: default: value: @@ -69217,8 +69233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -69236,7 +69252,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69289,16 +69305,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *485 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69334,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *486 + schema: *484 examples: default: value: @@ -69352,8 +69368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -69406,8 +69422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -69430,8 +69446,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: - - *330 - - *331 + - *328 + - *329 - 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 @@ -69591,8 +69607,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -69831,8 +69847,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -69907,7 +69923,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +69956,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +69969,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *328 + - *329 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,9 +70139,9 @@ paths: application/json: schema: type: array - items: *488 + items: *486 examples: - default: *489 + default: *487 headers: Link: *58 x-github: @@ -70191,8 +70207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -70273,7 +70289,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *486 examples: simple-example: summary: Simple example @@ -70346,9 +70362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *328 + - *329 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70376,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *486 examples: default: value: @@ -70425,9 +70441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 responses: '204': description: Response @@ -70449,9 +70465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 - *17 - *19 responses: @@ -70461,7 +70477,7 @@ paths: application/json: schema: type: array - items: &491 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70622,9 +70638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 requestBody: required: true content: @@ -70699,9 +70715,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &492 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 - name: status_id in: path required: true @@ -70770,9 +70786,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +70813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -70855,8 +70871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -70873,7 +70889,7 @@ paths: type: integer environments: type: array - items: &494 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +70941,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,7 +70978,7 @@ paths: items: type: object properties: - type: *493 + type: *491 reviewer: anyOf: - *4 @@ -70986,7 +71002,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *328 + - *329 + - &493 name: environment_name in: path required: true @@ -71117,9 +71133,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: - default: &498 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: false content: @@ -71214,7 +71230,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71231,13 +71247,13 @@ paths: items: type: object properties: - type: *493 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71257,9 +71273,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: - default: *498 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 responses: '204': description: Default response @@ -71310,9 +71326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *17 - *19 responses: @@ -71330,7 +71346,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: true content: @@ -71435,9 +71451,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - example-wildcard: &500 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *328 + - *329 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71494,9 +71510,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71531,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *328 + - *329 + - *493 + - *499 requestBody: required: true content: @@ -71546,9 +71562,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *328 + - *329 + - *493 + - *499 responses: '204': description: Response @@ -71595,9 +71611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -71613,7 +71629,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71648,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71747,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: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 requestBody: content: application/json: @@ -71754,9 +71770,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *500 examples: - default: &504 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71807,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: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 - *19 - *17 responses: @@ -71812,7 +71828,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *501 examples: default: value: @@ -71847,10 +71863,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *328 + - *329 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +71878,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *500 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +71901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *493 + - *329 + - *328 + - *503 responses: '204': description: Response @@ -71914,9 +71930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *17 - *19 responses: @@ -71934,9 +71950,9 @@ paths: type: integer secrets: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 headers: Link: *58 x-github: @@ -71961,17 +71977,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 responses: '200': description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72009,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 responses: '200': description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: *506 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,9 +72042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 requestBody: required: true @@ -72086,9 +72102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 responses: '204': @@ -72114,10 +72130,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *328 + - *329 + - *493 + - *347 - *19 responses: '200': @@ -72134,9 +72150,9 @@ paths: type: integer variables: type: array - items: *382 + items: *380 examples: - default: *383 + default: *381 headers: Link: *58 x-github: @@ -72159,9 +72175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: true content: @@ -72213,18 +72229,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *148 responses: '200': description: Response content: application/json: - schema: *382 + schema: *380 examples: - default: *507 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72261,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 - - *495 + - *493 requestBody: required: true content: @@ -72290,10 +72306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 - - *495 + - *493 responses: '204': description: Response @@ -72315,8 +72331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -72384,8 +72400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *328 + - *329 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72544,8 +72560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -72577,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -72661,7 +72677,7 @@ paths: schema: oneOf: - *111 - - *508 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *328 + - *329 - name: file_sha in: path required: true @@ -72786,8 +72802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -72896,7 +72912,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73126,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 responses: '200': description: Response content: application/json: - schema: *509 + schema: *507 examples: default: value: @@ -73174,9 +73190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *328 + - *329 + - &508 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. @@ -73193,7 +73209,7 @@ paths: application/json: schema: type: array - items: &511 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73268,17 +73284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 responses: '200': description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: &512 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73337,9 +73353,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 requestBody: required: true content: @@ -73396,9 +73412,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 '422': *15 '409': *47 x-github: @@ -73416,9 +73432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 responses: '204': description: Response @@ -73473,8 +73489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73541,7 +73557,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73608,7 @@ paths: - sha - type - url - verification: *513 + verification: *511 required: - sha - url @@ -73602,7 +73618,7 @@ paths: - tag - message examples: - default: &515 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *328 + - *329 - name: tag_sha in: path required: true @@ -73687,9 +73703,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: - default: *515 + default: *513 '404': *6 '409': *47 x-github: @@ -73713,8 +73729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73787,7 +73803,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +73899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *328 + - *329 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +73923,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default-response: summary: Default response @@ -73966,8 +73982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -73977,7 +73993,7 @@ paths: application/json: schema: type: array - items: &517 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74047,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &745 title: Hook Response type: object properties: @@ -74105,8 +74121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -74158,9 +74174,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: &518 + default: &516 value: type: Repository id: 12345678 @@ -74208,17 +74224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '200': description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: *518 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 requestBody: required: true content: @@ -74285,9 +74301,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: *518 + default: *516 '422': *15 '404': *6 x-github: @@ -74308,9 +74324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74334,9 +74350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '200': description: Response @@ -74363,9 +74379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 requestBody: required: false content: @@ -74409,11 +74425,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -74421,9 +74437,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -74442,18 +74458,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -74472,9 +74488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *16 responses: '202': *39 @@ -74497,9 +74513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74524,9 +74540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74549,8 +74565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response if immutable releases are enabled @@ -74596,8 +74612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '409': *47 @@ -74617,8 +74633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '409': *47 @@ -74675,14 +74691,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &519 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74797,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &520 value: vcs: subversion use_lfs: true @@ -74797,7 +74813,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': &520 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +74842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -74875,7 +74891,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: default: value: @@ -74900,7 +74916,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +74944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -74978,7 +74994,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: example-1: summary: Example 1 @@ -75026,7 +75042,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': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75065,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *328 + - *329 + - &682 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75112,7 @@ paths: application/json: schema: type: array - items: &521 + items: &519 title: Porter Author description: Porter Author type: object @@ -75150,7 +75166,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': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *328 + - *329 - name: author_id in: path required: true @@ -75206,7 +75222,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *519 examples: default: value: @@ -75219,7 +75235,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75285,7 +75301,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -75341,11 +75357,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *522 + default: *520 '422': *15 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75377,8 +75393,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *521 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75407,12 +75423,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &523 value: limit: collaborators_only origin: repository @@ -75437,13 +75453,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *524 + schema: *522 examples: default: summary: Example request body @@ -75455,9 +75471,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *525 + default: *523 '409': description: Response x-github: @@ -75479,8 +75495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -75503,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -75514,9 +75530,9 @@ paths: application/json: schema: type: array - items: *526 + items: *524 examples: - default: &677 + default: &675 value: - id: 1 repository: @@ -75647,9 +75663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *328 + - *329 + - *206 requestBody: required: false content: @@ -75678,7 +75694,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -75809,9 +75825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *328 + - *329 + - *206 responses: '204': description: Response @@ -75842,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *328 + - *329 - 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 @@ -75891,7 +75907,7 @@ paths: required: false schema: type: string - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -75916,7 +75932,7 @@ paths: type: array items: *71 examples: - default: &535 + default: &533 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76064,7 +76080,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *339 + '301': *337 '422': *15 '404': *6 x-github: @@ -76093,8 +76109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -76178,7 +76194,7 @@ paths: application/json: schema: *71 examples: - default: &532 + default: &530 value: id: 1 node_id: MDU6SXNzdWUx @@ -76334,7 +76350,7 @@ paths: '422': *15 '503': *77 '404': *6 - '410': *336 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *96 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76384,9 +76400,9 @@ paths: application/json: schema: type: array - items: *527 + items: *525 examples: - default: &534 + default: &532 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76444,17 +76460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: &528 + default: &526 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -76532,9 +76548,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -76552,8 +76568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -76574,8 +76590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76602,9 +76618,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -76625,8 +76641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -76659,16 +76675,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -76713,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -76724,7 +76740,7 @@ paths: application/json: schema: type: array - items: &531 + items: &529 title: Issue Event description: Issue Event type: object @@ -76767,8 +76783,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *527 + required: *528 nullable: true label: title: Issue Event Label @@ -77075,8 +77091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *328 + - *329 - name: event_id in: path required: true @@ -77087,7 +77103,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: default: value: @@ -77280,7 +77296,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *328 + - *329 + - &531 name: issue_number description: The number that identifies the issue. in: path @@ -77330,10 +77346,10 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '404': *6 - '410': *336 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -77466,13 +77482,13 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 '422': *15 '503': *77 '403': *29 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -77520,7 +77536,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: content: application/json: @@ -77565,7 +77581,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77603,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: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: assignee in: path required: true @@ -77629,9 +77645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *79 - *17 - *19 @@ -77642,13 +77658,13 @@ paths: application/json: schema: type: array - items: *527 + items: *525 examples: - default: *534 + default: *532 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -77701,16 +77717,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -77738,9 +77754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77752,12 +77768,12 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -77811,15 +77827,15 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *337 '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -77850,9 +77866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77866,13 +77882,13 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +77914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77912,12 +77928,12 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +77950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77950,7 +77966,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &535 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78004,7 +78020,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &536 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78140,7 +78156,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &537 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78191,7 +78207,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &538 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78242,7 +78258,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &539 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78296,7 +78312,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &540 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78343,7 +78359,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &541 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78390,7 +78406,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &542 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78450,7 +78466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &543 title: Locked Issue Event description: Locked Issue Event type: object @@ -78498,7 +78514,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &544 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78564,7 +78580,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &545 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78630,7 +78646,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &546 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78696,7 +78712,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &547 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78787,7 +78803,7 @@ paths: color: red headers: Link: *58 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +78820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -78818,7 +78834,7 @@ paths: type: array items: *70 examples: - default: &536 + default: &534 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78836,9 +78852,9 @@ paths: default: false headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +78871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -78918,10 +78934,10 @@ paths: type: array items: *70 examples: - default: *536 - '301': *339 + default: *534 + '301': *337 '404': *6 - '410': *336 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +78954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -79002,10 +79018,10 @@ paths: type: array items: *70 examples: - default: *536 - '301': *339 + default: *534 + '301': *337 '404': *6 - '410': *336 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79038,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '204': description: Response - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: name in: path required: true @@ -79075,9 +79091,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -79127,7 +79143,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *334 '404': *6 '422': *15 x-github: @@ -79145,9 +79161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '204': description: Response @@ -79177,9 +79193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '200': description: Response @@ -79187,10 +79203,10 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - 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. @@ -79235,13 +79251,13 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79293,16 +79309,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *328 + - *329 + - *531 + - *324 responses: '204': description: Response @@ -79356,9 +79372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79382,7 +79398,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -79429,11 +79445,11 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79492,14 +79508,14 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -79519,9 +79535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79554,7 +79570,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 '403': *29 '404': *6 '422': *7 @@ -79576,9 +79592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -79593,6 +79609,8 @@ paths: description: Timeline Event type: object anyOf: + - *535 + - *536 - *537 - *538 - *539 @@ -79604,8 +79622,6 @@ paths: - *545 - *546 - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79914,7 +79930,7 @@ paths: type: string comments: type: array - items: &569 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80123,7 +80139,7 @@ paths: type: string comments: type: array - items: *461 + items: *459 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80412,7 +80428,7 @@ paths: headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -80440,7 +80456,7 @@ paths: application/json: schema: type: array - items: &550 + items: &548 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80506,8 +80522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -80543,9 +80559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &551 + default: &549 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *328 + - *329 + - &550 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80609,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *551 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *328 + - *329 + - *550 responses: '204': description: Response @@ -80635,8 +80651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -80648,7 +80664,7 @@ paths: type: array items: *70 examples: - default: *536 + default: *534 headers: Link: *58 '404': *6 @@ -80669,8 +80685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -80708,7 +80724,7 @@ paths: application/json: schema: *70 examples: - default: &553 + default: &551 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80754,7 +80770,7 @@ paths: application/json: schema: *70 examples: - default: *553 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80837,8 +80853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80864,8 +80880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -80904,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *328 + - *329 + - *435 responses: '200': description: Response @@ -81051,8 +81067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81117,8 +81133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81152,9 +81168,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *460 examples: - default: *554 + default: *552 '204': description: Response when already merged '404': @@ -81179,8 +81195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81237,12 @@ paths: application/json: schema: type: array - items: &555 + items: &553 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 examples: default: value: @@ -81282,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81323,9 +81339,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: &556 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *328 + - *329 + - &555 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81414,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: *556 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 requestBody: required: false content: @@ -81457,9 +81473,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: *556 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 responses: '204': description: Response @@ -81498,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 - *17 - *19 responses: @@ -81512,7 +81528,7 @@ paths: type: array items: *70 examples: - default: *536 + default: *534 headers: Link: *58 x-github: @@ -81531,12 +81547,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 + - *328 + - *329 + - *556 + - *557 - *79 - - *560 + - *558 - *17 - *19 responses: @@ -81548,7 +81564,7 @@ paths: type: array items: *99 examples: - default: *561 + default: *559 headers: Link: *58 x-github: @@ -81572,8 +81588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -81631,14 +81647,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &562 + schema: &560 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81779,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +81820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81859,9 +81875,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '422': *15 '409': *47 x-github: @@ -81884,8 +81900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81984,8 +82000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -82011,8 +82027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -82022,7 +82038,7 @@ paths: application/json: schema: type: array - items: &564 + items: &562 title: Page Build description: Page Build type: object @@ -82116,8 +82132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -82162,16 +82178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *564 + schema: *562 examples: - default: &565 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *328 + - *329 - name: build_id in: path required: true @@ -82231,9 +82247,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: - default: *565 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82359,9 +82375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *328 + - *329 + - &564 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,9 +82435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *328 + - *329 + - *564 responses: '204': *163 '404': *6 @@ -82448,8 +82464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -82707,8 +82723,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Private vulnerability reporting status @@ -82745,8 +82761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '422': *14 @@ -82767,8 +82783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '422': *14 @@ -82791,8 +82807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +82829,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -82853,7 +82869,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +82892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82903,13 +82919,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +82948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -82941,7 +82957,7 @@ paths: application/json: schema: type: array - items: *262 + items: *260 examples: default: value: @@ -82972,8 +82988,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82985,7 +83001,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - properties examples: @@ -83035,8 +83051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,9 +83112,9 @@ paths: application/json: schema: type: array - items: *466 + items: *464 examples: - default: *567 + default: *565 headers: Link: *58 '304': *37 @@ -83130,8 +83146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -83196,7 +83212,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83323,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -83353,7 +83369,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *306 nullable: true head: type: object @@ -83392,14 +83408,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -83410,7 +83426,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *568 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83518,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: sort in: query required: false @@ -84059,9 +84075,9 @@ paths: application/json: schema: type: array - items: *569 + items: *567 examples: - default: &574 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84138,17 +84154,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,8 +84239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -84247,9 +84263,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,8 +84281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -84288,8 +84304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84316,9 +84332,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -84339,8 +84355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -84373,16 +84389,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84420,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -84450,9 +84466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *328 + - *329 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84481,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '304': *37 '404': *6 '406': @@ -84502,9 +84518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -84546,9 +84562,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '422': *15 '403': *29 x-github: @@ -84570,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -84632,17 +84648,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -84672,9 +84688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *96 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84695,9 +84711,9 @@ paths: application/json: schema: type: array - items: *569 + items: *567 examples: - default: *574 + default: *572 headers: Link: *58 x-github: @@ -84730,9 +84746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -84837,7 +84853,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84925,9 +84941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *88 requestBody: required: true @@ -84950,7 +84966,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: default: value: @@ -85036,9 +85052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -85048,9 +85064,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *575 + default: *573 headers: Link: *58 x-github: @@ -85080,9 +85096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -85092,7 +85108,7 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: default: value: @@ -85130,9 +85146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -85268,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 responses: '200': description: Response @@ -85345,9 +85361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -85384,7 +85400,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -85920,9 +85936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -85956,7 +85972,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -86461,9 +86477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -86473,7 +86489,7 @@ paths: application/json: schema: type: array - items: &576 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86624,9 +86640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -86712,9 +86728,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: &578 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86793,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *328 + - *329 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86808,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: &579 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +86869,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -86879,7 +86895,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: default: value: @@ -86941,18 +86957,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *578 + default: *576 '422': *7 '404': *6 x-github: @@ -86979,10 +86995,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 - *17 - *19 responses: @@ -87065,9 +87081,9 @@ paths: _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -87217,10 +87233,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -87248,7 +87264,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: default: value: @@ -87311,10 +87327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -87349,9 +87365,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *579 + default: *577 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -87438,8 +87454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *328 + - *329 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87468,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &581 + default: &579 value: type: file encoding: base64 @@ -87496,8 +87512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *328 + - *329 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87533,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *581 + default: *579 '404': *6 '422': *15 x-github: @@ -87541,8 +87557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -87552,7 +87568,7 @@ paths: application/json: schema: type: array - items: *582 + items: *580 examples: default: value: @@ -87646,8 +87662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -87723,9 +87739,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: &586 + 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 @@ -87830,9 +87846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *328 + - *329 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +87860,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *581 examples: - default: &585 + 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 @@ -87881,7 +87897,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +87913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *328 + - *329 + - *582 requestBody: required: false content: @@ -87927,9 +87943,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *581 examples: - default: *585 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +87961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *328 + - *329 + - *582 responses: '204': description: Response @@ -87971,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -88057,16 +88073,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *328 + - *329 - name: tag description: tag parameter in: path @@ -88097,9 +88113,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *328 + - *329 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88153,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: *582 + schema: *580 examples: - default: *586 + default: *584 '401': description: Unauthorized x-github: @@ -88157,9 +88173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 requestBody: required: false content: @@ -88223,9 +88239,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 responses: '204': description: Response @@ -88268,9 +88284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 - *17 - *19 responses: @@ -88280,7 +88296,7 @@ paths: application/json: schema: type: array - items: *583 + items: *581 examples: default: value: @@ -88361,9 +88377,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: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 - name: name in: query required: true @@ -88389,7 +88405,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *581 examples: response-for-successful-upload: value: @@ -88444,9 +88460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *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. @@ -88470,9 +88486,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -88493,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 requestBody: required: true content: @@ -88525,16 +88541,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *328 + - *329 + - *585 + - *324 responses: '204': description: Response @@ -88583,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 - *17 - *19 responses: @@ -88601,8 +88617,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *269 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +88637,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *586 + - allOf: + - *271 + - *586 - allOf: - *272 - - *588 + - *586 + - allOf: + - *587 + - *586 - allOf: - *273 - - *588 + - *586 - allOf: - *274 - - *588 - - allOf: - - *589 - - *588 + - *586 - allOf: - *275 - - *588 + - *586 - allOf: - *276 - - *588 + - *586 - allOf: - *277 - - *588 + - *586 - allOf: - *278 - - *588 + - *586 - allOf: - *279 - - *588 + - *586 - allOf: - *280 - - *588 + - *586 - allOf: - *281 - - *588 + - *586 - allOf: - *282 - - *588 + - *586 - allOf: - *283 - - *588 + - *586 - allOf: - *284 - - *588 + - *586 - allOf: - *285 - - *588 + - *586 - allOf: - *286 - - *588 + - *586 - allOf: - *287 - - *588 + - *586 - allOf: - *288 - - *588 - - allOf: - - *289 - - *588 + - *586 - allOf: - - *290 - - *588 - - allOf: - - *590 - *588 + - *586 examples: default: value: @@ -88722,8 +88738,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - name: includes_parents @@ -88734,7 +88750,7 @@ paths: schema: type: boolean default: true - - *591 + - *589 responses: '200': description: Response @@ -88742,7 +88758,7 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: default: value: @@ -88789,8 +88805,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 requestBody: description: Request body required: true @@ -88810,16 +88826,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *590 required: - name - enforcement @@ -88850,9 +88866,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &602 + default: &600 value: id: 42 name: super cool ruleset @@ -88899,12 +88915,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 + - *328 + - *329 + - *591 + - *592 - *593 - *594 - - *595 - - *596 - *17 - *19 responses: @@ -88912,9 +88928,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *598 + default: *596 '404': *6 '500': *106 x-github: @@ -88935,17 +88951,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *328 + - *329 + - *597 responses: '200': description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 '404': *6 '500': *106 x-github: @@ -88973,8 +88989,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,9 +89010,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *600 '404': *6 '500': *106 put: @@ -89014,8 +89030,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89056,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *590 examples: default: value: @@ -89077,9 +89093,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *600 '404': *6 '500': *106 delete: @@ -89097,8 +89113,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89121,8 +89137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - name: ruleset_id @@ -89138,9 +89154,9 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *603 + default: *601 '404': *6 '500': *106 x-github: @@ -89159,8 +89175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89194,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *602 examples: default: value: @@ -89233,21 +89249,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 + - *293 + - *294 - *295 - *296 - - *297 - - *298 - *48 - *19 - *17 - - *605 - - *606 + - *603 + - *604 + - *297 + - *298 - *299 - *300 - - *301 - - *302 responses: '200': description: Response @@ -89255,7 +89271,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 type: object properties: number: *54 @@ -89274,8 +89290,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolved_at: type: string format: date-time @@ -89371,7 +89387,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *607 nullable: true has_more_locations: type: boolean @@ -89520,16 +89536,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *328 + - *329 + - *429 + - *300 responses: '200': description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89581,9 +89597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: true content: @@ -89591,8 +89607,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89626,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89685,9 +89701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 - *19 - *17 responses: @@ -89698,7 +89714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &767 type: object properties: type: @@ -89724,6 +89740,8 @@ paths: example: commit details: oneOf: + - *609 + - *610 - *611 - *612 - *613 @@ -89735,8 +89753,6 @@ paths: - *619 - *620 - *621 - - *622 - - *623 examples: default: value: @@ -89822,8 +89838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -89831,14 +89847,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &623 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *622 required: - reason - placeholder_id @@ -89855,7 +89871,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *623 expire_at: type: string format: date-time @@ -89898,8 +89914,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: - - *330 - - *331 + - *328 + - *329 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89914,7 +89930,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &624 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +89956,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *624 backfill_scans: type: array - items: *626 + items: *624 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *624 - type: object properties: pattern_name: @@ -90018,8 +90034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *328 + - *329 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90079,9 @@ paths: application/json: schema: type: array - items: *627 + items: *625 examples: - default: *628 + default: *626 '400': *14 '404': *6 x-github: @@ -90088,8 +90104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -90162,7 +90178,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 required: - login - type @@ -90249,9 +90265,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: &630 + default: &628 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -90589,7 +90605,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: default: value: @@ -90736,17 +90752,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '200': description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 + default: *628 '403': *29 '404': *6 x-github: @@ -90770,9 +90786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 requestBody: required: true content: @@ -90845,7 +90861,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 required: - login - type @@ -90931,10 +90947,10 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 - add_credit: *630 + default: *628 + add_credit: *628 '403': *29 '404': *6 '422': @@ -90972,9 +90988,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: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '202': *39 '400': *14 @@ -91001,17 +91017,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '202': description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91137,8 +91153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91163,7 @@ paths: application/json: schema: type: array - items: &631 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,8 +91196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91257,8 +91273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91354,8 +91370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91536,7 @@ paths: application/json: schema: type: array - items: *631 + items: *629 examples: default: value: @@ -91553,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *328 + - *329 - name: sha in: path required: true @@ -91608,7 +91624,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -91662,8 +91678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91695,14 +91711,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -91797,7 +91813,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -91824,8 +91840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -91845,8 +91861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91925,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91934,7 +91950,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 title: Tag protection description: Tag protection type: object @@ -91986,8 +92002,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92010,7 +92026,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -92041,8 +92057,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: - - *330 - - *331 + - *328 + - *329 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92095,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *328 + - *329 - name: ref in: path required: true @@ -92116,8 +92132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -92129,7 +92145,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: Link: *58 '404': *6 @@ -92149,8 +92165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 responses: @@ -92158,7 +92174,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92186,7 @@ paths: required: - names examples: - default: &636 + default: &634 value: names: - octocat @@ -92193,8 +92209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92225,9 +92241,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '422': *7 x-github: @@ -92248,9 +92264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *328 + - *329 + - &635 name: per description: The time frame to display results for. in: query @@ -92279,7 +92295,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &636 title: Traffic type: object properties: @@ -92366,8 +92382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -92457,8 +92473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -92518,9 +92534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *328 + - *329 + - *635 responses: '200': description: Response @@ -92539,7 +92555,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *636 required: - uniques - count @@ -92616,8 +92632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92891,8 +92907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +92931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -92938,8 +92954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -92965,8 +92981,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *328 + - *329 - name: ref in: path required: true @@ -93058,9 +93074,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93308,7 +93324,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &637 title: Search Result Text Matches type: array items: @@ -93470,7 +93486,7 @@ paths: enum: - author-date - committer-date - - &640 + - &638 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 @@ -93541,7 +93557,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true comment_count: type: integer @@ -93561,7 +93577,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *511 required: - author - committer @@ -93580,7 +93596,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true parents: type: array @@ -93598,7 +93614,7 @@ paths: type: number node_id: type: string - text_matches: *639 + text_matches: *637 required: - sha - node_id @@ -93790,7 +93806,7 @@ paths: - interactions - created - updated - - *640 + - *638 - *17 - *19 - name: advanced_search @@ -93887,11 +93903,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: type: string state_reason: @@ -93908,8 +93924,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -93923,7 +93939,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *637 pull_request: type: object properties: @@ -93967,7 +93983,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -94148,7 +94164,7 @@ paths: enum: - created - updated - - *640 + - *638 - *17 - *19 responses: @@ -94192,7 +94208,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *637 required: - id - node_id @@ -94277,7 +94293,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *638 - *17 - *19 responses: @@ -94516,7 +94532,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *637 temp_clone_token: type: string allow_merge_commit: @@ -94816,7 +94832,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *637 related: type: array nullable: true @@ -95007,7 +95023,7 @@ paths: - followers - repositories - joined - - *640 + - *638 - *17 - *19 responses: @@ -95111,7 +95127,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *637 blog: type: string nullable: true @@ -95190,7 +95206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &642 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95218,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95294,16 +95310,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '201': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *642 responses: '204': description: Response @@ -95362,7 +95378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *642 - *48 - *17 - *19 @@ -95373,9 +95389,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *645 + default: *643 headers: Link: *58 x-github: @@ -95404,7 +95420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95438,9 +95454,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 responses: '200': description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: false content: @@ -95525,9 +95541,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 responses: '204': description: Response @@ -95582,8 +95598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *642 + - *317 - *48 - *17 - *19 @@ -95594,9 +95610,9 @@ paths: application/json: schema: type: array - items: *320 + items: *318 examples: - default: *647 + default: *645 headers: Link: *58 x-github: @@ -95625,8 +95641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: true content: @@ -95648,9 +95664,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95693,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 requestBody: required: true content: @@ -95736,9 +95752,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *648 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 responses: '204': description: Response @@ -95794,9 +95810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 - 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. @@ -95822,9 +95838,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -95853,9 +95869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 requestBody: required: true content: @@ -95887,9 +95903,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +95931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *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. @@ -95942,9 +95958,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -95973,8 +95989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: true content: @@ -96006,9 +96022,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96042,9 +96058,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 x-github: @@ -96070,7 +96086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *642 - name: role description: Filters members returned by their role in the team. in: query @@ -96121,7 +96137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96158,7 +96174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96198,7 +96214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96235,16 +96251,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 responses: '200': description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *647 '404': *6 x-github: githubCloudOnly: false @@ -96277,7 +96293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 requestBody: required: false @@ -96303,9 +96319,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *648 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,7 +96355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96368,7 +96384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96378,9 +96394,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *651 + default: *649 headers: Link: *58 '404': *6 @@ -96406,16 +96422,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *642 + - *327 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *652 + default: *650 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *642 + - *327 requestBody: required: false content: @@ -96507,8 +96523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *642 + - *327 responses: '204': description: Response @@ -96535,7 +96551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96547,7 +96563,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '404': *6 @@ -96577,15 +96593,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *651 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 requestBody: required: false content: @@ -96788,9 +96804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 responses: '204': description: Response @@ -96815,7 +96831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96827,7 +96843,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *652 headers: Link: *58 '404': *6 @@ -96860,7 +96876,7 @@ paths: application/json: schema: oneOf: - - &656 + - &654 title: Private User description: Private User type: object @@ -97063,7 +97079,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *653 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97232,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -97419,9 +97435,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 '500': *106 '401': *25 @@ -97560,17 +97576,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -97614,7 +97630,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &655 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,7 +97670,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *452 headers: Link: *58 x-github: @@ -97730,7 +97746,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -97876,7 +97892,7 @@ paths: type: array items: *137 examples: - default: *658 + default: *656 '401': *25 '403': *29 '404': *6 @@ -98020,15 +98036,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '304': *37 '500': *106 '401': *25 @@ -98054,7 +98070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 requestBody: required: false content: @@ -98084,9 +98100,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -98108,7 +98124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': *39 '304': *37 @@ -98137,13 +98153,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': description: Response content: application/json: - schema: &659 + schema: &657 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98200,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &658 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98216,7 +98232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *214 - name: export_id in: path required: true @@ -98229,9 +98245,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *214 responses: '200': description: Response @@ -98268,9 +98284,9 @@ paths: type: integer machines: type: array - items: *661 + items: *659 examples: - default: *662 + default: *660 '304': *37 '500': *106 '401': *25 @@ -98299,7 +98315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *214 requestBody: required: true content: @@ -98349,13 +98365,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *450 + required: *451 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,15 +99145,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '304': *37 '500': *106 '400': *14 @@ -99169,15 +99185,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '500': *106 '401': *25 '403': *29 @@ -99207,9 +99223,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: &674 + default: &672 value: - id: 197 name: hello_docker @@ -99310,7 +99326,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Email description: Email type: object @@ -99375,9 +99391,9 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: &676 + default: &674 value: - email: octocat@github.com verified: true @@ -99452,7 +99468,7 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: default: value: @@ -99708,7 +99724,7 @@ paths: application/json: schema: type: array - items: &664 + items: &662 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +99855,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &688 value: - id: 3 name: Octocat's GPG Key @@ -99924,9 +99940,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: &665 + default: &663 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +99999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &664 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100011,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: *665 + default: *663 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *664 responses: '204': description: Response @@ -100296,12 +100312,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100341,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *522 examples: default: value: @@ -100336,7 +100352,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: default: value: @@ -100417,7 +100433,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -100442,7 +100458,7 @@ paths: type: array items: *71 examples: - default: *213 + default: *211 headers: Link: *58 '404': *6 @@ -100475,7 +100491,7 @@ paths: application/json: schema: type: array - items: &667 + items: &665 title: Key description: Key type: object @@ -100576,9 +100592,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: &668 + default: &666 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *550 responses: '200': description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: *668 + default: *666 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *550 responses: '204': description: Response @@ -100675,7 +100691,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100743,7 +100759,7 @@ paths: - account - plan examples: - default: &670 + default: &668 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100805,9 +100821,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *670 + default: *668 headers: Link: *58 '304': *37 @@ -100847,7 +100863,7 @@ paths: application/json: schema: type: array - items: *219 + items: *217 examples: default: value: @@ -100955,7 +100971,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101038,7 +101054,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101106,7 +101122,7 @@ paths: application/json: schema: type: array - items: *221 + items: *219 examples: default: value: @@ -101359,7 +101375,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101539,7 +101555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *220 - name: exclude in: query required: false @@ -101552,7 +101568,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101746,7 +101762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *220 responses: '302': description: Response @@ -101772,7 +101788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *220 responses: '204': description: Response @@ -101801,8 +101817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *220 + - *669 responses: '204': description: Response @@ -101826,7 +101842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *220 - *17 - *19 responses: @@ -101838,7 +101854,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '404': *6 @@ -101873,9 +101889,9 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *670 headers: Link: *58 '304': *37 @@ -101917,7 +101933,7 @@ paths: - docker - nuget - container - - *673 + - *671 - *19 - *17 responses: @@ -101927,10 +101943,10 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 - '400': *675 + default: *672 + '400': *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +101966,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: &691 + default: &689 value: id: 40201 name: octo-name @@ -102072,8 +102088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '204': description: Response @@ -102103,8 +102119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - name: token description: package token schema: @@ -102136,8 +102152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - *19 - *17 - name: state @@ -102157,7 +102173,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -102206,15 +102222,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -102250,9 +102266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102282,9 +102298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102340,7 +102356,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -102412,9 +102428,9 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: *676 + default: *674 headers: Link: *58 '304': *37 @@ -102527,7 +102543,7 @@ paths: type: array items: *67 examples: - default: &683 + default: &681 summary: Default response value: - id: 1296269 @@ -102831,9 +102847,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,9 +102887,9 @@ paths: application/json: schema: type: array - items: *526 + items: *524 examples: - default: *677 + default: *675 headers: Link: *58 '304': *37 @@ -102896,7 +102912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102919,7 +102935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102952,7 +102968,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 title: Social account description: Social media account type: object @@ -102967,7 +102983,7 @@ paths: - provider - url examples: - default: &679 + default: &677 value: - provider: twitter url: https://twitter.com/github @@ -103029,9 +103045,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103134,7 @@ paths: application/json: schema: type: array - items: &680 + items: &678 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103154,7 @@ paths: - title - created_at examples: - default: &705 + default: &703 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103204,9 +103220,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: &681 + default: &679 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103253,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: - - &682 + - &680 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103265,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103290,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: - - *682 + - *680 responses: '204': description: Response @@ -103303,7 +103319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &704 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -103328,11 +103344,11 @@ paths: type: array items: *67 examples: - default-response: *683 + default-response: *681 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &705 title: Starred Repository description: Starred Repository type: object @@ -103488,8 +103504,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: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -103542,8 +103558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -103578,7 +103594,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '304': *37 @@ -103615,7 +103631,7 @@ paths: application/json: schema: type: array - items: *315 + items: *313 examples: default: value: @@ -103701,10 +103717,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: &685 + default-response: &683 summary: Default response value: login: octocat @@ -103739,7 +103755,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &684 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +103815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *682 - *17 responses: '200': @@ -103848,11 +103864,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *683 + response-with-git-hub-plan-information: *684 '404': *6 x-github: githubCloudOnly: false @@ -103901,8 +103917,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *685 + withPredicateType: *686 responses: '200': description: Response @@ -103955,7 +103971,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104159,7 +104175,7 @@ paths: initiator: type: string examples: - default: *394 + default: *392 '201': description: Response content: @@ -104198,9 +104214,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *672 '403': *29 '401': *25 x-github: @@ -104584,9 +104600,9 @@ paths: application/json: schema: type: array - items: *664 + items: *662 examples: - default: *690 + default: *688 headers: Link: *58 x-github: @@ -104690,7 +104706,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104773,9 +104789,9 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *670 headers: Link: *58 x-github: @@ -104814,7 +104830,7 @@ paths: - docker - nuget - container - - *673 + - *671 - *63 - *19 - *17 @@ -104825,12 +104841,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *672 '403': *29 '401': *25 - '400': *675 + '400': *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +104866,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: *691 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,8 +104897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '204': @@ -104915,8 +104931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - name: token description: package token @@ -104949,8 +104965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '200': @@ -104959,7 +104975,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -105017,16 +105033,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 - *63 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -105061,10 +105077,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - - *233 + - *231 responses: '204': description: Response @@ -105096,10 +105112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - - *233 + - *231 responses: '204': description: Response @@ -105146,7 +105162,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -105221,9 +105237,9 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -105245,16 +105261,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -105276,7 +105292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 + - *245 - *63 - *17 - *40 @@ -105288,9 +105304,9 @@ paths: application/json: schema: type: array - items: *248 + items: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -105312,17 +105328,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 + - *245 + - *690 - *63 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -105345,7 +105361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 + - *245 - *63 - *40 - *41 @@ -105358,8 +105374,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -105367,7 +105385,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -105375,9 +105392,9 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -105399,7 +105416,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *247 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105453,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - issue: *254 - pull_request: *254 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -105459,9 +105476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 + - *245 - *63 - - *257 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105478,9 +105495,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -105501,9 +105518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 + - *245 - *63 - - *257 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +105590,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -105599,9 +105616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 + - *245 - *63 - - *257 + - *255 responses: '204': description: Response @@ -105821,7 +105838,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -105851,9 +105868,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *692 examples: - default: *695 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105881,9 +105898,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *694 examples: - default: *697 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +105909,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -105902,10 +105922,10 @@ paths: parameters: - *63 - *107 - - *698 + - *696 - *108 - - *699 - - *700 + - *697 + - *698 responses: '200': description: Response when getting a billing premium request usage report @@ -106041,9 +106061,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *699 examples: - default: *702 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106065,9 +106085,9 @@ paths: parameters: - *63 - *107 - - *703 + - *701 - *108 - - *704 + - *702 responses: '200': description: Response when getting a billing usage report @@ -106166,9 +106186,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 headers: Link: *58 x-github: @@ -106198,9 +106218,9 @@ paths: application/json: schema: type: array - items: *680 + items: *678 examples: - default: *705 + default: *703 headers: Link: *58 x-github: @@ -106225,7 +106245,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *706 + - *704 - *48 - *17 - *19 @@ -106237,11 +106257,11 @@ paths: schema: anyOf: - type: array - items: *707 + items: *705 - type: array items: *67 examples: - default-response: *683 + default-response: *681 headers: Link: *58 x-github: @@ -106272,7 +106292,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -106400,7 +106420,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &706 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106478,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &707 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106497,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &708 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106557,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &709 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &739 id: description: Unique identifier of the repository example: 42 @@ -107226,7 +107246,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &740 - archive_url - assignees_url - blobs_url @@ -107377,10 +107397,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -107456,11 +107476,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: &710 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107683,11 +107703,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -107870,11 +107890,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -107958,7 +107978,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &712 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108049,7 +108069,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *711 details_url: example: https://example.com type: string @@ -108134,10 +108154,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108530,11 +108550,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108930,11 +108950,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109359,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -110320,10 +110340,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -110993,10 +111013,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111660,10 +111680,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111829,7 +111849,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +111994,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &713 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *706 + installation: *707 + organization: *708 + ref: &714 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -112152,7 +112172,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112402,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -112482,7 +112502,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +112673,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -112824,7 +112844,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113010,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -113095,7 +113115,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113283,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *709 sender: *4 required: - action @@ -113369,7 +113389,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +113529,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -113771,10 +113791,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -113854,18 +113874,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *708 + pusher_type: &715 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &716 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +113895,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *709 sender: *4 required: - ref @@ -113957,10 +113977,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114045,9 +114065,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114124,10 +114144,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114204,10 +114224,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114284,19 +114304,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *706 + installation: *707 + repository: *709 + organization: *708 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *260 required: - action - repository @@ -114372,18 +114392,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *706 + installation: *707 + organization: *708 + pusher_type: *715 + ref: *716 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *709 sender: *4 required: - ref @@ -114467,11 +114487,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114555,11 +114575,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114643,11 +114663,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114729,11 +114749,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114815,11 +114835,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114902,11 +114922,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114988,11 +115008,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -115069,9 +115089,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *706 + installation: *707 + key: &717 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115127,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -115185,11 +115205,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + key: *717 + organization: *708 + repository: *709 sender: *4 required: - action @@ -115750,12 +115770,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: &723 + workflow: &721 title: Workflow type: object nullable: true @@ -116481,13 +116501,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *486 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *569 + repository: *709 + organization: *708 + installation: *707 sender: *4 responses: '200': @@ -116558,7 +116578,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &718 type: object properties: avatar_url: @@ -116601,11 +116621,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: &719 type: array items: type: object @@ -116684,7 +116704,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &720 type: object properties: conclusion: @@ -117415,18 +117435,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *718 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: *719 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *720 workflow_job_runs: type: array items: @@ -118130,13 +118150,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *706 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *707 + organization: *708 + repository: *709 + requestor: &726 title: User type: object nullable: true @@ -120035,12 +120055,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120740,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &724 type: object properties: author_association: @@ -120877,11 +120897,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121008,11 +121028,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121095,11 +121115,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121181,7 +121201,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &723 type: object properties: author_association: @@ -121338,11 +121358,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121425,12 +121445,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121525,12 +121545,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121614,11 +121634,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121700,11 +121720,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121804,11 +121824,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121890,10 +121910,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *722 + enterprise: *706 + installation: *707 + label: &725 title: Label type: object properties: @@ -121925,8 +121945,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122009,11 +122029,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122095,11 +122115,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122181,11 +122201,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122270,16 +122290,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *722 + new_repository: *709 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122362,10 +122382,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *722 + old_answer: *724 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122447,12 +122467,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122535,11 +122555,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122621,11 +122641,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122698,7 +122718,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *706 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123378,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - forkee @@ -123506,9 +123526,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pages: description: The pages that were updated. type: array @@ -123545,7 +123565,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *709 sender: *4 required: - pages @@ -123621,10 +123641,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: &729 + organization: *708 + repositories: &727 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123670,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *709 + requester: *726 sender: *4 required: - action @@ -123726,11 +123746,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -123806,11 +123826,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -123886,10 +123906,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories_added: &730 + organization: *708 + repositories_added: &728 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +123955,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *709 + repository_selection: &729 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *726 sender: *4 required: - action @@ -124022,10 +124042,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories_added: *730 + organization: *708 + repositories_added: *728 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124072,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *709 + repository_selection: *729 + requester: *726 sender: *4 required: - action @@ -124133,11 +124153,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -124315,10 +124335,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 target_type: type: string @@ -124397,11 +124417,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -124653,8 +124673,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125468,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125485,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -125798,8 +125818,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -125879,7 +125899,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &730 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126064,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +126855,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +126872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -127187,8 +127207,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -127268,7 +127288,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &759 description: The changes to the comment. type: object properties: @@ -127280,9 +127300,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *730 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128095,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128112,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -128425,8 +128445,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128516,9 +128536,9 @@ x-webhooks: type: number blocking_issue: *71 blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128612,9 +128632,9 @@ x-webhooks: type: number blocking_issue: *71 blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128707,9 +128727,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128803,9 +128823,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128890,10 +128910,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *726 + enterprise: *706 + installation: *707 + issue: &733 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129702,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129722,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -129803,8 +129823,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -129884,8 +129904,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130699,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130719,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -130935,8 +130955,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -131015,8 +131035,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +131821,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +131841,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -131921,8 +131941,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -132001,8 +132021,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +132829,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +132849,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -132908,7 +132928,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &731 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133066,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -133146,8 +133166,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +133956,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +133973,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -134057,9 +134077,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -134139,8 +134159,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +134948,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +134965,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -135049,9 +135069,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -135131,8 +135151,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +135964,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +135981,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -136042,8 +136062,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -136122,8 +136142,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +136949,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +136969,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -137027,9 +137047,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -137897,11 +137917,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138014,7 @@ x-webhooks: required: - login - id - type: *209 + type: *207 required: - id - number @@ -138463,8 +138483,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139273,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139293,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -139373,8 +139393,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -139454,9 +139474,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *706 + installation: *707 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140259,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140279,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -140359,8 +140379,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140439,8 +140459,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141270,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141368,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142216,11 +142236,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142256,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -142804,11 +142824,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142888,12 +142908,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142974,7 +142994,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &762 title: User type: object nullable: true @@ -143044,11 +143064,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143127,12 +143147,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143212,8 +143232,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144043,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144063,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -144121,8 +144141,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144202,11 +144222,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144285,12 +144305,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144370,11 +144390,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144452,11 +144472,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144566,11 +144586,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144652,9 +144672,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *706 + installation: *707 + marketplace_purchase: &734 title: Marketplace Purchase type: object required: @@ -144737,8 +144757,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *708 + previous_marketplace_purchase: &735 title: Marketplace Purchase type: object properties: @@ -144818,7 +144838,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -144898,10 +144918,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145004,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -145066,10 +145086,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145171,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -145232,8 +145252,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145335,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -145397,12 +145417,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -145504,11 +145524,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145608,11 +145628,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145691,11 +145711,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145773,11 +145793,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +145873,7 @@ x-webhooks: required: - login - id - team: &738 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146096,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146177,7 @@ x-webhooks: required: - login - id - team: *738 + team: *736 required: - action - scope @@ -146239,8 +146259,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *707 + merge_group: &738 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146279,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *737 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146353,10 +146373,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *707 + merge_group: *738 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146429,7 +146449,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *706 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146558,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *707 + organization: *708 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -146628,11 +146648,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146711,9 +146731,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *706 + installation: *707 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +146870,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146930,11 +146950,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147044,11 +147064,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147128,11 +147148,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *741 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147211,11 +147231,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147294,11 +147314,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147377,9 +147397,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *706 + installation: *707 + membership: &742 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147506,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147565,11 +147585,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147648,8 +147668,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147785,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 - user: *728 + user: *726 required: - action - invitation @@ -147846,11 +147866,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147937,11 +147957,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -148017,9 +148037,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -148518,7 +148538,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &743 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148633,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -148689,9 +148709,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -149044,7 +149064,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *743 source_url: type: string format: uri @@ -149114,7 +149134,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -149291,12 +149311,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *706 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - id @@ -149373,7 +149393,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &744 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149539,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149599,11 +149619,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149679,11 +149699,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149758,11 +149778,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *744 + organization: *708 + enterprise: *706 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149867,7 +149887,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *745 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +149919,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150165,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *706 + installation: *707 + organization: *708 + project_card: &746 title: Project Card type: object properties: @@ -150267,7 +150287,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -150348,11 +150368,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -150432,9 +150452,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 project_card: title: Project Card type: object @@ -150562,8 +150582,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -150657,11 +150677,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -150755,9 +150775,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 project_card: allOf: - title: Project Card @@ -150947,7 +150967,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *709 sender: *4 required: - action @@ -151027,10 +151047,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *706 + installation: *707 + organization: *708 + project: &748 title: Project type: object properties: @@ -151154,7 +151174,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -151234,10 +151254,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *706 + installation: *707 + organization: *708 + project_column: &747 title: Project Column type: object properties: @@ -151276,7 +151296,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -151355,18 +151375,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -151456,11 +151476,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -151540,11 +151560,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -151624,11 +151644,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151708,18 +151728,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -151821,11 +151841,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151904,11 +151924,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151989,9 +152009,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152072,9 +152092,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152155,9 +152175,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152274,9 +152294,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152359,7 +152379,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &752 type: object properties: archived_at: @@ -152373,9 +152393,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *707 + organization: *708 + projects_v2_item: &749 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152413,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -152510,9 +152530,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152594,9 +152614,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152677,9 +152697,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152785,7 +152805,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &750 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +152827,7 @@ x-webhooks: required: - id - name - - &753 + - &751 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +152861,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *750 + - *751 required: - field_value - type: object @@ -152858,9 +152878,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152955,9 +152975,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -153040,10 +153060,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *752 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -153125,9 +153145,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -153208,14 +153228,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *707 + organization: *708 + projects_v2_status_update: &755 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *753 + required: *754 sender: *4 required: - action @@ -153296,9 +153316,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -153434,9 +153454,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -153507,10 +153527,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - repository @@ -153587,13 +153607,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *726 + enterprise: *706 + installation: *707 + number: &756 description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -155876,7 +155896,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -155958,11 +155978,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -158240,7 +158260,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -158322,11 +158342,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -160604,7 +160624,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -160686,13 +160706,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: &757 allOf: - - *571 + - *569 - type: object properties: allow_auto_merge: @@ -160754,7 +160774,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *709 sender: *4 required: - action @@ -160835,12 +160855,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -160920,11 +160940,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *706 + milestone: *553 + number: *756 + organization: *708 + pull_request: &758 title: Pull Request type: object properties: @@ -163187,7 +163207,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -163266,11 +163286,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -165552,7 +165572,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *709 sender: *4 required: - action @@ -165676,12 +165696,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -165761,11 +165781,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -168032,7 +168052,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -168112,11 +168132,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -170398,7 +170418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -170479,10 +170499,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -172762,7 +172782,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -172842,12 +172862,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *706 + milestone: *553 + number: *756 + organization: *708 + pull_request: *758 + repository: *709 sender: *4 required: - action @@ -172926,12 +172946,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173012,12 +173032,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173097,12 +173117,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173468,9 +173488,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -175640,7 +175660,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -175720,7 +175740,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &760 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +176025,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -178165,7 +178185,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -178245,11 +178265,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *759 + comment: *760 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -180410,7 +180430,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -180491,9 +180511,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182686,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 review: description: The review that was affected. type: object @@ -182913,9 +182933,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -184969,8 +184989,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *709 + review: &761 description: The review that was affected. type: object properties: @@ -185203,12 +185223,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -187491,7 +187511,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_reviewer: title: User type: object @@ -187575,12 +187595,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -189870,7 +189890,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190082,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -192352,7 +192372,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_reviewer: title: User type: object @@ -192437,12 +192457,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -194718,7 +194738,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +194919,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197096,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *709 + review: *761 sender: *4 required: - action @@ -197157,9 +197177,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199249,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 sender: *4 thread: type: object @@ -199616,9 +199636,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201694,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 sender: *4 thread: type: object @@ -202064,10 +202084,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -204338,7 +204358,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -204420,11 +204440,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *762 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -206707,7 +206727,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -206786,11 +206806,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -209063,7 +209083,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -209144,10 +209164,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -211412,7 +211432,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -211612,7 +211632,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *706 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211724,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *707 + organization: *708 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212300,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -212728,7 +212748,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *743 summary: type: string tag_name: @@ -212782,7 +212802,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -212860,9 +212880,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -213170,7 +213190,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *743 summary: type: string tag_name: @@ -213219,7 +213239,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -213296,10 +213316,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *706 + installation: *707 + organization: *708 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213637,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *709 sender: *4 required: - action @@ -213694,11 +213714,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -213815,11 +213835,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -213897,9 +213917,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214241,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *709 sender: *4 required: - action @@ -214297,10 +214317,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *706 + installation: *707 + organization: *708 + release: &764 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214639,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *709 sender: *4 required: - action @@ -214695,11 +214715,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -214775,11 +214795,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *764 + repository: *709 sender: *4 required: - action @@ -214855,11 +214875,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *625 sender: *4 required: - action @@ -214935,11 +214955,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *625 sender: *4 required: - action @@ -215015,10 +215035,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215095,10 +215115,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215176,10 +215196,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215263,10 +215283,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215378,10 +215398,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215453,10 +215473,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 status: type: string @@ -215537,10 +215557,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215617,10 +215637,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215714,10 +215734,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215797,11 +215817,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 sender: *4 required: - action @@ -215879,11 +215899,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 sender: *4 required: - action @@ -215961,11 +215981,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 changes: type: object properties: @@ -215984,16 +216004,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *264 deleted: type: array - items: *266 + items: *264 updated: type: array items: type: object properties: - condition: *266 + condition: *264 changes: type: object properties: @@ -216026,16 +216046,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *590 deleted: type: array - items: *592 + items: *590 updated: type: array items: type: object properties: - rule: *592 + rule: *590 changes: type: object properties: @@ -216269,10 +216289,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216350,10 +216370,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216431,7 +216451,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &765 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216572,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216761,10 +216781,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216842,11 +216862,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217045,10 +217065,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217126,7 +217146,7 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &766 type: object properties: number: *54 @@ -217244,10 +217264,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217328,11 +217348,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *766 + installation: *707 + location: *767 + organization: *708 + repository: *709 sender: *4 required: - location @@ -217570,11 +217590,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217652,11 +217672,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217734,11 +217754,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217816,11 +217836,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217946,10 +217966,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *709 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -218027,11 +218047,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: &768 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218234,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: *768 sender: *4 required: - action @@ -218291,10 +218311,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +218498,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *263 + enterprise: *706 + installation: *707 + organization: *708 + repository: *336 sender: *4 required: - changes @@ -218560,12 +218580,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: &771 + sponsorship: &769 type: object properties: created_at: @@ -218866,12 +218886,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - sponsorship @@ -218959,12 +218979,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219041,17 +219061,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &770 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - sponsorship @@ -219125,7 +219145,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &771 type: object properties: tier: @@ -219169,13 +219189,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219252,13 +219272,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *771 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219332,10 +219352,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219438,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +219861,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *706 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *707 name: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 sha: description: The Commit SHA. @@ -219964,9 +219984,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220056,9 +220076,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220148,9 +220168,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220240,9 +220260,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220319,12 +220339,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - team: &774 + team: &772 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220567,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221007,7 +221027,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -221083,9 +221103,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221543,7 +221563,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -221620,9 +221640,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -222080,7 +222100,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -222224,9 +222244,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -222684,7 +222704,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - changes @@ -222762,9 +222782,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -223222,7 +223242,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -223298,10 +223318,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -223374,16 +223394,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *706 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *707 + organization: *708 ref: type: string - repository: *711 + repository: *709 sender: *4 workflow: type: string @@ -223465,10 +223485,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -223705,7 +223725,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *486 required: - action - repository @@ -223784,10 +223804,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -224047,7 +224067,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *486 required: - action - repository @@ -224126,10 +224146,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -224264,7 +224284,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *486 required: - action - repository @@ -224343,10 +224363,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -224482,7 +224502,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *486 required: - action - repository @@ -224562,12 +224582,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -225566,12 +225586,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -226555,12 +226575,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object 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 744d87ec26..28fb0a9d56 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -20480,29 +20480,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -65205,7 +65182,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -83791,6 +83768,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "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 results before this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -100085,29 +100166,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -148274,7 +148332,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -148282,8 +148340,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -304039,16 +304096,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -304076,29 +304123,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -624057,7 +624081,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -624065,8 +624089,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -655215,7 +655238,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], 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 f6e9af8bd8..2ddf8323ac 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &627 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &187 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &188 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &191 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &262 - archive_url - assignees_url - blobs_url @@ -8589,7 +8589,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 - - &479 + - &477 name: has in: query description: |- @@ -8631,31 +8631,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,7 +8639,7 @@ paths: application/json: schema: type: array - items: &179 + items: &177 type: object description: A Dependabot alert. properties: @@ -8730,7 +8705,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &478 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8992,7 +8967,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &479 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8993,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &178 value: - number: 2 state: dismissed @@ -9365,7 +9340,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &295 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9376,7 +9351,7 @@ paths: enum: - open - resolved - - &296 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9386,7 +9361,7 @@ paths: required: false schema: type: string - - &297 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9395,7 +9370,7 @@ paths: required: false schema: type: string - - &298 + - &296 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. @@ -9411,7 +9386,7 @@ paths: - *17 - *40 - *41 - - &299 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9420,7 +9395,7 @@ paths: required: false schema: type: string - - &300 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9429,7 +9404,7 @@ paths: schema: type: boolean default: false - - &301 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9438,7 +9413,7 @@ paths: schema: type: boolean default: false - - &302 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9454,7 +9429,7 @@ paths: application/json: schema: type: array - items: &303 + items: &301 type: object properties: number: *54 @@ -9473,14 +9448,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &607 + state: &605 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: &608 + resolution: &606 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9587,8 +9562,8 @@ paths: pull request. ' - oneOf: &609 - - &611 + oneOf: &607 + - &609 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9640,7 +9615,7 @@ paths: - blob_url - commit_sha - commit_url - - &612 + - &610 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. @@ -9695,7 +9670,7 @@ paths: - page_url - commit_sha - commit_url - - &613 + - &611 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9709,7 +9684,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &614 + - &612 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9723,7 +9698,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &615 + - &613 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9737,7 +9712,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &616 + - &614 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9751,7 +9726,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &617 + - &615 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9765,7 +9740,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &618 + - &616 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9779,7 +9754,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &619 + - &617 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. @@ -9793,7 +9768,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &620 + - &618 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. @@ -9807,7 +9782,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &621 + - &619 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. @@ -9821,7 +9796,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &622 + - &620 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. @@ -9835,7 +9810,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &623 + - &621 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. @@ -9862,7 +9837,7 @@ paths: required: *21 nullable: true examples: - default: &304 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10727,7 +10702,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &722 title: Discussion description: A Discussion in a repository. type: object @@ -11094,7 +11069,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &527 id: type: integer format: int64 @@ -11208,7 +11183,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &248 url: type: string format: uri @@ -11278,7 +11253,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &249 - closed_issues - creator - description @@ -11357,7 +11332,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &207 title: Issue Type description: The type of issue. type: object @@ -11471,7 +11446,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &639 title: Sub-issues Summary type: object properties: @@ -11491,7 +11466,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &640 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11485,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &641 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11546,7 @@ paths: - node_id - data_type - value - required: &530 + required: &528 - assignee - closed_at - comments @@ -11609,7 +11584,7 @@ paths: action: type: string issue: *71 - comment: &527 + comment: &525 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12328,7 +12303,7 @@ paths: type: string release: allOf: - - &582 + - &580 title: Release description: A release. type: object @@ -12399,7 +12374,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -12978,7 +12953,7 @@ paths: url: type: string format: uri - user: &655 + user: &653 title: Public User description: Public User type: object @@ -14848,7 +14823,7 @@ paths: - closed - all default: open - - &212 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14899,7 +14874,7 @@ paths: type: array items: *71 examples: - default: &213 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16284,14 +16259,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16353,7 +16328,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &337 description: Moved permanently content: application/json: @@ -16375,7 +16350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &556 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +16358,7 @@ paths: schema: type: boolean default: false - - &559 + - &557 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16393,7 +16368,7 @@ paths: type: boolean default: false - *79 - - &560 + - &558 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: @@ -16429,7 +16404,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &180 id: type: integer format: int64 @@ -16705,7 +16680,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &263 nullable: true type: object properties: @@ -16779,7 +16754,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &181 - archive_url - assignees_url - blobs_url @@ -16867,7 +16842,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &559 value: - id: '1' repository: @@ -17409,7 +17384,7 @@ paths: application/json: schema: type: array - items: &218 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17468,7 +17443,7 @@ paths: - avatar_url - description examples: - default: &672 + default: &670 value: - login: github id: 1 @@ -17767,9 +17742,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17787,7 +17763,7 @@ paths: required: false schema: type: integer - - &698 + - &696 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17811,14 +17787,14 @@ paths: required: false schema: type: string - - &699 + - &697 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &698 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17957,7 +17933,7 @@ paths: parameters: - *105 - *107 - - &703 + - &701 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17967,7 +17943,7 @@ paths: schema: type: integer - *108 - - &704 + - &702 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18842,7 +18818,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19709,7 +19685,7 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &348 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` @@ -19792,7 +19768,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &352 type: object properties: days: @@ -19834,7 +19810,7 @@ paths: required: true content: application/json: - schema: &355 + schema: &353 type: object properties: days: @@ -19891,7 +19867,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -19950,7 +19926,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -20004,7 +19980,7 @@ paths: required: true content: application/json: - schema: &358 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -20639,7 +20615,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &357 type: object properties: default_workflow_permissions: &130 @@ -20690,7 +20666,7 @@ paths: required: false content: application/json: - schema: &360 + schema: &358 type: object properties: default_workflow_permissions: *130 @@ -21179,7 +21155,7 @@ paths: type: array items: *137 examples: - default: &658 + default: &656 value: total_count: 1 repositories: @@ -21821,7 +21797,7 @@ paths: application/json: schema: type: array - items: &361 + items: &359 title: Runner Application description: Runner Application type: object @@ -21846,7 +21822,7 @@ paths: - download_url - filename examples: - default: &362 + default: &360 value: - os: osx architecture: x64 @@ -21932,7 +21908,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &361 description: Response content: application/json: @@ -22043,7 +22019,7 @@ paths: - token - expires_at examples: - default: &364 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22082,7 +22058,7 @@ paths: application/json: schema: *141 examples: - default: &365 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22116,7 +22092,7 @@ paths: application/json: schema: *139 examples: - default: &366 + default: &364 value: id: 23 name: MBP @@ -22342,7 +22318,7 @@ paths: - *105 - *138 responses: - '200': &367 + '200': &365 description: Response content: application/json: @@ -22399,7 +22375,7 @@ paths: parameters: - *105 - *138 - - &368 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22529,7 +22505,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22534,7 @@ paths: - key_id - key examples: - default: &381 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22971,7 +22947,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *105 - - &349 + - &347 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)." @@ -23690,12 +23666,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &685 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &686 value: subject_digests: - sha256:abc123 @@ -23753,7 +23729,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &687 value: attestations_subject_digests: - sha256:abc: @@ -23946,6 +23922,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-attestation-repositories + parameters: + - *17 + - *40 + - *41 + - *105 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24049,7 +24076,7 @@ paths: initiator: type: string examples: - default: &394 + default: &392 value: attestations: - bundle: @@ -24400,7 +24427,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &223 id: description: Unique identifier of the team type: integer @@ -24472,7 +24499,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &224 - id - node_id - url @@ -24973,7 +25000,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *105 - - &419 + - &417 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`, @@ -24983,7 +25010,7 @@ paths: schema: &156 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &418 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 @@ -25006,7 +25033,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &420 type: string description: State of a code scanning alert. enum: @@ -25029,7 +25056,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &421 type: string description: Severity of a code scanning alert. enum: @@ -25055,7 +25082,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: &424 + instances_url: &422 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25078,7 +25105,7 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: &425 + dismissed_reason: &423 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +25114,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &424 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &425 type: object properties: id: @@ -25146,7 +25173,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &426 type: object properties: name: *156 @@ -25156,15 +25183,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *157 - most_recent_instance: &429 + most_recent_instance: &427 type: object properties: - ref: &421 + ref: &419 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &437 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,7 +25202,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &438 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26469,7 +26496,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &212 type: object title: Codespace description: A codespace. @@ -26499,7 +26526,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &450 name: type: string description: The name of the machine. @@ -26541,7 +26568,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &451 - name - display_name - operating_system @@ -26746,7 +26773,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &213 value: total_count: 3 codespaces: @@ -27409,7 +27436,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &452 value: total_count: 2 secrets: @@ -27447,7 +27474,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &453 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27503,7 @@ paths: - key_id - key examples: - default: &456 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27508,7 +27535,7 @@ paths: application/json: schema: *166 examples: - default: &458 + default: &456 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27975,7 +28002,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28506,7 +28533,7 @@ paths: application/json: schema: type: array - items: &312 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28840,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -28915,7 +28942,7 @@ paths: '500': *106 '403': *29 '404': *6 - '422': &314 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28990,8 +29017,6 @@ paths: - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +29025,9 @@ paths: application/json: schema: type: array - items: *179 + items: *177 examples: - default: *180 + default: *178 '304': *37 '400': *14 '403': *29 @@ -29046,7 +29071,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29123,7 +29148,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +29165,7 @@ paths: - key_id - key examples: - default: &485 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29170,7 +29195,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *179 examples: default: value: @@ -29471,7 +29496,7 @@ paths: application/json: schema: type: array - items: &228 + items: &226 title: Package description: A software package type: object @@ -29521,8 +29546,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -29541,7 +29566,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &227 value: - id: 197 name: hello_docker @@ -29711,7 +29736,7 @@ paths: application/json: schema: type: array - items: &206 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29783,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &205 value: - id: 1 login: monalisa @@ -29825,7 +29850,7 @@ paths: application/json: schema: type: array - items: &184 + items: &182 title: Org Hook description: Org Hook type: object @@ -29996,9 +30021,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: &185 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30046,7 +30071,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *105 - - &186 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30059,9 +30084,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -30089,7 +30114,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *105 - - *186 + - *184 requestBody: required: false content: @@ -30134,7 +30159,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: default: value: @@ -30176,7 +30201,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *105 - - *186 + - *184 responses: '204': description: Response @@ -30204,7 +30229,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *105 - - *186 + - *184 responses: '200': description: Response @@ -30235,7 +30260,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *105 - - *186 + - *184 requestBody: required: false content: @@ -30286,9 +30311,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -30296,9 +30321,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -30324,16 +30349,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -30359,7 +30384,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *105 - - *186 + - *184 - *16 responses: '202': *39 @@ -30389,7 +30414,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *105 - - *186 + - *184 responses: '204': description: Response @@ -30412,7 +30437,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *105 - - &196 + - &194 name: actor_type in: path description: The type of the actor @@ -30425,14 +30450,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30440,7 +30465,7 @@ paths: required: true schema: type: string - - &193 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30534,12 +30559,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *105 - - *192 - - *193 + - *190 + - *191 - *19 - *17 - *48 - - &202 + - &200 name: sort description: The property to sort the results by. in: query @@ -30618,14 +30643,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *105 - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: &194 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30666,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30662,23 +30687,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *105 - - &198 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30697,18 +30722,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *105 - - *192 - - *193 - - *196 - - *197 + - *190 + - *191 + - *194 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30726,9 +30751,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *105 - - *192 - - *193 - - &199 + - *190 + - *191 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30766,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30782,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30794,18 +30819,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *105 - - *198 - - *192 - - *193 - - *199 + - *196 + - *190 + - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30823,19 +30848,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *105 - - *196 + - *194 + - *195 + - *190 + - *191 - *197 - - *192 - - *193 - - *199 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30853,13 +30878,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *105 - - *198 - - *192 - - *193 + - *196 + - *190 + - *191 - *19 - *17 - *48 - - *202 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30940,7 +30965,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &521 value: id: 1 account: @@ -31106,12 +31131,12 @@ paths: application/json: schema: anyOf: - - &204 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +31161,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &203 value: limit: collaborators_only origin: organization @@ -31165,13 +31190,13 @@ paths: required: true content: application/json: - schema: &524 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +31220,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *205 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -31273,9 +31298,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 '404': *6 @@ -31352,7 +31377,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *204 examples: default: value: @@ -31407,7 +31432,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *105 - - &208 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31438,7 +31463,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *105 - - *208 + - *206 - *17 - *19 responses: @@ -31450,7 +31475,7 @@ paths: type: array items: *169 examples: - default: &227 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31493,7 +31518,7 @@ paths: application/json: schema: type: array - items: *209 + items: *207 examples: default: value: @@ -31578,9 +31603,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: &210 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31613,7 +31638,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *105 - - &211 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31691,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: *210 + default: *208 '404': *6 '422': *7 x-github: @@ -31693,7 +31718,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *105 - - *211 + - *209 responses: '204': description: Response @@ -31756,7 +31781,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -31787,7 +31812,7 @@ paths: type: array items: *71 examples: - default: *213 + default: *211 headers: Link: *58 '404': *6 @@ -31946,9 +31971,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 '500': *106 '401': *25 @@ -31975,7 +32000,7 @@ paths: parameters: - *105 - *63 - - &216 + - &214 name: codespace_name in: path required: true @@ -32010,15 +32035,15 @@ paths: parameters: - *105 - *63 - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: &451 + default: &449 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32198,7 +32223,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *215 examples: default: value: @@ -32274,7 +32299,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32318,7 +32343,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *216 user: title: Simple User description: A GitHub user. @@ -32341,7 +32366,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32438,9 +32463,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -32511,7 +32536,7 @@ paths: application/json: schema: type: array - items: &221 + items: &219 title: Migration description: A migration. type: object @@ -32840,7 +32865,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33019,7 +33044,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *105 - - &222 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +33071,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33216,7 +33241,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *105 - - *222 + - *220 responses: '302': description: Response @@ -33238,7 +33263,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *105 - - *222 + - *220 responses: '204': description: Response @@ -33262,8 +33287,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *105 - - *222 - - &671 + - *220 + - &669 name: repo_name description: repo_name parameter in: path @@ -33291,7 +33316,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *105 - - *222 + - *220 - *17 - *19 responses: @@ -33303,7 +33328,7 @@ paths: type: array items: *137 examples: - default: &234 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33456,7 +33481,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &222 title: Organization Role description: Organization roles type: object @@ -33631,7 +33656,7 @@ paths: parameters: - *105 - *65 - - &223 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -33668,7 +33693,7 @@ paths: parameters: - *105 - *65 - - *223 + - *221 responses: '204': description: Response @@ -33721,7 +33746,7 @@ paths: parameters: - *105 - *63 - - *223 + - *221 responses: '204': description: Response @@ -33753,7 +33778,7 @@ paths: parameters: - *105 - *63 - - *223 + - *221 responses: '204': description: Response @@ -33782,13 +33807,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *105 - - *223 + - *221 responses: '200': description: Response content: application/json: - schema: *224 + schema: *222 examples: default: value: @@ -33839,7 +33864,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *105 - - *223 + - *221 - *17 - *19 responses: @@ -33917,8 +33942,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -33950,7 +33975,7 @@ paths: - type - parent examples: - default: *227 + default: *225 headers: Link: *58 '404': @@ -33980,7 +34005,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *105 - - *223 + - *221 - *17 - *19 responses: @@ -34008,13 +34033,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 name: nullable: true type: string @@ -34302,7 +34327,7 @@ paths: - nuget - container - *105 - - &673 + - &671 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +34363,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *229 + default: *227 '403': *29 '401': *25 - '400': &675 + '400': &673 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +34390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34383,7 +34408,7 @@ paths: - docker - nuget - container - - &231 + - &229 name: package_name description: The name of the package. in: path @@ -34396,7 +34421,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *226 examples: default: value: @@ -34448,8 +34473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 responses: '204': @@ -34482,8 +34507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - name: token description: package token @@ -34516,8 +34541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - *19 - *17 @@ -34538,7 +34563,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Package Version description: A version of a software package type: object @@ -34663,10 +34688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - &233 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34703,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -34714,10 +34739,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - *233 + - *231 responses: '204': description: Response @@ -34749,10 +34774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 - - *231 + - *228 + - *229 - *105 - - *233 + - *231 responses: '204': description: Response @@ -34782,7 +34807,7 @@ paths: - *105 - *17 - *19 - - &235 + - &233 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34818,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34829,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34837,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34845,7 @@ paths: schema: type: string example: issues_read - - &239 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34830,7 +34855,7 @@ paths: schema: type: string format: date-time - - &240 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34840,7 +34865,7 @@ paths: schema: type: string format: date-time - - &241 + - &239 name: token_id description: The ID of the token in: query @@ -35153,7 +35178,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -35179,14 +35204,14 @@ paths: - *105 - *17 - *19 - - *235 + - *233 - *48 + - *234 + - *235 - *236 - *237 - *238 - *239 - - *240 - - *241 responses: '500': *106 '422': *15 @@ -35468,7 +35493,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -35510,7 +35535,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35763,7 +35788,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35859,9 +35884,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -36025,7 +36050,7 @@ paths: application/json: schema: type: array - items: &244 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -36198,7 +36223,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -36236,7 +36261,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &334 description: Gone content: application/json: @@ -36279,7 +36304,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +36374,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &753 id: type: number description: The unique identifier of the status update. @@ -36397,7 +36422,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &754 - id - node_id - created_at @@ -36422,7 +36447,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36525,7 +36550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &245 name: project_number description: The project's number. in: path @@ -36538,9 +36563,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -36562,7 +36587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 + - *245 - *105 - *17 - *40 @@ -36574,7 +36599,7 @@ paths: application/json: schema: type: array - items: &248 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36746,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36764,8 +36789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *245 + - &690 name: field_id description: The unique identifier of the field. in: path @@ -36778,9 +36803,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -36803,7 +36828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 + - *245 - *105 - 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) @@ -36813,8 +36838,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -36822,7 +36849,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - *40 - *41 - *17 @@ -36833,7 +36859,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36875,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: &253 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36925,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37594,7 +37620,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *105 - - *247 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +37657,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &691 title: Projects v2 Item description: An item belonging to a project type: object @@ -37645,7 +37671,7 @@ paths: content: oneOf: - *71 - - &466 + - &464 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37777,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -37848,7 +37874,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &250 title: Link description: Hypermedia Link type: object @@ -37857,13 +37883,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -37874,7 +37900,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &568 + auto_merge: &566 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +38002,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -38009,7 +38035,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +38090,7 @@ paths: 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: *254 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -38084,9 +38110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 + - *245 - *105 - - &257 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -38109,9 +38135,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -38132,9 +38158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 + - *245 - *105 - - *257 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +38230,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -38230,9 +38256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 + - *245 - *105 - - *257 + - *255 responses: '204': description: Response @@ -38264,7 +38290,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +38356,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38389,7 +38415,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *256 minItems: 1 maxItems: 100 required: @@ -38419,9 +38445,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *259 + default: *257 '403': *29 '404': *6 x-github: @@ -38443,7 +38469,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *105 - - &260 + - &258 name: custom_property_name description: The custom property name in: path @@ -38455,9 +38481,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: &261 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38492,7 +38518,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *105 - - *260 + - *258 requestBody: required: true content: @@ -38561,9 +38587,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *261 + default: *259 '403': *29 '404': *6 x-github: @@ -38587,7 +38613,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *105 - - *260 + - *258 responses: '204': *163 '403': *29 @@ -38648,7 +38674,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -38735,7 +38761,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - repository_names - properties @@ -38927,7 +38953,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -39129,7 +39155,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &336 title: Full Repository description: Full Repository type: object @@ -39406,8 +39432,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -39522,7 +39548,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &469 url: type: string format: uri @@ -39538,12 +39564,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &470 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +39653,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40148,7 +40174,7 @@ paths: - *105 - *17 - *19 - - &591 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +40192,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +40227,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +40240,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +40310,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +40334,7 @@ paths: match. items: type: string - - &270 + - &268 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +40348,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +40382,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +40404,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +40417,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &265 title: Repository ruleset property targeting definition type: object @@ -40424,17 +40450,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *265 required: - repository_property rules: type: array - items: &592 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +40472,7 @@ paths: type: string enum: - creation - - &272 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +40493,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +40505,7 @@ paths: type: string enum: - deletion - - &274 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +40517,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +40595,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +40619,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +40631,7 @@ paths: type: string enum: - required_signatures - - &277 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +40693,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40741,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40753,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40789,7 @@ paths: required: - operator - pattern - - &281 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40825,7 @@ paths: required: - operator - pattern - - &282 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40861,7 @@ paths: required: - operator - pattern - - &283 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40897,7 @@ paths: required: - operator - pattern - - &284 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40933,7 @@ paths: required: - operator - pattern - - &285 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40958,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40982,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +41005,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +41030,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +41080,7 @@ paths: - repository_id required: - workflows - - &290 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +41141,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41213,20 +41239,22 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 + - *270 - *271 - *272 - *273 @@ -41245,8 +41273,6 @@ paths: - *286 - *287 - *288 - - *289 - - *290 required: - name - enforcement @@ -41284,9 +41310,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &292 + default: &290 value: id: 21 name: super cool ruleset @@ -41341,7 +41367,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *105 - - &593 + - &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 @@ -41356,7 +41382,7 @@ paths: in: query schema: type: string - - &594 + - &592 name: time_period description: |- The time period to filter by. @@ -41372,14 +41398,14 @@ paths: - week - month default: day - - &595 + - &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 - - &596 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +41425,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &595 title: Rule Suites description: Response type: array @@ -41454,7 +41480,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &596 value: - id: 21 actor_id: 12 @@ -41498,7 +41524,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *105 - - &599 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41540,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &598 title: Rule Suite description: Response type: object @@ -41613,7 +41639,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &599 value: id: 21 actor_id: 12 @@ -41686,9 +41712,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 '500': *106 put: @@ -41732,16 +41758,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *291 examples: default: value: @@ -41776,9 +41802,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 '500': *106 delete: @@ -41835,7 +41861,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41885,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &601 value: - version_id: 3 actor: @@ -41912,9 +41938,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &602 allOf: - - *294 + - *292 - type: object required: - state @@ -41984,14 +42010,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *105 + - *293 + - *294 - *295 - *296 - - *297 - - *298 - *48 - *19 - *17 - - &605 + - &603 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 @@ -42001,7 +42027,7 @@ paths: required: false schema: type: string - - &606 + - &604 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 @@ -42011,10 +42037,10 @@ paths: required: false schema: type: string + - *297 + - *298 - *299 - *300 - - *301 - - *302 responses: '200': description: Response @@ -42022,9 +42048,9 @@ paths: application/json: schema: type: array - items: *303 + items: *301 examples: - default: *304 + default: *302 headers: Link: *58 '404': *6 @@ -42065,7 +42091,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42100,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &303 type: object properties: token_type: @@ -42140,7 +42166,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *303 examples: default: value: @@ -42197,7 +42223,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42249,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42321,7 +42347,7 @@ paths: application/json: schema: type: array - items: &627 + items: &625 description: A repository security advisory. type: object properties: @@ -42541,7 +42567,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 credits_detailed: type: array nullable: true @@ -42551,7 +42577,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -42612,7 +42638,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &626 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42999,9 +43025,9 @@ paths: application/json: schema: type: array - items: *308 + items: *306 examples: - default: *227 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43086,7 +43112,7 @@ paths: description: Response content: application/json: - schema: &694 + schema: &692 type: object properties: total_minutes_used: @@ -43156,7 +43182,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &693 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43192,7 +43218,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &694 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43236,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &695 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43242,7 +43268,7 @@ paths: description: Response content: application/json: - schema: &701 + schema: &699 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43286,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &700 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43543,7 +43569,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43663,9 +43689,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: &310 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -43694,7 +43720,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *105 - - &311 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,9 +43732,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 headers: Link: *58 x-github: @@ -43730,7 +43756,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *105 - - *311 + - *309 requestBody: required: true content: @@ -43769,9 +43795,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43791,7 +43817,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *105 - - *311 + - *309 responses: '204': description: Response @@ -43931,13 +43957,13 @@ paths: application/json: schema: type: array - items: *312 + items: *310 examples: - default: *313 + default: *311 '500': *106 '403': *29 '404': *6 - '422': *314 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43967,7 +43993,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: Link: *58 '403': *29 @@ -44061,7 +44087,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44150,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -44388,7 +44414,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44465,9 +44491,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -44551,16 +44577,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '201': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 '422': *15 '403': *29 @@ -44630,7 +44656,7 @@ paths: application/json: schema: type: array - items: &317 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44729,7 +44755,7 @@ paths: - updated_at - url examples: - default: &645 + default: &643 value: - author: login: octocat @@ -44838,9 +44864,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: &318 + default: &316 value: author: login: octocat @@ -44914,7 +44940,7 @@ paths: parameters: - *105 - *65 - - &319 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +44952,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44952,7 +44978,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: false content: @@ -44975,9 +45001,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: &646 + default: &644 value: author: login: octocat @@ -45049,7 +45075,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 responses: '204': description: Response @@ -45077,7 +45103,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 - *48 - *17 - *19 @@ -45088,7 +45114,7 @@ paths: application/json: schema: type: array - items: &320 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45160,7 +45186,7 @@ paths: - updated_at - url examples: - default: &647 + default: &645 value: - author: login: octocat @@ -45230,7 +45256,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: true content: @@ -45252,9 +45278,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: &321 + default: &319 value: author: login: octocat @@ -45322,8 +45348,8 @@ paths: parameters: - *105 - *65 - - *319 - - &322 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45361,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45361,8 +45387,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 requestBody: required: true content: @@ -45384,9 +45410,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: &648 + default: &646 value: author: login: octocat @@ -45452,8 +45478,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 responses: '204': description: Response @@ -45481,8 +45507,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 - 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. @@ -45508,7 +45534,7 @@ paths: application/json: schema: type: array - items: &323 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45577,7 @@ paths: - content - created_at examples: - default: &325 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45603,8 +45629,8 @@ paths: parameters: - *105 - *65 - - *319 - - *322 + - *317 + - *320 requestBody: required: true content: @@ -45637,9 +45663,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *321 examples: - default: &324 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45694,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45695,9 +45721,9 @@ paths: parameters: - *105 - *65 - - *319 - - *322 - - &326 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45731,7 +45757,7 @@ paths: parameters: - *105 - *65 - - *319 + - *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. @@ -45757,9 +45783,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -45787,7 +45813,7 @@ paths: parameters: - *105 - *65 - - *319 + - *317 requestBody: required: true content: @@ -45819,16 +45845,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45853,8 +45879,8 @@ paths: parameters: - *105 - *65 - - *319 - - *326 + - *317 + - *324 responses: '204': description: Response @@ -45889,9 +45915,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 x-github: @@ -45975,7 +46001,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &325 title: Team Membership description: Team Membership type: object @@ -46002,7 +46028,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &647 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46065,9 +46091,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &648 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46140,7 +46166,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46234,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &649 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46273,7 +46299,7 @@ paths: parameters: - *105 - *65 - - &329 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46311,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: &652 + default: &650 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46351,7 +46377,7 @@ paths: parameters: - *105 - *65 - - *329 + - *327 requestBody: required: false content: @@ -46419,7 +46445,7 @@ paths: parameters: - *105 - *65 - - *329 + - *327 responses: '204': description: Response @@ -46459,7 +46485,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -46490,14 +46516,14 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &651 title: Team Repository description: A team's access to a repository. type: object @@ -47068,8 +47094,8 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -47116,8 +47142,8 @@ paths: parameters: - *105 - *65 - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -47154,7 +47180,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &652 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47281,7 +47307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47319,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47365,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *330 requestBody: required: true content: @@ -47398,9 +47424,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *330 responses: '204': description: Response @@ -47454,7 +47480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *330 requestBody: required: true content: @@ -47514,15 +47540,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *327 responses: '200': description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: &335 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *327 requestBody: required: false content: @@ -47625,9 +47651,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47674,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *327 responses: '204': description: Delete Success @@ -47692,7 +47718,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *327 - 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 @@ -47773,7 +47799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 + - *327 - *63 requestBody: required: false @@ -47826,7 +47852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 + - *327 - *63 responses: '204': @@ -47858,7 +47884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 + - *327 - *63 responses: '200': @@ -47932,7 +47958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *327 - *17 - *19 responses: @@ -47942,7 +47968,7 @@ paths: application/json: schema: type: array - items: *333 + items: *331 examples: default: value: @@ -47980,7 +48006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *327 requestBody: required: true content: @@ -48003,7 +48029,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *331 examples: default: value: @@ -48068,7 +48094,7 @@ paths: resources: type: object properties: - core: &337 + core: &335 title: Rate Limit type: object properties: @@ -48085,21 +48111,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *337 + rate: *335 required: - rate - resources @@ -48204,14 +48230,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *338 + schema: *336 examples: default-response: summary: Default response @@ -48712,7 +48738,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -48978,10 +49004,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 - '307': &341 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -49010,8 +49036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -49033,7 +49059,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *339 '404': *6 '409': *47 x-github: @@ -49057,11 +49083,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - - &372 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49110,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &340 title: Artifact description: An artifact type: object @@ -49162,7 +49188,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &371 value: total_count: 2 artifacts: @@ -49223,9 +49249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *328 + - *329 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49263,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *340 examples: default: value: @@ -49275,9 +49301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *328 + - *329 + - *341 responses: '204': description: Response @@ -49301,9 +49327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *328 + - *329 + - *341 - name: archive_format in: path required: true @@ -49317,7 +49343,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': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49366,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: default: value: @@ -49373,11 +49399,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - - &345 + - &343 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 @@ -49411,7 +49437,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49479,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &345 value: total_count: 1 actions_caches: @@ -49485,23 +49511,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: - - *330 - - *331 + - *328 + - *329 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *343 responses: '200': description: Response content: application/json: - schema: *346 + schema: *344 examples: - default: *347 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49547,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: - - *330 - - *331 + - *328 + - *329 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *328 + - *329 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49593,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +49900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *328 + - *329 + - *346 responses: '302': description: Response @@ -49904,9 +49930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *328 + - *329 + - *346 requestBody: required: false content: @@ -49951,8 +49977,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Status response @@ -50002,8 +50028,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -50066,8 +50092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -50085,7 +50111,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50131,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &377 value: total_count: 2 secrets: @@ -50138,9 +50164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *328 + - *329 + - *347 - *19 responses: '200': @@ -50157,7 +50183,7 @@ paths: type: integer variables: type: array - items: &382 + items: &380 title: Actions Variable type: object properties: @@ -50187,7 +50213,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &381 value: total_count: 2 variables: @@ -50220,8 +50246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50230,11 +50256,11 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *122 - selected_actions_url: *350 + selected_actions_url: *348 sha_pinning_required: *123 required: - enabled @@ -50263,8 +50289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50275,7 +50301,7 @@ paths: schema: type: object properties: - enabled: *351 + enabled: *349 allowed_actions: *122 sha_pinning_required: *123 required: @@ -50307,14 +50333,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &352 + schema: &350 type: object properties: access_level: @@ -50331,7 +50357,7 @@ paths: required: - access_level examples: - default: &353 + default: &351 value: access_level: organization x-github: @@ -50355,15 +50381,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *352 + schema: *350 examples: - default: *353 + default: *351 responses: '204': description: Response @@ -50387,14 +50413,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *354 + schema: *352 examples: default: value: @@ -50418,8 +50444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50455,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *353 examples: default: summary: Set retention days @@ -50453,8 +50479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50462,7 +50488,7 @@ paths: application/json: schema: *124 examples: - default: *356 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50516,14 +50542,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *357 + schema: *355 examples: default: *125 '403': *29 @@ -50545,13 +50571,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *358 + schema: *356 examples: default: *125 responses: @@ -50577,8 +50603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50605,8 +50631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -50638,14 +50664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *359 + schema: *357 examples: default: *132 x-github: @@ -50668,8 +50694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Success response @@ -50680,7 +50706,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *358 examples: default: *132 x-github: @@ -50709,8 +50735,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -50754,8 +50780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -50763,9 +50789,9 @@ paths: application/json: schema: type: array - items: *361 + items: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +50813,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -50831,7 +50857,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -50862,8 +50888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -50871,7 +50897,7 @@ paths: application/json: schema: *141 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,8 +50925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -50908,7 +50934,7 @@ paths: application/json: schema: *141 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,8 +50956,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '200': @@ -50940,7 +50966,7 @@ paths: application/json: schema: *139 examples: - default: *366 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,8 +50987,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '204': @@ -50989,8 +51015,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: '200': *143 @@ -51015,8 +51041,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: - - *330 - - *331 + - *328 + - *329 - *138 requestBody: required: true @@ -51065,8 +51091,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: - - *330 - - *331 + - *328 + - *329 - *138 requestBody: required: true @@ -51116,11 +51142,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: - - *330 - - *331 + - *328 + - *329 - *138 responses: - '200': *367 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -51147,10 +51173,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: - - *330 - - *331 + - *328 + - *329 - *138 - - *368 + - *366 responses: '200': *143 '404': *6 @@ -51178,9 +51204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *328 + - *329 + - &384 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. @@ -51188,7 +51214,7 @@ paths: required: false schema: type: string - - &387 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51222,7 @@ paths: required: false schema: type: string - - &388 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51231,7 @@ paths: required: false schema: type: string - - &389 + - &387 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 @@ -51232,7 +51258,7 @@ paths: - pending - *17 - *19 - - &390 + - &388 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)." @@ -51241,7 +51267,7 @@ paths: schema: type: string format: date-time - - &369 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51276,13 @@ paths: schema: type: boolean default: false - - &391 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51305,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -51427,7 +51453,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &412 id: type: string description: SHA for the commit @@ -51478,7 +51504,7 @@ paths: - name - email nullable: true - required: &415 + required: &413 - id - tree_id - message @@ -51525,7 +51551,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &391 value: total_count: 1 workflow_runs: @@ -51761,24 +51787,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *328 + - *329 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *367 responses: '200': description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: &374 + default: &372 value: id: 30433642 name: Build @@ -52019,9 +52045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '204': description: Response @@ -52044,9 +52070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -52165,9 +52191,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: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '201': description: Response @@ -52200,12 +52226,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 - *17 - *19 - - *372 + - *370 responses: '200': description: Response @@ -52221,9 +52247,9 @@ paths: type: integer artifacts: type: array - items: *342 + items: *340 examples: - default: *373 + default: *371 headers: Link: *58 x-github: @@ -52247,25 +52273,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *328 + - *329 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *367 responses: '200': description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *374 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52314,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *328 + - *329 + - *369 + - *373 - *17 - *19 responses: @@ -52309,9 +52335,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *374 examples: - default: &377 + default: &375 value: total_count: 1 jobs: @@ -52424,10 +52450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *328 + - *329 + - *369 + - *373 responses: '302': description: Response @@ -52455,9 +52481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '202': description: Response @@ -52490,9 +52516,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: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: true content: @@ -52559,9 +52585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '202': description: Response @@ -52594,9 +52620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 - 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 @@ -52626,9 +52652,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *374 examples: - default: *377 + default: *375 headers: Link: *58 x-github: @@ -52653,9 +52679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '302': description: Response @@ -52682,9 +52708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '204': description: Response @@ -52711,9 +52737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -52773,7 +52799,7 @@ paths: items: type: object properties: - type: &493 + type: &491 type: string description: The type of reviewer. enum: @@ -52858,9 +52884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: true content: @@ -52907,7 +52933,7 @@ paths: application/json: schema: type: array - items: &488 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53013,7 +53039,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: false content: @@ -53115,9 +53141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 requestBody: required: false content: @@ -53170,9 +53196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *328 + - *329 + - *369 responses: '200': description: Response @@ -53309,8 +53335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -53328,9 +53354,9 @@ paths: type: integer secrets: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 headers: Link: *58 x-github: @@ -53355,16 +53381,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: &506 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,8 +53448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -53481,8 +53507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -53508,9 +53534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *328 + - *329 + - *347 - *19 responses: '200': @@ -53527,9 +53553,9 @@ paths: type: integer variables: type: array - items: *382 + items: *380 examples: - default: *383 + default: *381 headers: Link: *58 x-github: @@ -53552,8 +53578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -53605,17 +53631,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 responses: '200': description: Response content: application/json: - schema: *382 + schema: *380 examples: - default: &507 + default: &505 value: name: USERNAME value: octocat @@ -53641,8 +53667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 requestBody: required: true @@ -53685,8 +53711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 responses: '204': @@ -53712,8 +53738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -53731,7 +53757,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -53838,9 +53864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *328 + - *329 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +53881,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *382 examples: default: value: @@ -53888,9 +53914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53915,9 +53941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53968,9 +53994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '204': description: Response @@ -53997,19 +54023,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 + - *328 + - *329 + - *383 + - *384 - *385 - *386 - *387 - - *388 - - *389 - *17 - *19 + - *388 + - *367 + - *389 - *390 - - *369 - - *391 - - *392 responses: '200': description: Response @@ -54025,9 +54051,9 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *368 examples: - default: *393 + default: *391 headers: Link: *58 x-github: @@ -54059,9 +54085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *328 + - *329 + - *383 responses: '200': description: Response @@ -54122,8 +54148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *328 + - *329 - *48 - *17 - *40 @@ -54287,8 +54313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -54325,8 +54351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *328 + - *329 - name: assignee in: path required: true @@ -54362,8 +54388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -54475,8 +54501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *40 - *41 @@ -54532,7 +54558,7 @@ paths: initiator: type: string examples: - default: *394 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -54561,7 +54587,7 @@ paths: application/json: schema: type: array - items: &395 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -54655,9 +54681,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *393 examples: - default: &396 + default: &394 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *328 + - *329 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54728,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *393 examples: - default: *396 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *328 + - *329 + - *395 responses: '204': description: Response @@ -54750,8 +54776,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +54825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -54821,8 +54847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -54842,8 +54868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *328 + - *329 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +54907,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +54949,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +54964,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55014,7 +55040,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55291,9 +55317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *328 + - *329 + - &398 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). @@ -55307,14 +55333,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &460 title: Commit description: Commit type: object @@ -55348,7 +55374,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55389,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true message: type: string @@ -55384,7 +55410,7 @@ paths: required: - sha - url - verification: &513 + verification: &511 title: Verification type: object properties: @@ -55454,7 +55480,7 @@ paths: type: integer files: type: array - items: &475 + items: &473 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55564,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *397 protection_url: type: string format: uri @@ -55645,7 +55671,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55693,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: default: value: @@ -55869,9 +55895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -56126,7 +56152,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -56278,7 +56304,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -56390,9 +56416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56417,17 +56443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: &403 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56475,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *403 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56505,17 +56531,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: &405 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -56711,9 +56737,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *405 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56763,17 +56789,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: &406 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +56822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *406 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +56852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56853,17 +56879,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *407 + schema: *405 examples: - default: &408 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +56915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -56943,9 +56969,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *405 examples: - default: *408 + default: *406 '404': *6 '422': *15 x-github: @@ -56967,9 +56993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -56993,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57029,9 +57055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57098,9 +57124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57164,9 +57190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: content: application/json: @@ -57232,15 +57258,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: default: value: @@ -57331,9 +57357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '204': description: Response @@ -57356,9 +57382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57368,7 +57394,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &407 value: - id: 1 slug: octoapp @@ -57425,9 +57451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57461,7 +57487,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57518,7 +57544,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57575,7 +57601,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57609,7 +57635,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +57655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57669,7 +57695,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: false content: @@ -57730,7 +57756,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +57777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: content: application/json: @@ -57790,7 +57816,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +57838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 responses: '200': description: Response @@ -57848,9 +57874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57908,9 +57934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -57968,9 +57994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -58030,9 +58056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 requestBody: required: true content: @@ -58054,7 +58080,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *408 examples: default: value: @@ -58170,8 +58196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -58450,7 +58476,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &409 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58570,7 +58596,7 @@ paths: check. type: array items: *76 - deployment: &713 + deployment: &711 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58850,9 +58876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *328 + - *329 + - &410 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +58890,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: &413 + default: &411 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +58992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 requestBody: required: true content: @@ -59208,9 +59234,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *413 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 - *17 - *19 responses: @@ -59327,9 +59353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *328 + - *329 + - *410 responses: '201': description: Response @@ -59373,8 +59399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -59396,7 +59422,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &414 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59482,12 +59508,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &737 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *412 + required: *413 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59541,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &415 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +59832,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -60137,9 +60163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *328 + - *329 + - &416 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60177,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60202,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *328 + - *329 + - *416 + - &466 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &467 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60251,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *409 examples: - default: &470 + default: &468 value: total_count: 1 check_runs: @@ -60329,9 +60355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *328 + - *329 + - *416 responses: '201': description: Response @@ -60364,21 +60390,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *328 + - *329 + - *417 + - *418 - *19 - *17 - - &437 + - &435 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: *421 - - &438 + schema: *419 + - &436 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60429,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *420 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *421 responses: '200': description: Response @@ -60425,7 +60451,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: *424 + instances_url: *422 state: *158 fixed_at: *154 dismissed_by: @@ -60436,11 +60462,11 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *423 + dismissed_comment: *424 + rule: *425 + tool: *426 + most_recent_instance: *427 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,7 +60592,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &428 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60593,9 +60619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *328 + - *329 + - &429 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60609,7 +60635,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &430 type: object properties: number: *54 @@ -60617,7 +60643,7 @@ paths: updated_at: *153 url: *56 html_url: *57 - instances_url: *424 + instances_url: *422 state: *158 fixed_at: *154 dismissed_by: @@ -60628,8 +60654,8 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *423 + dismissed_comment: *424 rule: type: object properties: @@ -60683,8 +60709,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *426 + most_recent_instance: *427 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,7 +60809,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -60803,9 +60829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: true content: @@ -60820,8 +60846,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *423 + dismissed_comment: *424 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +60866,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -60916,7 +60942,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &434 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60943,15 +60969,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 responses: '200': description: Response content: application/json: - schema: &433 + schema: &431 type: object properties: status: @@ -60977,13 +61003,13 @@ paths: - description - started_at examples: - default: &434 + default: &432 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &433 description: Bad Request content: application/json: @@ -60994,7 +61020,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': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61019,29 +61045,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 responses: '200': description: OK content: application/json: - schema: *433 + schema: *431 examples: - default: *434 + default: *432 '202': description: Accepted content: application/json: - schema: *433 + schema: *431 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *433 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61073,9 +61099,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: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: false content: @@ -61120,8 +61146,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *433 + '403': *434 '404': *6 '422': description: Unprocessable Entity @@ -61145,13 +61171,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 - *19 - *17 - - *437 - - *438 + - *435 + - *436 responses: '200': description: Response @@ -61159,7 +61185,7 @@ paths: application/json: schema: type: array - items: *429 + items: *427 examples: default: value: @@ -61198,7 +61224,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61232,25 +61258,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *328 + - *329 + - *417 + - *418 - *19 - *17 - - *438 + - *436 - 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: *421 + schema: *419 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &439 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61297,23 @@ paths: application/json: schema: type: array - items: &442 + items: &440 type: object properties: - ref: *421 - commit_sha: &450 + ref: *419 + commit_sha: &448 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: *439 + analysis_key: *437 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *438 error: type: string example: error reading field xyz @@ -61311,8 +61337,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *439 + tool: *426 deletable: type: boolean warning: @@ -61373,7 +61399,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61409,8 +61435,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: - - *330 - - *331 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61449,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: response: summary: application/json response @@ -61477,7 +61503,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *428 '404': *6 '422': description: Response if analysis could not be processed @@ -61564,8 +61590,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: - - *330 - - *331 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,7 +61644,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': *436 + '403': *434 '404': *6 '503': *77 x-github: @@ -61640,8 +61666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -61649,7 +61675,7 @@ paths: application/json: schema: type: array - items: &443 + items: &441 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,7 +61786,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': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61789,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +61828,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: default: value: @@ -61834,9 +61860,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': &477 + '302': &475 description: Found - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -61858,8 +61884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61869,7 +61895,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *434 '404': *6 '503': *77 x-github: @@ -61897,8 +61923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -61907,7 +61933,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &442 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62012,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &446 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62022,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *442 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62069,7 @@ paths: items: type: object properties: - repository: &445 + repository: &443 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62105,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &447 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62137,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &444 type: object properties: repository_count: @@ -62125,7 +62151,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: *445 + items: *443 required: - repository_count - repositories @@ -62147,8 +62173,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *444 + over_limit_repos: *444 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62190,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &445 summary: Default response value: id: 1 @@ -62316,10 +62342,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *445 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *445 '404': *6 '422': description: Unable to process variant analysis submission @@ -62347,8 +62373,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: - - *330 - - *331 + - *328 + - *329 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,9 +62386,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *447 + default: *445 '404': *6 '503': *77 x-github: @@ -62385,7 +62411,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: - - *330 + - *328 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62446,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *447 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62545,8 +62571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -62631,7 +62657,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *428 '404': *6 '503': *77 x-github: @@ -62652,8 +62678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -62745,7 +62771,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *434 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62816,8 +62842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -62825,7 +62851,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *448 ref: type: string description: |- @@ -62883,7 +62909,7 @@ paths: schema: type: object properties: - id: *441 + id: *439 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,7 +62923,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': *436 + '403': *434 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62920,8 +62946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *328 + - *329 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,7 +62993,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': *430 + '403': *428 '404': description: Not Found if the sarif id does not match any upload '503': *77 @@ -62992,8 +63018,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63074,8 +63100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *328 + - *329 - 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 @@ -63195,8 +63221,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63212,7 +63238,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: default: value: @@ -63510,8 +63536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -63574,17 +63600,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '400': *14 '401': *25 '403': *29 @@ -63613,8 +63639,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -63678,8 +63704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63740,14 @@ paths: type: integer machines: type: array - items: &661 + items: &659 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *450 + required: *451 examples: - default: &662 + default: &660 value: total_count: 2 machines: @@ -63761,8 +63787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *328 + - *329 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +63872,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: - - *330 - - *331 + - *328 + - *329 - 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 @@ -63913,8 +63939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -63932,7 +63958,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &455 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,7 +63978,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *452 headers: Link: *58 x-github: @@ -63975,16 +64001,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *455 + schema: *453 examples: - default: *456 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *457 + schema: *455 examples: - default: *458 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,8 +64060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -64088,8 +64114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -64118,8 +64144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *328 + - *329 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64187,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &457 login: type: string example: octocat @@ -64254,7 +64280,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &458 - avatar_url - events_url - followers_url @@ -64328,8 +64354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '204': @@ -64376,8 +64402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 requestBody: required: false @@ -64404,7 +64430,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64633,8 +64659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '204': @@ -64666,8 +64692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 + - *328 + - *329 - *63 responses: '200': @@ -64688,8 +64714,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *457 + required: *458 nullable: true required: - permission @@ -64744,8 +64770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -64755,7 +64781,7 @@ paths: application/json: schema: type: array - items: &461 + items: &459 title: Commit Comment description: Commit Comment type: object @@ -64813,7 +64839,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &462 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64872,17 +64898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *461 + schema: *459 examples: - default: &465 + default: &463 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,8 +64965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -64963,7 +64989,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: default: value: @@ -65014,8 +65040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -65037,8 +65063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65065,9 +65091,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -65088,8 +65114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -65122,16 +65148,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -65205,8 +65231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *328 + - *329 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65288,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: &575 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65358,9 +65384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *328 + - *329 + - &461 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 - *17 - *19 responses: @@ -65444,9 +65470,9 @@ paths: application/json: schema: type: array - items: *461 + items: *459 examples: - default: *464 + default: *462 headers: Link: *58 x-github: @@ -65474,9 +65500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 requestBody: required: true content: @@ -65511,9 +65537,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: - default: *465 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 - *17 - *19 responses: @@ -65553,9 +65579,9 @@ paths: application/json: schema: type: array - items: *466 + items: *464 examples: - default: &567 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66092,11 +66118,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 - - &467 + - &465 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)" @@ -66111,9 +66137,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: &554 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66226,11 +66252,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 + - *328 + - *329 + - *465 + - *466 - *467 - - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,9 +66290,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *409 examples: - default: *470 + default: *468 headers: Link: *58 x-github: @@ -66291,9 +66317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66327,7 @@ paths: schema: type: integer example: 1 - - *468 + - *466 - *17 - *19 responses: @@ -66319,7 +66345,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *414 examples: default: value: @@ -66519,9 +66545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - *17 - *19 responses: @@ -66719,9 +66745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *328 + - *329 + - *465 - *17 - *19 responses: @@ -66731,7 +66757,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: Status description: The status of a commit. type: object @@ -66812,7 +66838,7 @@ paths: site_admin: false headers: Link: *58 - '301': *339 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +66866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -66870,20 +66896,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *469 + required: *470 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &471 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &472 - url - html_url nullable: true @@ -66897,26 +66923,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *471 + required: *472 nullable: true required: - code_of_conduct @@ -67043,8 +67069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 - name: basehead @@ -67087,8 +67113,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *460 + merge_base_commit: *460 status: type: string enum: @@ -67108,10 +67134,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *460 files: type: array - items: *475 + items: *473 required: - url - html_url @@ -67397,8 +67423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -67541,7 +67567,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &474 summary: Response if content is a file value: type: file @@ -67673,7 +67699,7 @@ paths: - size - type - url - - &580 + - &578 title: Content File description: Content File type: object @@ -67874,7 +67900,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *474 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +67969,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *475 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +67992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -68060,7 +68086,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &476 title: File Commit description: File Commit type: object @@ -68212,7 +68238,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: example-for-creating-a-file: value: @@ -68266,7 +68292,7 @@ paths: schema: oneOf: - *3 - - &508 + - &506 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68313,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &622 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *328 + - *329 - name: path description: path parameter in: path @@ -68381,7 +68407,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: default: value: @@ -68436,8 +68462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *328 + - *329 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68560,8 +68586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *170 - *171 - *172 @@ -68573,18 +68599,10 @@ paths: schema: type: string - *174 - - *479 + - *477 - *175 - *176 - *48 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). 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)." @@ -68595,8 +68613,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,7 +68620,7 @@ paths: application/json: schema: type: array - items: &482 + items: &480 type: object description: A Dependabot alert. properties: @@ -68650,7 +68666,7 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *478 security_vulnerability: *52 url: *56 html_url: *57 @@ -68681,7 +68697,7 @@ paths: nullable: true maxLength: 280 fixed_at: *154 - auto_dismissed_at: *481 + auto_dismissed_at: *479 required: - number - state @@ -68911,9 +68927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *328 + - *329 + - &481 name: alert_number in: path description: |- @@ -68928,7 +68944,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: default: value: @@ -69041,9 +69057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *328 + - *329 + - *481 requestBody: required: true content: @@ -69088,7 +69104,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: default: value: @@ -69217,8 +69233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -69236,7 +69252,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69289,16 +69305,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *485 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69334,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '200': description: Response content: application/json: - schema: *486 + schema: *484 examples: default: value: @@ -69352,8 +69368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 requestBody: required: true @@ -69406,8 +69422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 + - *328 + - *329 - *145 responses: '204': @@ -69430,8 +69446,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: - - *330 - - *331 + - *328 + - *329 - 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 @@ -69591,8 +69607,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -69831,8 +69847,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -69907,7 +69923,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +69956,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +69969,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *328 + - *329 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,9 +70139,9 @@ paths: application/json: schema: type: array - items: *488 + items: *486 examples: - default: *489 + default: *487 headers: Link: *58 x-github: @@ -70191,8 +70207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -70273,7 +70289,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *486 examples: simple-example: summary: Simple example @@ -70346,9 +70362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *328 + - *329 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70376,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *486 examples: default: value: @@ -70425,9 +70441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 responses: '204': description: Response @@ -70449,9 +70465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 - *17 - *19 responses: @@ -70461,7 +70477,7 @@ paths: application/json: schema: type: array - items: &491 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70622,9 +70638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 requestBody: required: true content: @@ -70699,9 +70715,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &492 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *328 + - *329 + - *488 - name: status_id in: path required: true @@ -70770,9 +70786,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +70813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -70855,8 +70871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -70873,7 +70889,7 @@ paths: type: integer environments: type: array - items: &494 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +70941,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,7 +70978,7 @@ paths: items: type: object properties: - type: *493 + type: *491 reviewer: anyOf: - *4 @@ -70986,7 +71002,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *328 + - *329 + - &493 name: environment_name in: path required: true @@ -71117,9 +71133,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: - default: &498 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: false content: @@ -71214,7 +71230,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71231,13 +71247,13 @@ paths: items: type: object properties: - type: *493 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71257,9 +71273,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: - default: *498 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 responses: '204': description: Default response @@ -71310,9 +71326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *17 - *19 responses: @@ -71330,7 +71346,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: true content: @@ -71435,9 +71451,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - example-wildcard: &500 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *328 + - *329 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71494,9 +71510,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71531,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *328 + - *329 + - *493 + - *499 requestBody: required: true content: @@ -71546,9 +71562,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *328 + - *329 + - *493 + - *499 responses: '204': description: Response @@ -71595,9 +71611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -71613,7 +71629,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71648,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71747,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: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 requestBody: content: application/json: @@ -71754,9 +71770,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *500 examples: - default: &504 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71807,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: - - *495 - - *331 - - *330 + - *493 + - *329 + - *328 - *19 - *17 responses: @@ -71812,7 +71828,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *501 examples: default: value: @@ -71847,10 +71863,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *328 + - *329 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +71878,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *500 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +71901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *493 + - *329 + - *328 + - *503 responses: '204': description: Response @@ -71914,9 +71930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *17 - *19 responses: @@ -71934,9 +71950,9 @@ paths: type: integer secrets: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 headers: Link: *58 x-github: @@ -71961,17 +71977,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 responses: '200': description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72009,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 responses: '200': description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: *506 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,9 +72042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 requestBody: required: true @@ -72086,9 +72102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *145 responses: '204': @@ -72114,10 +72130,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *328 + - *329 + - *493 + - *347 - *19 responses: '200': @@ -72134,9 +72150,9 @@ paths: type: integer variables: type: array - items: *382 + items: *380 examples: - default: *383 + default: *381 headers: Link: *58 x-github: @@ -72159,9 +72175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 requestBody: required: true content: @@ -72213,18 +72229,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *328 + - *329 + - *493 - *148 responses: '200': description: Response content: application/json: - schema: *382 + schema: *380 examples: - default: *507 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72261,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 - - *495 + - *493 requestBody: required: true content: @@ -72290,10 +72306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 + - *328 + - *329 - *148 - - *495 + - *493 responses: '204': description: Response @@ -72315,8 +72331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -72384,8 +72400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *328 + - *329 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72544,8 +72560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -72577,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -72661,7 +72677,7 @@ paths: schema: oneOf: - *111 - - *508 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *328 + - *329 - name: file_sha in: path required: true @@ -72786,8 +72802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -72896,7 +72912,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73126,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *328 + - *329 + - *461 responses: '200': description: Response content: application/json: - schema: *509 + schema: *507 examples: default: value: @@ -73174,9 +73190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *328 + - *329 + - &508 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. @@ -73193,7 +73209,7 @@ paths: application/json: schema: type: array - items: &511 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73268,17 +73284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 responses: '200': description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: &512 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73337,9 +73353,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 requestBody: required: true content: @@ -73396,9 +73412,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 '422': *15 '409': *47 x-github: @@ -73416,9 +73432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *328 + - *329 + - *508 responses: '204': description: Response @@ -73473,8 +73489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73541,7 +73557,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73608,7 @@ paths: - sha - type - url - verification: *513 + verification: *511 required: - sha - url @@ -73602,7 +73618,7 @@ paths: - tag - message examples: - default: &515 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *328 + - *329 - name: tag_sha in: path required: true @@ -73687,9 +73703,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: - default: *515 + default: *513 '404': *6 '409': *47 x-github: @@ -73713,8 +73729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -73787,7 +73803,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +73899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *328 + - *329 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +73923,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default-response: summary: Default response @@ -73966,8 +73982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -73977,7 +73993,7 @@ paths: application/json: schema: type: array - items: &517 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74047,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &745 title: Hook Response type: object properties: @@ -74105,8 +74121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -74158,9 +74174,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: &518 + default: &516 value: type: Repository id: 12345678 @@ -74208,17 +74224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '200': description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: *518 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 requestBody: required: true content: @@ -74285,9 +74301,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: - default: *518 + default: *516 '422': *15 '404': *6 x-github: @@ -74308,9 +74324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74334,9 +74350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '200': description: Response @@ -74363,9 +74379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 requestBody: required: false content: @@ -74409,11 +74425,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -74421,9 +74437,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -74442,18 +74458,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -74472,9 +74488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 - *16 responses: '202': *39 @@ -74497,9 +74513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74524,9 +74540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *328 + - *329 + - *184 responses: '204': description: Response @@ -74549,8 +74565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response if immutable releases are enabled @@ -74596,8 +74612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '409': *47 @@ -74617,8 +74633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '409': *47 @@ -74675,14 +74691,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &519 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74797,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &520 value: vcs: subversion use_lfs: true @@ -74797,7 +74813,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': &520 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +74842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -74875,7 +74891,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: default: value: @@ -74900,7 +74916,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +74944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -74978,7 +74994,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: example-1: summary: Example 1 @@ -75026,7 +75042,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': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75065,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *328 + - *329 + - &682 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75112,7 @@ paths: application/json: schema: type: array - items: &521 + items: &519 title: Porter Author description: Porter Author type: object @@ -75150,7 +75166,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': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *328 + - *329 - name: author_id in: path required: true @@ -75206,7 +75222,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *519 examples: default: value: @@ -75219,7 +75235,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75285,7 +75301,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -75341,11 +75357,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *522 + default: *520 '422': *15 - '503': *520 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75377,8 +75393,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *521 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -75407,12 +75423,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &523 value: limit: collaborators_only origin: repository @@ -75437,13 +75453,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *524 + schema: *522 examples: default: summary: Example request body @@ -75455,9 +75471,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *525 + default: *523 '409': description: Response x-github: @@ -75479,8 +75495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -75503,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -75514,9 +75530,9 @@ paths: application/json: schema: type: array - items: *526 + items: *524 examples: - default: &677 + default: &675 value: - id: 1 repository: @@ -75647,9 +75663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *328 + - *329 + - *206 requestBody: required: false content: @@ -75678,7 +75694,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -75809,9 +75825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *328 + - *329 + - *206 responses: '204': description: Response @@ -75842,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *328 + - *329 - 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 @@ -75891,7 +75907,7 @@ paths: required: false schema: type: string - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -75916,7 +75932,7 @@ paths: type: array items: *71 examples: - default: &535 + default: &533 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76064,7 +76080,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *339 + '301': *337 '422': *15 '404': *6 x-github: @@ -76093,8 +76109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -76178,7 +76194,7 @@ paths: application/json: schema: *71 examples: - default: &532 + default: &530 value: id: 1 node_id: MDU6SXNzdWUx @@ -76334,7 +76350,7 @@ paths: '422': *15 '503': *77 '404': *6 - '410': *336 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *96 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76384,9 +76400,9 @@ paths: application/json: schema: type: array - items: *527 + items: *525 examples: - default: &534 + default: &532 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76444,17 +76460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: &528 + default: &526 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -76532,9 +76548,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -76552,8 +76568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -76574,8 +76590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76602,9 +76618,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -76625,8 +76641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -76659,16 +76675,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -76713,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -76724,7 +76740,7 @@ paths: application/json: schema: type: array - items: &531 + items: &529 title: Issue Event description: Issue Event type: object @@ -76767,8 +76783,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *527 + required: *528 nullable: true label: title: Issue Event Label @@ -77075,8 +77091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *328 + - *329 - name: event_id in: path required: true @@ -77087,7 +77103,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: default: value: @@ -77280,7 +77296,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *328 + - *329 + - &531 name: issue_number description: The number that identifies the issue. in: path @@ -77330,10 +77346,10 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '404': *6 - '410': *336 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -77466,13 +77482,13 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 '422': *15 '503': *77 '403': *29 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -77520,7 +77536,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: content: application/json: @@ -77565,7 +77581,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77603,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: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: assignee in: path required: true @@ -77629,9 +77645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *79 - *17 - *19 @@ -77642,13 +77658,13 @@ paths: application/json: schema: type: array - items: *527 + items: *525 examples: - default: *534 + default: *532 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -77701,16 +77717,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -77738,9 +77754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77752,12 +77768,12 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -77811,15 +77827,15 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *337 '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -77850,9 +77866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77866,13 +77882,13 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +77914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77912,12 +77928,12 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +77950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -77950,7 +77966,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &535 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78004,7 +78020,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &536 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78140,7 +78156,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &537 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78191,7 +78207,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &538 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78242,7 +78258,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &539 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78296,7 +78312,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &540 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78343,7 +78359,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &541 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78390,7 +78406,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &542 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78450,7 +78466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &543 title: Locked Issue Event description: Locked Issue Event type: object @@ -78498,7 +78514,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &544 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78564,7 +78580,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &545 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78630,7 +78646,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &546 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78696,7 +78712,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &547 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78787,7 +78803,7 @@ paths: color: red headers: Link: *58 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +78820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -78818,7 +78834,7 @@ paths: type: array items: *70 examples: - default: &536 + default: &534 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78836,9 +78852,9 @@ paths: default: false headers: Link: *58 - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +78871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -78918,10 +78934,10 @@ paths: type: array items: *70 examples: - default: *536 - '301': *339 + default: *534 + '301': *337 '404': *6 - '410': *336 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +78954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -79002,10 +79018,10 @@ paths: type: array items: *70 examples: - default: *536 - '301': *339 + default: *534 + '301': *337 '404': *6 - '410': *336 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79038,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '204': description: Response - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - name: name in: path required: true @@ -79075,9 +79091,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: false content: @@ -79127,7 +79143,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *334 '404': *6 '422': *15 x-github: @@ -79145,9 +79161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '204': description: Response @@ -79177,9 +79193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 responses: '200': description: Response @@ -79187,10 +79203,10 @@ paths: application/json: schema: *71 examples: - default: *532 - '301': *339 + default: *530 + '301': *337 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - 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. @@ -79235,13 +79251,13 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79293,16 +79309,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *328 + - *329 + - *531 + - *324 responses: '204': description: Response @@ -79356,9 +79372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79382,7 +79398,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -79429,11 +79445,11 @@ paths: type: array items: *71 examples: - default: *535 + default: *533 headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79492,14 +79508,14 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *334 '422': *15 '404': *6 x-github: @@ -79519,9 +79535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 requestBody: required: true content: @@ -79554,7 +79570,7 @@ paths: application/json: schema: *71 examples: - default: *532 + default: *530 '403': *29 '404': *6 '422': *7 @@ -79576,9 +79592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *328 + - *329 + - *531 - *17 - *19 responses: @@ -79593,6 +79609,8 @@ paths: description: Timeline Event type: object anyOf: + - *535 + - *536 - *537 - *538 - *539 @@ -79604,8 +79622,6 @@ paths: - *545 - *546 - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79914,7 +79930,7 @@ paths: type: string comments: type: array - items: &569 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80123,7 +80139,7 @@ paths: type: string comments: type: array - items: *461 + items: *459 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80412,7 +80428,7 @@ paths: headers: Link: *58 '404': *6 - '410': *336 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -80440,7 +80456,7 @@ paths: application/json: schema: type: array - items: &550 + items: &548 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80506,8 +80522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -80543,9 +80559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &551 + default: &549 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *328 + - *329 + - &550 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80609,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *551 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *328 + - *329 + - *550 responses: '204': description: Response @@ -80635,8 +80651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -80648,7 +80664,7 @@ paths: type: array items: *70 examples: - default: *536 + default: *534 headers: Link: *58 '404': *6 @@ -80669,8 +80685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -80708,7 +80724,7 @@ paths: application/json: schema: *70 examples: - default: &553 + default: &551 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80754,7 +80770,7 @@ paths: application/json: schema: *70 examples: - default: *553 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80837,8 +80853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *328 + - *329 - name: name in: path required: true @@ -80864,8 +80880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -80904,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *328 + - *329 + - *435 responses: '200': description: Response @@ -81051,8 +81067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81117,8 +81133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81152,9 +81168,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *460 examples: - default: *554 + default: *552 '204': description: Response when already merged '404': @@ -81179,8 +81195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81237,12 @@ paths: application/json: schema: type: array - items: &555 + items: &553 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 examples: default: value: @@ -81282,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81323,9 +81339,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: &556 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *328 + - *329 + - &555 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81414,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: *556 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 requestBody: required: false content: @@ -81457,9 +81473,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: - default: *556 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 responses: '204': description: Response @@ -81498,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *328 + - *329 + - *555 - *17 - *19 responses: @@ -81512,7 +81528,7 @@ paths: type: array items: *70 examples: - default: *536 + default: *534 headers: Link: *58 x-github: @@ -81531,12 +81547,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 + - *328 + - *329 + - *556 + - *557 - *79 - - *560 + - *558 - *17 - *19 responses: @@ -81548,7 +81564,7 @@ paths: type: array items: *99 examples: - default: *561 + default: *559 headers: Link: *58 x-github: @@ -81572,8 +81588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -81631,14 +81647,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &562 + schema: &560 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81779,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +81820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81859,9 +81875,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '422': *15 '409': *47 x-github: @@ -81884,8 +81900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -81984,8 +82000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -82011,8 +82027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -82022,7 +82038,7 @@ paths: application/json: schema: type: array - items: &564 + items: &562 title: Page Build description: Page Build type: object @@ -82116,8 +82132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *328 + - *329 responses: '201': description: Response @@ -82162,16 +82178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *564 + schema: *562 examples: - default: &565 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *328 + - *329 - name: build_id in: path required: true @@ -82231,9 +82247,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: - default: *565 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82359,9 +82375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *328 + - *329 + - &564 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,9 +82435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *328 + - *329 + - *564 responses: '204': *163 '404': *6 @@ -82448,8 +82464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -82707,8 +82723,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: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Private vulnerability reporting status @@ -82745,8 +82761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '422': *14 @@ -82767,8 +82783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': *163 '422': *14 @@ -82791,8 +82807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +82829,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -82853,7 +82869,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +82892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82903,13 +82919,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +82948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -82941,7 +82957,7 @@ paths: application/json: schema: type: array - items: *262 + items: *260 examples: default: value: @@ -82972,8 +82988,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -82985,7 +83001,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - properties examples: @@ -83035,8 +83051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *328 + - *329 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,9 +83112,9 @@ paths: application/json: schema: type: array - items: *466 + items: *464 examples: - default: *567 + default: *565 headers: Link: *58 '304': *37 @@ -83130,8 +83146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -83196,7 +83212,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83323,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -83353,7 +83369,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *306 nullable: true head: type: object @@ -83392,14 +83408,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -83410,7 +83426,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *568 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83518,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *328 + - *329 - name: sort in: query required: false @@ -84059,9 +84075,9 @@ paths: application/json: schema: type: array - items: *569 + items: *567 examples: - default: &574 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84138,17 +84154,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '200': description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,8 +84239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -84247,9 +84263,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,8 +84281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 + - *328 + - *329 - *88 responses: '204': @@ -84288,8 +84304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84316,9 +84332,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -84339,8 +84355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 + - *328 + - *329 - *88 requestBody: required: true @@ -84373,16 +84389,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84420,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 + - *328 + - *329 - *88 - - *326 + - *324 responses: '204': description: Response @@ -84450,9 +84466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *328 + - *329 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84481,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '304': *37 '404': *6 '406': @@ -84502,9 +84518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -84546,9 +84562,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '422': *15 '403': *29 x-github: @@ -84570,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -84632,17 +84648,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -84672,9 +84688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *96 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84695,9 +84711,9 @@ paths: application/json: schema: type: array - items: *569 + items: *567 examples: - default: *574 + default: *572 headers: Link: *58 x-github: @@ -84730,9 +84746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -84837,7 +84853,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84925,9 +84941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *88 requestBody: required: true @@ -84950,7 +84966,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: default: value: @@ -85036,9 +85052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -85048,9 +85064,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *575 + default: *573 headers: Link: *58 x-github: @@ -85080,9 +85096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -85092,7 +85108,7 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: default: value: @@ -85130,9 +85146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -85268,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 responses: '200': description: Response @@ -85345,9 +85361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -85384,7 +85400,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -85920,9 +85936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -85956,7 +85972,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -86461,9 +86477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 - *17 - *19 responses: @@ -86473,7 +86489,7 @@ paths: application/json: schema: type: array - items: &576 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86624,9 +86640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -86712,9 +86728,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: &578 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86793,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *328 + - *329 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86808,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: &579 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +86869,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -86879,7 +86895,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: default: value: @@ -86941,18 +86957,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *578 + default: *576 '422': *7 '404': *6 x-github: @@ -86979,10 +86995,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 - *17 - *19 responses: @@ -87065,9 +87081,9 @@ paths: _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -87217,10 +87233,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -87248,7 +87264,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: default: value: @@ -87311,10 +87327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *328 + - *329 + - *571 + - *575 requestBody: required: true content: @@ -87349,9 +87365,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *579 + default: *577 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -87438,8 +87454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *328 + - *329 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87468,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &581 + default: &579 value: type: file encoding: base64 @@ -87496,8 +87512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *328 + - *329 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87533,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *581 + default: *579 '404': *6 '422': *15 x-github: @@ -87541,8 +87557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -87552,7 +87568,7 @@ paths: application/json: schema: type: array - items: *582 + items: *580 examples: default: value: @@ -87646,8 +87662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -87723,9 +87739,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: &586 + 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 @@ -87830,9 +87846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *328 + - *329 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +87860,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *581 examples: - default: &585 + 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 @@ -87881,7 +87897,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +87913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *328 + - *329 + - *582 requestBody: required: false content: @@ -87927,9 +87943,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *581 examples: - default: *585 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +87961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *328 + - *329 + - *582 responses: '204': description: Response @@ -87971,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -88057,16 +88073,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *328 + - *329 - name: tag description: tag parameter in: path @@ -88097,9 +88113,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *328 + - *329 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88153,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: *582 + schema: *580 examples: - default: *586 + default: *584 '401': description: Unauthorized x-github: @@ -88157,9 +88173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 requestBody: required: false content: @@ -88223,9 +88239,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *580 examples: - default: *586 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 responses: '204': description: Response @@ -88268,9 +88284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 - *17 - *19 responses: @@ -88280,7 +88296,7 @@ paths: application/json: schema: type: array - items: *583 + items: *581 examples: default: value: @@ -88361,9 +88377,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: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 - name: name in: query required: true @@ -88389,7 +88405,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *581 examples: response-for-successful-upload: value: @@ -88444,9 +88460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *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. @@ -88470,9 +88486,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 '404': *6 @@ -88493,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *328 + - *329 + - *585 requestBody: required: true content: @@ -88525,16 +88541,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '201': description: Reaction created content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *328 + - *329 + - *585 + - *324 responses: '204': description: Response @@ -88583,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *328 + - *329 + - *398 - *17 - *19 responses: @@ -88601,8 +88617,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *269 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +88637,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *586 + - allOf: + - *271 + - *586 - allOf: - *272 - - *588 + - *586 + - allOf: + - *587 + - *586 - allOf: - *273 - - *588 + - *586 - allOf: - *274 - - *588 - - allOf: - - *589 - - *588 + - *586 - allOf: - *275 - - *588 + - *586 - allOf: - *276 - - *588 + - *586 - allOf: - *277 - - *588 + - *586 - allOf: - *278 - - *588 + - *586 - allOf: - *279 - - *588 + - *586 - allOf: - *280 - - *588 + - *586 - allOf: - *281 - - *588 + - *586 - allOf: - *282 - - *588 + - *586 - allOf: - *283 - - *588 + - *586 - allOf: - *284 - - *588 + - *586 - allOf: - *285 - - *588 + - *586 - allOf: - *286 - - *588 + - *586 - allOf: - *287 - - *588 + - *586 - allOf: - *288 - - *588 - - allOf: - - *289 - - *588 + - *586 - allOf: - - *290 - - *588 - - allOf: - - *590 - *588 + - *586 examples: default: value: @@ -88722,8 +88738,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - name: includes_parents @@ -88734,7 +88750,7 @@ paths: schema: type: boolean default: true - - *591 + - *589 responses: '200': description: Response @@ -88742,7 +88758,7 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: default: value: @@ -88789,8 +88805,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 requestBody: description: Request body required: true @@ -88810,16 +88826,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *590 required: - name - enforcement @@ -88850,9 +88866,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &602 + default: &600 value: id: 42 name: super cool ruleset @@ -88899,12 +88915,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 + - *328 + - *329 + - *591 + - *592 - *593 - *594 - - *595 - - *596 - *17 - *19 responses: @@ -88912,9 +88928,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *598 + default: *596 '404': *6 '500': *106 x-github: @@ -88935,17 +88951,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *328 + - *329 + - *597 responses: '200': description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 '404': *6 '500': *106 x-github: @@ -88973,8 +88989,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,9 +89010,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *600 '404': *6 '500': *106 put: @@ -89014,8 +89030,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89056,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *590 examples: default: value: @@ -89077,9 +89093,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *600 '404': *6 '500': *106 delete: @@ -89097,8 +89113,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89121,8 +89137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 - name: ruleset_id @@ -89138,9 +89154,9 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *603 + default: *601 '404': *6 '500': *106 x-github: @@ -89159,8 +89175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89194,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *602 examples: default: value: @@ -89233,21 +89249,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 + - *293 + - *294 - *295 - *296 - - *297 - - *298 - *48 - *19 - *17 - - *605 - - *606 + - *603 + - *604 + - *297 + - *298 - *299 - *300 - - *301 - - *302 responses: '200': description: Response @@ -89255,7 +89271,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 type: object properties: number: *54 @@ -89274,8 +89290,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolved_at: type: string format: date-time @@ -89371,7 +89387,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *607 nullable: true has_more_locations: type: boolean @@ -89520,16 +89536,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *328 + - *329 + - *429 + - *300 responses: '200': description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89581,9 +89597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 requestBody: required: true content: @@ -89591,8 +89607,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89626,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89685,9 +89701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *328 + - *329 + - *429 - *19 - *17 responses: @@ -89698,7 +89714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &767 type: object properties: type: @@ -89724,6 +89740,8 @@ paths: example: commit details: oneOf: + - *609 + - *610 - *611 - *612 - *613 @@ -89735,8 +89753,6 @@ paths: - *619 - *620 - *621 - - *622 - - *623 examples: default: value: @@ -89822,8 +89838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -89831,14 +89847,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &623 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *622 required: - reason - placeholder_id @@ -89855,7 +89871,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *623 expire_at: type: string format: date-time @@ -89898,8 +89914,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: - - *330 - - *331 + - *328 + - *329 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89914,7 +89930,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &624 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +89956,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *624 backfill_scans: type: array - items: *626 + items: *624 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *624 - type: object properties: pattern_name: @@ -90018,8 +90034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *328 + - *329 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90079,9 @@ paths: application/json: schema: type: array - items: *627 + items: *625 examples: - default: *628 + default: *626 '400': *14 '404': *6 x-github: @@ -90088,8 +90104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -90162,7 +90178,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 required: - login - type @@ -90249,9 +90265,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: &630 + default: &628 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -90589,7 +90605,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: default: value: @@ -90736,17 +90752,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '200': description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 + default: *628 '403': *29 '404': *6 x-github: @@ -90770,9 +90786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 requestBody: required: true content: @@ -90845,7 +90861,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *305 required: - login - type @@ -90931,10 +90947,10 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 - add_credit: *630 + default: *628 + add_credit: *628 '403': *29 '404': *6 '422': @@ -90972,9 +90988,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: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '202': *39 '400': *14 @@ -91001,17 +91017,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *328 + - *329 + - *627 responses: '202': description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91137,8 +91153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91163,7 @@ paths: application/json: schema: type: array - items: &631 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,8 +91196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91257,8 +91273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91354,8 +91370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91536,7 @@ paths: application/json: schema: type: array - items: *631 + items: *629 examples: default: value: @@ -91553,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *328 + - *329 - name: sha in: path required: true @@ -91608,7 +91624,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -91662,8 +91678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91695,14 +91711,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: false content: @@ -91797,7 +91813,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -91824,8 +91840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -91845,8 +91861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -91925,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -91934,7 +91950,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 title: Tag protection description: Tag protection type: object @@ -91986,8 +92002,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: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92010,7 +92026,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -92041,8 +92057,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: - - *330 - - *331 + - *328 + - *329 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92095,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *328 + - *329 - name: ref in: path required: true @@ -92116,8 +92132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *328 + - *329 - *17 - *19 responses: @@ -92129,7 +92145,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: Link: *58 '404': *6 @@ -92149,8 +92165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *328 + - *329 - *19 - *17 responses: @@ -92158,7 +92174,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92186,7 @@ paths: required: - names examples: - default: &636 + default: &634 value: names: - octocat @@ -92193,8 +92209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92225,9 +92241,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '422': *7 x-github: @@ -92248,9 +92264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *328 + - *329 + - &635 name: per description: The time frame to display results for. in: query @@ -92279,7 +92295,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &636 title: Traffic type: object properties: @@ -92366,8 +92382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -92457,8 +92473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *328 + - *329 responses: '200': description: Response @@ -92518,9 +92534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *328 + - *329 + - *635 responses: '200': description: Response @@ -92539,7 +92555,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *636 required: - uniques - count @@ -92616,8 +92632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *328 + - *329 requestBody: required: true content: @@ -92891,8 +92907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +92931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -92938,8 +92954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -92965,8 +92981,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *328 + - *329 - name: ref in: path required: true @@ -93058,9 +93074,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93308,7 +93324,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &637 title: Search Result Text Matches type: array items: @@ -93470,7 +93486,7 @@ paths: enum: - author-date - committer-date - - &640 + - &638 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 @@ -93541,7 +93557,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true comment_count: type: integer @@ -93561,7 +93577,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *511 required: - author - committer @@ -93580,7 +93596,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *396 nullable: true parents: type: array @@ -93598,7 +93614,7 @@ paths: type: number node_id: type: string - text_matches: *639 + text_matches: *637 required: - sha - node_id @@ -93790,7 +93806,7 @@ paths: - interactions - created - updated - - *640 + - *638 - *17 - *19 - name: advanced_search @@ -93887,11 +93903,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: type: string state_reason: @@ -93908,8 +93924,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -93923,7 +93939,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *637 pull_request: type: object properties: @@ -93967,7 +93983,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -94148,7 +94164,7 @@ paths: enum: - created - updated - - *640 + - *638 - *17 - *19 responses: @@ -94192,7 +94208,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *637 required: - id - node_id @@ -94277,7 +94293,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *638 - *17 - *19 responses: @@ -94516,7 +94532,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *637 temp_clone_token: type: string allow_merge_commit: @@ -94816,7 +94832,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *637 related: type: array nullable: true @@ -95007,7 +95023,7 @@ paths: - followers - repositories - joined - - *640 + - *638 - *17 - *19 responses: @@ -95111,7 +95127,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *637 blog: type: string nullable: true @@ -95190,7 +95206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &642 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95218,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95294,16 +95310,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '201': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *316 + default: *314 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *642 responses: '204': description: Response @@ -95362,7 +95378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *642 - *48 - *17 - *19 @@ -95373,9 +95389,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *645 + default: *643 headers: Link: *58 x-github: @@ -95404,7 +95420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95438,9 +95454,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 responses: '200': description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: false content: @@ -95525,9 +95541,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 responses: '204': description: Response @@ -95582,8 +95598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *642 + - *317 - *48 - *17 - *19 @@ -95594,9 +95610,9 @@ paths: application/json: schema: type: array - items: *320 + items: *318 examples: - default: *647 + default: *645 headers: Link: *58 x-github: @@ -95625,8 +95641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: true content: @@ -95648,9 +95664,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95693,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *321 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 requestBody: required: true content: @@ -95736,9 +95752,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: - default: *648 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 responses: '204': description: Response @@ -95794,9 +95810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 - 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. @@ -95822,9 +95838,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -95853,9 +95869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *317 + - *320 requestBody: required: true content: @@ -95887,9 +95903,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +95931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *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. @@ -95942,9 +95958,9 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -95973,8 +95989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *317 requestBody: required: true content: @@ -96006,9 +96022,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96042,9 +96058,9 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: Link: *58 x-github: @@ -96070,7 +96086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *642 - name: role description: Filters members returned by their role in the team. in: query @@ -96121,7 +96137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96158,7 +96174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96198,7 +96214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96235,16 +96251,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 responses: '200': description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *647 '404': *6 x-github: githubCloudOnly: false @@ -96277,7 +96293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 requestBody: required: false @@ -96303,9 +96319,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *648 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,7 +96355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 + - *642 - *63 responses: '204': @@ -96368,7 +96384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96378,9 +96394,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *651 + default: *649 headers: Link: *58 '404': *6 @@ -96406,16 +96422,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *642 + - *327 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *652 + default: *650 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *642 + - *327 requestBody: required: false content: @@ -96507,8 +96523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *642 + - *327 responses: '204': description: Response @@ -96535,7 +96551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96547,7 +96563,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '404': *6 @@ -96577,15 +96593,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *651 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 requestBody: required: false content: @@ -96788,9 +96804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *642 + - *328 + - *329 responses: '204': description: Response @@ -96815,7 +96831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96827,7 +96843,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *652 headers: Link: *58 '404': *6 @@ -96860,7 +96876,7 @@ paths: application/json: schema: oneOf: - - &656 + - &654 title: Private User description: Private User type: object @@ -97063,7 +97079,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *653 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97232,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -97419,9 +97435,9 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 '500': *106 '401': *25 @@ -97560,17 +97576,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -97614,7 +97630,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &655 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,7 +97670,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *452 headers: Link: *58 x-github: @@ -97730,7 +97746,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -97876,7 +97892,7 @@ paths: type: array items: *137 examples: - default: *658 + default: *656 '401': *25 '403': *29 '404': *6 @@ -98020,15 +98036,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '304': *37 '500': *106 '401': *25 @@ -98054,7 +98070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 requestBody: required: false content: @@ -98084,9 +98100,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '401': *25 '403': *29 '404': *6 @@ -98108,7 +98124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': *39 '304': *37 @@ -98137,13 +98153,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': description: Response content: application/json: - schema: &659 + schema: &657 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98200,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &658 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98216,7 +98232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *214 - name: export_id in: path required: true @@ -98229,9 +98245,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *214 responses: '200': description: Response @@ -98268,9 +98284,9 @@ paths: type: integer machines: type: array - items: *661 + items: *659 examples: - default: *662 + default: *660 '304': *37 '500': *106 '401': *25 @@ -98299,7 +98315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *214 requestBody: required: true content: @@ -98349,13 +98365,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *450 + required: *451 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,15 +99145,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '304': *37 '500': *106 '400': *14 @@ -99169,15 +99185,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *449 '500': *106 '401': *25 '403': *29 @@ -99207,9 +99223,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: &674 + default: &672 value: - id: 197 name: hello_docker @@ -99310,7 +99326,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Email description: Email type: object @@ -99375,9 +99391,9 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: &676 + default: &674 value: - email: octocat@github.com verified: true @@ -99452,7 +99468,7 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: default: value: @@ -99708,7 +99724,7 @@ paths: application/json: schema: type: array - items: &664 + items: &662 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +99855,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &688 value: - id: 3 name: Octocat's GPG Key @@ -99924,9 +99940,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: &665 + default: &663 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +99999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &664 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100011,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: *665 + default: *663 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *664 responses: '204': description: Response @@ -100296,12 +100312,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100341,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *522 examples: default: value: @@ -100336,7 +100352,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: default: value: @@ -100417,7 +100433,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -100442,7 +100458,7 @@ paths: type: array items: *71 examples: - default: *213 + default: *211 headers: Link: *58 '404': *6 @@ -100475,7 +100491,7 @@ paths: application/json: schema: type: array - items: &667 + items: &665 title: Key description: Key type: object @@ -100576,9 +100592,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: &668 + default: &666 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *550 responses: '200': description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: *668 + default: *666 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *550 responses: '204': description: Response @@ -100675,7 +100691,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100743,7 +100759,7 @@ paths: - account - plan examples: - default: &670 + default: &668 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100805,9 +100821,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *670 + default: *668 headers: Link: *58 '304': *37 @@ -100847,7 +100863,7 @@ paths: application/json: schema: type: array - items: *219 + items: *217 examples: default: value: @@ -100955,7 +100971,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101038,7 +101054,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101106,7 +101122,7 @@ paths: application/json: schema: type: array - items: *221 + items: *219 examples: default: value: @@ -101359,7 +101375,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101539,7 +101555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *220 - name: exclude in: query required: false @@ -101552,7 +101568,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101746,7 +101762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *220 responses: '302': description: Response @@ -101772,7 +101788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *220 responses: '204': description: Response @@ -101801,8 +101817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *220 + - *669 responses: '204': description: Response @@ -101826,7 +101842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *220 - *17 - *19 responses: @@ -101838,7 +101854,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '404': *6 @@ -101873,9 +101889,9 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *670 headers: Link: *58 '304': *37 @@ -101917,7 +101933,7 @@ paths: - docker - nuget - container - - *673 + - *671 - *19 - *17 responses: @@ -101927,10 +101943,10 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 - '400': *675 + default: *672 + '400': *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +101966,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: &691 + default: &689 value: id: 40201 name: octo-name @@ -102072,8 +102088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '204': description: Response @@ -102103,8 +102119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - name: token description: package token schema: @@ -102136,8 +102152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - *19 - *17 - name: state @@ -102157,7 +102173,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -102206,15 +102222,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -102250,9 +102266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102282,9 +102298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102340,7 +102356,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -102412,9 +102428,9 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: *676 + default: *674 headers: Link: *58 '304': *37 @@ -102527,7 +102543,7 @@ paths: type: array items: *67 examples: - default: &683 + default: &681 summary: Default response value: - id: 1296269 @@ -102831,9 +102847,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *336 examples: - default: *340 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,9 +102887,9 @@ paths: application/json: schema: type: array - items: *526 + items: *524 examples: - default: *677 + default: *675 headers: Link: *58 '304': *37 @@ -102896,7 +102912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102919,7 +102935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102952,7 +102968,7 @@ paths: application/json: schema: type: array - items: &678 + items: &676 title: Social account description: Social media account type: object @@ -102967,7 +102983,7 @@ paths: - provider - url examples: - default: &679 + default: &677 value: - provider: twitter url: https://twitter.com/github @@ -103029,9 +103045,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103134,7 @@ paths: application/json: schema: type: array - items: &680 + items: &678 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103154,7 @@ paths: - title - created_at examples: - default: &705 + default: &703 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103204,9 +103220,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: &681 + default: &679 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103253,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: - - &682 + - &680 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103265,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103290,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: - - *682 + - *680 responses: '204': description: Response @@ -103303,7 +103319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &704 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -103328,11 +103344,11 @@ paths: type: array items: *67 examples: - default-response: *683 + default-response: *681 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &705 title: Starred Repository description: Starred Repository type: object @@ -103488,8 +103504,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: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -103542,8 +103558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *328 + - *329 responses: '204': description: Response @@ -103578,7 +103594,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 '304': *37 @@ -103615,7 +103631,7 @@ paths: application/json: schema: type: array - items: *315 + items: *313 examples: default: value: @@ -103701,10 +103717,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: &685 + default-response: &683 summary: Default response value: login: octocat @@ -103739,7 +103755,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &684 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +103815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *682 - *17 responses: '200': @@ -103848,11 +103864,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *683 + response-with-git-hub-plan-information: *684 '404': *6 x-github: githubCloudOnly: false @@ -103901,8 +103917,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *685 + withPredicateType: *686 responses: '200': description: Response @@ -103955,7 +103971,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104159,7 +104175,7 @@ paths: initiator: type: string examples: - default: *394 + default: *392 '201': description: Response content: @@ -104198,9 +104214,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *672 '403': *29 '401': *25 x-github: @@ -104584,9 +104600,9 @@ paths: application/json: schema: type: array - items: *664 + items: *662 examples: - default: *690 + default: *688 headers: Link: *58 x-github: @@ -104690,7 +104706,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104773,9 +104789,9 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *670 headers: Link: *58 x-github: @@ -104814,7 +104830,7 @@ paths: - docker - nuget - container - - *673 + - *671 - *63 - *19 - *17 @@ -104825,12 +104841,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *672 '403': *29 '401': *25 - '400': *675 + '400': *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +104866,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: *691 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,8 +104897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '204': @@ -104915,8 +104931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - name: token description: package token @@ -104949,8 +104965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 responses: '200': @@ -104959,7 +104975,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -105017,16 +105033,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 - *63 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -105061,10 +105077,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - - *233 + - *231 responses: '204': description: Response @@ -105096,10 +105112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 - - *231 + - *228 + - *229 - *63 - - *233 + - *231 responses: '204': description: Response @@ -105146,7 +105162,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -105221,9 +105237,9 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -105245,16 +105261,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: Link: *58 '304': *37 @@ -105276,7 +105292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 + - *245 - *63 - *17 - *40 @@ -105288,9 +105304,9 @@ paths: application/json: schema: type: array - items: *248 + items: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -105312,17 +105328,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 + - *245 + - *690 - *63 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: Link: *58 '304': *37 @@ -105345,7 +105361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 + - *245 - *63 - *40 - *41 @@ -105358,8 +105374,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -105367,7 +105385,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -105375,9 +105392,9 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -105399,7 +105416,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *247 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105453,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - issue: *254 - pull_request: *254 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -105459,9 +105476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 + - *245 - *63 - - *257 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105478,9 +105495,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: Link: *58 '304': *37 @@ -105501,9 +105518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 + - *245 - *63 - - *257 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +105590,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -105599,9 +105616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 + - *245 - *63 - - *257 + - *255 responses: '204': description: Response @@ -105821,7 +105838,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -105851,9 +105868,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *692 examples: - default: *695 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105881,9 +105898,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *694 examples: - default: *697 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +105909,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -105902,10 +105922,10 @@ paths: parameters: - *63 - *107 - - *698 + - *696 - *108 - - *699 - - *700 + - *697 + - *698 responses: '200': description: Response when getting a billing premium request usage report @@ -106041,9 +106061,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *699 examples: - default: *702 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106065,9 +106085,9 @@ paths: parameters: - *63 - *107 - - *703 + - *701 - *108 - - *704 + - *702 responses: '200': description: Response when getting a billing usage report @@ -106166,9 +106186,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *679 + default: *677 headers: Link: *58 x-github: @@ -106198,9 +106218,9 @@ paths: application/json: schema: type: array - items: *680 + items: *678 examples: - default: *705 + default: *703 headers: Link: *58 x-github: @@ -106225,7 +106245,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *706 + - *704 - *48 - *17 - *19 @@ -106237,11 +106257,11 @@ paths: schema: anyOf: - type: array - items: *707 + items: *705 - type: array items: *67 examples: - default-response: *683 + default-response: *681 headers: Link: *58 x-github: @@ -106272,7 +106292,7 @@ paths: type: array items: *137 examples: - default: *234 + default: *232 headers: Link: *58 x-github: @@ -106400,7 +106420,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &706 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106478,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &707 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106497,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &708 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106557,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &709 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &739 id: description: Unique identifier of the repository example: 42 @@ -107226,7 +107246,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &740 - archive_url - assignees_url - blobs_url @@ -107377,10 +107397,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -107456,11 +107476,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: &710 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107683,11 +107703,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -107870,11 +107890,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -107958,7 +107978,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &712 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108049,7 +108069,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *711 details_url: example: https://example.com type: string @@ -108134,10 +108154,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108530,11 +108550,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108930,11 +108950,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109359,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -110320,10 +110340,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -110993,10 +111013,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111660,10 +111680,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111829,7 +111849,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +111994,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &713 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *706 + installation: *707 + organization: *708 + ref: &714 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -112152,7 +112172,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112402,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -112482,7 +112502,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +112673,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -112824,7 +112844,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113010,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -113095,7 +113115,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113283,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *709 sender: *4 required: - action @@ -113369,7 +113389,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *424 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +113529,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -113771,10 +113791,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -113854,18 +113874,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *708 + pusher_type: &715 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &716 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +113895,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *709 sender: *4 required: - ref @@ -113957,10 +113977,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114045,9 +114065,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114124,10 +114144,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114204,10 +114224,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -114284,19 +114304,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *706 + installation: *707 + repository: *709 + organization: *708 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *260 required: - action - repository @@ -114372,18 +114392,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *706 + installation: *707 + organization: *708 + pusher_type: *715 + ref: *716 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *709 sender: *4 required: - ref @@ -114467,11 +114487,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114555,11 +114575,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114643,11 +114663,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114729,11 +114749,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114815,11 +114835,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114902,11 +114922,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -114988,11 +115008,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *480 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -115069,9 +115089,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *706 + installation: *707 + key: &717 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115127,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -115185,11 +115205,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + key: *717 + organization: *708 + repository: *709 sender: *4 required: - action @@ -115750,12 +115770,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: &723 + workflow: &721 title: Workflow type: object nullable: true @@ -116481,13 +116501,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *486 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *569 + repository: *709 + organization: *708 + installation: *707 sender: *4 responses: '200': @@ -116558,7 +116578,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &718 type: object properties: avatar_url: @@ -116601,11 +116621,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: &719 type: array items: type: object @@ -116684,7 +116704,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &720 type: object properties: conclusion: @@ -117415,18 +117435,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *718 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: *719 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *720 workflow_job_runs: type: array items: @@ -118130,13 +118150,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *706 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *707 + organization: *708 + repository: *709 + requestor: &726 title: User type: object nullable: true @@ -120035,12 +120055,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120740,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &724 type: object properties: author_association: @@ -120877,11 +120897,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121008,11 +121028,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121095,11 +121115,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121181,7 +121201,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &723 type: object properties: author_association: @@ -121338,11 +121358,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121425,12 +121445,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121525,12 +121545,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121614,11 +121634,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121700,11 +121720,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121804,11 +121824,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -121890,10 +121910,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *722 + enterprise: *706 + installation: *707 + label: &725 title: Label type: object properties: @@ -121925,8 +121945,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122009,11 +122029,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122095,11 +122115,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122181,11 +122201,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122270,16 +122290,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *722 + new_repository: *709 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122362,10 +122382,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *722 + old_answer: *724 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122447,12 +122467,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122535,11 +122555,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122621,11 +122641,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -122698,7 +122718,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *706 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123378,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - forkee @@ -123506,9 +123526,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pages: description: The pages that were updated. type: array @@ -123545,7 +123565,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *709 sender: *4 required: - pages @@ -123621,10 +123641,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: &729 + organization: *708 + repositories: &727 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123670,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *709 + requester: *726 sender: *4 required: - action @@ -123726,11 +123746,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -123806,11 +123826,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -123886,10 +123906,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories_added: &730 + organization: *708 + repositories_added: &728 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +123955,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *709 + repository_selection: &729 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *726 sender: *4 required: - action @@ -124022,10 +124042,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories_added: *730 + organization: *708 + repositories_added: *728 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124072,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *709 + repository_selection: *729 + requester: *726 sender: *4 required: - action @@ -124133,11 +124153,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -124315,10 +124335,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 target_type: type: string @@ -124397,11 +124417,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *706 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -124653,8 +124673,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125468,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125485,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -125798,8 +125818,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -125879,7 +125899,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &730 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126064,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +126855,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +126872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -127187,8 +127207,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -127268,7 +127288,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &759 description: The changes to the comment. type: object properties: @@ -127280,9 +127300,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *730 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128095,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128112,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -128425,8 +128445,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128516,9 +128536,9 @@ x-webhooks: type: number blocking_issue: *71 blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128612,9 +128632,9 @@ x-webhooks: type: number blocking_issue: *71 blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128707,9 +128727,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128803,9 +128823,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -128890,10 +128910,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *726 + enterprise: *706 + installation: *707 + issue: &733 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129702,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129722,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -129803,8 +129823,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -129884,8 +129904,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130699,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130719,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -130935,8 +130955,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -131015,8 +131035,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +131821,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +131841,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -131921,8 +131941,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -132001,8 +132021,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +132829,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +132849,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -132908,7 +132928,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &731 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133066,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -133146,8 +133166,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +133956,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +133973,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -134057,9 +134077,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -134139,8 +134159,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +134948,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +134965,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -135049,9 +135069,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -135131,8 +135151,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +135964,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +135981,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -136042,8 +136062,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -136122,8 +136142,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +136949,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +136969,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -137027,9 +137047,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -137897,11 +137917,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138014,7 @@ x-webhooks: required: - login - id - type: *209 + type: *207 required: - id - number @@ -138463,8 +138483,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139273,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139293,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -139373,8 +139393,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -139454,9 +139474,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *706 + installation: *707 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140259,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140279,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -140359,8 +140379,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140439,8 +140459,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141270,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141368,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142216,11 +142236,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142256,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -142804,11 +142824,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142888,12 +142908,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142974,7 +142994,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &762 title: User type: object nullable: true @@ -143044,11 +143064,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143127,12 +143147,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143212,8 +143232,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144043,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144063,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -144121,8 +144141,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144202,11 +144222,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144285,12 +144305,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + issue: *733 + type: *207 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144370,11 +144390,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144452,11 +144472,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144566,11 +144586,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144652,9 +144672,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *706 + installation: *707 + marketplace_purchase: &734 title: Marketplace Purchase type: object required: @@ -144737,8 +144757,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *708 + previous_marketplace_purchase: &735 title: Marketplace Purchase type: object properties: @@ -144818,7 +144838,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -144898,10 +144918,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145004,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -145066,10 +145086,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145171,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *709 sender: *4 required: - action @@ -145232,8 +145252,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145335,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -145397,12 +145417,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -145504,11 +145524,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145608,11 +145628,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145691,11 +145711,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145773,11 +145793,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +145873,7 @@ x-webhooks: required: - login - id - team: &738 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146096,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146177,7 @@ x-webhooks: required: - login - id - team: *738 + team: *736 required: - action - scope @@ -146239,8 +146259,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *707 + merge_group: &738 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146279,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *737 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146353,10 +146373,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *707 + merge_group: *738 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146429,7 +146449,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *706 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146558,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *707 + organization: *708 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -146628,11 +146648,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146711,9 +146731,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *706 + installation: *707 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +146870,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146930,11 +146950,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147044,11 +147064,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147128,11 +147148,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + milestone: *741 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147211,11 +147231,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147294,11 +147314,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147377,9 +147397,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *706 + installation: *707 + membership: &742 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147506,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147565,11 +147585,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147648,8 +147668,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147785,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 - user: *728 + user: *726 required: - action - invitation @@ -147846,11 +147866,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -147937,11 +147957,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -148017,9 +148037,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -148518,7 +148538,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &743 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148633,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -148689,9 +148709,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -149044,7 +149064,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *743 source_url: type: string format: uri @@ -149114,7 +149134,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -149291,12 +149311,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *706 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - id @@ -149373,7 +149393,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &744 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149539,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149599,11 +149619,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149679,11 +149699,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149758,11 +149778,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *744 + organization: *708 + enterprise: *706 sender: *4 - installation: *709 + installation: *707 required: - action - personal_access_token_request @@ -149867,7 +149887,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *745 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +149919,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150165,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *706 + installation: *707 + organization: *708 + project_card: &746 title: Project Card type: object properties: @@ -150267,7 +150287,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -150348,11 +150368,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -150432,9 +150452,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 project_card: title: Project Card type: object @@ -150562,8 +150582,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -150657,11 +150677,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -150755,9 +150775,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 project_card: allOf: - title: Project Card @@ -150947,7 +150967,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *709 sender: *4 required: - action @@ -151027,10 +151047,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *706 + installation: *707 + organization: *708 + project: &748 title: Project type: object properties: @@ -151154,7 +151174,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -151234,10 +151254,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *706 + installation: *707 + organization: *708 + project_column: &747 title: Project Column type: object properties: @@ -151276,7 +151296,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *709 sender: *4 required: - action @@ -151355,18 +151375,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -151456,11 +151476,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -151540,11 +151560,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -151624,11 +151644,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151708,18 +151728,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -151821,11 +151841,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151904,11 +151924,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -151989,9 +152009,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152072,9 +152092,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152155,9 +152175,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152274,9 +152294,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -152359,7 +152379,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &752 type: object properties: archived_at: @@ -152373,9 +152393,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *707 + organization: *708 + projects_v2_item: &749 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152413,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -152510,9 +152530,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152594,9 +152614,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152677,9 +152697,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152785,7 +152805,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &750 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +152827,7 @@ x-webhooks: required: - id - name - - &753 + - &751 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +152861,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *750 + - *751 required: - field_value - type: object @@ -152858,9 +152878,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -152955,9 +152975,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -153040,10 +153060,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *752 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -153125,9 +153145,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *707 + organization: *708 + projects_v2: *243 sender: *4 required: - action @@ -153208,14 +153228,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *707 + organization: *708 + projects_v2_status_update: &755 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *753 + required: *754 sender: *4 required: - action @@ -153296,9 +153316,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -153434,9 +153454,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -153507,10 +153527,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - repository @@ -153587,13 +153607,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *726 + enterprise: *706 + installation: *707 + number: &756 description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -155876,7 +155896,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -155958,11 +155978,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -158240,7 +158260,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -158322,11 +158342,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -160604,7 +160624,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *709 sender: *4 required: - action @@ -160686,13 +160706,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: &757 allOf: - - *571 + - *569 - type: object properties: allow_auto_merge: @@ -160754,7 +160774,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *709 sender: *4 required: - action @@ -160835,12 +160855,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -160920,11 +160940,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *706 + milestone: *553 + number: *756 + organization: *708 + pull_request: &758 title: Pull Request type: object properties: @@ -163187,7 +163207,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -163266,11 +163286,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -165552,7 +165572,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *709 sender: *4 required: - action @@ -165676,12 +165696,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -165761,11 +165781,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -168032,7 +168052,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -168112,11 +168132,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -170398,7 +170418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -170479,10 +170499,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -172762,7 +172782,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -172842,12 +172862,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *706 + milestone: *553 + number: *756 + organization: *708 + pull_request: *758 + repository: *709 sender: *4 required: - action @@ -172926,12 +172946,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173012,12 +173032,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173097,12 +173117,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -173468,9 +173488,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -175640,7 +175660,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -175720,7 +175740,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &760 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +176025,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -178165,7 +178185,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -178245,11 +178265,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *759 + comment: *760 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -180410,7 +180430,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *709 sender: *4 required: - action @@ -180491,9 +180511,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182686,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 review: description: The review that was affected. type: object @@ -182913,9 +182933,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -184969,8 +184989,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *709 + review: &761 description: The review that was affected. type: object properties: @@ -185203,12 +185223,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -187491,7 +187511,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_reviewer: title: User type: object @@ -187575,12 +187595,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -189870,7 +189890,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190082,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -192352,7 +192372,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_reviewer: title: User type: object @@ -192437,12 +192457,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *710 + organization: *708 pull_request: title: Pull Request type: object @@ -194718,7 +194738,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +194919,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197096,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *709 + review: *761 sender: *4 required: - action @@ -197157,9 +197177,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199249,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 sender: *4 thread: type: object @@ -199616,9 +199636,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201694,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *709 sender: *4 thread: type: object @@ -202064,10 +202084,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -204338,7 +204358,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -204420,11 +204440,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *762 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -206707,7 +206727,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -206786,11 +206806,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -209063,7 +209083,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -209144,10 +209164,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -211412,7 +211432,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *709 sender: *4 required: - action @@ -211612,7 +211632,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *706 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211724,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *707 + organization: *708 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212300,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -212728,7 +212748,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *743 summary: type: string tag_name: @@ -212782,7 +212802,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -212860,9 +212880,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -213170,7 +213190,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *743 summary: type: string tag_name: @@ -213219,7 +213239,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *709 sender: *4 required: - action @@ -213296,10 +213316,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *706 + installation: *707 + organization: *708 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213637,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *709 sender: *4 required: - action @@ -213694,11 +213714,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -213815,11 +213835,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -213897,9 +213917,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214241,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *709 sender: *4 required: - action @@ -214297,10 +214317,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *706 + installation: *707 + organization: *708 + release: &764 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214639,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *709 sender: *4 required: - action @@ -214695,11 +214715,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -214775,11 +214795,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + release: *764 + repository: *709 sender: *4 required: - action @@ -214855,11 +214875,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *625 sender: *4 required: - action @@ -214935,11 +214955,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *625 sender: *4 required: - action @@ -215015,10 +215035,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215095,10 +215115,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215176,10 +215196,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215263,10 +215283,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215378,10 +215398,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215453,10 +215473,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 status: type: string @@ -215537,10 +215557,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215617,10 +215637,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215714,10 +215734,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215797,11 +215817,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 sender: *4 required: - action @@ -215879,11 +215899,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 sender: *4 required: - action @@ -215961,11 +215981,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *289 changes: type: object properties: @@ -215984,16 +216004,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *264 deleted: type: array - items: *266 + items: *264 updated: type: array items: type: object properties: - condition: *266 + condition: *264 changes: type: object properties: @@ -216026,16 +216046,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *590 deleted: type: array - items: *592 + items: *590 updated: type: array items: type: object properties: - rule: *592 + rule: *590 changes: type: object properties: @@ -216269,10 +216289,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216350,10 +216370,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216431,7 +216451,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &765 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216572,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216761,10 +216781,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216842,11 +216862,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217045,10 +217065,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217126,7 +217146,7 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &766 type: object properties: number: *54 @@ -217244,10 +217264,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217328,11 +217348,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *766 + installation: *707 + location: *767 + organization: *708 + repository: *709 sender: *4 required: - location @@ -217570,11 +217590,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217652,11 +217672,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217734,11 +217754,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217816,11 +217836,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -217946,10 +217966,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *709 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -218027,11 +218047,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: &768 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218234,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: *768 sender: *4 required: - action @@ -218291,10 +218311,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +218498,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *263 + enterprise: *706 + installation: *707 + organization: *708 + repository: *336 sender: *4 required: - changes @@ -218560,12 +218580,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: &771 + sponsorship: &769 type: object properties: created_at: @@ -218866,12 +218886,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - sponsorship @@ -218959,12 +218979,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219041,17 +219061,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &770 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - sponsorship @@ -219125,7 +219145,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &771 type: object properties: tier: @@ -219169,13 +219189,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219252,13 +219272,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *771 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *771 + sponsorship: *769 required: - action - changes @@ -219332,10 +219352,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219438,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +219861,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *706 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *707 name: type: string - organization: *710 - repository: *711 + organization: *708 + repository: *709 sender: *4 sha: description: The Commit SHA. @@ -219964,9 +219984,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220056,9 +220076,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220148,9 +220168,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220240,9 +220260,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -220319,12 +220339,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - team: &774 + team: &772 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220567,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221007,7 +221027,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -221083,9 +221103,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221543,7 +221563,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -221620,9 +221640,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -222080,7 +222100,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -222224,9 +222244,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -222684,7 +222704,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - changes @@ -222762,9 +222782,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -223222,7 +223242,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *772 required: - action - team @@ -223298,10 +223318,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -223374,16 +223394,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *706 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *707 + organization: *708 ref: type: string - repository: *711 + repository: *709 sender: *4 workflow: type: string @@ -223465,10 +223485,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -223705,7 +223725,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *486 required: - action - repository @@ -223784,10 +223804,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -224047,7 +224067,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *486 required: - action - repository @@ -224126,10 +224146,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -224264,7 +224284,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *486 required: - action - repository @@ -224343,10 +224363,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -224482,7 +224502,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *486 required: - action - repository @@ -224562,12 +224582,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -225566,12 +225586,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -226555,12 +226575,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *723 + workflow: *721 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c2fc1bc49c..b07e02c0d0 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -41195,29 +41195,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -57751,7 +57728,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -100932,7 +100909,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -119821,6 +119798,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "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 results before this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -140169,29 +140250,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -191028,7 +191086,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "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`", "in": "query", "required": false, "schema": { @@ -191036,8 +191094,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -352339,16 +352396,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). 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).\"", @@ -352376,29 +352423,6 @@ "schema": { "type": "string" } - }, - { - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}