diff --git a/cache/api.github.com.deref.json b/cache/api.github.com.deref.json index 7177e68d..cee75799 100644 --- a/cache/api.github.com.deref.json +++ b/cache/api.github.com.deref.json @@ -43877,7 +43877,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -59556,6 +59556,9 @@ } } }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "description": "Internal Error", "content": { @@ -208751,6 +208754,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -213363,6 +213392,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -214074,6 +214129,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243357,6 +243438,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243804,6 +243911,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244158,6 +244291,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244302,6 +244461,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244449,6 +244634,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244600,6 +244811,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244822,6 +245059,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244945,6 +245208,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245280,6 +245569,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245563,6 +245878,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -245862,6 +246203,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -246172,6 +246539,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -310490,6 +310883,132 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", diff --git a/cache/api.github.com.json b/cache/api.github.com.json index ec1ee3ff..889e0088 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -5180,7 +5180,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -9041,6 +9041,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -32754,6 +32757,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -32982,6 +32988,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -33040,6 +33049,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -37288,6 +37300,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37441,6 +37456,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37494,6 +37512,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37550,6 +37571,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37601,6 +37625,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37687,6 +37714,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37770,6 +37800,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37807,6 +37840,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37940,6 +37976,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37998,6 +38037,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38134,6 +38176,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38207,6 +38252,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44668,6 +44716,63 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", diff --git a/cache/ghec.deref.json b/cache/ghec.deref.json index eea9daaf..4480fb8f 100644 --- a/cache/ghec.deref.json +++ b/cache/ghec.deref.json @@ -52938,7 +52938,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -71794,6 +71794,9 @@ } } }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "description": "Internal Error", "content": { @@ -225649,6 +225652,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -230261,6 +230290,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -230972,6 +231027,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -260303,6 +260384,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -260750,6 +260857,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -261104,6 +261237,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -261248,6 +261407,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -261395,6 +261580,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -261546,6 +261757,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -261768,6 +262005,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -261891,6 +262154,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -262226,6 +262515,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -262509,6 +262824,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -262808,6 +263149,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -263118,6 +263485,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -327579,6 +327972,132 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", @@ -403944,7 +404463,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -404008,6 +404527,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -404482,6 +405010,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -404968,7 +405507,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -405000,6 +405539,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -405456,6 +406004,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -406039,6 +406596,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -406620,6 +407186,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -406886,7 +407461,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", @@ -406939,6 +407514,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -407485,6 +408069,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -408226,7 +408821,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -408247,6 +408842,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -408780,6 +409384,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -409500,6 +410113,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -410219,6 +410841,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghec.json b/cache/ghec.json index a2996dd5..77adba48 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -7921,7 +7921,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -12806,6 +12806,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -37752,6 +37755,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37980,6 +37986,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38038,6 +38047,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -42286,6 +42298,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42439,6 +42454,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42492,6 +42510,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -42548,6 +42569,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -42599,6 +42623,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -42685,6 +42712,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42768,6 +42798,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42805,6 +42838,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42938,6 +42974,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42996,6 +43035,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -43132,6 +43174,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -43205,6 +43250,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -49737,6 +49785,63 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", @@ -57345,7 +57450,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -57384,6 +57489,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -57436,6 +57544,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -57500,7 +57613,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -57518,6 +57631,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -57576,6 +57692,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -57682,6 +57801,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -57798,6 +57920,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -57831,7 +57956,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", @@ -57866,6 +57991,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -57918,6 +58046,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -57982,7 +58115,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -57997,6 +58130,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -58055,6 +58191,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -58131,6 +58270,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -58265,6 +58407,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/cache/ghes-3.10.deref.json b/cache/ghes-3.10.deref.json index 87e4b704..3080feb5 100644 --- a/cache/ghes-3.10.deref.json +++ b/cache/ghes-3.10.deref.json @@ -62922,7 +62922,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -198572,6 +198572,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -203184,6 +203210,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -203895,6 +203947,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -232769,6 +232847,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -233216,6 +233320,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -233570,6 +233700,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -233714,6 +233870,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -233861,6 +234043,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -234012,6 +234220,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234234,6 +234468,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234357,6 +234617,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234692,6 +234978,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234975,6 +235287,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -235274,6 +235612,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -235584,6 +235948,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -348000,7 +348390,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -348064,6 +348454,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -348538,6 +348937,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -349024,7 +349434,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -349056,6 +349466,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -349512,6 +349931,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -350095,6 +350523,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -350676,6 +351113,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -350942,7 +351388,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -350995,6 +351441,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -351541,6 +351996,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -352282,7 +352748,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -352303,6 +352769,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -352836,6 +353311,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -353556,6 +354040,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -354275,6 +354768,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghes-3.10.json b/cache/ghes-3.10.json index 8b68745f..0bf5b26c 100644 --- a/cache/ghes-3.10.json +++ b/cache/ghes-3.10.json @@ -10472,7 +10472,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -34157,6 +34157,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -34385,6 +34388,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -34443,6 +34449,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -38631,6 +38640,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38784,6 +38796,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38837,6 +38852,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38893,6 +38911,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38944,6 +38965,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39030,6 +39054,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39113,6 +39140,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39150,6 +39180,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39283,6 +39316,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39341,6 +39377,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39477,6 +39516,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39550,6 +39592,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -51287,7 +51332,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -51326,6 +51371,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51378,6 +51426,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -51442,7 +51495,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -51460,6 +51513,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51518,6 +51574,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -51624,6 +51683,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -51740,6 +51802,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51773,7 +51838,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -51808,6 +51873,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51860,6 +51928,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -51924,7 +51997,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -51939,6 +52012,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51997,6 +52073,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -52073,6 +52152,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -52207,6 +52289,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/cache/ghes-3.11.deref.json b/cache/ghes-3.11.deref.json index 5a0f82ab..82872e86 100644 --- a/cache/ghes-3.11.deref.json +++ b/cache/ghes-3.11.deref.json @@ -64304,7 +64304,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -206053,6 +206053,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -210665,6 +210691,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -211376,6 +211428,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -240272,6 +240350,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -240719,6 +240823,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -241073,6 +241203,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -241217,6 +241373,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -241364,6 +241546,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -241515,6 +241723,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -241737,6 +241971,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -241860,6 +242120,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242195,6 +242481,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242478,6 +242790,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -242777,6 +243115,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243087,6 +243451,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -361965,7 +362355,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -362029,6 +362419,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -362503,6 +362902,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -362989,7 +363399,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -363021,6 +363431,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -363477,6 +363896,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -364060,6 +364488,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -364641,6 +365078,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -364907,7 +365353,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -364960,6 +365406,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -365506,6 +365961,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -366247,7 +366713,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -366268,6 +366734,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -366801,6 +367276,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -367521,6 +368005,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -368240,6 +368733,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghes-3.11.json b/cache/ghes-3.11.json index db3b3542..900b8534 100644 --- a/cache/ghes-3.11.json +++ b/cache/ghes-3.11.json @@ -10750,7 +10750,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -35043,6 +35043,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -35271,6 +35274,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -35329,6 +35335,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -39521,6 +39530,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39674,6 +39686,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39727,6 +39742,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39783,6 +39801,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39834,6 +39855,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39920,6 +39944,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40003,6 +40030,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40040,6 +40070,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40173,6 +40206,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40231,6 +40267,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40367,6 +40406,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40440,6 +40482,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -52693,7 +52738,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -52732,6 +52777,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -52784,6 +52832,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -52848,7 +52901,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -52866,6 +52919,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -52924,6 +52980,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53030,6 +53089,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53146,6 +53208,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53179,7 +53244,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -53214,6 +53279,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53266,6 +53334,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -53330,7 +53403,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -53345,6 +53418,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53403,6 +53479,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53479,6 +53558,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53613,6 +53695,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/cache/ghes-3.12.deref.json b/cache/ghes-3.12.deref.json index db9a6ba2..a26a8bc0 100644 --- a/cache/ghes-3.12.deref.json +++ b/cache/ghes-3.12.deref.json @@ -66204,7 +66204,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -208652,6 +208652,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -213264,6 +213290,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -213975,6 +214027,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242937,6 +243015,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243384,6 +243488,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243738,6 +243868,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -243882,6 +244038,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244029,6 +244211,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244180,6 +244388,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244402,6 +244636,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244525,6 +244785,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244860,6 +245146,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245143,6 +245455,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -245442,6 +245780,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245752,6 +246116,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -365236,7 +365626,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -365300,6 +365690,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -365774,6 +366173,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -366260,7 +366670,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -366292,6 +366702,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -366748,6 +367167,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -367331,6 +367759,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -367912,6 +368349,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -368178,7 +368624,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -368231,6 +368677,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -368777,6 +369232,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -369518,7 +369984,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -369539,6 +370005,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -370072,6 +370547,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -370792,6 +371276,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -371511,6 +372004,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghes-3.12.json b/cache/ghes-3.12.json index 930564d0..0859ac18 100644 --- a/cache/ghes-3.12.json +++ b/cache/ghes-3.12.json @@ -11405,7 +11405,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -35869,6 +35869,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36097,6 +36100,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -36155,6 +36161,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -40358,6 +40367,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40511,6 +40523,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40564,6 +40579,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40620,6 +40638,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40671,6 +40692,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40757,6 +40781,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40840,6 +40867,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40877,6 +40907,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41010,6 +41043,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41068,6 +41104,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41204,6 +41243,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41277,6 +41319,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -53656,7 +53701,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -53695,6 +53740,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53747,6 +53795,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -53811,7 +53864,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -53829,6 +53882,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53887,6 +53943,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53993,6 +54052,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54109,6 +54171,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54142,7 +54207,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -54177,6 +54242,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54229,6 +54297,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -54293,7 +54366,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -54308,6 +54381,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54366,6 +54442,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54442,6 +54521,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54576,6 +54658,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/cache/ghes-3.8.deref.json b/cache/ghes-3.8.deref.json index ed916333..09bbe9e4 100644 --- a/cache/ghes-3.8.deref.json +++ b/cache/ghes-3.8.deref.json @@ -61477,7 +61477,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -184599,6 +184599,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -189202,6 +189228,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -189913,6 +189965,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -217572,6 +217650,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -218019,6 +218123,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -218373,6 +218503,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -218517,6 +218673,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -218664,6 +218846,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -218815,6 +219023,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219037,6 +219271,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219160,6 +219420,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219495,6 +219781,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219778,6 +220090,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -220077,6 +220415,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -220387,6 +220751,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -332239,7 +332629,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -332303,6 +332693,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -332777,6 +333176,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -333263,7 +333673,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -333295,6 +333705,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -333751,6 +334170,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -334334,6 +334762,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -334915,6 +335352,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -335181,7 +335627,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -335234,6 +335680,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -335780,6 +336235,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -336521,7 +336987,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -336542,6 +337008,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -337075,6 +337550,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -337795,6 +338279,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -338514,6 +339007,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghes-3.8.json b/cache/ghes-3.8.json index dedcef72..18cc768a 100644 --- a/cache/ghes-3.8.json +++ b/cache/ghes-3.8.json @@ -9980,7 +9980,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -31556,6 +31556,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -31784,6 +31787,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -31842,6 +31848,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -35661,6 +35670,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -35814,6 +35826,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -35867,6 +35882,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -35923,6 +35941,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -35974,6 +35995,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -36060,6 +36084,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36143,6 +36170,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36180,6 +36210,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36313,6 +36346,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36371,6 +36407,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -36507,6 +36546,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36580,6 +36622,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -48211,7 +48256,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -48250,6 +48295,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -48302,6 +48350,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -48366,7 +48419,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -48384,6 +48437,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -48442,6 +48498,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -48548,6 +48607,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -48664,6 +48726,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -48697,7 +48762,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -48732,6 +48797,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -48784,6 +48852,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -48848,7 +48921,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -48863,6 +48936,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -48921,6 +48997,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -48997,6 +49076,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -49131,6 +49213,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/cache/ghes-3.9.deref.json b/cache/ghes-3.9.deref.json index 115554e8..9ae504b6 100644 --- a/cache/ghes-3.9.deref.json +++ b/cache/ghes-3.9.deref.json @@ -62220,7 +62220,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -192641,6 +192641,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -197244,6 +197270,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -197955,6 +198007,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -226047,6 +226125,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -226494,6 +226598,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -226848,6 +226978,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -226992,6 +227148,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -227139,6 +227321,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -227290,6 +227498,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -227512,6 +227746,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -227635,6 +227895,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -227970,6 +228256,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -228253,6 +228565,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -228552,6 +228890,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -228862,6 +229226,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -341074,7 +341464,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -341138,6 +341528,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -341612,6 +342011,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -342098,7 +342508,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -342130,6 +342540,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -342586,6 +343005,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -343169,6 +343597,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -343750,6 +344187,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -344016,7 +344462,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -344069,6 +344515,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -344615,6 +345070,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -345356,7 +345822,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -345377,6 +345843,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -345910,6 +346385,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -346630,6 +347114,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -347349,6 +347842,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/cache/ghes-3.9.json b/cache/ghes-3.9.json index 47a22685..bb38ba79 100644 --- a/cache/ghes-3.9.json +++ b/cache/ghes-3.9.json @@ -10199,7 +10199,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -32903,6 +32903,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -33131,6 +33134,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -33189,6 +33195,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -37063,6 +37072,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37216,6 +37228,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37269,6 +37284,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37325,6 +37343,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37376,6 +37397,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37462,6 +37486,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37545,6 +37572,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37582,6 +37612,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37715,6 +37748,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37773,6 +37809,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37909,6 +37948,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37982,6 +38024,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -49719,7 +49764,7 @@ } } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -49758,6 +49803,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -49810,6 +49858,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -49874,7 +49927,7 @@ } } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -49892,6 +49945,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -49950,6 +50006,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50056,6 +50115,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50172,6 +50234,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50205,7 +50270,7 @@ } } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -50240,6 +50305,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50292,6 +50360,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -50356,7 +50429,7 @@ } } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -50371,6 +50444,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50429,6 +50505,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50505,6 +50584,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50639,6 +50721,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/api.github.com.deref.json b/generated/api.github.com.deref.json index ada60785..95e23889 100644 --- a/generated/api.github.com.deref.json +++ b/generated/api.github.com.deref.json @@ -43848,7 +43848,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -59611,6 +59611,9 @@ } } }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "description": "Internal Error", "content": { @@ -209074,6 +209077,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -213689,6 +213718,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -214401,6 +214456,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243742,6 +243823,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244190,6 +244297,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244545,6 +244678,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244690,6 +244849,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244838,6 +245023,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244990,6 +245201,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245213,6 +245450,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245337,6 +245600,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245673,6 +245962,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245957,6 +246272,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -246257,6 +246598,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -246568,6 +246935,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -311329,6 +311722,133 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + }, + "x-octokit": {} + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", diff --git a/generated/api.github.com.json b/generated/api.github.com.json index 1cb88a6d..2f94ad35 100644 --- a/generated/api.github.com.json +++ b/generated/api.github.com.json @@ -5967,7 +5967,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -9912,6 +9912,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -33915,6 +33918,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -34146,6 +34152,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -34205,6 +34214,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -38511,6 +38523,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38665,6 +38680,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38719,6 +38737,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38776,6 +38797,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38828,6 +38852,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38915,6 +38942,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38999,6 +39029,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39037,6 +39070,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39171,6 +39207,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39230,6 +39269,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39367,6 +39409,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39441,6 +39486,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -45947,6 +45995,64 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + }, + "x-octokit": {} + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", diff --git a/generated/ghec.deref.json b/generated/ghec.deref.json index be749547..6e12f3a8 100644 --- a/generated/ghec.deref.json +++ b/generated/ghec.deref.json @@ -52971,7 +52971,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -71929,6 +71929,9 @@ } } }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "description": "Internal Error", "content": { @@ -226103,6 +226106,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -230718,6 +230747,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -231430,6 +231485,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -260819,6 +260900,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -261267,6 +261374,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -261622,6 +261755,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -261767,6 +261926,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -261915,6 +262100,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -262067,6 +262278,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -262290,6 +262527,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -262414,6 +262677,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -262750,6 +263039,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -263034,6 +263349,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -263334,6 +263675,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -263645,6 +264012,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -328551,6 +328944,133 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + }, + "x-octokit": {} + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", @@ -406008,7 +406528,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -406072,6 +406592,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -406547,6 +407076,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -407034,7 +407574,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -407066,6 +407606,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -407523,6 +408072,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -408107,6 +408665,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -408689,6 +409256,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -408956,7 +409532,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", @@ -409009,6 +409585,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -409556,6 +410141,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -410298,7 +410894,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -410319,6 +410915,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -410853,6 +411458,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -411574,6 +412188,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -412294,6 +412917,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghec.json b/generated/ghec.json index d68b1df0..a8933e2e 100644 --- a/generated/ghec.json +++ b/generated/ghec.json @@ -8770,7 +8770,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Cloud.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -13757,6 +13757,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "description": "There is a problem with your account's associated payment method." + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -39023,6 +39026,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39254,6 +39260,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39313,6 +39322,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -43619,6 +43631,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -43773,6 +43788,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -43827,6 +43845,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -43884,6 +43905,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -43936,6 +43960,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -44023,6 +44050,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44107,6 +44137,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44145,6 +44178,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44279,6 +44315,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44338,6 +44377,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -44475,6 +44517,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -44549,6 +44594,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -51128,6 +51176,64 @@ } }, "/repos/{owner}/{repo}/private-vulnerability-reporting": { + "get": { + "summary": "Check if private vulnerability reporting is enabled for a repository", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "tags": [ + "repos" + ], + "operationId": "repos/check-private-vulnerability-reporting", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Private vulnerability reporting status", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether or not private vulnerability reporting is enabled for the repository." + } + }, + "required": [ + "enabled" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true + } + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + }, + "x-octokit": {} + }, "put": { "summary": "Enable private vulnerability reporting for a repository", "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", @@ -58848,7 +58954,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -58887,6 +58993,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -58940,6 +59049,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -59005,7 +59119,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -59023,6 +59137,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -59082,6 +59199,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -59189,6 +59309,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -59306,6 +59429,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -59340,7 +59466,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", @@ -59375,6 +59501,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -59428,6 +59557,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -59493,7 +59627,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for GitHub Enterprise Cloud accounts with enterprise managed users are currently only accessible through published identity provider applications.\nPublic access to SCIM API endpoints are in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -59508,6 +59642,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -59567,6 +59704,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -59644,6 +59784,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -59779,6 +59922,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/ghes-3.10.deref.json b/generated/ghes-3.10.deref.json index 52e66104..5097dc24 100644 --- a/generated/ghes-3.10.deref.json +++ b/generated/ghes-3.10.deref.json @@ -63021,7 +63021,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -198989,6 +198989,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -203604,6 +203630,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -204316,6 +204368,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -233247,6 +233325,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -233695,6 +233799,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234050,6 +234180,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -234195,6 +234351,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -234343,6 +234525,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -234495,6 +234703,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234718,6 +234952,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -234842,6 +235102,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -235178,6 +235464,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -235462,6 +235774,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -235762,6 +236100,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -236073,6 +236437,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -349993,7 +350383,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -350057,6 +350447,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -350532,6 +350931,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -351019,7 +351429,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -351051,6 +351461,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -351508,6 +351927,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -352092,6 +352520,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -352674,6 +353111,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -352941,7 +353387,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -352994,6 +353440,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -353541,6 +353996,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -354283,7 +354749,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -354304,6 +354770,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -354838,6 +355313,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -355559,6 +356043,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -356279,6 +356772,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghes-3.10.json b/generated/ghes-3.10.json index d43c919f..cc9b88ad 100644 --- a/generated/ghes-3.10.json +++ b/generated/ghes-3.10.json @@ -11362,7 +11362,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -35366,6 +35366,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -35597,6 +35600,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -35656,6 +35662,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -39901,6 +39910,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40055,6 +40067,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40109,6 +40124,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40166,6 +40184,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40218,6 +40239,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40305,6 +40329,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40389,6 +40416,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40427,6 +40457,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40561,6 +40594,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40620,6 +40656,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -40757,6 +40796,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40831,6 +40873,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -52694,7 +52739,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -52733,6 +52778,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -52786,6 +52834,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -52851,7 +52904,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -52869,6 +52922,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -52928,6 +52984,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53035,6 +53094,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53152,6 +53214,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53186,7 +53251,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -53221,6 +53286,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53274,6 +53342,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.10/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -53339,7 +53412,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -53354,6 +53427,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -53413,6 +53489,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53490,6 +53569,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -53625,6 +53707,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/ghes-3.11.deref.json b/generated/ghes-3.11.deref.json index 3e0a8ab1..0d405594 100644 --- a/generated/ghes-3.11.deref.json +++ b/generated/ghes-3.11.deref.json @@ -64405,7 +64405,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -206478,6 +206478,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -211093,6 +211119,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -211805,6 +211857,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -240758,6 +240836,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -241206,6 +241310,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -241561,6 +241691,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -241706,6 +241862,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -241854,6 +242036,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -242006,6 +242214,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242229,6 +242463,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242353,6 +242613,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242689,6 +242975,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -242973,6 +243285,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -243273,6 +243611,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243584,6 +243948,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -363972,7 +364362,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -364036,6 +364426,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -364511,6 +364910,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -364998,7 +365408,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -365030,6 +365440,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -365487,6 +365906,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -366071,6 +366499,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -366653,6 +367090,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -366920,7 +367366,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -366973,6 +367419,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -367520,6 +367975,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -368262,7 +368728,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -368283,6 +368749,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -368817,6 +369292,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -369538,6 +370022,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -370258,6 +370751,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghes-3.11.json b/generated/ghes-3.11.json index 981acd68..5caaa7f8 100644 --- a/generated/ghes-3.11.json +++ b/generated/ghes-3.11.json @@ -11642,7 +11642,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -36260,6 +36260,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -36491,6 +36494,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -36550,6 +36556,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -40799,6 +40808,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -40953,6 +40965,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41007,6 +41022,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41064,6 +41082,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41116,6 +41137,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41203,6 +41227,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41287,6 +41314,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41325,6 +41355,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41459,6 +41492,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41518,6 +41554,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41655,6 +41694,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41729,6 +41771,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -54114,7 +54159,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -54153,6 +54198,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54206,6 +54254,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -54271,7 +54324,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -54289,6 +54342,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54348,6 +54404,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54455,6 +54514,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54572,6 +54634,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54606,7 +54671,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -54641,6 +54706,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54694,6 +54762,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -54759,7 +54832,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -54774,6 +54847,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -54833,6 +54909,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -54910,6 +54989,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -55045,6 +55127,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/ghes-3.12.deref.json b/generated/ghes-3.12.deref.json index 623296f9..b9d06a04 100644 --- a/generated/ghes-3.12.deref.json +++ b/generated/ghes-3.12.deref.json @@ -66298,7 +66298,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -209073,6 +209073,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -213688,6 +213714,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -214400,6 +214452,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243419,6 +243497,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -243867,6 +243971,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244222,6 +244352,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244367,6 +244523,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244515,6 +244697,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -244667,6 +244875,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -244890,6 +245124,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245014,6 +245274,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245350,6 +245636,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -245634,6 +245946,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -245934,6 +246272,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -246245,6 +246609,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -367241,7 +367631,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -367305,6 +367695,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -367780,6 +368179,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -368267,7 +368677,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -368299,6 +368709,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -368756,6 +369175,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -369340,6 +369768,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -369922,6 +370359,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -370189,7 +370635,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -370242,6 +370688,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -370789,6 +371244,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -371531,7 +371997,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -371552,6 +372018,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -372086,6 +372561,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -372807,6 +373291,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -373527,6 +374020,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghes-3.12.json b/generated/ghes-3.12.json index b4e53ef1..6e140359 100644 --- a/generated/ghes-3.12.json +++ b/generated/ghes-3.12.json @@ -12307,7 +12307,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -37099,6 +37099,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37330,6 +37333,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37389,6 +37395,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -41649,6 +41658,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41803,6 +41815,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -41857,6 +41872,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41914,6 +41932,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -41966,6 +41987,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -42053,6 +42077,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42137,6 +42164,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42175,6 +42205,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42309,6 +42342,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42368,6 +42404,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -42505,6 +42544,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -42579,6 +42621,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -55092,7 +55137,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -55131,6 +55176,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -55184,6 +55232,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -55249,7 +55302,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -55267,6 +55320,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -55326,6 +55382,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -55433,6 +55492,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -55550,6 +55612,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -55584,7 +55649,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -55619,6 +55684,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -55672,6 +55740,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -55737,7 +55810,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -55752,6 +55825,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -55811,6 +55887,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -55888,6 +55967,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -56023,6 +56105,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/ghes-3.8.deref.json b/generated/ghes-3.8.deref.json index 1a09194e..8a175892 100644 --- a/generated/ghes-3.8.deref.json +++ b/generated/ghes-3.8.deref.json @@ -61577,7 +61577,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -184946,6 +184946,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -189552,6 +189578,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -190264,6 +190316,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -217974,6 +218052,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -218422,6 +218526,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -218777,6 +218907,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -218922,6 +219078,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -219070,6 +219252,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -219222,6 +219430,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219445,6 +219679,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219569,6 +219829,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -219905,6 +220191,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -220189,6 +220501,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -220489,6 +220827,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -220800,6 +221164,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -334163,7 +334553,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -334227,6 +334617,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -334702,6 +335101,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -335189,7 +335599,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -335221,6 +335631,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -335678,6 +336097,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -336262,6 +336690,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -336844,6 +337281,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -337111,7 +337557,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -337164,6 +337610,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -337711,6 +338166,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -338453,7 +338919,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -338474,6 +338940,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -339008,6 +339483,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -339729,6 +340213,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -340449,6 +340942,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghes-3.8.json b/generated/ghes-3.8.json index d0c84acc..b93a21f4 100644 --- a/generated/ghes-3.8.json +++ b/generated/ghes-3.8.json @@ -10863,7 +10863,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.8/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -32708,6 +32708,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -32939,6 +32942,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -32998,6 +33004,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -36868,6 +36877,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37022,6 +37034,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37076,6 +37091,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37133,6 +37151,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37185,6 +37206,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37272,6 +37296,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37356,6 +37383,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37394,6 +37424,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37528,6 +37561,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37587,6 +37623,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -37724,6 +37763,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -37798,6 +37840,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -49552,7 +49597,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -49591,6 +49636,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -49644,6 +49692,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -49709,7 +49762,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -49727,6 +49780,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -49786,6 +49842,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -49893,6 +49952,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50010,6 +50072,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50044,7 +50109,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -50079,6 +50144,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50132,6 +50200,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.8/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -50197,7 +50270,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -50212,6 +50285,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -50271,6 +50347,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50348,6 +50427,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -50483,6 +50565,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { diff --git a/generated/ghes-3.9.deref.json b/generated/ghes-3.9.deref.json index 873ed4f0..4de4c15e 100644 --- a/generated/ghes-3.9.deref.json +++ b/generated/ghes-3.9.deref.json @@ -62315,7 +62315,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -193013,6 +193013,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -197619,6 +197645,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -198331,6 +198383,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -226475,6 +226553,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -226923,6 +227027,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -227278,6 +227408,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -227423,6 +227579,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -227571,6 +227753,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -227723,6 +227931,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -227946,6 +228180,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -228070,6 +228330,32 @@ "204": { "description": "Response" }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -228406,6 +228692,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -228690,6 +229002,32 @@ } } } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -228990,6 +229328,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -229301,6 +229665,32 @@ } } }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "422": { "description": "Validation failed, or the endpoint has been spammed.", "content": { @@ -343027,7 +343417,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -343091,6 +343481,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -343566,6 +343965,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -344053,7 +344463,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -344085,6 +344495,15 @@ "type": "string", "example": "members" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -344542,6 +344961,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -345126,6 +345554,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -345708,6 +346145,15 @@ "type": "string", "example": "7fce0092-d52e-4f76-b727-3955bd72c939" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -345975,7 +346421,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -346028,6 +346474,15 @@ "format": "int32", "example": 1 } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -346575,6 +347030,17 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "required": true, "content": { @@ -347317,7 +347783,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -347338,6 +347804,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -347872,6 +348347,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -348593,6 +349077,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -349313,6 +349806,15 @@ "schema": { "type": "string" } + }, + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { diff --git a/generated/ghes-3.9.json b/generated/ghes-3.9.json index cafe6065..a2e593dd 100644 --- a/generated/ghes-3.9.json +++ b/generated/ghes-3.9.json @@ -11085,7 +11085,7 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], @@ -34088,6 +34088,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -34319,6 +34322,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -34378,6 +34384,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" }, @@ -38304,6 +38313,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38458,6 +38470,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38512,6 +38527,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38569,6 +38587,9 @@ "$ref": "#/components/headers/link" } } + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38621,6 +38642,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -38708,6 +38732,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38792,6 +38819,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38830,6 +38860,9 @@ "204": { "description": "Response" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -38964,6 +38997,9 @@ } } }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39023,6 +39059,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { @@ -39160,6 +39199,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -39234,6 +39276,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "409": { + "$ref": "#/components/responses/conflict" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -51097,7 +51142,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups": { + "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", @@ -51136,6 +51181,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51189,6 +51237,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -51254,7 +51307,7 @@ "x-octokit": {} } }, - "/scim/v2/Groups/{scim_group_id}": { + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM group.", @@ -51272,6 +51325,9 @@ }, { "$ref": "#/components/parameters/excluded-attributes" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51331,6 +51387,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -51438,6 +51497,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -51555,6 +51617,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-group-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51589,7 +51654,7 @@ "x-octokit": {} } }, - "/scim/v2/Users": { + "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen a user with a SCIM-provisioned external identity is removed from an enterprise through a `patch` with `active` flag set to `false`, the account's metadata is preserved to allow the user to re-join the enterprise in the future. However, the user's account will be suspended and the user will not be able to sign-in. In order to permanently suspend the users account with no ability to re-join the enterprise in the future, use the `delete` request. Users that were not permanently deleted will be visible in the returned results.", @@ -51624,6 +51689,9 @@ }, { "$ref": "#/components/parameters/count" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51677,6 +51745,11 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], "requestBody": { "required": true, "content": { @@ -51742,7 +51815,7 @@ "x-octokit": {} } }, - "/scim/v2/Users/{scim_user_id}": { + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in *private* beta and are subject to change.\n\nGets information about a SCIM user.", @@ -51757,6 +51830,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": { @@ -51816,6 +51892,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -51893,6 +51972,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "requestBody": { @@ -52028,6 +52110,9 @@ "parameters": [ { "$ref": "#/components/parameters/scim-user-id" + }, + { + "$ref": "#/components/parameters/enterprise" } ], "responses": {