diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 17b51e26f1..b926d68c76 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -20348,6 +20348,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -20381,6 +20386,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -20391,6 +20397,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -20401,6 +20408,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -20597,6 +20605,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index d8bc980a2c..42cfa37876 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -14777,6 +14777,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -14816,6 +14820,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -14825,6 +14830,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -14834,6 +14840,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -14974,6 +14981,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 17b51e26f1..b926d68c76 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -20348,6 +20348,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -20381,6 +20386,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -20391,6 +20397,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -20401,6 +20408,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -20597,6 +20605,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d8bc980a2c..42cfa37876 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -14777,6 +14777,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -14816,6 +14820,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -14825,6 +14830,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -14834,6 +14840,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -14974,6 +14981,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 6036caa3f2..ca2a0852ae 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -120183,6 +120183,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -120216,6 +120221,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -120226,6 +120232,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -120236,6 +120243,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -120730,6 +120738,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index bdde78ac5a..1f2e54901b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -32778,6 +32778,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -32817,6 +32821,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -32826,6 +32831,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -32835,6 +32841,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -33032,6 +33039,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 6036caa3f2..ca2a0852ae 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -120183,6 +120183,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -120216,6 +120221,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -120226,6 +120232,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -120236,6 +120243,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -120730,6 +120738,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index bdde78ac5a..1f2e54901b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -32778,6 +32778,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -32817,6 +32821,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -32826,6 +32831,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -32835,6 +32841,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -33032,6 +33039,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 364e4c6451..c9285a73a7 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -153054,6 +153054,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -153087,6 +153092,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -153097,6 +153103,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -153107,6 +153114,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -153601,6 +153609,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 53512ec726..c4972de8d9 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -41790,6 +41790,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -41829,6 +41833,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -41838,6 +41843,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -41847,6 +41853,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -42044,6 +42051,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 364e4c6451..c9285a73a7 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -153054,6 +153054,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -153087,6 +153092,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -153097,6 +153103,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -153107,6 +153114,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -153601,6 +153609,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 53512ec726..c4972de8d9 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -41790,6 +41790,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -41829,6 +41833,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -41838,6 +41843,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -41847,6 +41853,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -42044,6 +42051,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 0df9644156..f66a78fc4c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -27589,6 +27589,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -27622,6 +27627,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -27632,6 +27638,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -27642,6 +27649,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -27838,6 +27846,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 7f088681fb..4216e5a38e 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -19972,6 +19972,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -20011,6 +20015,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -20020,6 +20025,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -20029,6 +20035,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -20169,6 +20176,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 0df9644156..f66a78fc4c 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -27589,6 +27589,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -27622,6 +27627,7 @@ }, "required": [ "registry_type", + "url", "encrypted_value", "key_id", "visibility" @@ -27632,6 +27638,7 @@ "summary": "Example of a private registry configuration with private visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -27642,6 +27649,7 @@ "summary": "Example of a private registry configuration with selected visibility", "value": { "registry_type": "maven_repository", + "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", @@ -27838,6 +27846,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 7f088681fb..4216e5a38e 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -19972,6 +19972,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -20011,6 +20015,7 @@ paths: type: integer required: - registry_type + - url - encrypted_value - key_id - visibility @@ -20020,6 +20025,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -20029,6 +20035,7 @@ paths: visibility value: registry_type: maven_repository + url: https://maven.pkg.github.com/organization/ username: monalisa encrypted_value: c2VjcmV0 key_id: '012345678912345678' @@ -20169,6 +20176,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json index 6a42e61679..f0f9f9a322 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json @@ -125196,305 +125196,6 @@ "category": "private-registries", "subcategory": "organization-configurations" } - }, - "post": { - "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.16/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", - "tags": [ - "private-registries" - ], - "operationId": "private-registries/create-org-private-registry", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "registry_type": { - "description": "The registry type.", - "type": "string", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ] - }, - "username": { - "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", - "type": "string", - "nullable": true - }, - "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", - "type": "string", - "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - }, - "key_id": { - "description": "The ID of the key you used to encrypt the secret.", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "type": "string", - "enum": [ - "all", - "private", - "selected" - ] - }, - "selected_repository_ids": { - "description": "An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.", - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "registry_type", - "encrypted_value", - "key_id", - "visibility" - ] - }, - "examples": { - "org-private-registry-with-private-visibility": { - "summary": "Example of a private registry configuration with private visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "private" - } - }, - "org-private-registry-with-selected-visibility": { - "summary": "Example of a private registry configuration with selected visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "selected", - "selected_repository_ids": [ - 1296269, - 1296280 - ] - } - } - } - } - } - }, - "responses": { - "201": { - "description": "The organization private registry configuration", - "content": { - "application/json": { - "schema": { - "title": "Organization private registry", - "description": "Private registry configuration for an organization", - "type": "object", - "properties": { - "name": { - "description": "The name of the private registry configuration.", - "example": "MAVEN_REPOSITORY_SECRET", - "type": "string" - }, - "registry_type": { - "description": "The registry type.", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ], - "type": "string" - }, - "username": { - "description": "The username to use when authenticating with the private registry.", - "example": "monalisa", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "enum": [ - "all", - "private", - "selected" - ], - "type": "string" - }, - "selected_repository_ids": { - "type": "array", - "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", - "items": { - "type": "integer" - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "name", - "registry_type", - "visibility", - "created_at", - "updated_at" - ] - }, - "examples": { - "org-private-registry-with-selected-visibility": { - "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "private", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - }, - "org-private-registry-with-private-visibility": { - "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "selected", - "selected_repository_ids": [ - 1296269, - 1296280 - ], - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "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": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "private-registries", - "subcategory": "organization-configurations" - } } }, "/orgs/{org}/private-registries/public-key": { @@ -125782,6 +125483,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml index 74c66cd2b1..009617d76a 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml @@ -4485,7 +4485,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &576 + schema: &575 title: Scim Error description: Scim Error type: object @@ -5253,7 +5253,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &268 + properties: &267 id: description: Unique identifier of the repository example: 42 @@ -5691,7 +5691,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &269 + required: &268 - archive_url - assignees_url - blobs_url @@ -6714,7 +6714,7 @@ paths: schema: type: string '422': *35 - '410': &262 + '410': &261 description: Gone content: application/json: @@ -12908,7 +12908,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &391 + instances_url: &390 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12943,7 +12943,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &392 + dismissed_reason: &391 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12952,13 +12952,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &393 + dismissed_comment: &392 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &394 + rule: &393 type: object properties: id: @@ -13011,7 +13011,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &395 + tool: &394 type: object properties: name: *102 @@ -13021,15 +13021,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &396 + most_recent_instance: &395 type: object properties: - ref: &389 + ref: &388 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &402 + analysis_key: &401 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13040,7 +13040,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &403 + category: &402 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15037,7 +15037,7 @@ paths: enum: - development - runtime - security_advisory: &425 + security_advisory: &424 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15269,7 +15269,7 @@ paths: nullable: true maxLength: 280 fixed_at: *122 - auto_dismissed_at: &426 + auto_dismissed_at: &425 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15637,7 +15637,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *65 - - &279 + - &278 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -15648,7 +15648,7 @@ paths: enum: - open - resolved - - &280 + - &279 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -15658,7 +15658,7 @@ paths: required: false schema: type: string - - &281 + - &280 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -15667,7 +15667,7 @@ paths: required: false schema: type: string - - &282 + - &281 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -15683,7 +15683,7 @@ paths: - *4 - *100 - *101 - - &283 + - &282 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -15692,7 +15692,7 @@ paths: required: false schema: type: string - - &284 + - &283 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -15701,7 +15701,7 @@ paths: schema: type: boolean default: false - - &285 + - &284 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -15717,7 +15717,7 @@ paths: application/json: schema: type: array - items: &286 + items: &285 type: object properties: number: *112 @@ -15736,14 +15736,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &564 + state: &563 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &565 + resolution: &564 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -15836,7 +15836,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &287 + default: &286 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -16117,7 +16117,7 @@ paths: description: Success content: application/json: - schema: &290 + schema: &289 type: object properties: total_advanced_security_committers: @@ -16172,7 +16172,7 @@ paths: required: - repositories examples: - default: &291 + default: &290 value: total_advanced_security_committers: 2 total_count: 2 @@ -16343,7 +16343,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &469 + properties: &468 id: type: integer format: int64 @@ -16454,7 +16454,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &415 + properties: &414 url: type: string format: uri @@ -16524,7 +16524,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &416 + required: &415 - closed_issues - creator - description @@ -16603,7 +16603,7 @@ paths: timeline_url: type: string format: uri - type: &600 + type: &599 title: Issue Type description: The type of issue. type: object @@ -16728,7 +16728,7 @@ paths: - total - completed - percent_completed - required: &470 + required: &469 - assignee - closed_at - comments @@ -16750,7 +16750,7 @@ paths: - author_association - created_at - updated_at - comment: &467 + comment: &466 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -17312,7 +17312,7 @@ paths: url: type: string format: uri - user: &611 + user: &610 title: Public User description: Public User type: object @@ -21939,14 +21939,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &310 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &311 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22017,7 +22017,7 @@ paths: '404': *26 '403': *43 '304': *42 - '301': &323 + '301': &322 description: Moved permanently content: application/json: @@ -22039,7 +22039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &498 + - &497 name: all description: If `true`, show notifications marked as read. in: query @@ -22047,7 +22047,7 @@ paths: schema: type: boolean default: false - - &499 + - &498 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22057,7 +22057,7 @@ paths: type: boolean default: false - *130 - - &500 + - &499 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -22369,7 +22369,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &270 + security_and_analysis: &269 nullable: true type: object properties: @@ -22505,7 +22505,7 @@ paths: - url - subscription_url examples: - default: &501 + default: &500 value: - id: '1' repository: @@ -23051,7 +23051,7 @@ paths: type: array items: *70 examples: - default: &620 + default: &619 value: - login: github id: 1 @@ -23952,7 +23952,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &327 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24203,7 +24203,7 @@ paths: type: array items: *84 examples: - default: &617 + default: &616 value: total_count: 1 repositories: @@ -26004,7 +26004,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &349 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26033,7 +26033,7 @@ paths: - key_id - key examples: - default: &351 + default: &350 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26446,7 +26446,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-organization-variables parameters: - *154 - - &335 + - &334 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.16/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -27095,7 +27095,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &389 type: string description: Severity of a code scanning alert. enum: @@ -28417,7 +28417,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &428 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28434,7 +28434,7 @@ paths: - key_id - key examples: - default: &430 + default: &429 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29015,7 +29015,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &305 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29096,7 +29096,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &307 + default: &306 value: group_id: '123' group_name: Octocat admins @@ -29151,7 +29151,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &303 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29188,7 +29188,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &305 + default: &304 value: groups: - group_id: '123' @@ -29824,7 +29824,7 @@ paths: application/json: schema: *39 examples: - default: &464 + default: &463 value: id: 1 account: @@ -32212,7 +32212,7 @@ paths: - slug - parent examples: - default: &289 + default: &288 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32284,7 +32284,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &288 + items: &287 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32578,7 +32578,7 @@ paths: - nuget - container - *154 - - &621 + - &620 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32619,7 +32619,7 @@ paths: default: *243 '403': *43 '401': *41 - '400': &623 + '400': &622 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34021,180 +34021,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - post: - summary: Create a private registry for an organization - description: |2- - - Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.16/rest/guides/encrypting-secrets-for-the-rest-api)." - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - private-registries - operationId: private-registries/create-org-private-registry - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization - parameters: - - *154 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - registry_type: - description: The registry type. - type: string - enum: - - maven_repository - - nuget_feed - - goproxy_server - username: - description: The username to use when authenticating with the private - registry. This field should be omitted if the private registry - does not require a username for authentication. - type: string - nullable: true - encrypted_value: - description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) - using the public key retrieved from the [Get private registries - public key for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. - type: string - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - key_id: - description: The ID of the key you used to encrypt the secret. - type: string - visibility: - description: Which type of organization repositories have access - to the private registry. `selected` means only the repositories - specified by `selected_repository_ids` can access the private - registry. - type: string - enum: - - all - - private - - selected - selected_repository_ids: - description: An array of repository IDs that can access the organization - private registry. You can only provide a list of repository IDs - when `visibility` is set to `selected`. You can manage the list - of selected repositories using the [Update a private registry - for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) - endpoint. This field should be omitted if `visibility` is set - to `all` or `private`. - type: array - items: - type: integer - required: - - registry_type - - encrypted_value - - key_id - - visibility - examples: - org-private-registry-with-private-visibility: - summary: Example of a private registry configuration with private - visibility - value: - registry_type: maven_repository - username: monalisa - encrypted_value: c2VjcmV0 - key_id: '012345678912345678' - visibility: private - org-private-registry-with-selected-visibility: - summary: Example of a private registry configuration with selected - visibility - value: - registry_type: maven_repository - username: monalisa - encrypted_value: c2VjcmV0 - key_id: '012345678912345678' - visibility: selected - selected_repository_ids: - - 1296269 - - 1296280 - responses: - '201': - description: The organization private registry configuration - content: - application/json: - schema: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - type: string - username: - description: The username to use when authenticating with the - private registry. - example: monalisa - type: string - visibility: - description: Which type of organization repositories have access - to the private registry. `selected` means only the repositories - specified by `selected_repository_ids` can access the private - registry. - enum: - - all - - private - - selected - type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - examples: - org-private-registry-with-selected-visibility: &260 - value: - name: MAVEN_REPOSITORY_SECRET - registry_type: maven_repository - username: monalisa - visibility: private - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - org-private-registry-with-private-visibility: - value: - name: MAVEN_REPOSITORY_SECRET - registry_type: maven_repository - username: monalisa - visibility: selected - selected_repository_ids: - - 1296269 - - 1296280 - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - '404': *26 - '422': *35 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: private-registries - subcategory: organization-configurations "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization @@ -34267,7 +34093,14 @@ paths: application/json: schema: *259 examples: - default: *260 + default: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' '404': *26 x-github: githubCloudOnly: false @@ -34304,6 +34137,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -34415,7 +34252,7 @@ paths: application/json: schema: type: array - items: &261 + items: &260 title: Project description: Projects are a way to organize columns and cards of work. @@ -34588,7 +34425,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: default: value: @@ -34626,7 +34463,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -34657,7 +34494,7 @@ paths: application/json: schema: type: array - items: &263 + items: &262 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34723,7 +34560,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &263 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34782,7 +34619,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *262 minItems: 1 maxItems: 100 required: @@ -34812,9 +34649,9 @@ paths: application/json: schema: type: array - items: *263 + items: *262 examples: - default: *264 + default: *263 '403': *43 '404': *26 x-github: @@ -34836,7 +34673,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *154 - - &265 + - &264 name: custom_property_name description: The custom property name in: path @@ -34848,9 +34685,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: &266 + default: &265 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34885,7 +34722,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *154 - - *265 + - *264 requestBody: required: true content: @@ -34954,9 +34791,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: *266 + default: *265 '403': *43 '404': *26 x-github: @@ -34980,7 +34817,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *154 - - *265 + - *264 responses: '204': *203 '403': *43 @@ -35042,7 +34879,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &267 + items: &266 title: Custom Property Value description: Custom property name and associated value type: object @@ -35129,7 +34966,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *267 + items: *266 required: - repository_names - properties @@ -35532,7 +35369,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &321 title: Full Repository description: Full Repository type: object @@ -35809,8 +35646,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *268 - required: *269 + properties: *267 + required: *268 nullable: true temp_clone_token: type: string @@ -35946,7 +35783,7 @@ paths: - key - name - html_url - security_and_analysis: *270 + security_and_analysis: *269 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36030,7 +35867,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &323 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36602,7 +36439,7 @@ paths: - *154 - *4 - *5 - - &551 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36620,7 +36457,7 @@ paths: application/json: schema: type: array - items: &277 + items: &276 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -36653,7 +36490,7 @@ paths: source: type: string description: The name of the source - enforcement: &273 + enforcement: &272 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -36666,7 +36503,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &274 + items: &273 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -36733,7 +36570,7 @@ paths: conditions: nullable: true anyOf: - - &271 + - &270 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -36757,7 +36594,7 @@ paths: match. items: type: string - - &275 + - &274 title: Organization ruleset conditions type: object description: |- @@ -36770,7 +36607,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -36804,7 +36641,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -36826,7 +36663,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -36839,7 +36676,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &272 + items: &271 title: Repository ruleset property targeting definition type: object @@ -36872,17 +36709,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *272 + items: *271 required: - repository_property rules: type: array - items: &276 + items: &275 title: Repository Rule type: object description: A repository rule. oneOf: - - &533 + - &532 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36894,7 +36731,7 @@ paths: type: string enum: - creation - - &534 + - &533 title: update description: Only allow users with bypass permission to update matching refs. @@ -36915,7 +36752,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &536 + - &535 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36927,7 +36764,7 @@ paths: type: string enum: - deletion - - &537 + - &536 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36939,7 +36776,7 @@ paths: type: string enum: - required_linear_history - - &538 + - &537 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37017,7 +36854,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &539 + - &538 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37041,7 +36878,7 @@ paths: type: string required: - required_deployment_environments - - &540 + - &539 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37053,7 +36890,7 @@ paths: type: string enum: - required_signatures - - &541 + - &540 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37104,7 +36941,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &542 + - &541 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37152,7 +36989,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &543 + - &542 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37164,7 +37001,7 @@ paths: type: string enum: - non_fast_forward - - &544 + - &543 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37200,7 +37037,7 @@ paths: required: - operator - pattern - - &545 + - &544 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37236,7 +37073,7 @@ paths: required: - operator - pattern - - &546 + - &545 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37272,7 +37109,7 @@ paths: required: - operator - pattern - - &547 + - &546 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37308,7 +37145,7 @@ paths: required: - operator - pattern - - &548 + - &547 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37344,7 +37181,7 @@ paths: required: - operator - pattern - - &549 + - &548 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37394,7 +37231,7 @@ paths: - repository_id required: - workflows - - &550 + - &549 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37527,16 +37364,16 @@ paths: - tag - push default: branch - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *275 + items: *273 + conditions: *274 rules: type: array description: An array of rules within the ruleset. - items: *276 + items: *275 source_type: type: string description: The type of the source of the ruleset @@ -37580,9 +37417,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: &278 + default: &277 value: id: 21 name: super cool ruleset @@ -37637,7 +37474,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *154 - - &552 + - &551 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -37652,7 +37489,7 @@ paths: in: query schema: type: string - - &553 + - &552 name: time_period description: |- The time period to filter by. @@ -37668,14 +37505,14 @@ paths: - week - month default: day - - &554 + - &553 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &555 + - &554 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -37695,7 +37532,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &555 title: Rule Suites description: Response type: array @@ -37750,7 +37587,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &557 + default: &556 value: - id: 21 actor_id: 12 @@ -37794,7 +37631,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *154 - - &558 + - &557 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37810,7 +37647,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &558 title: Rule Suite description: Response type: object @@ -37909,7 +37746,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &560 + default: &559 value: id: 21 actor_id: 12 @@ -37982,9 +37819,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *278 + default: *277 '404': *26 '500': *248 put: @@ -38027,16 +37864,16 @@ paths: - branch - tag - push - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *275 + items: *273 + conditions: *274 rules: description: An array of rules within the ruleset. type: array - items: *276 + items: *275 examples: default: value: @@ -38071,9 +37908,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *278 + default: *277 '404': *26 '500': *248 delete: @@ -38120,14 +37957,14 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *154 + - *278 - *279 - *280 - *281 - - *282 - *9 - *5 - *4 - - &562 + - &561 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.16/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -38137,7 +37974,7 @@ paths: required: false schema: type: string - - &563 + - &562 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.16/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -38147,9 +37984,9 @@ paths: required: false schema: type: string + - *282 - *283 - *284 - - *285 responses: '200': description: Response @@ -38157,9 +37994,9 @@ paths: application/json: schema: type: array - items: *286 + items: *285 examples: - default: *287 + default: *286 headers: Link: *6 '404': *26 @@ -38190,9 +38027,9 @@ paths: application/json: schema: type: array - items: *288 + items: *287 examples: - default: *289 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38275,9 +38112,9 @@ paths: description: Success content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38305,7 +38142,7 @@ paths: application/json: schema: type: array - items: &313 + items: &312 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -38380,7 +38217,7 @@ paths: - slug - parent examples: - default: *289 + default: *288 headers: Link: *6 '403': *43 @@ -38482,7 +38319,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &291 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38792,7 +38629,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &292 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38868,9 +38705,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 x-github: githubCloudOnly: false @@ -38954,16 +38791,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '201': description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 '422': *35 '403': *43 @@ -39033,7 +38870,7 @@ paths: application/json: schema: type: array - items: &294 + items: &293 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39132,7 +38969,7 @@ paths: - updated_at - url examples: - default: &601 + default: &600 value: - author: login: octocat @@ -39241,9 +39078,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: &295 + default: &294 value: author: login: octocat @@ -39317,7 +39154,7 @@ paths: parameters: - *154 - *238 - - &296 + - &295 name: discussion_number description: The number that identifies the discussion. in: path @@ -39329,9 +39166,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39355,7 +39192,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: false content: @@ -39378,9 +39215,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: &602 + default: &601 value: author: login: octocat @@ -39452,7 +39289,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 responses: '204': description: Response @@ -39480,7 +39317,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 - *9 - *4 - *5 @@ -39491,7 +39328,7 @@ paths: application/json: schema: type: array - items: &297 + items: &296 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39563,7 +39400,7 @@ paths: - updated_at - url examples: - default: &603 + default: &602 value: - author: login: octocat @@ -39633,7 +39470,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: true content: @@ -39655,9 +39492,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: &298 + default: &297 value: author: login: octocat @@ -39725,8 +39562,8 @@ paths: parameters: - *154 - *238 - - *296 - - &299 + - *295 + - &298 name: comment_number description: The number that identifies the comment. in: path @@ -39738,9 +39575,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39764,8 +39601,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -39787,9 +39624,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: &604 + default: &603 value: author: login: octocat @@ -39855,8 +39692,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 responses: '204': description: Response @@ -39884,8 +39721,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -39911,7 +39748,7 @@ paths: application/json: schema: type: array - items: &300 + items: &299 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39954,7 +39791,7 @@ paths: - content - created_at examples: - default: &302 + default: &301 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40006,8 +39843,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -40040,9 +39877,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *299 examples: - default: &301 + default: &300 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40071,9 +39908,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40098,9 +39935,9 @@ paths: parameters: - *154 - *238 - - *296 - - *299 - - &303 + - *295 + - *298 + - &302 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40134,7 +39971,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -40160,9 +39997,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -40190,7 +40027,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: true content: @@ -40222,16 +40059,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40256,8 +40093,8 @@ paths: parameters: - *154 - *238 - - *296 - - *303 + - *295 + - *302 responses: '204': description: Response @@ -40287,9 +40124,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *303 examples: - default: *305 + default: *304 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40332,9 +40169,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -40439,7 +40276,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &307 title: Team Membership description: Team Membership type: object @@ -40466,7 +40303,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &605 + response-if-user-is-a-team-maintainer: &604 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40529,9 +40366,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &606 + response-if-users-membership-with-team-is-now-pending: &605 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40604,7 +40441,7 @@ paths: application/json: schema: type: array - items: &309 + items: &308 title: Team Project description: A team's access to a project. type: object @@ -40672,7 +40509,7 @@ paths: - updated_at - permissions examples: - default: &607 + default: &606 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40737,7 +40574,7 @@ paths: parameters: - *154 - *238 - - &310 + - &309 name: project_id description: The unique identifier of the project. in: path @@ -40749,9 +40586,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: &608 + default: &607 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40815,7 +40652,7 @@ paths: parameters: - *154 - *238 - - *310 + - *309 requestBody: required: false content: @@ -40883,7 +40720,7 @@ paths: parameters: - *154 - *238 - - *310 + - *309 responses: '204': description: Response @@ -40954,14 +40791,14 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &609 + schema: &608 title: Team Repository description: A team's access to a repository. type: object @@ -41532,8 +41369,8 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 requestBody: required: false content: @@ -41580,8 +41417,8 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 responses: '204': description: Response @@ -41616,9 +41453,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - response-if-child-teams-exist: &610 + response-if-child-teams-exist: &609 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41745,7 +41582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#get-a-project-card parameters: - - &314 + - &313 name: card_id description: The unique identifier of the card. in: path @@ -41757,7 +41594,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &314 title: Project Card description: Project cards represent a scope of work. type: object @@ -41824,7 +41661,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &315 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41880,7 +41717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#update-an-existing-project-card parameters: - - *314 + - *313 requestBody: required: false content: @@ -41907,9 +41744,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 '304': *42 '403': *43 '401': *41 @@ -41936,7 +41773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#delete-a-project-card parameters: - - *314 + - *313 responses: '204': description: Response @@ -41980,7 +41817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#move-a-project-card parameters: - - *314 + - *313 requestBody: required: true content: @@ -42091,7 +41928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#get-a-project-column parameters: - - &317 + - &316 name: column_id description: The unique identifier of the column. in: path @@ -42103,7 +41940,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &317 title: Project Column description: Project columns contain cards of work. type: object @@ -42149,7 +41986,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &318 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42184,7 +42021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#update-an-existing-project-column parameters: - - *317 + - *316 requestBody: required: true content: @@ -42208,9 +42045,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *317 examples: - default: *319 + default: *318 '304': *42 '403': *43 '401': *41 @@ -42235,7 +42072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#delete-a-project-column parameters: - - *317 + - *316 responses: '204': description: Response @@ -42264,7 +42101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#list-project-cards parameters: - - *317 + - *316 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42285,7 +42122,7 @@ paths: application/json: schema: type: array - items: *315 + items: *314 examples: default: value: @@ -42344,7 +42181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#create-a-project-card parameters: - - *317 + - *316 requestBody: required: true content: @@ -42384,9 +42221,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 '304': *42 '403': *43 '401': *41 @@ -42442,7 +42279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#move-a-project-column parameters: - - *317 + - *316 requestBody: required: true content: @@ -42502,15 +42339,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#get-a-project parameters: - - *310 + - *309 responses: '200': description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: &320 + default: &319 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42567,7 +42404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#update-a-project parameters: - - *310 + - *309 requestBody: required: false content: @@ -42613,9 +42450,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: *320 + default: *319 '404': description: Not Found if the authenticated user does not have access to the project @@ -42636,7 +42473,7 @@ paths: items: type: string '401': *41 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -42659,7 +42496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#delete-a-project parameters: - - *310 + - *309 responses: '204': description: Delete Success @@ -42680,7 +42517,7 @@ paths: items: type: string '401': *41 - '410': *262 + '410': *261 '404': *26 x-github: githubCloudOnly: false @@ -42704,7 +42541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#list-project-collaborators parameters: - - *310 + - *309 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42761,7 +42598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#add-project-collaborator parameters: - - *310 + - *309 - *8 requestBody: required: false @@ -42814,7 +42651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *310 + - *309 - *8 responses: '204': @@ -42846,7 +42683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *310 + - *309 - *8 responses: '200': @@ -42920,7 +42757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#list-project-columns parameters: - - *310 + - *309 - *4 - *5 responses: @@ -42930,7 +42767,7 @@ paths: application/json: schema: type: array - items: *318 + items: *317 examples: default: value: @@ -42968,7 +42805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#create-a-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -42991,7 +42828,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *317 examples: default: value: @@ -43056,7 +42893,7 @@ paths: resources: type: object properties: - core: &321 + core: &320 title: Rate Limit type: object properties: @@ -43073,20 +42910,20 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *320 + search: *320 + code_search: *320 + source_import: *320 + integration_manifest: *320 + code_scanning_upload: *320 + actions_runner_registration: *320 + scim: *320 + dependency_sbom: *320 + code_scanning_autofix: *320 required: - core - search - rate: *321 + rate: *320 required: - rate - resources @@ -43190,14 +43027,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: default-response: summary: Default response @@ -43698,7 +43535,7 @@ paths: status: disabled '403': *43 '404': *26 - '301': *323 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43716,8 +43553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#update-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -43939,10 +43776,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 - '307': &325 + default: *323 + '307': &324 description: Temporary Redirect content: application/json: @@ -43987,8 +43824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#delete-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -44010,7 +43847,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#delete-a-repository - '307': *325 + '307': *324 '404': *26 '409': *109 x-github: @@ -44034,11 +43871,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - - &342 + - &341 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44061,7 +43898,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &325 title: Artifact description: An artifact type: object @@ -44132,7 +43969,7 @@ paths: - expires_at - updated_at examples: - default: &343 + default: &342 value: total_count: 2 artifacts: @@ -44191,9 +44028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#get-an-artifact parameters: + - *310 - *311 - - *312 - - &327 + - &326 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44205,7 +44042,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: default: value: @@ -44242,9 +44079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#delete-an-artifact parameters: + - *310 - *311 - - *312 - - *327 + - *326 responses: '204': description: Response @@ -44268,9 +44105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#download-an-artifact parameters: + - *310 - *311 - - *312 - - *327 + - *326 - name: archive_format in: path required: true @@ -44284,7 +44121,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44307,14 +44144,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *328 + schema: *327 examples: default: value: @@ -44340,14 +44177,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &329 + schema: &328 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -44359,7 +44196,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &330 + default: &329 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -44380,8 +44217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -44389,9 +44226,9 @@ paths: required: true content: application/json: - schema: *329 + schema: *328 examples: - selected_actions: *330 + selected_actions: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44411,11 +44248,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - - &331 + - &330 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -44449,7 +44286,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Repository actions caches description: Repository actions caches type: object @@ -44491,7 +44328,7 @@ paths: - total_count - actions_caches examples: - default: &333 + default: &332 value: total_count: 1 actions_caches: @@ -44523,23 +44360,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *310 - *311 - - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44559,8 +44396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *310 - *311 - - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44591,9 +44428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - &334 + - &333 name: job_id description: The unique identifier of the job. in: path @@ -44605,7 +44442,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &345 title: Job description: Information of a job execution in a workflow run type: object @@ -44912,9 +44749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *334 + - *333 responses: '302': description: Response @@ -44942,9 +44779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *310 - *311 - - *312 - - *334 + - *333 requestBody: required: false content: @@ -44989,8 +44826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Status response @@ -45040,8 +44877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -45104,8 +44941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-repository-organization-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -45123,7 +44960,7 @@ paths: type: integer secrets: type: array - items: &348 + items: &347 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45143,7 +44980,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &348 value: total_count: 2 secrets: @@ -45176,9 +45013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-repository-organization-variables parameters: + - *310 - *311 - - *312 - - *335 + - *334 - *5 responses: '200': @@ -45195,7 +45032,7 @@ paths: type: integer variables: type: array - items: &352 + items: &351 title: Actions Variable type: object properties: @@ -45225,7 +45062,7 @@ paths: - created_at - updated_at examples: - default: &353 + default: &352 value: total_count: 2 variables: @@ -45258,8 +45095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45268,7 +45105,7 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &335 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *69 @@ -45301,8 +45138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -45313,7 +45150,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *335 allowed_actions: *69 required: - enabled @@ -45344,14 +45181,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &337 + schema: &336 type: object properties: access_level: @@ -45369,7 +45206,7 @@ paths: required: - access_level examples: - default: &338 + default: &337 value: access_level: organization x-github: @@ -45394,15 +45231,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: application/json: - schema: *337 + schema: *336 examples: - default: *338 + default: *337 responses: '204': description: Response @@ -45426,8 +45263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45458,8 +45295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -45491,8 +45328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45521,8 +45358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Success response @@ -45562,8 +45399,8 @@ paths: in: query schema: type: string + - *310 - *311 - - *312 - *4 - *5 responses: @@ -45607,8 +45444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45640,8 +45477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -45715,8 +45552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -45752,8 +45589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -45783,8 +45620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': @@ -45814,8 +45651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '204': @@ -45842,8 +45679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': *87 @@ -45868,8 +45705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 requestBody: required: true @@ -45918,8 +45755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 requestBody: required: true @@ -45969,8 +45806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': *177 @@ -46000,8 +45837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 - *178 responses: @@ -46031,9 +45868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *310 - *311 - - *312 - - &356 + - &355 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -46041,7 +45878,7 @@ paths: required: false schema: type: string - - &357 + - &356 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46049,7 +45886,7 @@ paths: required: false schema: type: string - - &358 + - &357 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46058,7 +45895,7 @@ paths: required: false schema: type: string - - &359 + - &358 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -46085,7 +45922,7 @@ paths: - pending - *4 - *5 - - &360 + - &359 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.16/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -46094,7 +45931,7 @@ paths: schema: type: string format: date-time - - &339 + - &338 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46103,13 +45940,13 @@ paths: schema: type: boolean default: false - - &361 + - &360 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &362 + - &361 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46132,7 +45969,7 @@ paths: type: integer workflow_runs: type: array - items: &340 + items: &339 title: Workflow Run description: An invocation of a workflow type: object @@ -46227,7 +46064,7 @@ paths: that triggered the run. type: array nullable: true - items: &380 + items: &379 title: Pull Request Minimal type: object properties: @@ -46346,7 +46183,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &384 + properties: &383 id: type: string description: SHA for the commit @@ -46397,7 +46234,7 @@ paths: - name - email nullable: true - required: &385 + required: &384 - id - tree_id - message @@ -46444,7 +46281,7 @@ paths: - workflow_url - pull_requests examples: - default: &363 + default: &362 value: total_count: 1 workflow_runs: @@ -46680,24 +46517,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *310 - *311 - - *312 - - &341 + - &340 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *339 + - *338 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: - default: &344 + default: &343 value: id: 30433642 name: Build @@ -46938,9 +46775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '204': description: Response @@ -46963,9 +46800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '200': description: Response @@ -47086,12 +46923,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *310 - *311 - - *312 - - *341 + - *340 - *4 - *5 - - *342 + - *341 responses: '200': description: Response @@ -47107,9 +46944,9 @@ paths: type: integer artifacts: type: array - items: *326 + items: *325 examples: - default: *343 + default: *342 headers: Link: *6 x-github: @@ -47133,25 +46970,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *310 - *311 - - *312 - - *341 - - &345 + - *340 + - &344 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *339 + - *338 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: - default: *344 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47174,10 +47011,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *310 - *311 - - *312 - - *341 - - *345 + - *340 + - *344 - *4 - *5 responses: @@ -47195,9 +47032,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *345 examples: - default: &347 + default: &346 value: total_count: 1 jobs: @@ -47310,10 +47147,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *310 - *311 - - *312 - - *341 - - *345 + - *340 + - *344 responses: '302': description: Response @@ -47341,9 +47178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '202': description: Response @@ -47376,9 +47213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: true content: @@ -47445,9 +47282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '202': description: Response @@ -47480,9 +47317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -47512,9 +47349,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 headers: Link: *6 x-github: @@ -47539,9 +47376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '302': description: Response @@ -47568,9 +47405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '204': description: Response @@ -47597,9 +47434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '200': description: Response @@ -47659,7 +47496,7 @@ paths: items: type: object properties: - type: &438 + type: &437 type: string description: The type of reviewer. enum: @@ -47669,7 +47506,7 @@ paths: reviewer: anyOf: - *19 - - *313 + - *312 required: - environment - wait_timer @@ -47744,9 +47581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: true content: @@ -47793,7 +47630,7 @@ paths: application/json: schema: type: array - items: &433 + items: &432 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47899,7 +47736,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &433 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47955,9 +47792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: false content: @@ -48001,9 +47838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: false content: @@ -48050,8 +47887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-repository-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48069,9 +47906,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *347 examples: - default: *349 + default: *348 headers: Link: *6 x-github: @@ -48096,16 +47933,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-a-repository-public-key parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *350 + schema: *349 examples: - default: *351 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48127,17 +47964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *347 examples: - default: &451 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48163,8 +48000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 requestBody: required: true @@ -48222,8 +48059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#delete-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '204': @@ -48249,9 +48086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-repository-variables parameters: + - *310 - *311 - - *312 - - *335 + - *334 - *5 responses: '200': @@ -48268,9 +48105,9 @@ paths: type: integer variables: type: array - items: *352 + items: *351 examples: - default: *353 + default: *352 headers: Link: *6 x-github: @@ -48293,8 +48130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#create-a-repository-variable parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -48346,17 +48183,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#get-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 responses: '200': description: Response content: application/json: - schema: *352 + schema: *351 examples: - default: &452 + default: &451 value: name: USERNAME value: octocat @@ -48382,8 +48219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#update-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 requestBody: required: true @@ -48426,8 +48263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#delete-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 responses: '204': @@ -48453,8 +48290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#list-repository-workflows parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48472,7 +48309,7 @@ paths: type: integer workflows: type: array - items: &354 + items: &353 title: Workflow description: A GitHub Actions workflow type: object @@ -48579,9 +48416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#get-a-workflow parameters: + - *310 - *311 - - *312 - - &355 + - &354 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48596,7 +48433,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *353 examples: default: value: @@ -48629,9 +48466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#disable-a-workflow parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48656,9 +48493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48709,9 +48546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#enable-a-workflow parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48738,19 +48575,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *310 - *311 - - *312 + - *354 - *355 - *356 - *357 - *358 - - *359 - *4 - *5 + - *359 + - *338 - *360 - - *339 - *361 - - *362 responses: '200': description: Response @@ -48766,9 +48603,9 @@ paths: type: integer workflow_runs: type: array - items: *340 + items: *339 examples: - default: *363 + default: *362 headers: Link: *6 x-github: @@ -48791,8 +48628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-activities parameters: + - *310 - *311 - - *312 - *9 - *4 - *100 @@ -48956,8 +48793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#list-assignees parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48994,8 +48831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *310 - *311 - - *312 - name: assignee in: path required: true @@ -49029,8 +48866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -49038,7 +48875,7 @@ paths: application/json: schema: type: array - items: &364 + items: &363 title: Autolink reference description: An autolink reference. type: object @@ -49088,8 +48925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -49128,9 +48965,9 @@ paths: description: response content: application/json: - schema: *364 + schema: *363 examples: - default: &365 + default: &364 value: id: 1 key_prefix: TICKET- @@ -49161,9 +48998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *310 - *311 - - *312 - - &366 + - &365 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49175,9 +49012,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *363 examples: - default: *365 + default: *364 '404': *26 x-github: githubCloudOnly: false @@ -49197,9 +49034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *310 - *311 - - *312 - - *366 + - *365 responses: '204': description: Response @@ -49223,8 +49060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response if Dependabot is enabled @@ -49271,8 +49108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#list-branches parameters: + - *310 - *311 - - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49310,7 +49147,7 @@ paths: - url protected: type: boolean - protection: &368 + protection: &367 title: Branch Protection description: Branch Protection type: object @@ -49352,7 +49189,7 @@ paths: required: - contexts - checks - enforce_admins: &371 + enforce_admins: &370 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49367,7 +49204,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &373 + required_pull_request_reviews: &372 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49388,7 +49225,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *312 apps: description: The list of apps with review dismissal access. @@ -49417,7 +49254,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *312 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49443,7 +49280,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &370 + restrictions: &369 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49750,9 +49587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#get-a-branch parameters: + - *310 - *311 - - *312 - - &369 + - &368 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-server@3.16/graphql). @@ -49766,14 +49603,14 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &411 + commit: &410 title: Commit description: Commit type: object @@ -49807,7 +49644,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &367 + properties: &366 name: type: string example: '"Chris Wanstrath"' @@ -49822,7 +49659,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true message: type: string @@ -49843,7 +49680,7 @@ paths: required: - sha - url - verification: &458 + verification: &457 title: Verification type: object properties: @@ -49909,7 +49746,7 @@ paths: type: integer files: type: array - items: &422 + items: &421 title: Diff Entry description: Diff Entry type: object @@ -49992,7 +49829,7 @@ paths: - self protected: type: boolean - protection: *368 + protection: *367 protection_url: type: string format: uri @@ -50096,7 +49933,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *322 '404': *26 x-github: githubCloudOnly: false @@ -50118,15 +49955,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *368 + schema: *367 examples: default: value: @@ -50320,9 +50157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -50577,7 +50414,7 @@ paths: url: type: string format: uri - required_status_checks: &376 + required_status_checks: &375 title: Status Check Policy description: Status Check Policy type: object @@ -50653,7 +50490,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 apps: type: array items: *25 @@ -50671,7 +50508,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 apps: type: array items: *25 @@ -50729,7 +50566,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *370 + restrictions: *369 required_conversation_resolution: type: object properties: @@ -50841,9 +50678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -50868,17 +50705,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: &372 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50900,17 +50737,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50929,9 +50766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -50956,17 +50793,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: &374 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51062,9 +50899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51162,9 +50999,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *374 + default: *373 '422': *35 x-github: githubCloudOnly: false @@ -51185,9 +51022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51214,17 +51051,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: &375 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51247,17 +51084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *375 + default: *374 '404': *26 x-github: githubCloudOnly: false @@ -51277,9 +51114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51304,17 +51141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-status-checks-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *376 + schema: *375 examples: - default: &377 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51340,9 +51177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-status-check-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51394,9 +51231,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *375 examples: - default: *377 + default: *376 '404': *26 '422': *35 x-github: @@ -51418,9 +51255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-status-check-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51444,9 +51281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -51480,9 +51317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51549,9 +51386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51615,9 +51452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: content: application/json: @@ -51683,15 +51520,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *370 + schema: *369 examples: default: value: @@ -51782,9 +51619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51807,9 +51644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -51819,7 +51656,7 @@ paths: type: array items: *25 examples: - default: &378 + default: &377 value: - id: 1 slug: octoapp @@ -51876,9 +51713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -51912,7 +51749,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -51933,9 +51770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -51969,7 +51806,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -51990,9 +51827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52026,7 +51863,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -52048,9 +51885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -52058,9 +51895,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '404': *26 x-github: githubCloudOnly: false @@ -52080,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -52118,9 +51955,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52141,9 +51978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -52179,9 +52016,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52202,9 +52039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: content: application/json: @@ -52239,9 +52076,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52263,9 +52100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -52299,9 +52136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52359,9 +52196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52419,9 +52256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52481,9 +52318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#rename-a-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52505,7 +52342,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *378 examples: default: value: @@ -52618,8 +52455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#create-a-check-run parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -52898,7 +52735,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &380 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53017,8 +52854,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *380 - deployment: &651 + items: *379 + deployment: &650 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53298,9 +53135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#get-a-check-run parameters: + - *310 - *311 - - *312 - - &382 + - &381 name: check_run_id description: The unique identifier of the check run. in: path @@ -53312,9 +53149,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: - default: &383 + default: &382 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53414,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#update-a-check-run parameters: + - *310 - *311 - - *312 - - *382 + - *381 requestBody: required: true content: @@ -53656,9 +53493,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: - default: *383 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53678,9 +53515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-run-annotations parameters: + - *310 - *311 - - *312 - - *382 + - *381 - *4 - *5 responses: @@ -53775,9 +53612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#rerequest-a-check-run parameters: + - *310 - *311 - - *312 - - *382 + - *381 responses: '201': description: Response @@ -53821,8 +53658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#create-a-check-suite parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -53844,7 +53681,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &386 + schema: &385 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53908,7 +53745,7 @@ paths: nullable: true pull_requests: type: array - items: *380 + items: *379 nullable: true app: title: GitHub app @@ -53934,8 +53771,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *384 - required: *385 + properties: *383 + required: *384 latest_check_runs_count: type: integer check_runs_url: @@ -53963,7 +53800,7 @@ paths: - check_runs_url - pull_requests examples: - default: &387 + default: &386 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54254,9 +54091,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *386 + schema: *385 examples: - default: *387 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54275,8 +54112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -54585,9 +54422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#get-a-check-suite parameters: + - *310 - *311 - - *312 - - &388 + - &387 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54599,9 +54436,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: *387 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54624,17 +54461,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *310 - *311 - - *312 - - *388 - - &419 + - *387 + - &418 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &420 + - &419 name: status description: Returns check runs with the specified `status`. in: query @@ -54673,9 +54510,9 @@ paths: type: integer check_runs: type: array - items: *381 + items: *380 examples: - default: &421 + default: &420 value: total_count: 1 check_runs: @@ -54777,9 +54614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#rerequest-a-check-suite parameters: + - *310 - *311 - - *312 - - *388 + - *387 responses: '201': description: Response @@ -54812,21 +54649,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *310 - *311 - - *312 - *195 - *196 - *5 - *4 - - &400 + - &399 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *389 - - &401 + schema: *388 + - &400 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54857,7 +54694,7 @@ paths: be returned. in: query required: false - schema: *390 + schema: *389 responses: '200': description: Response @@ -54873,7 +54710,7 @@ paths: updated_at: *120 url: *117 html_url: *118 - instances_url: *391 + instances_url: *390 state: *104 fixed_at: *122 dismissed_by: @@ -54884,11 +54721,11 @@ paths: required: *18 nullable: true dismissed_at: *121 - dismissed_reason: *392 - dismissed_comment: *393 - rule: *394 - tool: *395 - most_recent_instance: *396 + dismissed_reason: *391 + dismissed_comment: *392 + rule: *393 + tool: *394 + most_recent_instance: *395 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55011,7 +54848,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *42 - '403': &397 + '403': &396 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55038,9 +54875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - &398 + - &397 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55054,7 +54891,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &398 type: object properties: number: *112 @@ -55062,7 +54899,7 @@ paths: updated_at: *120 url: *117 html_url: *118 - instances_url: *391 + instances_url: *390 state: *104 fixed_at: *122 dismissed_by: @@ -55073,8 +54910,8 @@ paths: required: *18 nullable: true dismissed_at: *121 - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *391 + dismissed_comment: *392 rule: type: object properties: @@ -55128,8 +54965,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *395 - most_recent_instance: *396 + tool: *394 + most_recent_instance: *395 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55225,7 +55062,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *42 - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55245,9 +55082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 requestBody: required: true content: @@ -55262,8 +55099,8 @@ paths: enum: - open - dismissed - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *391 + dismissed_comment: *392 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55282,7 +55119,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *398 examples: default: value: @@ -55358,7 +55195,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *34 - '403': &406 + '403': &405 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55385,13 +55222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 - *5 - *4 + - *399 - *400 - - *401 responses: '200': description: Response @@ -55399,7 +55236,7 @@ paths: application/json: schema: type: array - items: *396 + items: *395 examples: default: value: @@ -55438,7 +55275,7 @@ paths: end_column: 50 classifications: - source - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55472,25 +55309,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *310 - *311 - - *312 - *195 - *196 - *5 - *4 - - *401 + - *400 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *389 + schema: *388 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &404 + schema: &403 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55511,23 +55348,23 @@ paths: application/json: schema: type: array - items: &405 + items: &404 type: object properties: - ref: *389 - commit_sha: &407 + ref: *388 + commit_sha: &406 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *402 + analysis_key: *401 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *403 + category: *402 error: type: string example: error reading field xyz @@ -55551,8 +55388,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *404 - tool: *395 + sarif_id: *403 + tool: *394 deletable: type: boolean warning: @@ -55613,7 +55450,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55649,8 +55486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *310 - *311 - - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55663,7 +55500,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *404 examples: response: summary: application/json response @@ -55717,7 +55554,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55799,8 +55636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *310 - *311 - - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55853,7 +55690,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *34 - '403': *406 + '403': *405 '404': *26 '503': *123 x-github: @@ -55875,8 +55712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -55950,7 +55787,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55971,8 +55808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -56054,7 +55891,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *406 + '403': *405 '404': *26 '409': description: Response if there is already a validation run in progress with @@ -56119,8 +55956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -56128,7 +55965,7 @@ paths: schema: type: object properties: - commit_sha: *407 + commit_sha: *406 ref: type: string description: |- @@ -56181,7 +56018,7 @@ paths: schema: type: object properties: - id: *404 + id: *403 url: type: string description: The REST API URL for checking the status of the upload. @@ -56195,7 +56032,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *406 + '403': *405 '404': *26 '413': description: Payload Too Large if the sarif field is too large @@ -56218,8 +56055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *310 - *311 - - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56265,7 +56102,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *397 + '403': *396 '404': description: Not Found if the sarif id does not match any upload '503': *123 @@ -56290,8 +56127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -56365,8 +56202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-codeowners-errors parameters: + - *310 - *311 - - *312 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -56489,8 +56326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *310 - *311 - - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56532,7 +56369,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &408 + properties: &407 login: type: string example: octocat @@ -56625,7 +56462,7 @@ paths: user_view_type: type: string example: public - required: &409 + required: &408 - avatar_url - events_url - followers_url @@ -56698,8 +56535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 responses: '204': @@ -56736,8 +56573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 requestBody: required: false @@ -56807,8 +56644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 responses: '204': @@ -56840,8 +56677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *310 - *311 - - *312 - *8 responses: '200': @@ -56862,8 +56699,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *408 - required: *409 + properties: *407 + required: *408 nullable: true required: - permission @@ -56918,8 +56755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -56929,7 +56766,7 @@ paths: application/json: schema: type: array - items: &410 + items: &409 title: Commit Comment description: Commit Comment type: object @@ -56987,7 +56824,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &412 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57046,17 +56883,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#get-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: &414 + default: &413 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57113,8 +56950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#update-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -57137,7 +56974,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: default: value: @@ -57188,8 +57025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#delete-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -57211,8 +57048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -57239,9 +57076,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -57262,8 +57099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -57296,16 +57133,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -57327,10 +57164,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -57379,8 +57216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-commits parameters: + - *310 - *311 - - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57436,9 +57273,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: &519 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57531,9 +57368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-branches-for-head-commit parameters: + - *310 - *311 - - *312 - - &412 + - &411 name: commit_sha description: The SHA of the commit. in: path @@ -57605,9 +57442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#list-commit-comments parameters: + - *310 - *311 - - *312 - - *412 + - *411 - *4 - *5 responses: @@ -57617,9 +57454,9 @@ paths: application/json: schema: type: array - items: *410 + items: *409 examples: - default: *413 + default: *412 headers: Link: *6 x-github: @@ -57647,9 +57484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#create-a-commit-comment parameters: + - *310 - *311 - - *312 - - *412 + - *411 requestBody: required: true content: @@ -57684,9 +57521,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *414 + default: *413 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57714,9 +57551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *310 - *311 - - *312 - - *412 + - *411 - *4 - *5 responses: @@ -57726,7 +57563,7 @@ paths: application/json: schema: type: array - items: &509 + items: &508 title: Pull Request Simple description: Pull Request Simple type: object @@ -57832,8 +57669,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -57878,7 +57715,7 @@ paths: nullable: true requested_teams: type: array - items: *313 + items: *312 nullable: true head: type: object @@ -57929,7 +57766,7 @@ paths: _links: type: object properties: - comments: &417 + comments: &416 title: Link description: Hypermedia Link type: object @@ -57938,13 +57775,13 @@ paths: type: string required: - href - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -57955,7 +57792,7 @@ paths: - review_comment - self author_association: *127 - auto_merge: &511 + auto_merge: &510 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58018,7 +57855,7 @@ paths: - author_association - auto_merge examples: - default: &510 + default: &509 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58555,11 +58392,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#get-a-commit parameters: + - *310 - *311 - - *312 - *5 - *4 - - &418 + - &417 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -58574,9 +58411,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &494 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58686,11 +58523,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *310 - *311 - - *312 + - *417 - *418 - *419 - - *420 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58724,9 +58561,9 @@ paths: type: integer check_runs: type: array - items: *381 + items: *380 examples: - default: *421 + default: *420 headers: Link: *6 x-github: @@ -58751,9 +58588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -58761,7 +58598,7 @@ paths: schema: type: integer example: 1 - - *419 + - *418 - *4 - *5 responses: @@ -58779,7 +58616,7 @@ paths: type: integer check_suites: type: array - items: *386 + items: *385 examples: default: value: @@ -58979,9 +58816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - *4 - *5 responses: @@ -59179,9 +59016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - *4 - *5 responses: @@ -59191,7 +59028,7 @@ paths: application/json: schema: type: array - items: &571 + items: &570 title: Status description: The status of a commit. type: object @@ -59272,7 +59109,7 @@ paths: site_admin: false headers: Link: *6 - '301': *323 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59340,8 +59177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#compare-two-commits parameters: + - *310 - *311 - - *312 - *5 - *4 - name: basehead @@ -59384,8 +59221,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *411 - merge_base_commit: *411 + base_commit: *410 + merge_base_commit: *410 status: type: string enum: @@ -59405,10 +59242,10 @@ paths: example: 6 commits: type: array - items: *411 + items: *410 files: type: array - items: *422 + items: *421 required: - url - html_url @@ -59687,8 +59524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-repository-content parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -59831,7 +59668,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &423 + response-if-content-is-a-file: &422 summary: Response if content is a file value: type: file @@ -59963,7 +59800,7 @@ paths: - size - type - url - - &524 + - &523 title: Content File description: Content File type: object @@ -60164,7 +60001,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *423 + response-if-content-is-a-file: *422 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60233,7 +60070,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *26 '403': *43 - '302': &528 + '302': &527 description: Found '304': *42 x-github: @@ -60257,8 +60094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#create-or-update-file-contents parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -60351,7 +60188,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: File Commit description: File Commit type: object @@ -60497,7 +60334,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: example-for-creating-a-file: value: @@ -60548,7 +60385,7 @@ paths: schema: oneOf: - *24 - - &453 + - &452 description: Repository rule violation was detected type: object properties: @@ -60569,7 +60406,7 @@ paths: items: type: object properties: - placeholder_id: &567 + placeholder_id: &566 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -60601,8 +60438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#delete-a-file parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -60663,7 +60500,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: default: value: @@ -60714,8 +60551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-contributors parameters: + - *310 - *311 - - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60838,8 +60675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *310 - *311 - - *312 - *209 - *210 - *211 @@ -60882,7 +60719,7 @@ paths: application/json: schema: type: array - items: &427 + items: &426 type: object description: A Dependabot alert. properties: @@ -60915,7 +60752,7 @@ paths: enum: - development - runtime - security_advisory: *425 + security_advisory: *424 security_vulnerability: *116 url: *117 html_url: *118 @@ -60946,7 +60783,7 @@ paths: nullable: true maxLength: 280 fixed_at: *122 - auto_dismissed_at: *426 + auto_dismissed_at: *425 required: - number - state @@ -61176,9 +61013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *310 - *311 - - *312 - - &428 + - &427 name: alert_number in: path description: |- @@ -61193,7 +61030,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: value: @@ -61306,9 +61143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *310 - *311 - - *312 - - *428 + - *427 requestBody: required: true content: @@ -61353,7 +61190,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: value: @@ -61482,8 +61319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#list-repository-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -61501,7 +61338,7 @@ paths: type: integer secrets: type: array - items: &431 + items: &430 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61554,16 +61391,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61583,15 +61420,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#get-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -61617,8 +61454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 requestBody: required: true @@ -61671,8 +61508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '204': @@ -61695,8 +61532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *310 - *311 - - *312 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -61856,8 +61693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -62082,8 +61919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -62158,7 +61995,7 @@ paths: - version - url additionalProperties: false - metadata: &432 + metadata: &431 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62191,7 +62028,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *432 + metadata: *431 resolved: type: object description: A collection of resolved package dependencies. @@ -62204,7 +62041,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *432 + metadata: *431 relationship: type: string description: A notation of whether a dependency is requested @@ -62333,8 +62170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#list-deployments parameters: + - *310 - *311 - - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -62374,9 +62211,9 @@ paths: application/json: schema: type: array - items: *433 + items: *432 examples: - default: *434 + default: *433 headers: Link: *6 x-github: @@ -62442,8 +62279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#create-a-deployment parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -62524,7 +62361,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *432 examples: simple-example: summary: Simple example @@ -62597,9 +62434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#get-a-deployment parameters: + - *310 - *311 - - *312 - - &435 + - &434 name: deployment_id description: deployment_id parameter in: path @@ -62611,7 +62448,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *432 examples: default: value: @@ -62676,9 +62513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#delete-a-deployment parameters: + - *310 - *311 - - *312 - - *435 + - *434 responses: '204': description: Response @@ -62700,9 +62537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#list-deployment-statuses parameters: + - *310 - *311 - - *312 - - *435 + - *434 - *4 - *5 responses: @@ -62712,7 +62549,7 @@ paths: application/json: schema: type: array - items: &436 + items: &435 title: Deployment Status description: The status of a deployment. type: object @@ -62873,9 +62710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#create-a-deployment-status parameters: + - *310 - *311 - - *312 - - *435 + - *434 requestBody: required: true content: @@ -62950,9 +62787,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *435 examples: - default: &437 + default: &436 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63008,9 +62845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#get-a-deployment-status parameters: + - *310 - *311 - - *312 - - *435 + - *434 - name: status_id in: path required: true @@ -63021,9 +62858,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *435 examples: - default: *437 + default: *436 '404': *26 x-github: githubCloudOnly: false @@ -63048,8 +62885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -63106,8 +62943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#list-environments parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -63124,7 +62961,7 @@ paths: type: integer environments: type: array - items: &439 + items: &438 title: Environment description: Details of a deployment environment type: object @@ -63176,7 +63013,7 @@ paths: type: type: string example: wait_timer - wait_timer: &441 + wait_timer: &440 type: integer example: 30 description: The amount of time to delay a job after @@ -63213,11 +63050,11 @@ paths: items: type: object properties: - type: *438 + type: *437 reviewer: anyOf: - *19 - - *313 + - *312 required: - id - node_id @@ -63237,7 +63074,7 @@ paths: - id - node_id - type - deployment_branch_policy: &442 + deployment_branch_policy: &441 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -63352,9 +63189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#get-an-environment parameters: + - *310 - *311 - - *312 - - &440 + - &439 name: environment_name in: path required: true @@ -63367,9 +63204,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: &443 + default: &442 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63452,9 +63289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#create-or-update-an-environment parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: false content: @@ -63463,7 +63300,7 @@ paths: type: object nullable: true properties: - wait_timer: *441 + wait_timer: *440 prevent_self_review: type: boolean example: false @@ -63480,13 +63317,13 @@ paths: items: type: object properties: - type: *438 + type: *437 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *442 + deployment_branch_policy: *441 additionalProperties: false examples: default: @@ -63506,9 +63343,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *443 + default: *442 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63532,9 +63369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#delete-an-environment parameters: + - *310 - *311 - - *312 - - *440 + - *439 responses: '204': description: Default response @@ -63559,9 +63396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *4 - *5 responses: @@ -63579,7 +63416,7 @@ paths: example: 2 branch_policies: type: array - items: &444 + items: &443 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63636,9 +63473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: true content: @@ -63684,9 +63521,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - example-wildcard: &445 + example-wildcard: &444 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63728,10 +63565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - &446 + - *439 + - &445 name: branch_policy_id in: path required: true @@ -63743,9 +63580,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - default: *445 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63764,10 +63601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - *446 + - *439 + - *445 requestBody: required: true content: @@ -63795,9 +63632,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - default: *445 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63816,10 +63653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - *446 + - *439 + - *445 responses: '204': description: Response @@ -63844,9 +63681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 responses: '200': description: List of deployment protection rules @@ -63862,7 +63699,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &447 + items: &446 title: Deployment protection rule description: Deployment protection rule type: object @@ -63881,7 +63718,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &448 + app: &447 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -63980,9 +63817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 requestBody: content: application/json: @@ -64003,9 +63840,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *447 + schema: *446 examples: - default: &449 + default: &448 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64040,9 +63877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 - *5 - *4 responses: @@ -64061,7 +63898,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *448 + items: *447 examples: default: value: @@ -64096,10 +63933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *310 - *311 - - *312 - - *440 - - &450 + - *439 + - &449 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64111,9 +63948,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *449 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64134,10 +63971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 - - *450 + - *310 + - *449 responses: '204': description: Response @@ -64163,9 +64000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-environment-secrets parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *4 - *5 responses: @@ -64183,9 +64020,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *347 examples: - default: *349 + default: *348 headers: Link: *6 x-github: @@ -64210,17 +64047,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-an-environment-public-key parameters: + - *310 - *311 - - *312 - - *440 + - *439 responses: '200': description: Response content: application/json: - schema: *350 + schema: *349 examples: - default: *351 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64242,18 +64079,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *347 examples: - default: *451 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64275,9 +64112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 requestBody: required: true @@ -64335,9 +64172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#delete-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 responses: '204': @@ -64363,10 +64200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-environment-variables parameters: + - *310 - *311 - - *312 - - *440 - - *335 + - *439 + - *334 - *5 responses: '200': @@ -64383,9 +64220,9 @@ paths: type: integer variables: type: array - items: *352 + items: *351 examples: - default: *353 + default: *352 headers: Link: *6 x-github: @@ -64408,9 +64245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#create-an-environment-variable parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: true content: @@ -64462,18 +64299,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#get-an-environment-variable parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *183 responses: '200': description: Response content: application/json: - schema: *352 + schema: *351 examples: - default: *452 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64494,10 +64331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#update-an-environment-variable parameters: + - *310 - *311 - - *312 - *183 - - *440 + - *439 requestBody: required: true content: @@ -64539,10 +64376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#delete-an-environment-variable parameters: + - *310 - *311 - - *312 - *183 - - *440 + - *439 responses: '204': description: Response @@ -64564,8 +64401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/events#list-repository-events parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -64642,8 +64479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/forks#list-forks parameters: + - *310 - *311 - - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -64802,8 +64639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/forks#create-a-fork parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -64835,9 +64672,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 '400': *34 '422': *35 '403': *43 @@ -64858,8 +64695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/blobs#create-a-blob parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -64919,7 +64756,7 @@ paths: schema: oneOf: - *157 - - *453 + - *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64944,8 +64781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/blobs#get-a-blob parameters: + - *310 - *311 - - *312 - name: file_sha in: path required: true @@ -65044,8 +64881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/commits#create-a-commit parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65154,7 +64991,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &453 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65361,15 +65198,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/commits#get-a-commit-object parameters: + - *310 - *311 - - *312 - - *412 + - *411 responses: '200': description: Response content: application/json: - schema: *454 + schema: *453 examples: default: value: @@ -65422,9 +65259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#list-matching-references parameters: + - *310 - *311 - - *312 - - &455 + - &454 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -65441,7 +65278,7 @@ paths: application/json: schema: type: array - items: &456 + items: &455 title: Git Reference description: Git references within a repository type: object @@ -65516,17 +65353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 responses: '200': description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: &457 + default: &456 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -65555,8 +65392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#create-a-reference parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65585,9 +65422,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65613,9 +65450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#update-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 requestBody: required: true content: @@ -65644,9 +65481,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 '422': *35 '409': *109 x-github: @@ -65664,9 +65501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#delete-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 responses: '204': description: Response @@ -65721,8 +65558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/tags#create-a-tag-object parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65789,7 +65626,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &458 title: Git Tag description: Metadata for a Git tag type: object @@ -65840,7 +65677,7 @@ paths: - sha - type - url - verification: *458 + verification: *457 required: - sha - url @@ -65850,7 +65687,7 @@ paths: - tag - message examples: - default: &460 + default: &459 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -65920,8 +65757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/tags#get-a-tag parameters: + - *310 - *311 - - *312 - name: tag_sha in: path required: true @@ -65932,9 +65769,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *458 examples: - default: *460 + default: *459 '404': *26 '409': *109 x-github: @@ -65958,8 +65795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/trees#create-a-tree parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -66032,7 +65869,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &460 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66128,8 +65965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/trees#get-a-tree parameters: + - *310 - *311 - - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66152,7 +65989,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default-response: summary: Default response @@ -66211,8 +66048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#list-repository-webhooks parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -66222,7 +66059,7 @@ paths: application/json: schema: type: array - items: &462 + items: &461 title: Webhook description: Webhooks for repositories. type: object @@ -66276,7 +66113,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &681 + last_response: &680 title: Hook Response type: object properties: @@ -66350,8 +66187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#create-a-repository-webhook parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -66403,9 +66240,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: &463 + default: &462 value: type: Repository id: 12345678 @@ -66453,17 +66290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '200': description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: *463 + default: *462 '404': *26 x-github: githubCloudOnly: false @@ -66483,8 +66320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#update-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 requestBody: required: true @@ -66530,9 +66367,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: *463 + default: *462 '422': *35 '404': *26 x-github: @@ -66553,8 +66390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66579,8 +66416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *310 - *311 - - *312 - *3 responses: '200': @@ -66608,8 +66445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *310 - *311 - - *312 - *3 requestBody: required: false @@ -66654,8 +66491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *4 - *226 @@ -66687,8 +66524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *36 responses: @@ -66717,8 +66554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *36 responses: @@ -66742,8 +66579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66769,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66795,8 +66632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -66804,8 +66641,8 @@ paths: application/json: schema: *39 examples: - default: *464 - '301': *323 + default: *463 + '301': *322 '404': *26 x-github: githubCloudOnly: false @@ -66824,8 +66661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#list-repository-invitations parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -66835,7 +66672,7 @@ paths: application/json: schema: type: array - items: &465 + items: &464 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66898,7 +66735,7 @@ paths: - html_url - created_at examples: - default: &625 + default: &624 value: - id: 1 repository: @@ -67029,9 +66866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *310 - *311 - - *312 - - &466 + - &465 name: invitation_id description: The unique identifier of the invitation. in: path @@ -67066,7 +66903,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *464 examples: default: value: @@ -67197,9 +67034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *310 - *311 - - *312 - - *466 + - *465 responses: '204': description: Response @@ -67230,8 +67067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#list-repository-issues parameters: + - *310 - *311 - - *312 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -67452,7 +67289,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *323 + '301': *322 '422': *35 '404': *26 x-github: @@ -67481,8 +67318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#create-an-issue parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -67566,7 +67403,7 @@ paths: application/json: schema: *140 examples: - default: &472 + default: &471 value: id: 1 node_id: MDU6SXNzdWUx @@ -67722,7 +67559,7 @@ paths: '422': *35 '503': *123 '404': *26 - '410': *262 + '410': *261 x-github: triggersNotification: true githubCloudOnly: false @@ -67750,9 +67587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *310 - *311 - - *312 - - &517 + - &516 name: sort description: The property to sort the results by. in: query @@ -67782,9 +67619,9 @@ paths: application/json: schema: type: array - items: *467 + items: *466 examples: - default: &474 + default: &473 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67842,17 +67679,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#get-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: &468 + default: &467 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67906,8 +67743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#update-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -67930,9 +67767,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: *468 + default: *467 '422': *35 x-github: githubCloudOnly: false @@ -67950,8 +67787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#delete-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -67972,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -68000,9 +67837,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -68023,8 +67860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -68057,16 +67894,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -68088,10 +67925,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -68111,8 +67948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#list-issue-events-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -68122,7 +67959,7 @@ paths: application/json: schema: type: array - items: &471 + items: &470 title: Issue Event description: Issue Event type: object @@ -68165,8 +68002,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *469 - required: *470 + properties: *468 + required: *469 nullable: true label: title: Issue Event Label @@ -68210,7 +68047,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *313 + requested_team: *312 dismissed_review: title: Issue Event Dismissed Review type: object @@ -68473,8 +68310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#get-an-issue-event parameters: + - *310 - *311 - - *312 - name: event_id in: path required: true @@ -68485,7 +68322,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: default: value: @@ -68678,7 +68515,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *26 - '410': *262 + '410': *261 '403': *43 x-github: githubCloudOnly: false @@ -68712,9 +68549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue parameters: + - *310 - *311 - - *312 - - &473 + - &472 name: issue_number description: The number that identifies the issue. in: path @@ -68728,10 +68565,10 @@ paths: application/json: schema: *140 examples: - default: *472 - '301': *323 + default: *471 + '301': *322 '404': *26 - '410': *262 + '410': *261 '304': *42 x-github: githubCloudOnly: false @@ -68756,9 +68593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#update-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -68863,13 +68700,13 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 '422': *35 '503': *123 '403': *43 - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68887,9 +68724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -68917,7 +68754,7 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68933,9 +68770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: content: application/json: @@ -68962,7 +68799,7 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68984,9 +68821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: assignee in: path required: true @@ -69026,9 +68863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#list-issue-comments parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *130 - *4 - *5 @@ -69039,13 +68876,13 @@ paths: application/json: schema: type: array - items: *467 + items: *466 examples: - default: *474 + default: *473 headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69074,9 +68911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#create-an-issue-comment parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: true content: @@ -69098,16 +68935,16 @@ paths: description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: *468 + default: *467 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *43 - '410': *262 + '410': *261 '422': *35 '404': *26 x-github: @@ -69127,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#list-issue-events parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -69143,7 +68980,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &477 + - &476 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -69197,7 +69034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &478 + - &477 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -69333,7 +69170,7 @@ paths: - performed_via_github_app - assignee - assigner - - &479 + - &478 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -69384,7 +69221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &480 + - &479 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -69435,7 +69272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &480 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -69489,7 +69326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &481 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -69523,7 +69360,7 @@ paths: properties: *125 required: *126 review_requester: *19 - requested_team: *313 + requested_team: *312 requested_reviewer: *19 required: - review_requester @@ -69536,7 +69373,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &482 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -69570,7 +69407,7 @@ paths: properties: *125 required: *126 review_requester: *19 - requested_team: *313 + requested_team: *312 requested_reviewer: *19 required: - review_requester @@ -69583,7 +69420,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &483 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -69643,7 +69480,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &484 title: Locked Issue Event description: Locked Issue Event type: object @@ -69691,7 +69528,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &485 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69757,7 +69594,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &486 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69823,7 +69660,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &487 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69889,7 +69726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &488 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69980,7 +69817,7 @@ paths: color: red headers: Link: *6 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69997,9 +69834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -70009,7 +69846,7 @@ paths: application/json: schema: type: array - items: &475 + items: &474 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -70056,7 +69893,7 @@ paths: - color - default examples: - default: &476 + default: &475 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70074,9 +69911,9 @@ paths: default: false headers: Link: *6 - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70093,9 +69930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#add-labels-to-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70154,12 +69991,12 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 - '301': *323 + default: *475 + '301': *322 '404': *26 - '410': *262 + '410': *261 '422': *35 x-github: githubCloudOnly: false @@ -70176,9 +70013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#set-labels-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70238,12 +70075,12 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 - '301': *323 + default: *475 + '301': *322 '404': *26 - '410': *262 + '410': *261 '422': *35 x-github: githubCloudOnly: false @@ -70260,15 +70097,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 responses: '204': description: Response - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70287,9 +70124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: name in: path required: true @@ -70302,7 +70139,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -70313,9 +70150,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70335,9 +70172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#lock-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70365,7 +70202,7 @@ paths: '204': description: Response '403': *43 - '410': *262 + '410': *261 '404': *26 '422': *35 x-github: @@ -70383,9 +70220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#unlock-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 responses: '204': description: Response @@ -70407,9 +70244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -70435,13 +70272,13 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70459,9 +70296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: true content: @@ -70493,16 +70330,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -70524,10 +70361,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *310 - *311 - - *312 - - *473 - - *303 + - *472 + - *302 responses: '204': description: Response @@ -70547,9 +70384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -70564,6 +70401,7 @@ paths: description: Timeline Event type: object anyOf: + - *476 - *477 - *478 - *479 @@ -70576,7 +70414,6 @@ paths: - *486 - *487 - *488 - - *489 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70877,7 +70714,7 @@ paths: type: string comments: type: array - items: &512 + items: &511 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -71086,7 +70923,7 @@ paths: type: string comments: type: array - items: *410 + items: *409 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -71375,7 +71212,7 @@ paths: headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71392,8 +71229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -71403,7 +71240,7 @@ paths: application/json: schema: type: array - items: &490 + items: &489 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71468,8 +71305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -71505,9 +71342,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &491 + default: &490 value: id: 1 key: ssh-rsa AAA... @@ -71541,9 +71378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *310 - *311 - - *312 - - &492 + - &491 name: key_id description: The unique identifier of the key. in: path @@ -71555,9 +71392,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *491 + default: *490 '404': *26 x-github: githubCloudOnly: false @@ -71575,9 +71412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *310 - *311 - - *312 - - *492 + - *491 responses: '204': description: Response @@ -71597,8 +71434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -71608,9 +71445,9 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 + default: *475 headers: Link: *6 '404': *26 @@ -71631,8 +71468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#create-a-label parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -71668,9 +71505,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: - default: &493 + default: &492 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71702,8 +71539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#get-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71714,9 +71551,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: - default: *493 + default: *492 '404': *26 x-github: githubCloudOnly: false @@ -71733,8 +71570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#update-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71773,7 +71610,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: default: value: @@ -71799,8 +71636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#delete-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71826,8 +71663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-languages parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -71863,8 +71700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *310 - *311 - - *312 responses: '202': *110 '403': @@ -71892,8 +71729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -71919,9 +71756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *310 - *311 - - *312 - - *400 + - *399 responses: '200': description: Response @@ -72066,8 +71903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72132,8 +71969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#merge-a-branch parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72167,9 +72004,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *411 + schema: *410 examples: - default: *494 + default: *493 '204': description: Response when already merged '404': @@ -72194,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#list-milestones parameters: + - *310 - *311 - - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -72236,12 +72073,12 @@ paths: application/json: schema: type: array - items: &495 + items: &494 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 examples: default: value: @@ -72297,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#create-a-milestone parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72338,9 +72175,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: &496 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -72399,9 +72236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#get-a-milestone parameters: + - *310 - *311 - - *312 - - &497 + - &496 name: milestone_number description: The number that identifies the milestone. in: path @@ -72413,9 +72250,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 '404': *26 x-github: githubCloudOnly: false @@ -72432,9 +72269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#update-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 requestBody: required: false content: @@ -72472,9 +72309,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72490,9 +72327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#delete-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 responses: '204': description: Response @@ -72513,9 +72350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 - *4 - *5 responses: @@ -72525,9 +72362,9 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 + default: *475 headers: Link: *6 x-github: @@ -72546,12 +72383,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *310 - *311 - - *312 + - *497 - *498 - - *499 - *130 - - *500 + - *499 - *4 - *5 responses: @@ -72563,7 +72400,7 @@ paths: type: array items: *150 examples: - default: *501 + default: *500 headers: Link: *6 x-github: @@ -72587,8 +72424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -72646,14 +72483,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-a-apiname-pages-site parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &502 + schema: &501 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72778,7 +72615,7 @@ paths: - custom_404 - public examples: - default: &503 + default: &502 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72819,8 +72656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#create-a-apiname-pages-site parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72874,9 +72711,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *501 examples: - default: *503 + default: *502 '422': *35 '409': *109 x-github: @@ -72899,8 +72736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72999,8 +72836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -73026,8 +72863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#list-apiname-pages-builds parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -73037,7 +72874,7 @@ paths: application/json: schema: type: array - items: &504 + items: &503 title: Page Build description: Page Build type: object @@ -73131,8 +72968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#request-a-apiname-pages-build parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -73177,16 +73014,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-latest-pages-build parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: &505 + default: &504 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -73234,8 +73071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-apiname-pages-build parameters: + - *310 - *311 - - *312 - name: build_id in: path required: true @@ -73246,9 +73083,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73268,8 +73105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#create-a-github-pages-deployment parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73369,9 +73206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *310 - *311 - - *312 - - &506 + - &505 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -73429,9 +73266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *310 - *311 - - *312 - - *506 + - *505 responses: '204': *203 '404': *26 @@ -73454,8 +73291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - *9 @@ -73476,7 +73313,7 @@ paths: application/json: schema: type: array - items: &507 + items: &506 type: object properties: id: @@ -73510,17 +73347,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': description: Response content: application/json: - schema: *507 + schema: *506 examples: - default: &508 + default: &507 value: id: 42 name: Check Commits @@ -73542,15 +73379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': description: Response content: application/json: - schema: *507 + schema: *506 examples: default: value: @@ -73594,8 +73431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': @@ -73603,9 +73440,9 @@ paths: global level. content: application/json: - schema: *507 + schema: *506 examples: - default: *508 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73625,8 +73462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#list-repository-projects parameters: + - *310 - *311 - - *312 - name: state description: Indicates the state of the projects to return. in: query @@ -73647,7 +73484,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -73687,7 +73524,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -73710,8 +73547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#create-a-repository-project parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73737,13 +73574,13 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: *320 + default: *319 '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -73766,8 +73603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -73775,7 +73612,7 @@ paths: application/json: schema: type: array - items: *267 + items: *266 examples: default: value: @@ -73806,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73819,7 +73656,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *267 + items: *266 required: - properties examples: @@ -73869,8 +73706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-pull-requests parameters: + - *310 - *311 - - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73930,9 +73767,9 @@ paths: application/json: schema: type: array - items: *509 + items: *508 examples: - default: *510 + default: *509 headers: Link: *6 '304': *42 @@ -73964,8 +73801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#create-a-pull-request parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -74030,7 +73867,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &513 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -74141,8 +73978,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -74187,7 +74024,7 @@ paths: nullable: true requested_teams: type: array - items: *288 + items: *287 nullable: true head: type: object @@ -74226,14 +74063,14 @@ paths: _links: type: object properties: - comments: *417 - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + comments: *416 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -74244,7 +74081,7 @@ paths: - review_comment - self author_association: *127 - auto_merge: *511 + auto_merge: *510 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -74336,7 +74173,7 @@ paths: - merged_by - review_comments examples: - default: &515 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74863,8 +74700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *310 - *311 - - *312 - name: sort in: query required: false @@ -74893,9 +74730,9 @@ paths: application/json: schema: type: array - items: *512 + items: *511 examples: - default: &518 + default: &517 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74972,17 +74809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *512 + schema: *511 examples: - default: &513 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75057,8 +74894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -75081,9 +74918,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: - default: *513 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75099,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -75122,8 +74959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -75150,9 +74987,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -75173,8 +75010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -75207,16 +75044,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -75238,10 +75075,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -75284,9 +75121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#get-a-pull-request parameters: + - *310 - *311 - - *312 - - &516 + - &515 name: pull_number description: The number that identifies the pull request. in: path @@ -75299,9 +75136,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *514 + schema: *513 examples: - default: *515 + default: *514 '304': *42 '404': *26 '406': @@ -75336,9 +75173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#update-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -75380,9 +75217,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *513 examples: - default: *515 + default: *514 '422': *35 '403': *43 x-github: @@ -75410,10 +75247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *310 - *311 - - *312 + - *515 - *516 - - *517 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -75433,9 +75270,9 @@ paths: application/json: schema: type: array - items: *512 + items: *511 examples: - default: *518 + default: *517 headers: Link: *6 x-github: @@ -75468,9 +75305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: true content: @@ -75575,7 +75412,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: example-for-a-multi-line-comment: value: @@ -75663,9 +75500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *139 requestBody: required: true @@ -75688,7 +75525,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: default: value: @@ -75774,9 +75611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -75786,9 +75623,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: *519 + default: *518 headers: Link: *6 x-github: @@ -75818,9 +75655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-pull-requests-files parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -75830,7 +75667,7 @@ paths: application/json: schema: type: array - items: *422 + items: *421 examples: default: value: @@ -75868,9 +75705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *310 - *311 - - *312 - - *516 + - *515 responses: '204': description: Response if pull request has been merged @@ -75893,9 +75730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#merge-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -76006,9 +75843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 responses: '200': description: Response @@ -76024,7 +75861,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 required: - users - teams @@ -76083,9 +75920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -76122,7 +75959,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *508 examples: default: value: @@ -76658,9 +76495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: true content: @@ -76694,7 +76531,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *508 examples: default: value: @@ -77199,9 +77036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -77211,7 +77048,7 @@ paths: application/json: schema: type: array - items: &520 + items: &519 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77362,9 +77199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -77450,9 +77287,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: &522 + default: &521 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77515,10 +77352,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - &521 + - *515 + - &520 name: review_id description: The unique identifier of the review. in: path @@ -77530,9 +77367,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: &523 + default: &522 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77591,10 +77428,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -77617,7 +77454,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: default: value: @@ -77679,18 +77516,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 responses: '200': description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: *522 + default: *521 '422': *27 '404': *26 x-github: @@ -77717,10 +77554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 - *4 - *5 responses: @@ -77803,9 +77640,9 @@ paths: _links: type: object properties: - self: *417 - html: *417 - pull_request: *417 + self: *416 + html: *416 + pull_request: *416 required: - self - html @@ -77955,10 +77792,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -77986,7 +77823,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: default: value: @@ -78049,10 +77886,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -78087,9 +77924,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: *523 + default: *522 '404': *26 '422': *27 '403': *43 @@ -78111,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -78176,8 +78013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-a-repository-readme parameters: + - *310 - *311 - - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78190,9 +78027,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *523 examples: - default: &525 + default: &524 value: type: file encoding: base64 @@ -78234,8 +78071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *310 - *311 - - *312 - name: dir description: The alternate path to look for a README file in: path @@ -78255,9 +78092,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *523 examples: - default: *525 + default: *524 '404': *26 '422': *35 x-github: @@ -78279,8 +78116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#list-releases parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -78290,7 +78127,7 @@ paths: application/json: schema: type: array - items: &526 + items: &525 title: Release description: A release. type: object @@ -78353,7 +78190,7 @@ paths: author: *19 assets: type: array - items: &527 + items: &526 title: Release Asset description: Data related to a release. type: object @@ -78535,8 +78372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#create-a-release parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -78606,9 +78443,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: &531 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78707,9 +78544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#get-a-release-asset parameters: + - *310 - *311 - - *312 - - &529 + - &528 name: asset_id description: The unique identifier of the asset. in: path @@ -78721,9 +78558,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: - default: &530 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -78758,7 +78595,7 @@ paths: type: User site_admin: false '404': *26 - '302': *528 + '302': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78774,9 +78611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#update-a-release-asset parameters: + - *310 - *311 - - *312 - - *529 + - *528 requestBody: required: false content: @@ -78804,9 +78641,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: - default: *530 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78822,9 +78659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#delete-a-release-asset parameters: + - *310 - *311 - - *312 - - *529 + - *528 responses: '204': description: Response @@ -78848,8 +78685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -78934,16 +78771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-the-latest-release parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78960,8 +78797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-a-release-by-tag-name parameters: + - *310 - *311 - - *312 - name: tag description: tag parameter in: path @@ -78974,9 +78811,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 '404': *26 x-github: githubCloudOnly: false @@ -78998,9 +78835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-a-release parameters: + - *310 - *311 - - *312 - - &532 + - &531 name: release_id description: The unique identifier of the release. in: path @@ -79014,9 +78851,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.16/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 '401': description: Unauthorized x-github: @@ -79034,9 +78871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#update-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 requestBody: required: false content: @@ -79093,9 +78930,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79111,9 +78948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#delete-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 responses: '204': description: Response @@ -79133,9 +78970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#list-release-assets parameters: + - *310 - *311 - - *312 - - *532 + - *531 - *4 - *5 responses: @@ -79145,7 +78982,7 @@ paths: application/json: schema: type: array - items: *527 + items: *526 examples: default: value: @@ -79227,9 +79064,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: + - *310 - *311 - - *312 - - *532 + - *531 - name: name in: query required: true @@ -79255,7 +79092,7 @@ paths: description: Response for successful upload content: application/json: - schema: *527 + schema: *526 examples: response-for-successful-upload: value: @@ -79310,9 +79147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -79336,9 +79173,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -79359,9 +79196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 requestBody: required: true content: @@ -79391,16 +79228,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -79422,10 +79259,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-release-reaction parameters: + - *310 - *311 - - *312 - - *532 - - *303 + - *531 + - *302 responses: '204': description: Response @@ -79445,8 +79282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-cache-replication-status parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -79521,9 +79358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rules#get-rules-for-a-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 - *4 - *5 responses: @@ -79539,8 +79376,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *533 - - &535 + - *532 + - &534 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79560,53 +79397,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: + - *533 - *534 + - allOf: - *535 + - *534 - allOf: - *536 - - *535 + - *534 - allOf: - *537 - - *535 + - *534 - allOf: - *538 - - *535 + - *534 - allOf: - *539 - - *535 + - *534 - allOf: - *540 - - *535 + - *534 - allOf: - *541 - - *535 + - *534 - allOf: - *542 - - *535 + - *534 - allOf: - *543 - - *535 + - *534 - allOf: - *544 - - *535 + - *534 - allOf: - *545 - - *535 + - *534 - allOf: - *546 - - *535 + - *534 - allOf: - *547 - - *535 + - *534 - allOf: - *548 - - *535 + - *534 - allOf: - *549 - - *535 - - allOf: - - *550 - - *535 + - *534 examples: default: value: @@ -79645,8 +79482,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - *4 - *5 - name: includes_parents @@ -79657,7 +79494,7 @@ paths: schema: type: boolean default: true - - *551 + - *550 responses: '200': description: Response @@ -79665,7 +79502,7 @@ paths: application/json: schema: type: array - items: *277 + items: *276 examples: default: value: @@ -79712,8 +79549,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 requestBody: description: Request body required: true @@ -79733,16 +79570,16 @@ paths: - tag - push default: branch - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *271 + items: *273 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *276 + items: *275 required: - name - enforcement @@ -79773,9 +79610,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: &561 + default: &560 value: id: 42 name: super cool ruleset @@ -79822,12 +79659,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *310 - *311 - - *312 + - *551 - *552 - *553 - *554 - - *555 - *4 - *5 responses: @@ -79835,9 +79672,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *555 examples: - default: *557 + default: *556 '404': *26 '500': *248 x-github: @@ -79858,17 +79695,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *310 - *311 - - *312 - - *558 + - *557 responses: '200': description: Response content: application/json: - schema: *559 + schema: *558 examples: - default: *560 + default: *559 '404': *26 '500': *248 x-github: @@ -79896,8 +79733,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79917,9 +79754,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *561 + default: *560 '404': *26 '500': *248 put: @@ -79937,8 +79774,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79963,16 +79800,16 @@ paths: - branch - tag - push - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *271 + items: *273 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *276 + items: *275 examples: default: value: @@ -80000,9 +79837,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *561 + default: *560 '404': *26 '500': *248 delete: @@ -80020,8 +79857,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80049,20 +79886,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *310 - *311 - - *312 + - *278 - *279 - *280 - *281 - - *282 - *9 - *5 - *4 + - *561 - *562 - - *563 + - *282 - *283 - *284 - - *285 responses: '200': description: Response @@ -80070,7 +79907,7 @@ paths: application/json: schema: type: array - items: &566 + items: &565 type: object properties: number: *112 @@ -80089,8 +79926,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *564 - resolution: *565 + state: *563 + resolution: *564 resolved_at: type: string format: date-time @@ -80315,15 +80152,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 responses: '200': description: Response content: application/json: - schema: *566 + schema: *565 examples: default: value: @@ -80364,9 +80201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 requestBody: required: true content: @@ -80374,8 +80211,8 @@ paths: schema: type: object properties: - state: *564 - resolution: *565 + state: *563 + resolution: *564 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -80393,7 +80230,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *565 examples: default: value: @@ -80461,9 +80298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 - *5 - *4 responses: @@ -80474,7 +80311,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &701 + items: &700 type: object properties: type: @@ -80833,8 +80670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -80842,14 +80679,14 @@ paths: schema: type: object properties: - reason: &568 + reason: &567 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *567 + placeholder_id: *566 required: - reason - placeholder_id @@ -80866,7 +80703,7 @@ paths: schema: type: object properties: - reason: *568 + reason: *567 expire_at: type: string format: date-time @@ -80909,8 +80746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *310 - *311 - - *312 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -80925,7 +80762,7 @@ paths: properties: incremental_scans: type: array - items: &569 + items: &568 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80951,15 +80788,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *569 + items: *568 backfill_scans: type: array - items: *569 + items: *568 custom_pattern_backfill_scans: type: array items: allOf: - - *569 + - *568 - type: object properties: pattern_name: @@ -81029,8 +80866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-stargazers parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81126,8 +80963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81136,7 +80973,7 @@ paths: application/json: schema: type: array - items: &570 + items: &569 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81167,8 +81004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81241,8 +81078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81338,8 +81175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *310 - *311 - - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -81493,8 +81330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *310 - *311 - - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -81504,7 +81341,7 @@ paths: application/json: schema: type: array - items: *570 + items: *569 examples: default: value: @@ -81537,8 +81374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#create-a-commit-status parameters: + - *310 - *311 - - *312 - name: sha in: path required: true @@ -81592,7 +81429,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *570 examples: default: value: @@ -81646,8 +81483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#list-watchers parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81679,14 +81516,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#get-a-repository-subscription parameters: + - *310 - *311 - - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &572 + schema: &571 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81754,8 +81591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#set-a-repository-subscription parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -81781,7 +81618,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *571 examples: default: value: @@ -81808,8 +81645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#delete-a-repository-subscription parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -81829,8 +81666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-tags parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81909,8 +81746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81918,7 +81755,7 @@ paths: application/json: schema: type: array - items: &573 + items: &572 title: Tag protection description: Tag protection type: object @@ -81970,8 +81807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -81994,7 +81831,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *572 examples: default: value: @@ -82025,8 +81862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *310 - *311 - - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82063,8 +81900,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *310 - *311 - - *312 - name: ref in: path required: true @@ -82100,8 +81937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-teams parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -82111,9 +81948,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 headers: Link: *6 '404': *26 @@ -82133,8 +81970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-all-repository-topics parameters: + - *310 - *311 - - *312 - *5 - *4 responses: @@ -82142,7 +81979,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &573 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82154,7 +81991,7 @@ paths: required: - names examples: - default: &575 + default: &574 value: names: - octocat @@ -82177,8 +82014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#replace-all-repository-topics parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -82209,9 +82046,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *573 examples: - default: *575 + default: *574 '404': *26 '422': *27 x-github: @@ -82234,8 +82071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#transfer-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -82509,8 +82346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82533,8 +82370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#enable-vulnerability-alerts parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -82556,8 +82393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#disable-vulnerability-alerts parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -82583,8 +82420,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *310 - *311 - - *312 - name: ref in: path required: true @@ -82676,9 +82513,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82852,7 +82689,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &583 + - &582 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -82861,7 +82698,7 @@ paths: schema: type: string example: members - - &588 + - &587 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -82872,7 +82709,7 @@ paths: default: 1 format: int32 example: 1 - - &589 + - &588 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -82914,7 +82751,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &577 + items: &576 allOf: - type: object required: @@ -82989,7 +82826,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &590 + meta: &589 type: object description: The metadata associated with the creation/updates to the user. @@ -83049,31 +82886,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &578 + '400': &577 description: Bad request content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 - '401': &579 + schema: *575 + '401': &578 description: Authorization failure - '403': &580 + '403': &579 description: Permission denied - '429': &581 + '429': &580 description: Too many requests content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 - '500': &582 + schema: *575 + '500': &581 description: Internal server error content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 + schema: *575 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83100,7 +82937,7 @@ paths: required: true content: application/json: - schema: &586 + schema: &585 type: object required: - schemas @@ -83156,9 +82993,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *577 + schema: *576 examples: - group: &584 + group: &583 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -83177,13 +83014,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *578 - '401': *579 - '403': *580 - '409': &587 + '400': *577 + '401': *578 + '403': *579 + '409': &586 description: Duplicate record detected - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83204,7 +83041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &585 + - &584 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -83212,22 +83049,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *583 + - *582 - *65 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *577 + schema: *576 examples: - default: *584 - '400': *578 - '401': *579 - '403': *580 + default: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83249,13 +83086,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *585 + - *584 - *65 requestBody: required: true content: application/json: - schema: *586 + schema: *585 examples: group: summary: Group @@ -83281,17 +83118,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *577 + schema: *576 examples: - group: *584 - groupWithMembers: *584 - '400': *578 - '401': *579 - '403': *580 + group: *583 + groupWithMembers: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83315,13 +83152,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *585 + - *584 - *65 requestBody: required: true content: application/json: - schema: &597 + schema: &596 type: object required: - Operations @@ -83381,17 +83218,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *577 + schema: *576 examples: - updateGroup: *584 - addMembers: *584 - '400': *578 - '401': *579 - '403': *580 + updateGroup: *583 + addMembers: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83411,17 +83248,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *585 + - *584 - *65 responses: '204': description: Group was deleted, no content - '400': *578 - '401': *579 - '403': *580 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83458,8 +83295,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' + - *587 - *588 - - *589 - *65 responses: '200': @@ -83492,7 +83329,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &592 + items: &591 allOf: - type: object required: @@ -83571,7 +83408,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &591 + roles: &590 type: array description: The roles assigned to the user. items: @@ -83627,7 +83464,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *590 + meta: *589 startIndex: type: integer description: A starting index for the returned page @@ -83664,11 +83501,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *578 - '401': *579 - '403': *580 - '429': *581 - '500': *582 + '400': *577 + '401': *578 + '403': *579 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83697,7 +83534,7 @@ paths: required: true content: application/json: - schema: &595 + schema: &594 type: object required: - schemas @@ -83779,9 +83616,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *591 + roles: *590 examples: - user: &596 + user: &595 summary: User value: schemas: @@ -83828,9 +83665,9 @@ paths: description: User has been created content: application/scim+json: - schema: *592 + schema: *591 examples: - user: &593 + user: &592 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -83856,13 +83693,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *593 - '400': *578 - '401': *579 - '403': *580 - '409': *587 - '429': *581 - '500': *582 + enterpriseOwner: *592 + '400': *577 + '401': *578 + '403': *579 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83883,7 +83720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &594 + - &593 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -83896,15 +83733,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *592 + schema: *591 examples: - default: *593 - '400': *578 - '401': *579 - '403': *580 + default: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83929,30 +83766,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *594 + - *593 - *65 requestBody: required: true content: application/json: - schema: *595 + schema: *594 examples: - user: *596 + user: *595 responses: '200': description: User was updated content: application/scim+json: - schema: *592 + schema: *591 examples: - user: *593 - '400': *578 - '401': *579 - '403': *580 + user: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83990,13 +83827,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *594 + - *593 - *65 requestBody: required: true content: application/json: - schema: *597 + schema: *596 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -84036,18 +83873,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *592 - examples: - userMultiValuedProperties: *593 - userSingleValuedProperties: *593 - disableUser: *593 - '400': *578 - '401': *579 - '403': *580 + schema: *591 + examples: + userMultiValuedProperties: *592 + userSingleValuedProperties: *592 + disableUser: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84067,17 +83904,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *594 + - *593 - *65 responses: '204': description: User was deleted, no content - '400': *578 - '401': *579 - '403': *580 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84204,7 +84041,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &598 + text_matches: &597 title: Search Result Text Matches type: array items: @@ -84367,7 +84204,7 @@ paths: enum: - author-date - committer-date - - &599 + - &598 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -84438,7 +84275,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true comment_count: type: integer @@ -84458,7 +84295,7 @@ paths: url: type: string format: uri - verification: *458 + verification: *457 required: - author - committer @@ -84477,7 +84314,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true parents: type: array @@ -84495,7 +84332,7 @@ paths: type: number node_id: type: string - text_matches: *598 + text_matches: *597 required: - sha - node_id @@ -84688,7 +84525,7 @@ paths: - interactions - created - updated - - *599 + - *598 - *4 - *5 - name: advanced_search @@ -84815,8 +84652,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true comments: type: integer @@ -84830,7 +84667,7 @@ paths: type: string format: date-time nullable: true - text_matches: *598 + text_matches: *597 pull_request: type: object properties: @@ -84874,7 +84711,7 @@ paths: timeline_url: type: string format: uri - type: *600 + type: *599 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -85055,7 +84892,7 @@ paths: enum: - created - updated - - *599 + - *598 - *4 - *5 responses: @@ -85099,7 +84936,7 @@ paths: nullable: true score: type: number - text_matches: *598 + text_matches: *597 required: - id - node_id @@ -85185,7 +85022,7 @@ paths: - forks - help-wanted-issues - updated - - *599 + - *598 - *4 - *5 responses: @@ -85424,7 +85261,7 @@ paths: - admin - pull - push - text_matches: *598 + text_matches: *597 temp_clone_token: type: string allow_merge_commit: @@ -85725,7 +85562,7 @@ paths: type: string format: uri nullable: true - text_matches: *598 + text_matches: *597 related: type: array nullable: true @@ -85918,7 +85755,7 @@ paths: - followers - repositories - joined - - *599 + - *598 - *4 - *5 responses: @@ -86022,7 +85859,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *598 + text_matches: *597 blog: type: string nullable: true @@ -86107,9 +85944,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 x-github: githubCloudOnly: false @@ -86199,16 +86036,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '201': description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 '422': *35 '403': *43 @@ -86278,9 +86115,9 @@ paths: application/json: schema: type: array - items: *294 + items: *293 examples: - default: *601 + default: *600 headers: Link: *6 x-github: @@ -86343,9 +86180,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: triggersNotification: true githubCloudOnly: false @@ -86373,15 +86210,15 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *296 + - *295 responses: '200': description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86407,7 +86244,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *296 + - *295 requestBody: required: false content: @@ -86430,9 +86267,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *602 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86458,7 +86295,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *296 + - *295 responses: '204': description: Response @@ -86488,7 +86325,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *296 + - *295 - *9 - *4 - *5 @@ -86499,9 +86336,9 @@ paths: application/json: schema: type: array - items: *297 + items: *296 examples: - default: *603 + default: *602 headers: Link: *6 x-github: @@ -86531,7 +86368,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *296 + - *295 requestBody: required: true content: @@ -86553,9 +86390,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -86583,16 +86420,16 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 responses: '200': description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86618,8 +86455,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -86641,9 +86478,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *604 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86669,8 +86506,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 responses: '204': description: Response @@ -86700,8 +86537,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -86727,9 +86564,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -86759,8 +86596,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -86792,9 +86629,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86821,7 +86658,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *296 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -86847,9 +86684,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -86879,7 +86716,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *296 + - *295 requestBody: required: true content: @@ -86911,9 +86748,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87109,9 +86946,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-user-is-a-team-maintainer: *605 + response-if-user-is-a-team-maintainer: *604 '404': *26 x-github: githubCloudOnly: false @@ -87170,9 +87007,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *606 + response-if-users-membership-with-team-is-now-pending: *605 '403': description: Forbidden if team synchronization is set up '422': @@ -87245,9 +87082,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *607 + default: *606 headers: Link: *6 '404': *26 @@ -87274,15 +87111,15 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *310 + - *309 responses: '200': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *608 + default: *607 '404': description: Not Found if project is not managed by this team x-github: @@ -87307,7 +87144,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *310 + - *309 requestBody: required: false content: @@ -87375,7 +87212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *310 + - *309 responses: '204': description: Response @@ -87445,14 +87282,14 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 + - *310 - *311 - - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *609 + schema: *608 examples: alternative-response-with-extra-repository-information: value: @@ -87604,8 +87441,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 + - *310 - *311 - - *312 requestBody: required: false content: @@ -87656,8 +87493,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 + - *310 - *311 - - *312 responses: '204': description: Response @@ -87692,9 +87529,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - response-if-child-teams-exist: *610 + response-if-child-teams-exist: *609 headers: Link: *6 '404': *26 @@ -87727,7 +87564,7 @@ paths: application/json: schema: oneOf: - - &612 + - &611 title: Private User description: Private User type: object @@ -87930,7 +87767,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *611 + - *610 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88081,7 +87918,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *611 examples: default: value: @@ -88159,7 +87996,7 @@ paths: type: array items: *242 examples: - default: &622 + default: &621 value: - id: 197 name: hello_docker @@ -88246,7 +88083,7 @@ paths: application/json: schema: type: array - items: &613 + items: &612 title: Email description: Email type: object @@ -88271,7 +88108,7 @@ paths: - verified - visibility examples: - default: &624 + default: &623 value: - email: octocat@github.com verified: true @@ -88346,7 +88183,7 @@ paths: application/json: schema: type: array - items: *613 + items: *612 examples: default: value: @@ -88602,7 +88439,7 @@ paths: application/json: schema: type: array - items: &614 + items: &613 title: GPG Key description: A unique encryption key type: object @@ -88733,7 +88570,7 @@ paths: - subkeys - revoked examples: - default: &634 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -88818,9 +88655,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *613 examples: - default: &615 + default: &614 value: id: 3 name: Octocat's GPG Key @@ -88877,7 +88714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &616 + - &615 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -88889,9 +88726,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *613 examples: - default: *615 + default: *614 '404': *26 '304': *42 '403': *43 @@ -88914,7 +88751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *616 + - *615 responses: '204': description: Response @@ -89105,7 +88942,7 @@ paths: type: array items: *84 examples: - default: *617 + default: *616 headers: Link: *6 '404': *26 @@ -89281,7 +89118,7 @@ paths: application/json: schema: type: array - items: &618 + items: &617 title: Key description: Key type: object @@ -89378,9 +89215,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *617 examples: - default: &619 + default: &618 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89413,15 +89250,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *492 + - *491 responses: '200': description: Response content: application/json: - schema: *618 + schema: *617 examples: - default: *619 + default: *618 '404': *26 '304': *42 '403': *43 @@ -89444,7 +89281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *492 + - *491 responses: '204': description: Response @@ -90264,7 +90101,7 @@ paths: type: array items: *70 examples: - default: *620 + default: *619 headers: Link: *6 '304': *42 @@ -90306,7 +90143,7 @@ paths: - docker - nuget - container - - *621 + - *620 - *5 - *4 responses: @@ -90318,8 +90155,8 @@ paths: type: array items: *242 examples: - default: *622 - '400': *623 + default: *621 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90348,7 +90185,7 @@ paths: application/json: schema: *242 examples: - default: &635 + default: &634 value: id: 40201 name: octo-name @@ -90729,7 +90566,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: default: value: @@ -90801,9 +90638,9 @@ paths: application/json: schema: type: array - items: *613 + items: *612 examples: - default: *624 + default: *623 headers: Link: *6 '304': *42 @@ -90916,7 +90753,7 @@ paths: type: array items: *84 examples: - default: &631 + default: &630 summary: Default response value: - id: 1296269 @@ -91220,9 +91057,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91260,9 +91097,9 @@ paths: application/json: schema: type: array - items: *465 + items: *464 examples: - default: *625 + default: *624 headers: Link: *6 '304': *42 @@ -91285,7 +91122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *466 + - *465 responses: '204': description: Response @@ -91308,7 +91145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *466 + - *465 responses: '204': description: Response @@ -91341,7 +91178,7 @@ paths: application/json: schema: type: array - items: &626 + items: &625 title: Social account description: Social media account type: object @@ -91356,7 +91193,7 @@ paths: - provider - url examples: - default: &627 + default: &626 value: - provider: twitter url: https://twitter.com/github @@ -91418,9 +91255,9 @@ paths: application/json: schema: type: array - items: *626 + items: *625 examples: - default: *627 + default: *626 '422': *35 '304': *42 '404': *26 @@ -91507,7 +91344,7 @@ paths: application/json: schema: type: array - items: &628 + items: &627 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -91527,7 +91364,7 @@ paths: - title - created_at examples: - default: &636 + default: &635 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91593,9 +91430,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *627 examples: - default: &629 + default: &628 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91626,7 +91463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &630 + - &629 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -91638,9 +91475,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *627 examples: - default: *629 + default: *628 '404': *26 '304': *42 '403': *43 @@ -91663,7 +91500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *630 + - *629 responses: '204': description: Response @@ -91692,7 +91529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &637 + - &636 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -91717,11 +91554,11 @@ paths: type: array items: *84 examples: - default-response: *631 + default-response: *630 application/vnd.github.v3.star+json: schema: type: array - items: &638 + items: &637 title: Starred Repository description: Starred Repository type: object @@ -91877,8 +91714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response if this repository is starred by you @@ -91906,8 +91743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -91931,8 +91768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -92004,7 +91841,7 @@ paths: application/json: schema: type: array - items: *292 + items: *291 examples: default: value: @@ -92091,10 +91928,10 @@ paths: application/json: schema: oneOf: - - *612 - *611 + - *610 examples: - default-response: &632 + default-response: &631 summary: Default response value: login: octocat @@ -92129,7 +91966,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &633 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -92241,11 +92078,11 @@ paths: application/json: schema: oneOf: - - *612 - *611 + - *610 examples: - default-response: *632 - response-with-git-hub-plan-information: *633 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *26 x-github: githubCloudOnly: false @@ -92276,7 +92113,7 @@ paths: type: array items: *242 examples: - default: *622 + default: *621 '403': *43 '401': *41 x-github: @@ -92680,9 +92517,9 @@ paths: application/json: schema: type: array - items: *614 + items: *613 examples: - default: *634 + default: *633 headers: Link: *6 x-github: @@ -92786,7 +92623,7 @@ paths: application/json: schema: *39 examples: - default: *464 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92864,7 +92701,7 @@ paths: type: array items: *70 examples: - default: *620 + default: *619 headers: Link: *6 x-github: @@ -92903,7 +92740,7 @@ paths: - docker - nuget - container - - *621 + - *620 - *8 - *5 - *4 @@ -92916,10 +92753,10 @@ paths: type: array items: *242 examples: - default: *622 + default: *621 '403': *43 '401': *41 - '400': *623 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92949,7 +92786,7 @@ paths: application/json: schema: *242 examples: - default: *635 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93235,7 +93072,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -93588,9 +93425,9 @@ paths: application/json: schema: type: array - items: *626 + items: *625 examples: - default: *627 + default: *626 headers: Link: *6 x-github: @@ -93620,9 +93457,9 @@ paths: application/json: schema: type: array - items: *628 + items: *627 examples: - default: *636 + default: *635 headers: Link: *6 x-github: @@ -93647,7 +93484,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *637 + - *636 - *9 - *4 - *5 @@ -93659,11 +93496,11 @@ paths: schema: anyOf: - type: array - items: *638 + items: *637 - type: array items: *84 examples: - default-response: *631 + default-response: *630 headers: Link: *6 x-github: @@ -93873,7 +93710,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &639 + enterprise: &638 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -93931,7 +93768,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &640 + installation: &639 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -93950,7 +93787,7 @@ x-webhooks: required: - id - node_id - organization: &641 + organization: &640 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -94010,13 +93847,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &642 + repository: &641 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &675 + properties: &674 id: description: Unique identifier of the repository example: 42 @@ -94699,7 +94536,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &676 + required: &675 - archive_url - assignees_url - blobs_url @@ -94850,10 +94687,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -94939,11 +94776,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: &643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: &642 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.16/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -95176,11 +95013,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *19 required: - action @@ -95373,11 +95210,11 @@ x-webhooks: - everyone required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *19 required: - action @@ -95448,7 +95285,7 @@ x-webhooks: required: true content: application/json: - schema: &646 + schema: &645 title: Exemption request cancellation event type: object properties: @@ -95456,11 +95293,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: &644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: &643 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -95693,7 +95530,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &645 + items: &644 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -95801,7 +95638,7 @@ x-webhooks: required: true content: application/json: - schema: &647 + schema: &646 title: Exemption request completed event type: object properties: @@ -95809,11 +95646,11 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 sender: *19 required: - action @@ -95883,7 +95720,7 @@ x-webhooks: required: true content: application/json: - schema: &648 + schema: &647 title: Exemption request created event type: object properties: @@ -95891,11 +95728,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 sender: *19 required: - action @@ -95965,7 +95802,7 @@ x-webhooks: required: true content: application/json: - schema: &649 + schema: &648 title: Exemption response dismissed event type: object properties: @@ -95973,12 +95810,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 - exemption_response: *645 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 + exemption_response: *644 sender: *19 required: - action @@ -96050,7 +95887,7 @@ x-webhooks: required: true content: application/json: - schema: &650 + schema: &649 title: Exemption response submitted event type: object properties: @@ -96058,12 +95895,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 - exemption_response: *645 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 + exemption_response: *644 sender: *19 required: - action @@ -96136,7 +95973,7 @@ x-webhooks: required: true content: application/json: - schema: *646 + schema: *645 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96203,7 +96040,7 @@ x-webhooks: required: true content: application/json: - schema: *647 + schema: *646 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96270,7 +96107,7 @@ x-webhooks: required: true content: application/json: - schema: *648 + schema: *647 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96337,7 +96174,7 @@ x-webhooks: required: true content: application/json: - schema: *649 + schema: *648 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96405,7 +96242,7 @@ x-webhooks: required: true content: application/json: - schema: *650 + schema: *649 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96484,12 +96321,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 ref: type: string - repository: *642 + repository: *641 sender: *19 required: - cache_location @@ -96583,7 +96420,7 @@ x-webhooks: type: string enum: - completed - check_run: &652 + check_run: &651 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96636,7 +96473,7 @@ x-webhooks: type: string pull_requests: type: array - items: *380 + items: *379 repository: *170 status: example: completed @@ -96674,7 +96511,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *651 + deployment: *650 details_url: example: https://example.com type: string @@ -96724,7 +96561,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *380 + items: *379 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96759,9 +96596,9 @@ x-webhooks: - output - app - pull_requests - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -97164,10 +97001,10 @@ x-webhooks: type: string enum: - created - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -97573,10 +97410,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 requested_action: description: The action requested by the user. type: object @@ -97991,10 +97828,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -98981,10 +98818,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -99664,10 +99501,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -100341,10 +100178,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -100517,7 +100354,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -100662,20 +100499,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &653 + commit_oid: &652 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *639 - installation: *640 - organization: *641 - ref: &654 + enterprise: *638 + installation: *639 + organization: *640 + ref: &653 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -100847,7 +100684,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -101077,12 +100914,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101187,7 +101024,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101355,12 +101192,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101533,7 +101370,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -101699,12 +101536,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101811,7 +101648,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101979,16 +101816,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *642 + repository: *641 sender: *19 required: - action @@ -102092,7 +101929,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -102232,12 +102069,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -102504,10 +102341,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -102597,18 +102434,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *641 - pusher_type: &655 + organization: *640 + pusher_type: &654 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &656 + ref: &655 description: The [`git ref`](https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference) resource. type: string @@ -102618,7 +102455,7 @@ x-webhooks: enum: - tag - branch - repository: *642 + repository: *641 sender: *19 required: - ref @@ -102707,18 +102544,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - pusher_type: *655 - ref: *656 + enterprise: *638 + installation: *639 + organization: *640 + pusher_type: *654 + ref: *655 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *642 + repository: *641 sender: *19 required: - ref @@ -102812,11 +102649,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -102910,11 +102747,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103008,11 +102845,11 @@ x-webhooks: type: string enum: - created - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103104,11 +102941,11 @@ x-webhooks: type: string enum: - dismissed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103200,11 +103037,11 @@ x-webhooks: type: string enum: - fixed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103297,11 +103134,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103393,11 +103230,11 @@ x-webhooks: type: string enum: - reopened - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103484,9 +103321,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - key: &657 + enterprise: *638 + installation: *639 + key: &656 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103522,8 +103359,8 @@ x-webhooks: - verified - created_at - read_only - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -103610,11 +103447,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - key: *657 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + key: *656 + organization: *640 + repository: *641 sender: *19 required: - action @@ -104185,12 +104022,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: &661 + workflow: &660 title: Workflow type: object nullable: true @@ -104926,13 +104763,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *433 + deployment: *432 pull_requests: type: array - items: *514 - repository: *642 - organization: *641 - installation: *640 + items: *513 + repository: *641 + organization: *640 + installation: *639 sender: *19 responses: '200': @@ -105013,7 +104850,7 @@ x-webhooks: type: string enum: - approved - approver: &658 + approver: &657 type: object properties: avatar_url: @@ -105056,11 +104893,11 @@ x-webhooks: type: string comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: &659 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: &658 type: array items: type: object @@ -105139,7 +104976,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &660 + workflow_job_run: &659 type: object properties: conclusion: @@ -105880,18 +105717,18 @@ x-webhooks: type: string enum: - rejected - approver: *658 + approver: *657 comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: *659 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: *658 sender: *19 since: type: string - workflow_job_run: *660 + workflow_job_run: *659 workflow_job_runs: type: array items: @@ -106605,13 +106442,13 @@ x-webhooks: type: string enum: - requested - enterprise: *639 + enterprise: *638 environment: type: string - installation: *640 - organization: *641 - repository: *642 - requestor: &666 + installation: *639 + organization: *640 + repository: *641 + requestor: &665 title: User type: object nullable: true @@ -108520,12 +108357,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Deployment Workflow Run type: object @@ -109215,7 +109052,7 @@ x-webhooks: type: string enum: - answered - answer: &664 + answer: &663 type: object properties: author_association: @@ -109372,7 +109209,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &662 + discussion: &661 title: Discussion description: A Discussion in a repository. type: object @@ -109658,7 +109495,7 @@ x-webhooks: - id labels: type: array - items: *475 + items: *474 required: - repository_url - category @@ -109680,10 +109517,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -109820,11 +109657,11 @@ x-webhooks: - from required: - category - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -109917,11 +109754,11 @@ x-webhooks: type: string enum: - closed - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110013,7 +109850,7 @@ x-webhooks: type: string enum: - created - comment: &663 + comment: &662 type: object properties: author_association: @@ -110170,11 +110007,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110267,12 +110104,12 @@ x-webhooks: type: string enum: - deleted - comment: *663 - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *662 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110377,12 +110214,12 @@ x-webhooks: - from required: - body - comment: *663 - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *662 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110476,11 +110313,11 @@ x-webhooks: type: string enum: - created - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110572,11 +110409,11 @@ x-webhooks: type: string enum: - deleted - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110686,11 +110523,11 @@ x-webhooks: type: string required: - from - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110782,10 +110619,10 @@ x-webhooks: type: string enum: - labeled - discussion: *662 - enterprise: *639 - installation: *640 - label: &665 + discussion: *661 + enterprise: *638 + installation: *639 + label: &664 title: Label type: object properties: @@ -110817,8 +110654,8 @@ x-webhooks: - color - default - description - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110911,11 +110748,11 @@ x-webhooks: type: string enum: - locked - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111007,11 +110844,11 @@ x-webhooks: type: string enum: - pinned - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111103,11 +110940,11 @@ x-webhooks: type: string enum: - reopened - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111202,16 +111039,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *662 - new_repository: *642 + new_discussion: *661 + new_repository: *641 required: - new_discussion - new_repository - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111304,10 +111141,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *662 - old_answer: *664 - organization: *641 - repository: *642 + discussion: *661 + old_answer: *663 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111399,12 +111236,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *662 - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111497,11 +111334,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111593,11 +111430,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111838,7 +111675,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *639 + enterprise: *638 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-a-repository) resource. @@ -112498,9 +112335,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - forkee @@ -112666,9 +112503,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pages: description: The pages that were updated. type: array @@ -112705,7 +112542,7 @@ x-webhooks: - action - sha - html_url - repository: *642 + repository: *641 sender: *19 required: - pages @@ -112791,10 +112628,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: &667 + organization: *640 + repositories: &666 description: An array of repository objects that the installation can access. type: array @@ -112820,8 +112657,8 @@ x-webhooks: - name - full_name - private - repository: *642 - requester: *666 + repository: *641 + requester: *665 sender: *19 required: - action @@ -112906,11 +112743,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -112996,11 +112833,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113086,10 +112923,10 @@ x-webhooks: type: string enum: - added - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories_added: &668 + organization: *640 + repositories_added: &667 description: An array of repository objects, which were added to the installation. type: array @@ -113135,15 +112972,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *642 - repository_selection: &669 + repository: *641 + repository_selection: &668 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *666 + requester: *665 sender: *19 required: - action @@ -113232,10 +113069,10 @@ x-webhooks: type: string enum: - removed - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories_added: *668 + organization: *640 + repositories_added: *667 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113262,9 +113099,9 @@ x-webhooks: - name - full_name - private - repository: *642 - repository_selection: *669 - requester: *666 + repository: *641 + repository_selection: *668 + requester: *665 sender: *19 required: - action @@ -113353,11 +113190,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113546,10 +113383,10 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 target_type: type: string @@ -113638,11 +113475,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113904,8 +113741,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114728,7 +114565,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -115061,8 +114898,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -115152,7 +114989,7 @@ x-webhooks: type: string enum: - deleted - comment: &670 + comment: &669 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.16/rest/issues/comments#get-an-issue-comment) itself. @@ -115317,8 +115154,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116137,7 +115974,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -116472,8 +116309,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -116563,7 +116400,7 @@ x-webhooks: type: string enum: - edited - changes: &693 + changes: &692 description: The changes to the comment. type: object properties: @@ -116575,9 +116412,9 @@ x-webhooks: type: string required: - from - comment: *670 - enterprise: *639 - installation: *640 + comment: *669 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117399,7 +117236,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -117732,8 +117569,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -117825,10 +117662,10 @@ x-webhooks: type: string enum: - assigned - assignee: *666 - enterprise: *639 - installation: *640 - issue: &673 + assignee: *665 + enterprise: *638 + installation: *639 + issue: &672 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -118646,7 +118483,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -118747,8 +118584,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -118838,8 +118675,8 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -119662,7 +119499,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -119898,8 +119735,8 @@ x-webhooks: required: - state - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -119988,8 +119825,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -120803,7 +120640,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -120903,8 +120740,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -120993,8 +120830,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -121830,7 +121667,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -121909,7 +121746,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &671 + milestone: &670 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122047,8 +121884,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -122157,8 +121994,8 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -122973,7 +122810,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -123077,9 +122914,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *665 - organization: *641 - repository: *642 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -123169,8 +123006,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -123984,7 +123821,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -124088,9 +123925,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *665 - organization: *641 - repository: *642 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -124180,8 +124017,8 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -125019,7 +124856,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -125100,8 +124937,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -125190,8 +125027,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -126026,7 +125863,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -126104,9 +125941,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *671 - organization: *641 - repository: *642 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -127090,7 +126927,7 @@ x-webhooks: required: - login - id - type: *600 + type: *599 required: - id - number @@ -127559,8 +127396,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -128378,7 +128215,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -128478,8 +128315,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -128569,9 +128406,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *639 - installation: *640 - issue: &672 + enterprise: *638 + installation: *639 + issue: &671 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -129383,7 +129220,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -129483,8 +129320,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -129573,8 +129410,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -130491,9 +130328,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *600 - organization: *641 - repository: *642 + type: *599 + organization: *640 + repository: *641 sender: *19 required: - action @@ -131398,7 +131235,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -131966,11 +131803,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *639 - installation: *640 - issue: *672 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *671 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132061,7 +131898,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &696 + assignee: &695 title: User type: object nullable: true @@ -132131,11 +131968,11 @@ x-webhooks: required: - login - id - enterprise: *639 - installation: *640 - issue: *673 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *672 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132224,12 +132061,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - issue: *673 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *672 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132319,8 +132156,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -133159,7 +132996,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -133237,8 +133074,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133328,11 +133165,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *639 - installation: *640 - issue: *672 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *671 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133421,11 +133258,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133513,11 +133350,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133637,11 +133474,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133755,11 +133592,11 @@ x-webhooks: type: string required: - to - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133869,11 +133706,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133962,11 +133799,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -134054,11 +133891,11 @@ x-webhooks: type: string enum: - added - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134134,7 +133971,7 @@ x-webhooks: required: - login - id - team: &674 + team: &673 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134334,11 +134171,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134415,7 +134252,7 @@ x-webhooks: required: - login - id - team: *674 + team: *673 required: - action - scope @@ -134503,7 +134340,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *638 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134612,16 +134449,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *640 - organization: *641 + installation: *639 + organization: *640 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -134712,11 +134549,11 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -134805,9 +134642,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - milestone: &677 + enterprise: *638 + installation: *639 + milestone: &676 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134944,8 +134781,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135034,11 +134871,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135158,11 +134995,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135252,11 +135089,11 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - milestone: *677 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *676 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135345,9 +135182,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - membership: &678 + enterprise: *638 + installation: *639 + membership: &677 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135439,8 +135276,8 @@ x-webhooks: - role - organization_url - user - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135528,11 +135365,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135621,8 +135458,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135738,10 +135575,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action - invitation @@ -135829,11 +135666,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135930,11 +135767,11 @@ x-webhooks: properties: from: type: string - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -136020,9 +135857,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -136521,7 +136358,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &679 + items: &678 title: Ruby Gems metadata type: object properties: @@ -136616,7 +136453,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -136702,9 +136539,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -137057,7 +136894,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *679 + items: *678 source_url: type: string format: uri @@ -137127,7 +136964,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -137314,12 +137151,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *639 + enterprise: *638 id: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - id @@ -137396,7 +137233,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &680 + personal_access_token_request: &679 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137542,10 +137379,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *639 - organization: *641 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137622,11 +137459,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *680 - enterprise: *639 - organization: *641 + personal_access_token_request: *679 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137702,11 +137539,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *680 - enterprise: *639 - organization: *641 + personal_access_token_request: *679 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137781,11 +137618,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *680 - organization: *641 - enterprise: *639 + personal_access_token_request: *679 + organization: *640 + enterprise: *638 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137900,7 +137737,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *681 + last_response: *680 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137932,8 +137769,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 zen: description: Random string of GitHub zen. @@ -138188,10 +138025,10 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: &682 + enterprise: *638 + installation: *639 + organization: *640 + project_card: &681 title: Project Card type: object properties: @@ -138310,7 +138147,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -138401,11 +138238,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_card: *682 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *681 + repository: *641 sender: *19 required: - action @@ -138495,9 +138332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 project_card: title: Project Card type: object @@ -138625,8 +138462,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -138730,11 +138567,11 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: *682 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *681 + repository: *641 sender: *19 required: - action @@ -138838,9 +138675,9 @@ x-webhooks: - from required: - column_id - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 project_card: allOf: - title: Project Card @@ -139030,7 +138867,7 @@ x-webhooks: type: string required: - after_id - repository: *642 + repository: *641 sender: *19 required: - action @@ -139120,10 +138957,10 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - organization: *641 - project: &684 + enterprise: *638 + installation: *639 + organization: *640 + project: &683 title: Project type: object properties: @@ -139247,7 +139084,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -139337,10 +139174,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_column: &683 + enterprise: *638 + installation: *639 + organization: *640 + project_column: &682 title: Project Column type: object properties: @@ -139379,7 +139216,7 @@ x-webhooks: - name - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -139468,18 +139305,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -139579,11 +139416,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 + repository: *641 sender: *19 required: - action @@ -139673,11 +139510,11 @@ x-webhooks: type: string enum: - moved - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 + repository: *641 sender: *19 required: - action @@ -139767,11 +139604,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -139861,18 +139698,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project: *684 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -139984,11 +139821,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -140077,11 +139914,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -140172,9 +140009,9 @@ x-webhooks: type: string enum: - closed - installation: *640 - organization: *641 - projects_v2: &685 + installation: *639 + organization: *640 + projects_v2: &684 title: Projects v2 Project description: A projects v2 project type: object @@ -140327,9 +140164,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140420,9 +140257,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140549,9 +140386,9 @@ x-webhooks: type: string to: type: string - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140644,7 +140481,7 @@ x-webhooks: type: string enum: - archived - changes: &689 + changes: &688 type: object properties: archived_at: @@ -140658,9 +140495,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *640 - organization: *641 - projects_v2_item: &686 + installation: *639 + organization: *640 + projects_v2_item: &685 title: Projects v2 Item description: An item belonging to a project type: object @@ -140804,9 +140641,9 @@ x-webhooks: nullable: true to: type: string - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -140898,9 +140735,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -140991,9 +140828,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141109,7 +140946,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &687 + - &686 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -141127,7 +140964,7 @@ x-webhooks: required: - id - name - - &688 + - &687 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -141150,8 +140987,8 @@ x-webhooks: oneOf: - type: string - type: integer + - *686 - *687 - - *688 required: - field_value - type: object @@ -141167,9 +141004,9 @@ x-webhooks: nullable: true required: - body - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141274,9 +141111,9 @@ x-webhooks: to: type: string nullable: true - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141369,10 +141206,10 @@ x-webhooks: type: string enum: - restored - changes: *689 - installation: *640 - organization: *641 - projects_v2_item: *686 + changes: *688 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141464,9 +141301,9 @@ x-webhooks: type: string enum: - reopened - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -141547,10 +141384,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - repository @@ -141637,13 +141474,13 @@ x-webhooks: type: string enum: - assigned - assignee: *666 - enterprise: *639 - installation: *640 - number: &690 + assignee: *665 + enterprise: *638 + installation: *639 + number: &689 description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -143926,7 +143763,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -144018,11 +143855,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -146300,7 +146137,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -146392,11 +146229,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -148674,7 +148511,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -148766,13 +148603,13 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: &691 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: &690 allOf: - - *514 + - *513 - type: object properties: allow_auto_merge: @@ -148834,7 +148671,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *642 + repository: *641 sender: *19 required: - action @@ -148925,12 +148762,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -149020,11 +148857,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - milestone: *495 - number: *690 - organization: *641 - pull_request: &692 + enterprise: *638 + milestone: *494 + number: *689 + organization: *640 + pull_request: &691 title: Pull Request type: object properties: @@ -151287,7 +151124,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -151419,12 +151256,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -151514,11 +151351,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 - label: *665 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + label: *664 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -153800,7 +153637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -153891,10 +153728,10 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -156174,7 +156011,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -156264,12 +156101,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - milestone: *495 - number: *690 - organization: *641 - pull_request: *692 - repository: *642 + enterprise: *638 + milestone: *494 + number: *689 + organization: *640 + pull_request: *691 + repository: *641 sender: *19 required: - action @@ -156358,12 +156195,12 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156454,12 +156291,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156549,12 +156386,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156930,9 +156767,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -159102,7 +158939,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -159192,7 +159029,7 @@ x-webhooks: type: string enum: - deleted - comment: &694 + comment: &693 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -159477,9 +159314,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -161637,7 +161474,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -161727,11 +161564,11 @@ x-webhooks: type: string enum: - edited - changes: *693 - comment: *694 - enterprise: *639 - installation: *640 - organization: *641 + changes: *692 + comment: *693 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -163892,7 +163729,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -163983,9 +163820,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -166158,7 +165995,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 review: description: The review that was affected. type: object @@ -166411,9 +166248,9 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -168467,8 +168304,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: &695 + repository: *641 + review: &694 description: The review that was affected. type: object properties: @@ -168707,12 +168544,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -170995,7 +170832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_reviewer: title: User type: object @@ -171079,12 +170916,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -173374,7 +173211,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -173576,12 +173413,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -175866,7 +175703,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_reviewer: title: User type: object @@ -175951,12 +175788,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -178232,7 +178069,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178423,9 +178260,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -180600,8 +180437,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: *695 + repository: *641 + review: *694 sender: *19 required: - action @@ -180691,9 +180528,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -182763,7 +182600,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 sender: *19 thread: type: object @@ -183156,9 +182993,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -185214,7 +185051,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 sender: *19 thread: type: object @@ -185610,10 +185447,10 @@ x-webhooks: type: string before: type: string - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -187884,7 +187721,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -187976,11 +187813,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *696 - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + assignee: *695 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -190263,7 +190100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -190352,11 +190189,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - label: *665 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + label: *664 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -192629,7 +192466,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -192720,10 +192557,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -194988,7 +194825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -195198,7 +195035,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *639 + enterprise: *638 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -195290,8 +195127,8 @@ x-webhooks: - url - author - committer - installation: *640 - organization: *641 + installation: *639 + organization: *640 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -195876,9 +195713,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -196324,7 +196161,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *679 + items: *678 summary: type: string tag_name: @@ -196378,7 +196215,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -196466,9 +196303,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -196776,7 +196613,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *679 + items: *678 summary: type: string tag_name: @@ -196825,7 +196662,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -196912,10 +196749,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - release: &697 + enterprise: *638 + installation: *639 + organization: *640 + release: &696 title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) object. @@ -197224,7 +197061,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *642 + repository: *641 sender: *19 required: - action @@ -197311,11 +197148,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -197442,11 +197279,11 @@ x-webhooks: type: boolean required: - to - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -197534,9 +197371,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) @@ -197849,7 +197686,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *641 sender: *19 required: - action @@ -197935,10 +197772,10 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - release: &698 + enterprise: *638 + installation: *639 + organization: *640 + release: &697 title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) object. @@ -198248,7 +198085,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *641 sender: *19 required: - action @@ -198334,11 +198171,11 @@ x-webhooks: type: string enum: - released - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -198424,11 +198261,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *639 - installation: *640 - organization: *641 - release: *698 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *697 + repository: *641 sender: *19 required: - action @@ -198514,10 +198351,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198602,10 +198439,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198690,10 +198527,10 @@ x-webhooks: type: string enum: - archived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198780,10 +198617,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198871,10 +198708,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198968,10 +198805,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199093,10 +198930,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199184,10 +199021,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199274,10 +199111,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199381,10 +199218,10 @@ x-webhooks: - name required: - repository - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199464,11 +199301,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 sender: *19 required: - action @@ -199546,11 +199383,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 sender: *19 required: - action @@ -199628,11 +199465,11 @@ x-webhooks: type: string enum: - edited - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 changes: type: object properties: @@ -199651,16 +199488,16 @@ x-webhooks: properties: added: type: array - items: *271 + items: *270 deleted: type: array - items: *271 + items: *270 updated: type: array items: type: object properties: - condition: *271 + condition: *270 changes: type: object properties: @@ -199693,16 +199530,16 @@ x-webhooks: properties: added: type: array - items: *276 + items: *275 deleted: type: array - items: *276 + items: *275 updated: type: array items: type: object properties: - rule: *276 + rule: *275 changes: type: object properties: @@ -199946,10 +199783,10 @@ x-webhooks: - from required: - owner - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200037,10 +199874,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200128,7 +199965,7 @@ x-webhooks: type: string enum: - create - alert: &699 + alert: &698 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -200249,10 +200086,10 @@ x-webhooks: type: string enum: - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200468,10 +200305,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200559,11 +200396,11 @@ x-webhooks: type: string enum: - reopen - alert: *699 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *698 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200772,10 +200609,10 @@ x-webhooks: enum: - fixed - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200863,7 +200700,7 @@ x-webhooks: type: string enum: - created - alert: &700 + alert: &699 type: object properties: number: *112 @@ -200970,10 +200807,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201064,11 +200901,11 @@ x-webhooks: type: string enum: - created - alert: *700 - installation: *640 - location: *701 - organization: *641 - repository: *642 + alert: *699 + installation: *639 + location: *700 + organization: *640 + repository: *641 sender: *19 required: - location @@ -201312,11 +201149,11 @@ x-webhooks: type: string enum: - reopened - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201404,11 +201241,11 @@ x-webhooks: type: string enum: - resolved - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201496,11 +201333,11 @@ x-webhooks: type: string enum: - validated - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201626,10 +201463,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *642 - enterprise: *639 - installation: *640 - organization: *641 + repository: *641 + enterprise: *638 + installation: *639 + organization: *640 sender: *19 required: - action @@ -201717,11 +201554,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: &702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: &701 description: The details of the security advisory, including summary, description, and severity. type: object @@ -201914,11 +201751,11 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: *702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: *701 sender: *19 required: - action @@ -202001,10 +201838,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -202198,11 +202035,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *270 - enterprise: *639 - installation: *640 - organization: *641 - repository: *322 + security_and_analysis: *269 + enterprise: *638 + installation: *639 + organization: *640 + repository: *321 sender: *19 required: - changes @@ -202290,12 +202127,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: &703 + sponsorship: &702 type: object properties: created_at: @@ -202606,12 +202443,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - sponsorship @@ -202709,12 +202546,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -202801,17 +202638,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &704 + effective_date: &703 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - sponsorship @@ -202895,7 +202732,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &705 + changes: &704 type: object properties: tier: @@ -202939,13 +202776,13 @@ x-webhooks: - from required: - tier - effective_date: *704 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + effective_date: *703 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -203032,13 +202869,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *705 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + changes: *704 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -203122,10 +202959,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -203218,10 +203055,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -203647,15 +203484,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *639 + enterprise: *638 id: description: The unique identifier of the status. type: integer - installation: *640 + installation: *639 name: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 sha: description: The Commit SHA. @@ -203767,12 +203604,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - team: &706 + team: &705 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -203972,9 +203809,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -204432,7 +204269,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -204518,9 +204355,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -204978,7 +204815,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -205065,9 +204902,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -205525,7 +205362,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -205679,9 +205516,9 @@ x-webhooks: - from required: - permissions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -206139,7 +205976,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - changes @@ -206227,9 +206064,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -206687,7 +206524,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -206770,12 +206607,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action responses: @@ -206853,12 +206690,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action responses: @@ -206939,10 +206776,10 @@ x-webhooks: type: string enum: - started - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -207025,16 +206862,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *639 + enterprise: *638 inputs: type: object nullable: true additionalProperties: true - installation: *640 - organization: *641 + installation: *639 + organization: *640 ref: type: string - repository: *642 + repository: *641 sender: *19 workflow: type: string @@ -207126,10 +206963,10 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: allOf: @@ -207366,7 +207203,7 @@ x-webhooks: type: string required: - conclusion - deployment: *433 + deployment: *432 required: - action - repository @@ -207455,10 +207292,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: allOf: @@ -207718,7 +207555,7 @@ x-webhooks: required: - status - steps - deployment: *433 + deployment: *432 required: - action - repository @@ -207807,10 +207644,10 @@ x-webhooks: type: string enum: - queued - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: type: object @@ -207945,7 +207782,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *432 required: - action - repository @@ -208034,10 +207871,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: type: object @@ -208173,7 +208010,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *432 required: - action - repository @@ -208263,12 +208100,12 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object @@ -209277,12 +209114,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object @@ -210276,12 +210113,12 @@ x-webhooks: type: string enum: - requested - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json index 6a42e61679..f0f9f9a322 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json @@ -125196,305 +125196,6 @@ "category": "private-registries", "subcategory": "organization-configurations" } - }, - "post": { - "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.16/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", - "tags": [ - "private-registries" - ], - "operationId": "private-registries/create-org-private-registry", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "registry_type": { - "description": "The registry type.", - "type": "string", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ] - }, - "username": { - "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", - "type": "string", - "nullable": true - }, - "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", - "type": "string", - "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - }, - "key_id": { - "description": "The ID of the key you used to encrypt the secret.", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "type": "string", - "enum": [ - "all", - "private", - "selected" - ] - }, - "selected_repository_ids": { - "description": "An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.", - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "registry_type", - "encrypted_value", - "key_id", - "visibility" - ] - }, - "examples": { - "org-private-registry-with-private-visibility": { - "summary": "Example of a private registry configuration with private visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "private" - } - }, - "org-private-registry-with-selected-visibility": { - "summary": "Example of a private registry configuration with selected visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "selected", - "selected_repository_ids": [ - 1296269, - 1296280 - ] - } - } - } - } - } - }, - "responses": { - "201": { - "description": "The organization private registry configuration", - "content": { - "application/json": { - "schema": { - "title": "Organization private registry", - "description": "Private registry configuration for an organization", - "type": "object", - "properties": { - "name": { - "description": "The name of the private registry configuration.", - "example": "MAVEN_REPOSITORY_SECRET", - "type": "string" - }, - "registry_type": { - "description": "The registry type.", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ], - "type": "string" - }, - "username": { - "description": "The username to use when authenticating with the private registry.", - "example": "monalisa", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "enum": [ - "all", - "private", - "selected" - ], - "type": "string" - }, - "selected_repository_ids": { - "type": "array", - "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", - "items": { - "type": "integer" - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "name", - "registry_type", - "visibility", - "created_at", - "updated_at" - ] - }, - "examples": { - "org-private-registry-with-selected-visibility": { - "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "private", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - }, - "org-private-registry-with-private-visibility": { - "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "selected", - "selected_repository_ids": [ - 1296269, - 1296280 - ], - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "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": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "private-registries", - "subcategory": "organization-configurations" - } } }, "/orgs/{org}/private-registries/public-key": { @@ -125782,6 +125483,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml index 74c66cd2b1..009617d76a 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml @@ -4485,7 +4485,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &576 + schema: &575 title: Scim Error description: Scim Error type: object @@ -5253,7 +5253,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &268 + properties: &267 id: description: Unique identifier of the repository example: 42 @@ -5691,7 +5691,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &269 + required: &268 - archive_url - assignees_url - blobs_url @@ -6714,7 +6714,7 @@ paths: schema: type: string '422': *35 - '410': &262 + '410': &261 description: Gone content: application/json: @@ -12908,7 +12908,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &391 + instances_url: &390 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12943,7 +12943,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &392 + dismissed_reason: &391 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12952,13 +12952,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &393 + dismissed_comment: &392 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &394 + rule: &393 type: object properties: id: @@ -13011,7 +13011,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &395 + tool: &394 type: object properties: name: *102 @@ -13021,15 +13021,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &396 + most_recent_instance: &395 type: object properties: - ref: &389 + ref: &388 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &402 + analysis_key: &401 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13040,7 +13040,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &403 + category: &402 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15037,7 +15037,7 @@ paths: enum: - development - runtime - security_advisory: &425 + security_advisory: &424 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15269,7 +15269,7 @@ paths: nullable: true maxLength: 280 fixed_at: *122 - auto_dismissed_at: &426 + auto_dismissed_at: &425 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15637,7 +15637,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *65 - - &279 + - &278 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -15648,7 +15648,7 @@ paths: enum: - open - resolved - - &280 + - &279 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -15658,7 +15658,7 @@ paths: required: false schema: type: string - - &281 + - &280 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -15667,7 +15667,7 @@ paths: required: false schema: type: string - - &282 + - &281 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -15683,7 +15683,7 @@ paths: - *4 - *100 - *101 - - &283 + - &282 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -15692,7 +15692,7 @@ paths: required: false schema: type: string - - &284 + - &283 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -15701,7 +15701,7 @@ paths: schema: type: boolean default: false - - &285 + - &284 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -15717,7 +15717,7 @@ paths: application/json: schema: type: array - items: &286 + items: &285 type: object properties: number: *112 @@ -15736,14 +15736,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &564 + state: &563 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &565 + resolution: &564 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -15836,7 +15836,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &287 + default: &286 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -16117,7 +16117,7 @@ paths: description: Success content: application/json: - schema: &290 + schema: &289 type: object properties: total_advanced_security_committers: @@ -16172,7 +16172,7 @@ paths: required: - repositories examples: - default: &291 + default: &290 value: total_advanced_security_committers: 2 total_count: 2 @@ -16343,7 +16343,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &469 + properties: &468 id: type: integer format: int64 @@ -16454,7 +16454,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &415 + properties: &414 url: type: string format: uri @@ -16524,7 +16524,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &416 + required: &415 - closed_issues - creator - description @@ -16603,7 +16603,7 @@ paths: timeline_url: type: string format: uri - type: &600 + type: &599 title: Issue Type description: The type of issue. type: object @@ -16728,7 +16728,7 @@ paths: - total - completed - percent_completed - required: &470 + required: &469 - assignee - closed_at - comments @@ -16750,7 +16750,7 @@ paths: - author_association - created_at - updated_at - comment: &467 + comment: &466 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -17312,7 +17312,7 @@ paths: url: type: string format: uri - user: &611 + user: &610 title: Public User description: Public User type: object @@ -21939,14 +21939,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &310 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &311 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22017,7 +22017,7 @@ paths: '404': *26 '403': *43 '304': *42 - '301': &323 + '301': &322 description: Moved permanently content: application/json: @@ -22039,7 +22039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &498 + - &497 name: all description: If `true`, show notifications marked as read. in: query @@ -22047,7 +22047,7 @@ paths: schema: type: boolean default: false - - &499 + - &498 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22057,7 +22057,7 @@ paths: type: boolean default: false - *130 - - &500 + - &499 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -22369,7 +22369,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &270 + security_and_analysis: &269 nullable: true type: object properties: @@ -22505,7 +22505,7 @@ paths: - url - subscription_url examples: - default: &501 + default: &500 value: - id: '1' repository: @@ -23051,7 +23051,7 @@ paths: type: array items: *70 examples: - default: &620 + default: &619 value: - login: github id: 1 @@ -23952,7 +23952,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &327 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24203,7 +24203,7 @@ paths: type: array items: *84 examples: - default: &617 + default: &616 value: total_count: 1 repositories: @@ -26004,7 +26004,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &349 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26033,7 +26033,7 @@ paths: - key_id - key examples: - default: &351 + default: &350 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26446,7 +26446,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-organization-variables parameters: - *154 - - &335 + - &334 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.16/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -27095,7 +27095,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &389 type: string description: Severity of a code scanning alert. enum: @@ -28417,7 +28417,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &428 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28434,7 +28434,7 @@ paths: - key_id - key examples: - default: &430 + default: &429 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29015,7 +29015,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &305 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29096,7 +29096,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &307 + default: &306 value: group_id: '123' group_name: Octocat admins @@ -29151,7 +29151,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &303 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29188,7 +29188,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &305 + default: &304 value: groups: - group_id: '123' @@ -29824,7 +29824,7 @@ paths: application/json: schema: *39 examples: - default: &464 + default: &463 value: id: 1 account: @@ -32212,7 +32212,7 @@ paths: - slug - parent examples: - default: &289 + default: &288 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32284,7 +32284,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &288 + items: &287 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32578,7 +32578,7 @@ paths: - nuget - container - *154 - - &621 + - &620 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32619,7 +32619,7 @@ paths: default: *243 '403': *43 '401': *41 - '400': &623 + '400': &622 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34021,180 +34021,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - post: - summary: Create a private registry for an organization - description: |2- - - Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.16/rest/guides/encrypting-secrets-for-the-rest-api)." - - OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - tags: - - private-registries - operationId: private-registries/create-org-private-registry - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization - parameters: - - *154 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - registry_type: - description: The registry type. - type: string - enum: - - maven_repository - - nuget_feed - - goproxy_server - username: - description: The username to use when authenticating with the private - registry. This field should be omitted if the private registry - does not require a username for authentication. - type: string - nullable: true - encrypted_value: - description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) - using the public key retrieved from the [Get private registries - public key for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) - endpoint. - type: string - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - key_id: - description: The ID of the key you used to encrypt the secret. - type: string - visibility: - description: Which type of organization repositories have access - to the private registry. `selected` means only the repositories - specified by `selected_repository_ids` can access the private - registry. - type: string - enum: - - all - - private - - selected - selected_repository_ids: - description: An array of repository IDs that can access the organization - private registry. You can only provide a list of repository IDs - when `visibility` is set to `selected`. You can manage the list - of selected repositories using the [Update a private registry - for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) - endpoint. This field should be omitted if `visibility` is set - to `all` or `private`. - type: array - items: - type: integer - required: - - registry_type - - encrypted_value - - key_id - - visibility - examples: - org-private-registry-with-private-visibility: - summary: Example of a private registry configuration with private - visibility - value: - registry_type: maven_repository - username: monalisa - encrypted_value: c2VjcmV0 - key_id: '012345678912345678' - visibility: private - org-private-registry-with-selected-visibility: - summary: Example of a private registry configuration with selected - visibility - value: - registry_type: maven_repository - username: monalisa - encrypted_value: c2VjcmV0 - key_id: '012345678912345678' - visibility: selected - selected_repository_ids: - - 1296269 - - 1296280 - responses: - '201': - description: The organization private registry configuration - content: - application/json: - schema: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - type: string - username: - description: The username to use when authenticating with the - private registry. - example: monalisa - type: string - visibility: - description: Which type of organization repositories have access - to the private registry. `selected` means only the repositories - specified by `selected_repository_ids` can access the private - registry. - enum: - - all - - private - - selected - type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - examples: - org-private-registry-with-selected-visibility: &260 - value: - name: MAVEN_REPOSITORY_SECRET - registry_type: maven_repository - username: monalisa - visibility: private - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - org-private-registry-with-private-visibility: - value: - name: MAVEN_REPOSITORY_SECRET - registry_type: maven_repository - username: monalisa - visibility: selected - selected_repository_ids: - - 1296269 - - 1296280 - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - '404': *26 - '422': *35 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: private-registries - subcategory: organization-configurations "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization @@ -34267,7 +34093,14 @@ paths: application/json: schema: *259 examples: - default: *260 + default: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' '404': *26 x-github: githubCloudOnly: false @@ -34304,6 +34137,10 @@ paths: - maven_repository - nuget_feed - goproxy_server + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. This field should be omitted if the private registry @@ -34415,7 +34252,7 @@ paths: application/json: schema: type: array - items: &261 + items: &260 title: Project description: Projects are a way to organize columns and cards of work. @@ -34588,7 +34425,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: default: value: @@ -34626,7 +34463,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -34657,7 +34494,7 @@ paths: application/json: schema: type: array - items: &263 + items: &262 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -34723,7 +34560,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &263 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34782,7 +34619,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *262 minItems: 1 maxItems: 100 required: @@ -34812,9 +34649,9 @@ paths: application/json: schema: type: array - items: *263 + items: *262 examples: - default: *264 + default: *263 '403': *43 '404': *26 x-github: @@ -34836,7 +34673,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *154 - - &265 + - &264 name: custom_property_name description: The custom property name in: path @@ -34848,9 +34685,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: &266 + default: &265 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -34885,7 +34722,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *154 - - *265 + - *264 requestBody: required: true content: @@ -34954,9 +34791,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: *266 + default: *265 '403': *43 '404': *26 x-github: @@ -34980,7 +34817,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *154 - - *265 + - *264 responses: '204': *203 '403': *43 @@ -35042,7 +34879,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &267 + items: &266 title: Custom Property Value description: Custom property name and associated value type: object @@ -35129,7 +34966,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *267 + items: *266 required: - repository_names - properties @@ -35532,7 +35369,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &321 title: Full Repository description: Full Repository type: object @@ -35809,8 +35646,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *268 - required: *269 + properties: *267 + required: *268 nullable: true temp_clone_token: type: string @@ -35946,7 +35783,7 @@ paths: - key - name - html_url - security_and_analysis: *270 + security_and_analysis: *269 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36030,7 +35867,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &323 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36602,7 +36439,7 @@ paths: - *154 - *4 - *5 - - &551 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36620,7 +36457,7 @@ paths: application/json: schema: type: array - items: &277 + items: &276 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -36653,7 +36490,7 @@ paths: source: type: string description: The name of the source - enforcement: &273 + enforcement: &272 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -36666,7 +36503,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &274 + items: &273 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -36733,7 +36570,7 @@ paths: conditions: nullable: true anyOf: - - &271 + - &270 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -36757,7 +36594,7 @@ paths: match. items: type: string - - &275 + - &274 title: Organization ruleset conditions type: object description: |- @@ -36770,7 +36607,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -36804,7 +36641,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -36826,7 +36663,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *271 + - *270 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -36839,7 +36676,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &272 + items: &271 title: Repository ruleset property targeting definition type: object @@ -36872,17 +36709,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *272 + items: *271 required: - repository_property rules: type: array - items: &276 + items: &275 title: Repository Rule type: object description: A repository rule. oneOf: - - &533 + - &532 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36894,7 +36731,7 @@ paths: type: string enum: - creation - - &534 + - &533 title: update description: Only allow users with bypass permission to update matching refs. @@ -36915,7 +36752,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &536 + - &535 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36927,7 +36764,7 @@ paths: type: string enum: - deletion - - &537 + - &536 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36939,7 +36776,7 @@ paths: type: string enum: - required_linear_history - - &538 + - &537 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37017,7 +36854,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &539 + - &538 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37041,7 +36878,7 @@ paths: type: string required: - required_deployment_environments - - &540 + - &539 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37053,7 +36890,7 @@ paths: type: string enum: - required_signatures - - &541 + - &540 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37104,7 +36941,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &542 + - &541 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37152,7 +36989,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &543 + - &542 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37164,7 +37001,7 @@ paths: type: string enum: - non_fast_forward - - &544 + - &543 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37200,7 +37037,7 @@ paths: required: - operator - pattern - - &545 + - &544 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37236,7 +37073,7 @@ paths: required: - operator - pattern - - &546 + - &545 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37272,7 +37109,7 @@ paths: required: - operator - pattern - - &547 + - &546 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37308,7 +37145,7 @@ paths: required: - operator - pattern - - &548 + - &547 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37344,7 +37181,7 @@ paths: required: - operator - pattern - - &549 + - &548 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37394,7 +37231,7 @@ paths: - repository_id required: - workflows - - &550 + - &549 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37527,16 +37364,16 @@ paths: - tag - push default: branch - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *275 + items: *273 + conditions: *274 rules: type: array description: An array of rules within the ruleset. - items: *276 + items: *275 source_type: type: string description: The type of the source of the ruleset @@ -37580,9 +37417,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: &278 + default: &277 value: id: 21 name: super cool ruleset @@ -37637,7 +37474,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *154 - - &552 + - &551 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -37652,7 +37489,7 @@ paths: in: query schema: type: string - - &553 + - &552 name: time_period description: |- The time period to filter by. @@ -37668,14 +37505,14 @@ paths: - week - month default: day - - &554 + - &553 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &555 + - &554 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -37695,7 +37532,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &555 title: Rule Suites description: Response type: array @@ -37750,7 +37587,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &557 + default: &556 value: - id: 21 actor_id: 12 @@ -37794,7 +37631,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *154 - - &558 + - &557 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37810,7 +37647,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &558 title: Rule Suite description: Response type: object @@ -37909,7 +37746,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &560 + default: &559 value: id: 21 actor_id: 12 @@ -37982,9 +37819,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *278 + default: *277 '404': *26 '500': *248 put: @@ -38027,16 +37864,16 @@ paths: - branch - tag - push - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *275 + items: *273 + conditions: *274 rules: description: An array of rules within the ruleset. type: array - items: *276 + items: *275 examples: default: value: @@ -38071,9 +37908,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *278 + default: *277 '404': *26 '500': *248 delete: @@ -38120,14 +37957,14 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *154 + - *278 - *279 - *280 - *281 - - *282 - *9 - *5 - *4 - - &562 + - &561 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.16/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -38137,7 +37974,7 @@ paths: required: false schema: type: string - - &563 + - &562 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.16/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -38147,9 +37984,9 @@ paths: required: false schema: type: string + - *282 - *283 - *284 - - *285 responses: '200': description: Response @@ -38157,9 +37994,9 @@ paths: application/json: schema: type: array - items: *286 + items: *285 examples: - default: *287 + default: *286 headers: Link: *6 '404': *26 @@ -38190,9 +38027,9 @@ paths: application/json: schema: type: array - items: *288 + items: *287 examples: - default: *289 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38275,9 +38112,9 @@ paths: description: Success content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38305,7 +38142,7 @@ paths: application/json: schema: type: array - items: &313 + items: &312 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -38380,7 +38217,7 @@ paths: - slug - parent examples: - default: *289 + default: *288 headers: Link: *6 '403': *43 @@ -38482,7 +38319,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &291 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38792,7 +38629,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &292 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38868,9 +38705,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 x-github: githubCloudOnly: false @@ -38954,16 +38791,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '201': description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 '422': *35 '403': *43 @@ -39033,7 +38870,7 @@ paths: application/json: schema: type: array - items: &294 + items: &293 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39132,7 +38969,7 @@ paths: - updated_at - url examples: - default: &601 + default: &600 value: - author: login: octocat @@ -39241,9 +39078,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: &295 + default: &294 value: author: login: octocat @@ -39317,7 +39154,7 @@ paths: parameters: - *154 - *238 - - &296 + - &295 name: discussion_number description: The number that identifies the discussion. in: path @@ -39329,9 +39166,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39355,7 +39192,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: false content: @@ -39378,9 +39215,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: &602 + default: &601 value: author: login: octocat @@ -39452,7 +39289,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 responses: '204': description: Response @@ -39480,7 +39317,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 - *9 - *4 - *5 @@ -39491,7 +39328,7 @@ paths: application/json: schema: type: array - items: &297 + items: &296 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39563,7 +39400,7 @@ paths: - updated_at - url examples: - default: &603 + default: &602 value: - author: login: octocat @@ -39633,7 +39470,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: true content: @@ -39655,9 +39492,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: &298 + default: &297 value: author: login: octocat @@ -39725,8 +39562,8 @@ paths: parameters: - *154 - *238 - - *296 - - &299 + - *295 + - &298 name: comment_number description: The number that identifies the comment. in: path @@ -39738,9 +39575,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39764,8 +39601,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -39787,9 +39624,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: &604 + default: &603 value: author: login: octocat @@ -39855,8 +39692,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 responses: '204': description: Response @@ -39884,8 +39721,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -39911,7 +39748,7 @@ paths: application/json: schema: type: array - items: &300 + items: &299 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39954,7 +39791,7 @@ paths: - content - created_at examples: - default: &302 + default: &301 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40006,8 +39843,8 @@ paths: parameters: - *154 - *238 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -40040,9 +39877,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *299 examples: - default: &301 + default: &300 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40071,9 +39908,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40098,9 +39935,9 @@ paths: parameters: - *154 - *238 - - *296 - - *299 - - &303 + - *295 + - *298 + - &302 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40134,7 +39971,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -40160,9 +39997,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -40190,7 +40027,7 @@ paths: parameters: - *154 - *238 - - *296 + - *295 requestBody: required: true content: @@ -40222,16 +40059,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40256,8 +40093,8 @@ paths: parameters: - *154 - *238 - - *296 - - *303 + - *295 + - *302 responses: '204': description: Response @@ -40287,9 +40124,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *303 examples: - default: *305 + default: *304 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40332,9 +40169,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -40439,7 +40276,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &307 title: Team Membership description: Team Membership type: object @@ -40466,7 +40303,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &605 + response-if-user-is-a-team-maintainer: &604 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40529,9 +40366,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &606 + response-if-users-membership-with-team-is-now-pending: &605 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40604,7 +40441,7 @@ paths: application/json: schema: type: array - items: &309 + items: &308 title: Team Project description: A team's access to a project. type: object @@ -40672,7 +40509,7 @@ paths: - updated_at - permissions examples: - default: &607 + default: &606 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40737,7 +40574,7 @@ paths: parameters: - *154 - *238 - - &310 + - &309 name: project_id description: The unique identifier of the project. in: path @@ -40749,9 +40586,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: &608 + default: &607 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40815,7 +40652,7 @@ paths: parameters: - *154 - *238 - - *310 + - *309 requestBody: required: false content: @@ -40883,7 +40720,7 @@ paths: parameters: - *154 - *238 - - *310 + - *309 responses: '204': description: Response @@ -40954,14 +40791,14 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &609 + schema: &608 title: Team Repository description: A team's access to a repository. type: object @@ -41532,8 +41369,8 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 requestBody: required: false content: @@ -41580,8 +41417,8 @@ paths: parameters: - *154 - *238 + - *310 - *311 - - *312 responses: '204': description: Response @@ -41616,9 +41453,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - response-if-child-teams-exist: &610 + response-if-child-teams-exist: &609 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41745,7 +41582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#get-a-project-card parameters: - - &314 + - &313 name: card_id description: The unique identifier of the card. in: path @@ -41757,7 +41594,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &314 title: Project Card description: Project cards represent a scope of work. type: object @@ -41824,7 +41661,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &315 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41880,7 +41717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#update-an-existing-project-card parameters: - - *314 + - *313 requestBody: required: false content: @@ -41907,9 +41744,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 '304': *42 '403': *43 '401': *41 @@ -41936,7 +41773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#delete-a-project-card parameters: - - *314 + - *313 responses: '204': description: Response @@ -41980,7 +41817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#move-a-project-card parameters: - - *314 + - *313 requestBody: required: true content: @@ -42091,7 +41928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#get-a-project-column parameters: - - &317 + - &316 name: column_id description: The unique identifier of the column. in: path @@ -42103,7 +41940,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &317 title: Project Column description: Project columns contain cards of work. type: object @@ -42149,7 +41986,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &318 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42184,7 +42021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#update-an-existing-project-column parameters: - - *317 + - *316 requestBody: required: true content: @@ -42208,9 +42045,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *317 examples: - default: *319 + default: *318 '304': *42 '403': *43 '401': *41 @@ -42235,7 +42072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#delete-a-project-column parameters: - - *317 + - *316 responses: '204': description: Response @@ -42264,7 +42101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#list-project-cards parameters: - - *317 + - *316 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42285,7 +42122,7 @@ paths: application/json: schema: type: array - items: *315 + items: *314 examples: default: value: @@ -42344,7 +42181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/cards#create-a-project-card parameters: - - *317 + - *316 requestBody: required: true content: @@ -42384,9 +42221,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 '304': *42 '403': *43 '401': *41 @@ -42442,7 +42279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#move-a-project-column parameters: - - *317 + - *316 requestBody: required: true content: @@ -42502,15 +42339,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#get-a-project parameters: - - *310 + - *309 responses: '200': description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: &320 + default: &319 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42567,7 +42404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#update-a-project parameters: - - *310 + - *309 requestBody: required: false content: @@ -42613,9 +42450,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: *320 + default: *319 '404': description: Not Found if the authenticated user does not have access to the project @@ -42636,7 +42473,7 @@ paths: items: type: string '401': *41 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -42659,7 +42496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#delete-a-project parameters: - - *310 + - *309 responses: '204': description: Delete Success @@ -42680,7 +42517,7 @@ paths: items: type: string '401': *41 - '410': *262 + '410': *261 '404': *26 x-github: githubCloudOnly: false @@ -42704,7 +42541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#list-project-collaborators parameters: - - *310 + - *309 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42761,7 +42598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#add-project-collaborator parameters: - - *310 + - *309 - *8 requestBody: required: false @@ -42814,7 +42651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *310 + - *309 - *8 responses: '204': @@ -42846,7 +42683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *310 + - *309 - *8 responses: '200': @@ -42920,7 +42757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#list-project-columns parameters: - - *310 + - *309 - *4 - *5 responses: @@ -42930,7 +42767,7 @@ paths: application/json: schema: type: array - items: *318 + items: *317 examples: default: value: @@ -42968,7 +42805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/columns#create-a-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -42991,7 +42828,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *317 examples: default: value: @@ -43056,7 +42893,7 @@ paths: resources: type: object properties: - core: &321 + core: &320 title: Rate Limit type: object properties: @@ -43073,20 +42910,20 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *320 + search: *320 + code_search: *320 + source_import: *320 + integration_manifest: *320 + code_scanning_upload: *320 + actions_runner_registration: *320 + scim: *320 + dependency_sbom: *320 + code_scanning_autofix: *320 required: - core - search - rate: *321 + rate: *320 required: - rate - resources @@ -43190,14 +43027,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: default-response: summary: Default response @@ -43698,7 +43535,7 @@ paths: status: disabled '403': *43 '404': *26 - '301': *323 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43716,8 +43553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#update-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -43939,10 +43776,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 - '307': &325 + default: *323 + '307': &324 description: Temporary Redirect content: application/json: @@ -43987,8 +43824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#delete-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -44010,7 +43847,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#delete-a-repository - '307': *325 + '307': *324 '404': *26 '409': *109 x-github: @@ -44034,11 +43871,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - - &342 + - &341 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44061,7 +43898,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &325 title: Artifact description: An artifact type: object @@ -44132,7 +43969,7 @@ paths: - expires_at - updated_at examples: - default: &343 + default: &342 value: total_count: 2 artifacts: @@ -44191,9 +44028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#get-an-artifact parameters: + - *310 - *311 - - *312 - - &327 + - &326 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44205,7 +44042,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: default: value: @@ -44242,9 +44079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#delete-an-artifact parameters: + - *310 - *311 - - *312 - - *327 + - *326 responses: '204': description: Response @@ -44268,9 +44105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#download-an-artifact parameters: + - *310 - *311 - - *312 - - *327 + - *326 - name: archive_format in: path required: true @@ -44284,7 +44121,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44307,14 +44144,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *328 + schema: *327 examples: default: value: @@ -44340,14 +44177,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &329 + schema: &328 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -44359,7 +44196,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &330 + default: &329 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -44380,8 +44217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -44389,9 +44226,9 @@ paths: required: true content: application/json: - schema: *329 + schema: *328 examples: - selected_actions: *330 + selected_actions: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44411,11 +44248,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - - &331 + - &330 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -44449,7 +44286,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Repository actions caches description: Repository actions caches type: object @@ -44491,7 +44328,7 @@ paths: - total_count - actions_caches examples: - default: &333 + default: &332 value: total_count: 1 actions_caches: @@ -44523,23 +44360,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *310 - *311 - - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *331 + - *330 responses: '200': description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44559,8 +44396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *310 - *311 - - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44591,9 +44428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - &334 + - &333 name: job_id description: The unique identifier of the job. in: path @@ -44605,7 +44442,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &345 title: Job description: Information of a job execution in a workflow run type: object @@ -44912,9 +44749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *334 + - *333 responses: '302': description: Response @@ -44942,9 +44779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *310 - *311 - - *312 - - *334 + - *333 requestBody: required: false content: @@ -44989,8 +44826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Status response @@ -45040,8 +44877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -45104,8 +44941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-repository-organization-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -45123,7 +44960,7 @@ paths: type: integer secrets: type: array - items: &348 + items: &347 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45143,7 +44980,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &348 value: total_count: 2 secrets: @@ -45176,9 +45013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-repository-organization-variables parameters: + - *310 - *311 - - *312 - - *335 + - *334 - *5 responses: '200': @@ -45195,7 +45032,7 @@ paths: type: integer variables: type: array - items: &352 + items: &351 title: Actions Variable type: object properties: @@ -45225,7 +45062,7 @@ paths: - created_at - updated_at examples: - default: &353 + default: &352 value: total_count: 2 variables: @@ -45258,8 +45095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45268,7 +45105,7 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &335 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *69 @@ -45301,8 +45138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -45313,7 +45150,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *335 allowed_actions: *69 required: - enabled @@ -45344,14 +45181,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &337 + schema: &336 type: object properties: access_level: @@ -45369,7 +45206,7 @@ paths: required: - access_level examples: - default: &338 + default: &337 value: access_level: organization x-github: @@ -45394,15 +45231,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: application/json: - schema: *337 + schema: *336 examples: - default: *338 + default: *337 responses: '204': description: Response @@ -45426,8 +45263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45458,8 +45295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -45491,8 +45328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45521,8 +45358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Success response @@ -45562,8 +45399,8 @@ paths: in: query schema: type: string + - *310 - *311 - - *312 - *4 - *5 responses: @@ -45607,8 +45444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -45640,8 +45477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -45715,8 +45552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -45752,8 +45589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -45783,8 +45620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': @@ -45814,8 +45651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '204': @@ -45842,8 +45679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': *87 @@ -45868,8 +45705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 requestBody: required: true @@ -45918,8 +45755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 requestBody: required: true @@ -45969,8 +45806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 responses: '200': *177 @@ -46000,8 +45837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *310 - *311 - - *312 - *81 - *178 responses: @@ -46031,9 +45868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *310 - *311 - - *312 - - &356 + - &355 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -46041,7 +45878,7 @@ paths: required: false schema: type: string - - &357 + - &356 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46049,7 +45886,7 @@ paths: required: false schema: type: string - - &358 + - &357 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46058,7 +45895,7 @@ paths: required: false schema: type: string - - &359 + - &358 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -46085,7 +45922,7 @@ paths: - pending - *4 - *5 - - &360 + - &359 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.16/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -46094,7 +45931,7 @@ paths: schema: type: string format: date-time - - &339 + - &338 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46103,13 +45940,13 @@ paths: schema: type: boolean default: false - - &361 + - &360 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &362 + - &361 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46132,7 +45969,7 @@ paths: type: integer workflow_runs: type: array - items: &340 + items: &339 title: Workflow Run description: An invocation of a workflow type: object @@ -46227,7 +46064,7 @@ paths: that triggered the run. type: array nullable: true - items: &380 + items: &379 title: Pull Request Minimal type: object properties: @@ -46346,7 +46183,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &384 + properties: &383 id: type: string description: SHA for the commit @@ -46397,7 +46234,7 @@ paths: - name - email nullable: true - required: &385 + required: &384 - id - tree_id - message @@ -46444,7 +46281,7 @@ paths: - workflow_url - pull_requests examples: - default: &363 + default: &362 value: total_count: 1 workflow_runs: @@ -46680,24 +46517,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *310 - *311 - - *312 - - &341 + - &340 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *339 + - *338 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: - default: &344 + default: &343 value: id: 30433642 name: Build @@ -46938,9 +46775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '204': description: Response @@ -46963,9 +46800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '200': description: Response @@ -47086,12 +46923,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *310 - *311 - - *312 - - *341 + - *340 - *4 - *5 - - *342 + - *341 responses: '200': description: Response @@ -47107,9 +46944,9 @@ paths: type: integer artifacts: type: array - items: *326 + items: *325 examples: - default: *343 + default: *342 headers: Link: *6 x-github: @@ -47133,25 +46970,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *310 - *311 - - *312 - - *341 - - &345 + - *340 + - &344 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *339 + - *338 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: - default: *344 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47174,10 +47011,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *310 - *311 - - *312 - - *341 - - *345 + - *340 + - *344 - *4 - *5 responses: @@ -47195,9 +47032,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *345 examples: - default: &347 + default: &346 value: total_count: 1 jobs: @@ -47310,10 +47147,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *310 - *311 - - *312 - - *341 - - *345 + - *340 + - *344 responses: '302': description: Response @@ -47341,9 +47178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '202': description: Response @@ -47376,9 +47213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: true content: @@ -47445,9 +47282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '202': description: Response @@ -47480,9 +47317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -47512,9 +47349,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *345 examples: - default: *347 + default: *346 headers: Link: *6 x-github: @@ -47539,9 +47376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '302': description: Response @@ -47568,9 +47405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '204': description: Response @@ -47597,9 +47434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 responses: '200': description: Response @@ -47659,7 +47496,7 @@ paths: items: type: object properties: - type: &438 + type: &437 type: string description: The type of reviewer. enum: @@ -47669,7 +47506,7 @@ paths: reviewer: anyOf: - *19 - - *313 + - *312 required: - environment - wait_timer @@ -47744,9 +47581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: true content: @@ -47793,7 +47630,7 @@ paths: application/json: schema: type: array - items: &433 + items: &432 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47899,7 +47736,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &433 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47955,9 +47792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: false content: @@ -48001,9 +47838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *310 - *311 - - *312 - - *341 + - *340 requestBody: required: false content: @@ -48050,8 +47887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-repository-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48069,9 +47906,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *347 examples: - default: *349 + default: *348 headers: Link: *6 x-github: @@ -48096,16 +47933,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-a-repository-public-key parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *350 + schema: *349 examples: - default: *351 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48127,17 +47964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *347 examples: - default: &451 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48163,8 +48000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 requestBody: required: true @@ -48222,8 +48059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#delete-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '204': @@ -48249,9 +48086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-repository-variables parameters: + - *310 - *311 - - *312 - - *335 + - *334 - *5 responses: '200': @@ -48268,9 +48105,9 @@ paths: type: integer variables: type: array - items: *352 + items: *351 examples: - default: *353 + default: *352 headers: Link: *6 x-github: @@ -48293,8 +48130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#create-a-repository-variable parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -48346,17 +48183,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#get-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 responses: '200': description: Response content: application/json: - schema: *352 + schema: *351 examples: - default: &452 + default: &451 value: name: USERNAME value: octocat @@ -48382,8 +48219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#update-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 requestBody: required: true @@ -48426,8 +48263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#delete-a-repository-variable parameters: + - *310 - *311 - - *312 - *183 responses: '204': @@ -48453,8 +48290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#list-repository-workflows parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48472,7 +48309,7 @@ paths: type: integer workflows: type: array - items: &354 + items: &353 title: Workflow description: A GitHub Actions workflow type: object @@ -48579,9 +48416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#get-a-workflow parameters: + - *310 - *311 - - *312 - - &355 + - &354 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48596,7 +48433,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *353 examples: default: value: @@ -48629,9 +48466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#disable-a-workflow parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48656,9 +48493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48709,9 +48546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflows#enable-a-workflow parameters: + - *310 - *311 - - *312 - - *355 + - *354 responses: '204': description: Response @@ -48738,19 +48575,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *310 - *311 - - *312 + - *354 - *355 - *356 - *357 - *358 - - *359 - *4 - *5 + - *359 + - *338 - *360 - - *339 - *361 - - *362 responses: '200': description: Response @@ -48766,9 +48603,9 @@ paths: type: integer workflow_runs: type: array - items: *340 + items: *339 examples: - default: *363 + default: *362 headers: Link: *6 x-github: @@ -48791,8 +48628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-activities parameters: + - *310 - *311 - - *312 - *9 - *4 - *100 @@ -48956,8 +48793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#list-assignees parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -48994,8 +48831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *310 - *311 - - *312 - name: assignee in: path required: true @@ -49029,8 +48866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -49038,7 +48875,7 @@ paths: application/json: schema: type: array - items: &364 + items: &363 title: Autolink reference description: An autolink reference. type: object @@ -49088,8 +48925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -49128,9 +48965,9 @@ paths: description: response content: application/json: - schema: *364 + schema: *363 examples: - default: &365 + default: &364 value: id: 1 key_prefix: TICKET- @@ -49161,9 +48998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *310 - *311 - - *312 - - &366 + - &365 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49175,9 +49012,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *363 examples: - default: *365 + default: *364 '404': *26 x-github: githubCloudOnly: false @@ -49197,9 +49034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *310 - *311 - - *312 - - *366 + - *365 responses: '204': description: Response @@ -49223,8 +49060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response if Dependabot is enabled @@ -49271,8 +49108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#list-branches parameters: + - *310 - *311 - - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49310,7 +49147,7 @@ paths: - url protected: type: boolean - protection: &368 + protection: &367 title: Branch Protection description: Branch Protection type: object @@ -49352,7 +49189,7 @@ paths: required: - contexts - checks - enforce_admins: &371 + enforce_admins: &370 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49367,7 +49204,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &373 + required_pull_request_reviews: &372 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49388,7 +49225,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *312 apps: description: The list of apps with review dismissal access. @@ -49417,7 +49254,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *312 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49443,7 +49280,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &370 + restrictions: &369 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49750,9 +49587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#get-a-branch parameters: + - *310 - *311 - - *312 - - &369 + - &368 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-server@3.16/graphql). @@ -49766,14 +49603,14 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &411 + commit: &410 title: Commit description: Commit type: object @@ -49807,7 +49644,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &367 + properties: &366 name: type: string example: '"Chris Wanstrath"' @@ -49822,7 +49659,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true message: type: string @@ -49843,7 +49680,7 @@ paths: required: - sha - url - verification: &458 + verification: &457 title: Verification type: object properties: @@ -49909,7 +49746,7 @@ paths: type: integer files: type: array - items: &422 + items: &421 title: Diff Entry description: Diff Entry type: object @@ -49992,7 +49829,7 @@ paths: - self protected: type: boolean - protection: *368 + protection: *367 protection_url: type: string format: uri @@ -50096,7 +49933,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *322 '404': *26 x-github: githubCloudOnly: false @@ -50118,15 +49955,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *368 + schema: *367 examples: default: value: @@ -50320,9 +50157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -50577,7 +50414,7 @@ paths: url: type: string format: uri - required_status_checks: &376 + required_status_checks: &375 title: Status Check Policy description: Status Check Policy type: object @@ -50653,7 +50490,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 apps: type: array items: *25 @@ -50671,7 +50508,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 apps: type: array items: *25 @@ -50729,7 +50566,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *370 + restrictions: *369 required_conversation_resolution: type: object properties: @@ -50841,9 +50678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -50868,17 +50705,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: &372 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50900,17 +50737,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50929,9 +50766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -50956,17 +50793,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: &374 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51062,9 +50899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51162,9 +50999,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *372 examples: - default: *374 + default: *373 '422': *35 x-github: githubCloudOnly: false @@ -51185,9 +51022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51214,17 +51051,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: &375 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51247,17 +51084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *375 + default: *374 '404': *26 x-github: githubCloudOnly: false @@ -51277,9 +51114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51304,17 +51141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-status-checks-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *376 + schema: *375 examples: - default: &377 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51340,9 +51177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#update-status-check-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51394,9 +51231,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *375 examples: - default: *377 + default: *376 '404': *26 '422': *35 x-github: @@ -51418,9 +51255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-status-check-protection parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51444,9 +51281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -51480,9 +51317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51549,9 +51386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -51615,9 +51452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: content: application/json: @@ -51683,15 +51520,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response content: application/json: - schema: *370 + schema: *369 examples: default: value: @@ -51782,9 +51619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#delete-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '204': description: Response @@ -51807,9 +51644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -51819,7 +51656,7 @@ paths: type: array items: *25 examples: - default: &378 + default: &377 value: - id: 1 slug: octoapp @@ -51876,9 +51713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -51912,7 +51749,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -51933,9 +51770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -51969,7 +51806,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -51990,9 +51827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52026,7 +51863,7 @@ paths: type: array items: *25 examples: - default: *378 + default: *377 '422': *35 x-github: githubCloudOnly: false @@ -52048,9 +51885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -52058,9 +51895,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '404': *26 x-github: githubCloudOnly: false @@ -52080,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -52118,9 +51955,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52141,9 +51978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: false content: @@ -52179,9 +52016,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52202,9 +52039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: content: application/json: @@ -52239,9 +52076,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 '422': *35 x-github: githubCloudOnly: false @@ -52263,9 +52100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 responses: '200': description: Response @@ -52299,9 +52136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52359,9 +52196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52419,9 +52256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52481,9 +52318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#rename-a-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 requestBody: required: true content: @@ -52505,7 +52342,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *378 examples: default: value: @@ -52618,8 +52455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#create-a-check-run parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -52898,7 +52735,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &380 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53017,8 +52854,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *380 - deployment: &651 + items: *379 + deployment: &650 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53298,9 +53135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#get-a-check-run parameters: + - *310 - *311 - - *312 - - &382 + - &381 name: check_run_id description: The unique identifier of the check run. in: path @@ -53312,9 +53149,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: - default: &383 + default: &382 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53414,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#update-a-check-run parameters: + - *310 - *311 - - *312 - - *382 + - *381 requestBody: required: true content: @@ -53656,9 +53493,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: - default: *383 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53678,9 +53515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-run-annotations parameters: + - *310 - *311 - - *312 - - *382 + - *381 - *4 - *5 responses: @@ -53775,9 +53612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#rerequest-a-check-run parameters: + - *310 - *311 - - *312 - - *382 + - *381 responses: '201': description: Response @@ -53821,8 +53658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#create-a-check-suite parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -53844,7 +53681,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &386 + schema: &385 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53908,7 +53745,7 @@ paths: nullable: true pull_requests: type: array - items: *380 + items: *379 nullable: true app: title: GitHub app @@ -53934,8 +53771,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *384 - required: *385 + properties: *383 + required: *384 latest_check_runs_count: type: integer check_runs_url: @@ -53963,7 +53800,7 @@ paths: - check_runs_url - pull_requests examples: - default: &387 + default: &386 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54254,9 +54091,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *386 + schema: *385 examples: - default: *387 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54275,8 +54112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -54585,9 +54422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#get-a-check-suite parameters: + - *310 - *311 - - *312 - - &388 + - &387 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54599,9 +54436,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: *387 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54624,17 +54461,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *310 - *311 - - *312 - - *388 - - &419 + - *387 + - &418 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &420 + - &419 name: status description: Returns check runs with the specified `status`. in: query @@ -54673,9 +54510,9 @@ paths: type: integer check_runs: type: array - items: *381 + items: *380 examples: - default: &421 + default: &420 value: total_count: 1 check_runs: @@ -54777,9 +54614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#rerequest-a-check-suite parameters: + - *310 - *311 - - *312 - - *388 + - *387 responses: '201': description: Response @@ -54812,21 +54649,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *310 - *311 - - *312 - *195 - *196 - *5 - *4 - - &400 + - &399 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *389 - - &401 + schema: *388 + - &400 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54857,7 +54694,7 @@ paths: be returned. in: query required: false - schema: *390 + schema: *389 responses: '200': description: Response @@ -54873,7 +54710,7 @@ paths: updated_at: *120 url: *117 html_url: *118 - instances_url: *391 + instances_url: *390 state: *104 fixed_at: *122 dismissed_by: @@ -54884,11 +54721,11 @@ paths: required: *18 nullable: true dismissed_at: *121 - dismissed_reason: *392 - dismissed_comment: *393 - rule: *394 - tool: *395 - most_recent_instance: *396 + dismissed_reason: *391 + dismissed_comment: *392 + rule: *393 + tool: *394 + most_recent_instance: *395 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55011,7 +54848,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *42 - '403': &397 + '403': &396 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55038,9 +54875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - &398 + - &397 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55054,7 +54891,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &398 type: object properties: number: *112 @@ -55062,7 +54899,7 @@ paths: updated_at: *120 url: *117 html_url: *118 - instances_url: *391 + instances_url: *390 state: *104 fixed_at: *122 dismissed_by: @@ -55073,8 +54910,8 @@ paths: required: *18 nullable: true dismissed_at: *121 - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *391 + dismissed_comment: *392 rule: type: object properties: @@ -55128,8 +54965,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *395 - most_recent_instance: *396 + tool: *394 + most_recent_instance: *395 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55225,7 +55062,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *42 - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55245,9 +55082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 requestBody: required: true content: @@ -55262,8 +55099,8 @@ paths: enum: - open - dismissed - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *391 + dismissed_comment: *392 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55282,7 +55119,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *398 examples: default: value: @@ -55358,7 +55195,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *34 - '403': &406 + '403': &405 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55385,13 +55222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 - *5 - *4 + - *399 - *400 - - *401 responses: '200': description: Response @@ -55399,7 +55236,7 @@ paths: application/json: schema: type: array - items: *396 + items: *395 examples: default: value: @@ -55438,7 +55275,7 @@ paths: end_column: 50 classifications: - source - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55472,25 +55309,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *310 - *311 - - *312 - *195 - *196 - *5 - *4 - - *401 + - *400 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *389 + schema: *388 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &404 + schema: &403 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55511,23 +55348,23 @@ paths: application/json: schema: type: array - items: &405 + items: &404 type: object properties: - ref: *389 - commit_sha: &407 + ref: *388 + commit_sha: &406 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *402 + analysis_key: *401 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *403 + category: *402 error: type: string example: error reading field xyz @@ -55551,8 +55388,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *404 - tool: *395 + sarif_id: *403 + tool: *394 deletable: type: boolean warning: @@ -55613,7 +55450,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55649,8 +55486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *310 - *311 - - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55663,7 +55500,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *404 examples: response: summary: application/json response @@ -55717,7 +55554,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55799,8 +55636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *310 - *311 - - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55853,7 +55690,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *34 - '403': *406 + '403': *405 '404': *26 '503': *123 x-github: @@ -55875,8 +55712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -55950,7 +55787,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *397 + '403': *396 '404': *26 '503': *123 x-github: @@ -55971,8 +55808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -56054,7 +55891,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *406 + '403': *405 '404': *26 '409': description: Response if there is already a validation run in progress with @@ -56119,8 +55956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -56128,7 +55965,7 @@ paths: schema: type: object properties: - commit_sha: *407 + commit_sha: *406 ref: type: string description: |- @@ -56181,7 +56018,7 @@ paths: schema: type: object properties: - id: *404 + id: *403 url: type: string description: The REST API URL for checking the status of the upload. @@ -56195,7 +56032,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *406 + '403': *405 '404': *26 '413': description: Payload Too Large if the sarif field is too large @@ -56218,8 +56055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *310 - *311 - - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56265,7 +56102,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *397 + '403': *396 '404': description: Not Found if the sarif id does not match any upload '503': *123 @@ -56290,8 +56127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -56365,8 +56202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-codeowners-errors parameters: + - *310 - *311 - - *312 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -56489,8 +56326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *310 - *311 - - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56532,7 +56369,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &408 + properties: &407 login: type: string example: octocat @@ -56625,7 +56462,7 @@ paths: user_view_type: type: string example: public - required: &409 + required: &408 - avatar_url - events_url - followers_url @@ -56698,8 +56535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 responses: '204': @@ -56736,8 +56573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 requestBody: required: false @@ -56807,8 +56644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *310 - *311 - - *312 - *8 responses: '204': @@ -56840,8 +56677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *310 - *311 - - *312 - *8 responses: '200': @@ -56862,8 +56699,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *408 - required: *409 + properties: *407 + required: *408 nullable: true required: - permission @@ -56918,8 +56755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -56929,7 +56766,7 @@ paths: application/json: schema: type: array - items: &410 + items: &409 title: Commit Comment description: Commit Comment type: object @@ -56987,7 +56824,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &412 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57046,17 +56883,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#get-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: &414 + default: &413 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57113,8 +56950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#update-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -57137,7 +56974,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: default: value: @@ -57188,8 +57025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#delete-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -57211,8 +57048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -57239,9 +57076,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -57262,8 +57099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -57296,16 +57133,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -57327,10 +57164,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -57379,8 +57216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-commits parameters: + - *310 - *311 - - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57436,9 +57273,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: &519 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57531,9 +57368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-branches-for-head-commit parameters: + - *310 - *311 - - *312 - - &412 + - &411 name: commit_sha description: The SHA of the commit. in: path @@ -57605,9 +57442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#list-commit-comments parameters: + - *310 - *311 - - *312 - - *412 + - *411 - *4 - *5 responses: @@ -57617,9 +57454,9 @@ paths: application/json: schema: type: array - items: *410 + items: *409 examples: - default: *413 + default: *412 headers: Link: *6 x-github: @@ -57647,9 +57484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/comments#create-a-commit-comment parameters: + - *310 - *311 - - *312 - - *412 + - *411 requestBody: required: true content: @@ -57684,9 +57521,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *414 + default: *413 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57714,9 +57551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *310 - *311 - - *312 - - *412 + - *411 - *4 - *5 responses: @@ -57726,7 +57563,7 @@ paths: application/json: schema: type: array - items: &509 + items: &508 title: Pull Request Simple description: Pull Request Simple type: object @@ -57832,8 +57669,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -57878,7 +57715,7 @@ paths: nullable: true requested_teams: type: array - items: *313 + items: *312 nullable: true head: type: object @@ -57929,7 +57766,7 @@ paths: _links: type: object properties: - comments: &417 + comments: &416 title: Link description: Hypermedia Link type: object @@ -57938,13 +57775,13 @@ paths: type: string required: - href - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -57955,7 +57792,7 @@ paths: - review_comment - self author_association: *127 - auto_merge: &511 + auto_merge: &510 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58018,7 +57855,7 @@ paths: - author_association - auto_merge examples: - default: &510 + default: &509 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58555,11 +58392,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#get-a-commit parameters: + - *310 - *311 - - *312 - *5 - *4 - - &418 + - &417 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -58574,9 +58411,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &494 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58686,11 +58523,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *310 - *311 - - *312 + - *417 - *418 - *419 - - *420 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58724,9 +58561,9 @@ paths: type: integer check_runs: type: array - items: *381 + items: *380 examples: - default: *421 + default: *420 headers: Link: *6 x-github: @@ -58751,9 +58588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -58761,7 +58598,7 @@ paths: schema: type: integer example: 1 - - *419 + - *418 - *4 - *5 responses: @@ -58779,7 +58616,7 @@ paths: type: integer check_suites: type: array - items: *386 + items: *385 examples: default: value: @@ -58979,9 +58816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - *4 - *5 responses: @@ -59179,9 +59016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *310 - *311 - - *312 - - *418 + - *417 - *4 - *5 responses: @@ -59191,7 +59028,7 @@ paths: application/json: schema: type: array - items: &571 + items: &570 title: Status description: The status of a commit. type: object @@ -59272,7 +59109,7 @@ paths: site_admin: false headers: Link: *6 - '301': *323 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59340,8 +59177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/commits#compare-two-commits parameters: + - *310 - *311 - - *312 - *5 - *4 - name: basehead @@ -59384,8 +59221,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *411 - merge_base_commit: *411 + base_commit: *410 + merge_base_commit: *410 status: type: string enum: @@ -59405,10 +59242,10 @@ paths: example: 6 commits: type: array - items: *411 + items: *410 files: type: array - items: *422 + items: *421 required: - url - html_url @@ -59687,8 +59524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-repository-content parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -59831,7 +59668,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &423 + response-if-content-is-a-file: &422 summary: Response if content is a file value: type: file @@ -59963,7 +59800,7 @@ paths: - size - type - url - - &524 + - &523 title: Content File description: Content File type: object @@ -60164,7 +60001,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *423 + response-if-content-is-a-file: *422 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60233,7 +60070,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *26 '403': *43 - '302': &528 + '302': &527 description: Found '304': *42 x-github: @@ -60257,8 +60094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#create-or-update-file-contents parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -60351,7 +60188,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: File Commit description: File Commit type: object @@ -60497,7 +60334,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: example-for-creating-a-file: value: @@ -60548,7 +60385,7 @@ paths: schema: oneOf: - *24 - - &453 + - &452 description: Repository rule violation was detected type: object properties: @@ -60569,7 +60406,7 @@ paths: items: type: object properties: - placeholder_id: &567 + placeholder_id: &566 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -60601,8 +60438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#delete-a-file parameters: + - *310 - *311 - - *312 - name: path description: path parameter in: path @@ -60663,7 +60500,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: default: value: @@ -60714,8 +60551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-contributors parameters: + - *310 - *311 - - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60838,8 +60675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *310 - *311 - - *312 - *209 - *210 - *211 @@ -60882,7 +60719,7 @@ paths: application/json: schema: type: array - items: &427 + items: &426 type: object description: A Dependabot alert. properties: @@ -60915,7 +60752,7 @@ paths: enum: - development - runtime - security_advisory: *425 + security_advisory: *424 security_vulnerability: *116 url: *117 html_url: *118 @@ -60946,7 +60783,7 @@ paths: nullable: true maxLength: 280 fixed_at: *122 - auto_dismissed_at: *426 + auto_dismissed_at: *425 required: - number - state @@ -61176,9 +61013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *310 - *311 - - *312 - - &428 + - &427 name: alert_number in: path description: |- @@ -61193,7 +61030,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: value: @@ -61306,9 +61143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *310 - *311 - - *312 - - *428 + - *427 requestBody: required: true content: @@ -61353,7 +61190,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: value: @@ -61482,8 +61319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#list-repository-secrets parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -61501,7 +61338,7 @@ paths: type: integer secrets: type: array - items: &431 + items: &430 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61554,16 +61391,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61583,15 +61420,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#get-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -61617,8 +61454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 requestBody: required: true @@ -61671,8 +61508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *310 - *311 - - *312 - *180 responses: '204': @@ -61695,8 +61532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *310 - *311 - - *312 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -61856,8 +61693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -62082,8 +61919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -62158,7 +61995,7 @@ paths: - version - url additionalProperties: false - metadata: &432 + metadata: &431 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62191,7 +62028,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *432 + metadata: *431 resolved: type: object description: A collection of resolved package dependencies. @@ -62204,7 +62041,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *432 + metadata: *431 relationship: type: string description: A notation of whether a dependency is requested @@ -62333,8 +62170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#list-deployments parameters: + - *310 - *311 - - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -62374,9 +62211,9 @@ paths: application/json: schema: type: array - items: *433 + items: *432 examples: - default: *434 + default: *433 headers: Link: *6 x-github: @@ -62442,8 +62279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#create-a-deployment parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -62524,7 +62361,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *432 examples: simple-example: summary: Simple example @@ -62597,9 +62434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#get-a-deployment parameters: + - *310 - *311 - - *312 - - &435 + - &434 name: deployment_id description: deployment_id parameter in: path @@ -62611,7 +62448,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *432 examples: default: value: @@ -62676,9 +62513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments#delete-a-deployment parameters: + - *310 - *311 - - *312 - - *435 + - *434 responses: '204': description: Response @@ -62700,9 +62537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#list-deployment-statuses parameters: + - *310 - *311 - - *312 - - *435 + - *434 - *4 - *5 responses: @@ -62712,7 +62549,7 @@ paths: application/json: schema: type: array - items: &436 + items: &435 title: Deployment Status description: The status of a deployment. type: object @@ -62873,9 +62710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#create-a-deployment-status parameters: + - *310 - *311 - - *312 - - *435 + - *434 requestBody: required: true content: @@ -62950,9 +62787,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *435 examples: - default: &437 + default: &436 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63008,9 +62845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/statuses#get-a-deployment-status parameters: + - *310 - *311 - - *312 - - *435 + - *434 - name: status_id in: path required: true @@ -63021,9 +62858,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *435 examples: - default: *437 + default: *436 '404': *26 x-github: githubCloudOnly: false @@ -63048,8 +62885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -63106,8 +62943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#list-environments parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -63124,7 +62961,7 @@ paths: type: integer environments: type: array - items: &439 + items: &438 title: Environment description: Details of a deployment environment type: object @@ -63176,7 +63013,7 @@ paths: type: type: string example: wait_timer - wait_timer: &441 + wait_timer: &440 type: integer example: 30 description: The amount of time to delay a job after @@ -63213,11 +63050,11 @@ paths: items: type: object properties: - type: *438 + type: *437 reviewer: anyOf: - *19 - - *313 + - *312 required: - id - node_id @@ -63237,7 +63074,7 @@ paths: - id - node_id - type - deployment_branch_policy: &442 + deployment_branch_policy: &441 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -63352,9 +63189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#get-an-environment parameters: + - *310 - *311 - - *312 - - &440 + - &439 name: environment_name in: path required: true @@ -63367,9 +63204,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: &443 + default: &442 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63452,9 +63289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#create-or-update-an-environment parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: false content: @@ -63463,7 +63300,7 @@ paths: type: object nullable: true properties: - wait_timer: *441 + wait_timer: *440 prevent_self_review: type: boolean example: false @@ -63480,13 +63317,13 @@ paths: items: type: object properties: - type: *438 + type: *437 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *442 + deployment_branch_policy: *441 additionalProperties: false examples: default: @@ -63506,9 +63343,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *443 + default: *442 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63532,9 +63369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/environments#delete-an-environment parameters: + - *310 - *311 - - *312 - - *440 + - *439 responses: '204': description: Default response @@ -63559,9 +63396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *4 - *5 responses: @@ -63579,7 +63416,7 @@ paths: example: 2 branch_policies: type: array - items: &444 + items: &443 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63636,9 +63473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: true content: @@ -63684,9 +63521,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - example-wildcard: &445 + example-wildcard: &444 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63728,10 +63565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - &446 + - *439 + - &445 name: branch_policy_id in: path required: true @@ -63743,9 +63580,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - default: *445 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63764,10 +63601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - *446 + - *439 + - *445 requestBody: required: true content: @@ -63795,9 +63632,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *443 examples: - default: *445 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63816,10 +63653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *310 - *311 - - *312 - - *440 - - *446 + - *439 + - *445 responses: '204': description: Response @@ -63844,9 +63681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 responses: '200': description: List of deployment protection rules @@ -63862,7 +63699,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &447 + items: &446 title: Deployment protection rule description: Deployment protection rule type: object @@ -63881,7 +63718,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &448 + app: &447 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -63980,9 +63817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 requestBody: content: application/json: @@ -64003,9 +63840,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *447 + schema: *446 examples: - default: &449 + default: &448 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64040,9 +63877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 + - *310 - *5 - *4 responses: @@ -64061,7 +63898,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *448 + items: *447 examples: default: value: @@ -64096,10 +63933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *310 - *311 - - *312 - - *440 - - &450 + - *439 + - &449 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64111,9 +63948,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *449 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64134,10 +63971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *440 - - *312 + - *439 - *311 - - *450 + - *310 + - *449 responses: '204': description: Response @@ -64163,9 +64000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#list-environment-secrets parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *4 - *5 responses: @@ -64183,9 +64020,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *347 examples: - default: *349 + default: *348 headers: Link: *6 x-github: @@ -64210,17 +64047,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-an-environment-public-key parameters: + - *310 - *311 - - *312 - - *440 + - *439 responses: '200': description: Response content: application/json: - schema: *350 + schema: *349 examples: - default: *351 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64242,18 +64079,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#get-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *347 examples: - default: *451 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64275,9 +64112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 requestBody: required: true @@ -64335,9 +64172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/secrets#delete-an-environment-secret parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *180 responses: '204': @@ -64363,10 +64200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#list-environment-variables parameters: + - *310 - *311 - - *312 - - *440 - - *335 + - *439 + - *334 - *5 responses: '200': @@ -64383,9 +64220,9 @@ paths: type: integer variables: type: array - items: *352 + items: *351 examples: - default: *353 + default: *352 headers: Link: *6 x-github: @@ -64408,9 +64245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#create-an-environment-variable parameters: + - *310 - *311 - - *312 - - *440 + - *439 requestBody: required: true content: @@ -64462,18 +64299,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#get-an-environment-variable parameters: + - *310 - *311 - - *312 - - *440 + - *439 - *183 responses: '200': description: Response content: application/json: - schema: *352 + schema: *351 examples: - default: *452 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64494,10 +64331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#update-an-environment-variable parameters: + - *310 - *311 - - *312 - *183 - - *440 + - *439 requestBody: required: true content: @@ -64539,10 +64376,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/actions/variables#delete-an-environment-variable parameters: + - *310 - *311 - - *312 - *183 - - *440 + - *439 responses: '204': description: Response @@ -64564,8 +64401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/events#list-repository-events parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -64642,8 +64479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/forks#list-forks parameters: + - *310 - *311 - - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -64802,8 +64639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/forks#create-a-fork parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -64835,9 +64672,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 '400': *34 '422': *35 '403': *43 @@ -64858,8 +64695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/blobs#create-a-blob parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -64919,7 +64756,7 @@ paths: schema: oneOf: - *157 - - *453 + - *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64944,8 +64781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/blobs#get-a-blob parameters: + - *310 - *311 - - *312 - name: file_sha in: path required: true @@ -65044,8 +64881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/commits#create-a-commit parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65154,7 +64991,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &453 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65361,15 +65198,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/commits#get-a-commit-object parameters: + - *310 - *311 - - *312 - - *412 + - *411 responses: '200': description: Response content: application/json: - schema: *454 + schema: *453 examples: default: value: @@ -65422,9 +65259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#list-matching-references parameters: + - *310 - *311 - - *312 - - &455 + - &454 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -65441,7 +65278,7 @@ paths: application/json: schema: type: array - items: &456 + items: &455 title: Git Reference description: Git references within a repository type: object @@ -65516,17 +65353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 responses: '200': description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: &457 + default: &456 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -65555,8 +65392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#create-a-reference parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65585,9 +65422,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65613,9 +65450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#update-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 requestBody: required: true content: @@ -65644,9 +65481,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 '422': *35 '409': *109 x-github: @@ -65664,9 +65501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/refs#delete-a-reference parameters: + - *310 - *311 - - *312 - - *455 + - *454 responses: '204': description: Response @@ -65721,8 +65558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/tags#create-a-tag-object parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -65789,7 +65626,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &458 title: Git Tag description: Metadata for a Git tag type: object @@ -65840,7 +65677,7 @@ paths: - sha - type - url - verification: *458 + verification: *457 required: - sha - url @@ -65850,7 +65687,7 @@ paths: - tag - message examples: - default: &460 + default: &459 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -65920,8 +65757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/tags#get-a-tag parameters: + - *310 - *311 - - *312 - name: tag_sha in: path required: true @@ -65932,9 +65769,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *458 examples: - default: *460 + default: *459 '404': *26 '409': *109 x-github: @@ -65958,8 +65795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/trees#create-a-tree parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -66032,7 +65869,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &460 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66128,8 +65965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/git/trees#get-a-tree parameters: + - *310 - *311 - - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66152,7 +65989,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default-response: summary: Default response @@ -66211,8 +66048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#list-repository-webhooks parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -66222,7 +66059,7 @@ paths: application/json: schema: type: array - items: &462 + items: &461 title: Webhook description: Webhooks for repositories. type: object @@ -66276,7 +66113,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &681 + last_response: &680 title: Hook Response type: object properties: @@ -66350,8 +66187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#create-a-repository-webhook parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -66403,9 +66240,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: &463 + default: &462 value: type: Repository id: 12345678 @@ -66453,17 +66290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '200': description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: *463 + default: *462 '404': *26 x-github: githubCloudOnly: false @@ -66483,8 +66320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#update-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 requestBody: required: true @@ -66530,9 +66367,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: - default: *463 + default: *462 '422': *35 '404': *26 x-github: @@ -66553,8 +66390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66579,8 +66416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *310 - *311 - - *312 - *3 responses: '200': @@ -66608,8 +66445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *310 - *311 - - *312 - *3 requestBody: required: false @@ -66654,8 +66491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *4 - *226 @@ -66687,8 +66524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *36 responses: @@ -66717,8 +66554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 - *36 responses: @@ -66742,8 +66579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66769,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *310 - *311 - - *312 - *3 responses: '204': @@ -66795,8 +66632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -66804,8 +66641,8 @@ paths: application/json: schema: *39 examples: - default: *464 - '301': *323 + default: *463 + '301': *322 '404': *26 x-github: githubCloudOnly: false @@ -66824,8 +66661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#list-repository-invitations parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -66835,7 +66672,7 @@ paths: application/json: schema: type: array - items: &465 + items: &464 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66898,7 +66735,7 @@ paths: - html_url - created_at examples: - default: &625 + default: &624 value: - id: 1 repository: @@ -67029,9 +66866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *310 - *311 - - *312 - - &466 + - &465 name: invitation_id description: The unique identifier of the invitation. in: path @@ -67066,7 +66903,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *464 examples: default: value: @@ -67197,9 +67034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *310 - *311 - - *312 - - *466 + - *465 responses: '204': description: Response @@ -67230,8 +67067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#list-repository-issues parameters: + - *310 - *311 - - *312 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -67452,7 +67289,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *323 + '301': *322 '422': *35 '404': *26 x-github: @@ -67481,8 +67318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#create-an-issue parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -67566,7 +67403,7 @@ paths: application/json: schema: *140 examples: - default: &472 + default: &471 value: id: 1 node_id: MDU6SXNzdWUx @@ -67722,7 +67559,7 @@ paths: '422': *35 '503': *123 '404': *26 - '410': *262 + '410': *261 x-github: triggersNotification: true githubCloudOnly: false @@ -67750,9 +67587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *310 - *311 - - *312 - - &517 + - &516 name: sort description: The property to sort the results by. in: query @@ -67782,9 +67619,9 @@ paths: application/json: schema: type: array - items: *467 + items: *466 examples: - default: &474 + default: &473 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67842,17 +67679,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#get-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: &468 + default: &467 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67906,8 +67743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#update-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -67930,9 +67767,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: *468 + default: *467 '422': *35 x-github: githubCloudOnly: false @@ -67950,8 +67787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#delete-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -67972,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -68000,9 +67837,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -68023,8 +67860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -68057,16 +67894,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -68088,10 +67925,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -68111,8 +67948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#list-issue-events-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -68122,7 +67959,7 @@ paths: application/json: schema: type: array - items: &471 + items: &470 title: Issue Event description: Issue Event type: object @@ -68165,8 +68002,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *469 - required: *470 + properties: *468 + required: *469 nullable: true label: title: Issue Event Label @@ -68210,7 +68047,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *313 + requested_team: *312 dismissed_review: title: Issue Event Dismissed Review type: object @@ -68473,8 +68310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#get-an-issue-event parameters: + - *310 - *311 - - *312 - name: event_id in: path required: true @@ -68485,7 +68322,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: default: value: @@ -68678,7 +68515,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *26 - '410': *262 + '410': *261 '403': *43 x-github: githubCloudOnly: false @@ -68712,9 +68549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue parameters: + - *310 - *311 - - *312 - - &473 + - &472 name: issue_number description: The number that identifies the issue. in: path @@ -68728,10 +68565,10 @@ paths: application/json: schema: *140 examples: - default: *472 - '301': *323 + default: *471 + '301': *322 '404': *26 - '410': *262 + '410': *261 '304': *42 x-github: githubCloudOnly: false @@ -68756,9 +68593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#update-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -68863,13 +68700,13 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 '422': *35 '503': *123 '403': *43 - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68887,9 +68724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -68917,7 +68754,7 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68933,9 +68770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: content: application/json: @@ -68962,7 +68799,7 @@ paths: application/json: schema: *140 examples: - default: *472 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68984,9 +68821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: assignee in: path required: true @@ -69026,9 +68863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#list-issue-comments parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *130 - *4 - *5 @@ -69039,13 +68876,13 @@ paths: application/json: schema: type: array - items: *467 + items: *466 examples: - default: *474 + default: *473 headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69074,9 +68911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/comments#create-an-issue-comment parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: true content: @@ -69098,16 +68935,16 @@ paths: description: Response content: application/json: - schema: *467 + schema: *466 examples: - default: *468 + default: *467 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *43 - '410': *262 + '410': *261 '422': *35 '404': *26 x-github: @@ -69127,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/events#list-issue-events parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -69143,7 +68980,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &477 + - &476 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -69197,7 +69034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &478 + - &477 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -69333,7 +69170,7 @@ paths: - performed_via_github_app - assignee - assigner - - &479 + - &478 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -69384,7 +69221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &480 + - &479 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -69435,7 +69272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &480 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -69489,7 +69326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &481 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -69523,7 +69360,7 @@ paths: properties: *125 required: *126 review_requester: *19 - requested_team: *313 + requested_team: *312 requested_reviewer: *19 required: - review_requester @@ -69536,7 +69373,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &482 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -69570,7 +69407,7 @@ paths: properties: *125 required: *126 review_requester: *19 - requested_team: *313 + requested_team: *312 requested_reviewer: *19 required: - review_requester @@ -69583,7 +69420,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &483 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -69643,7 +69480,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &484 title: Locked Issue Event description: Locked Issue Event type: object @@ -69691,7 +69528,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &485 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69757,7 +69594,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &486 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69823,7 +69660,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &487 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69889,7 +69726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &488 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69980,7 +69817,7 @@ paths: color: red headers: Link: *6 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69997,9 +69834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -70009,7 +69846,7 @@ paths: application/json: schema: type: array - items: &475 + items: &474 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -70056,7 +69893,7 @@ paths: - color - default examples: - default: &476 + default: &475 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70074,9 +69911,9 @@ paths: default: false headers: Link: *6 - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70093,9 +69930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#add-labels-to-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70154,12 +69991,12 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 - '301': *323 + default: *475 + '301': *322 '404': *26 - '410': *262 + '410': *261 '422': *35 x-github: githubCloudOnly: false @@ -70176,9 +70013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#set-labels-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70238,12 +70075,12 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 - '301': *323 + default: *475 + '301': *322 '404': *26 - '410': *262 + '410': *261 '422': *35 x-github: githubCloudOnly: false @@ -70260,15 +70097,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 responses: '204': description: Response - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70287,9 +70124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: name in: path required: true @@ -70302,7 +70139,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -70313,9 +70150,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *322 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70335,9 +70172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#lock-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: false content: @@ -70365,7 +70202,7 @@ paths: '204': description: Response '403': *43 - '410': *262 + '410': *261 '404': *26 '422': *35 x-github: @@ -70383,9 +70220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/issues#unlock-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 responses: '204': description: Response @@ -70407,9 +70244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -70435,13 +70272,13 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70459,9 +70296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 requestBody: required: true content: @@ -70493,16 +70330,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -70524,10 +70361,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *310 - *311 - - *312 - - *473 - - *303 + - *472 + - *302 responses: '204': description: Response @@ -70547,9 +70384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *310 - *311 - - *312 - - *473 + - *472 - *4 - *5 responses: @@ -70564,6 +70401,7 @@ paths: description: Timeline Event type: object anyOf: + - *476 - *477 - *478 - *479 @@ -70576,7 +70414,6 @@ paths: - *486 - *487 - *488 - - *489 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70877,7 +70714,7 @@ paths: type: string comments: type: array - items: &512 + items: &511 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -71086,7 +70923,7 @@ paths: type: string comments: type: array - items: *410 + items: *409 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -71375,7 +71212,7 @@ paths: headers: Link: *6 '404': *26 - '410': *262 + '410': *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71392,8 +71229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -71403,7 +71240,7 @@ paths: application/json: schema: type: array - items: &490 + items: &489 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71468,8 +71305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -71505,9 +71342,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &491 + default: &490 value: id: 1 key: ssh-rsa AAA... @@ -71541,9 +71378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *310 - *311 - - *312 - - &492 + - &491 name: key_id description: The unique identifier of the key. in: path @@ -71555,9 +71392,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *491 + default: *490 '404': *26 x-github: githubCloudOnly: false @@ -71575,9 +71412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *310 - *311 - - *312 - - *492 + - *491 responses: '204': description: Response @@ -71597,8 +71434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -71608,9 +71445,9 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 + default: *475 headers: Link: *6 '404': *26 @@ -71631,8 +71468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#create-a-label parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -71668,9 +71505,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: - default: &493 + default: &492 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71702,8 +71539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#get-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71714,9 +71551,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: - default: *493 + default: *492 '404': *26 x-github: githubCloudOnly: false @@ -71733,8 +71570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#update-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71773,7 +71610,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *474 examples: default: value: @@ -71799,8 +71636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#delete-a-label parameters: + - *310 - *311 - - *312 - name: name in: path required: true @@ -71826,8 +71663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-languages parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -71863,8 +71700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *310 - *311 - - *312 responses: '202': *110 '403': @@ -71892,8 +71729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -71919,9 +71756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *310 - *311 - - *312 - - *400 + - *399 responses: '200': description: Response @@ -72066,8 +71903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72132,8 +71969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/branches/branches#merge-a-branch parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72167,9 +72004,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *411 + schema: *410 examples: - default: *494 + default: *493 '204': description: Response when already merged '404': @@ -72194,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#list-milestones parameters: + - *310 - *311 - - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -72236,12 +72073,12 @@ paths: application/json: schema: type: array - items: &495 + items: &494 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 examples: default: value: @@ -72297,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#create-a-milestone parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72338,9 +72175,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: &496 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -72399,9 +72236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#get-a-milestone parameters: + - *310 - *311 - - *312 - - &497 + - &496 name: milestone_number description: The number that identifies the milestone. in: path @@ -72413,9 +72250,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 '404': *26 x-github: githubCloudOnly: false @@ -72432,9 +72269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#update-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 requestBody: required: false content: @@ -72472,9 +72309,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72490,9 +72327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/milestones#delete-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 responses: '204': description: Response @@ -72513,9 +72350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *310 - *311 - - *312 - - *497 + - *496 - *4 - *5 responses: @@ -72525,9 +72362,9 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: - default: *476 + default: *475 headers: Link: *6 x-github: @@ -72546,12 +72383,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *310 - *311 - - *312 + - *497 - *498 - - *499 - *130 - - *500 + - *499 - *4 - *5 responses: @@ -72563,7 +72400,7 @@ paths: type: array items: *150 examples: - default: *501 + default: *500 headers: Link: *6 x-github: @@ -72587,8 +72424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -72646,14 +72483,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-a-apiname-pages-site parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: &502 + schema: &501 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72778,7 +72615,7 @@ paths: - custom_404 - public examples: - default: &503 + default: &502 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72819,8 +72656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#create-a-apiname-pages-site parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72874,9 +72711,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *501 examples: - default: *503 + default: *502 '422': *35 '409': *109 x-github: @@ -72899,8 +72736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -72999,8 +72836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -73026,8 +72863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#list-apiname-pages-builds parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -73037,7 +72874,7 @@ paths: application/json: schema: type: array - items: &504 + items: &503 title: Page Build description: Page Build type: object @@ -73131,8 +72968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#request-a-apiname-pages-build parameters: + - *310 - *311 - - *312 responses: '201': description: Response @@ -73177,16 +73014,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-latest-pages-build parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: &505 + default: &504 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -73234,8 +73071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-apiname-pages-build parameters: + - *310 - *311 - - *312 - name: build_id in: path required: true @@ -73246,9 +73083,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73268,8 +73105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#create-a-github-pages-deployment parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73369,9 +73206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *310 - *311 - - *312 - - &506 + - &505 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -73429,9 +73266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *310 - *311 - - *312 - - *506 + - *505 responses: '204': *203 '404': *26 @@ -73454,8 +73291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: + - *310 - *311 - - *312 - *4 - *5 - *9 @@ -73476,7 +73313,7 @@ paths: application/json: schema: type: array - items: &507 + items: &506 type: object properties: id: @@ -73510,17 +73347,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': description: Response content: application/json: - schema: *507 + schema: *506 examples: - default: &508 + default: &507 value: id: 42 name: Check Commits @@ -73542,15 +73379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': description: Response content: application/json: - schema: *507 + schema: *506 examples: default: value: @@ -73594,8 +73431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: + - *310 - *311 - - *312 - *16 responses: '200': @@ -73603,9 +73440,9 @@ paths: global level. content: application/json: - schema: *507 + schema: *506 examples: - default: *508 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73625,8 +73462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#list-repository-projects parameters: + - *310 - *311 - - *312 - name: state description: Indicates the state of the projects to return. in: query @@ -73647,7 +73484,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -73687,7 +73524,7 @@ paths: '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -73710,8 +73547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/projects/projects#create-a-repository-project parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73737,13 +73574,13 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: - default: *320 + default: *319 '401': *41 '403': *43 '404': *26 - '410': *262 + '410': *261 '422': *27 x-github: githubCloudOnly: false @@ -73766,8 +73603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -73775,7 +73612,7 @@ paths: application/json: schema: type: array - items: *267 + items: *266 examples: default: value: @@ -73806,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -73819,7 +73656,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *267 + items: *266 required: - properties examples: @@ -73869,8 +73706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-pull-requests parameters: + - *310 - *311 - - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73930,9 +73767,9 @@ paths: application/json: schema: type: array - items: *509 + items: *508 examples: - default: *510 + default: *509 headers: Link: *6 '304': *42 @@ -73964,8 +73801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#create-a-pull-request parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -74030,7 +73867,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &513 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -74141,8 +73978,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -74187,7 +74024,7 @@ paths: nullable: true requested_teams: type: array - items: *288 + items: *287 nullable: true head: type: object @@ -74226,14 +74063,14 @@ paths: _links: type: object properties: - comments: *417 - commits: *417 - statuses: *417 - html: *417 - issue: *417 - review_comments: *417 - review_comment: *417 - self: *417 + comments: *416 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -74244,7 +74081,7 @@ paths: - review_comment - self author_association: *127 - auto_merge: *511 + auto_merge: *510 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -74336,7 +74173,7 @@ paths: - merged_by - review_comments examples: - default: &515 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74863,8 +74700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *310 - *311 - - *312 - name: sort in: query required: false @@ -74893,9 +74730,9 @@ paths: application/json: schema: type: array - items: *512 + items: *511 examples: - default: &518 + default: &517 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74972,17 +74809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 responses: '200': description: Response content: application/json: - schema: *512 + schema: *511 examples: - default: &513 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75057,8 +74894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -75081,9 +74918,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: - default: *513 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75099,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - *139 responses: '204': @@ -75122,8 +74959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *310 - *311 - - *312 - *139 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). @@ -75150,9 +74987,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -75173,8 +75010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *310 - *311 - - *312 - *139 requestBody: required: true @@ -75207,16 +75044,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -75238,10 +75075,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *310 - *311 - - *312 - *139 - - *303 + - *302 responses: '204': description: Response @@ -75284,9 +75121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#get-a-pull-request parameters: + - *310 - *311 - - *312 - - &516 + - &515 name: pull_number description: The number that identifies the pull request. in: path @@ -75299,9 +75136,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *514 + schema: *513 examples: - default: *515 + default: *514 '304': *42 '404': *26 '406': @@ -75336,9 +75173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#update-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -75380,9 +75217,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *513 examples: - default: *515 + default: *514 '422': *35 '403': *43 x-github: @@ -75410,10 +75247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *310 - *311 - - *312 + - *515 - *516 - - *517 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -75433,9 +75270,9 @@ paths: application/json: schema: type: array - items: *512 + items: *511 examples: - default: *518 + default: *517 headers: Link: *6 x-github: @@ -75468,9 +75305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: true content: @@ -75575,7 +75412,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: example-for-a-multi-line-comment: value: @@ -75663,9 +75500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *139 requestBody: required: true @@ -75688,7 +75525,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *511 examples: default: value: @@ -75774,9 +75611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -75786,9 +75623,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: *519 + default: *518 headers: Link: *6 x-github: @@ -75818,9 +75655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#list-pull-requests-files parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -75830,7 +75667,7 @@ paths: application/json: schema: type: array - items: *422 + items: *421 examples: default: value: @@ -75868,9 +75705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *310 - *311 - - *312 - - *516 + - *515 responses: '204': description: Response if pull request has been merged @@ -75893,9 +75730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#merge-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -76006,9 +75843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 responses: '200': description: Response @@ -76024,7 +75861,7 @@ paths: items: *19 teams: type: array - items: *313 + items: *312 required: - users - teams @@ -76083,9 +75920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -76122,7 +75959,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *508 examples: default: value: @@ -76658,9 +76495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: true content: @@ -76694,7 +76531,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *508 examples: default: value: @@ -77199,9 +77036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 - *4 - *5 responses: @@ -77211,7 +77048,7 @@ paths: application/json: schema: type: array - items: &520 + items: &519 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77362,9 +77199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -77450,9 +77287,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: &522 + default: &521 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77515,10 +77352,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - &521 + - *515 + - &520 name: review_id description: The unique identifier of the review. in: path @@ -77530,9 +77367,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: &523 + default: &522 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77591,10 +77428,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -77617,7 +77454,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: default: value: @@ -77679,18 +77516,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 responses: '200': description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: *522 + default: *521 '422': *27 '404': *26 x-github: @@ -77717,10 +77554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 - *4 - *5 responses: @@ -77803,9 +77640,9 @@ paths: _links: type: object properties: - self: *417 - html: *417 - pull_request: *417 + self: *416 + html: *416 + pull_request: *416 required: - self - html @@ -77955,10 +77792,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -77986,7 +77823,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: default: value: @@ -78049,10 +77886,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *310 - *311 - - *312 - - *516 - - *521 + - *515 + - *520 requestBody: required: true content: @@ -78087,9 +77924,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *519 examples: - default: *523 + default: *522 '404': *26 '422': *27 '403': *43 @@ -78111,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *310 - *311 - - *312 - - *516 + - *515 requestBody: required: false content: @@ -78176,8 +78013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-a-repository-readme parameters: + - *310 - *311 - - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78190,9 +78027,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *523 examples: - default: &525 + default: &524 value: type: file encoding: base64 @@ -78234,8 +78071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *310 - *311 - - *312 - name: dir description: The alternate path to look for a README file in: path @@ -78255,9 +78092,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *523 examples: - default: *525 + default: *524 '404': *26 '422': *35 x-github: @@ -78279,8 +78116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#list-releases parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -78290,7 +78127,7 @@ paths: application/json: schema: type: array - items: &526 + items: &525 title: Release description: A release. type: object @@ -78353,7 +78190,7 @@ paths: author: *19 assets: type: array - items: &527 + items: &526 title: Release Asset description: Data related to a release. type: object @@ -78535,8 +78372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#create-a-release parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -78606,9 +78443,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: &531 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78707,9 +78544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#get-a-release-asset parameters: + - *310 - *311 - - *312 - - &529 + - &528 name: asset_id description: The unique identifier of the asset. in: path @@ -78721,9 +78558,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: - default: &530 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -78758,7 +78595,7 @@ paths: type: User site_admin: false '404': *26 - '302': *528 + '302': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78774,9 +78611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#update-a-release-asset parameters: + - *310 - *311 - - *312 - - *529 + - *528 requestBody: required: false content: @@ -78804,9 +78641,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: - default: *530 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78822,9 +78659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#delete-a-release-asset parameters: + - *310 - *311 - - *312 - - *529 + - *528 responses: '204': description: Response @@ -78848,8 +78685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -78934,16 +78771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-the-latest-release parameters: + - *310 - *311 - - *312 responses: '200': description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78960,8 +78797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-a-release-by-tag-name parameters: + - *310 - *311 - - *312 - name: tag description: tag parameter in: path @@ -78974,9 +78811,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 '404': *26 x-github: githubCloudOnly: false @@ -78998,9 +78835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#get-a-release parameters: + - *310 - *311 - - *312 - - &532 + - &531 name: release_id description: The unique identifier of the release. in: path @@ -79014,9 +78851,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.16/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 '401': description: Unauthorized x-github: @@ -79034,9 +78871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#update-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 requestBody: required: false content: @@ -79093,9 +78930,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *525 examples: - default: *531 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79111,9 +78948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/releases#delete-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 responses: '204': description: Response @@ -79133,9 +78970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/releases/assets#list-release-assets parameters: + - *310 - *311 - - *312 - - *532 + - *531 - *4 - *5 responses: @@ -79145,7 +78982,7 @@ paths: application/json: schema: type: array - items: *527 + items: *526 examples: default: value: @@ -79227,9 +79064,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: + - *310 - *311 - - *312 - - *532 + - *531 - name: name in: query required: true @@ -79255,7 +79092,7 @@ paths: description: Response for successful upload content: application/json: - schema: *527 + schema: *526 examples: response-for-successful-upload: value: @@ -79310,9 +79147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -79336,9 +79173,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 '404': *26 @@ -79359,9 +79196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *310 - *311 - - *312 - - *532 + - *531 requestBody: required: true content: @@ -79391,16 +79228,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '201': description: Reaction created content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 '422': *35 x-github: githubCloudOnly: false @@ -79422,10 +79259,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-a-release-reaction parameters: + - *310 - *311 - - *312 - - *532 - - *303 + - *531 + - *302 responses: '204': description: Response @@ -79445,8 +79282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-cache-replication-status parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -79521,9 +79358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rules#get-rules-for-a-branch parameters: + - *310 - *311 - - *312 - - *369 + - *368 - *4 - *5 responses: @@ -79539,8 +79376,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *533 - - &535 + - *532 + - &534 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79560,53 +79397,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: + - *533 - *534 + - allOf: - *535 + - *534 - allOf: - *536 - - *535 + - *534 - allOf: - *537 - - *535 + - *534 - allOf: - *538 - - *535 + - *534 - allOf: - *539 - - *535 + - *534 - allOf: - *540 - - *535 + - *534 - allOf: - *541 - - *535 + - *534 - allOf: - *542 - - *535 + - *534 - allOf: - *543 - - *535 + - *534 - allOf: - *544 - - *535 + - *534 - allOf: - *545 - - *535 + - *534 - allOf: - *546 - - *535 + - *534 - allOf: - *547 - - *535 + - *534 - allOf: - *548 - - *535 + - *534 - allOf: - *549 - - *535 - - allOf: - - *550 - - *535 + - *534 examples: default: value: @@ -79645,8 +79482,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - *4 - *5 - name: includes_parents @@ -79657,7 +79494,7 @@ paths: schema: type: boolean default: true - - *551 + - *550 responses: '200': description: Response @@ -79665,7 +79502,7 @@ paths: application/json: schema: type: array - items: *277 + items: *276 examples: default: value: @@ -79712,8 +79549,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 requestBody: description: Request body required: true @@ -79733,16 +79570,16 @@ paths: - tag - push default: branch - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *271 + items: *273 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *276 + items: *275 required: - name - enforcement @@ -79773,9 +79610,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: &561 + default: &560 value: id: 42 name: super cool ruleset @@ -79822,12 +79659,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *310 - *311 - - *312 + - *551 - *552 - *553 - *554 - - *555 - *4 - *5 responses: @@ -79835,9 +79672,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *555 examples: - default: *557 + default: *556 '404': *26 '500': *248 x-github: @@ -79858,17 +79695,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *310 - *311 - - *312 - - *558 + - *557 responses: '200': description: Response content: application/json: - schema: *559 + schema: *558 examples: - default: *560 + default: *559 '404': *26 '500': *248 x-github: @@ -79896,8 +79733,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79917,9 +79754,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *561 + default: *560 '404': *26 '500': *248 put: @@ -79937,8 +79774,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79963,16 +79800,16 @@ paths: - branch - tag - push - enforcement: *273 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *274 - conditions: *271 + items: *273 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *276 + items: *275 examples: default: value: @@ -80000,9 +79837,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *276 examples: - default: *561 + default: *560 '404': *26 '500': *248 delete: @@ -80020,8 +79857,8 @@ paths: category: repos subcategory: rules parameters: + - *310 - *311 - - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80049,20 +79886,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *310 - *311 - - *312 + - *278 - *279 - *280 - *281 - - *282 - *9 - *5 - *4 + - *561 - *562 - - *563 + - *282 - *283 - *284 - - *285 responses: '200': description: Response @@ -80070,7 +79907,7 @@ paths: application/json: schema: type: array - items: &566 + items: &565 type: object properties: number: *112 @@ -80089,8 +79926,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *564 - resolution: *565 + state: *563 + resolution: *564 resolved_at: type: string format: date-time @@ -80315,15 +80152,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 responses: '200': description: Response content: application/json: - schema: *566 + schema: *565 examples: default: value: @@ -80364,9 +80201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 requestBody: required: true content: @@ -80374,8 +80211,8 @@ paths: schema: type: object properties: - state: *564 - resolution: *565 + state: *563 + resolution: *564 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -80393,7 +80230,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *565 examples: default: value: @@ -80461,9 +80298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *310 - *311 - - *312 - - *398 + - *397 - *5 - *4 responses: @@ -80474,7 +80311,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &701 + items: &700 type: object properties: type: @@ -80833,8 +80670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -80842,14 +80679,14 @@ paths: schema: type: object properties: - reason: &568 + reason: &567 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *567 + placeholder_id: *566 required: - reason - placeholder_id @@ -80866,7 +80703,7 @@ paths: schema: type: object properties: - reason: *568 + reason: *567 expire_at: type: string format: date-time @@ -80909,8 +80746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *310 - *311 - - *312 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -80925,7 +80762,7 @@ paths: properties: incremental_scans: type: array - items: &569 + items: &568 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80951,15 +80788,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *569 + items: *568 backfill_scans: type: array - items: *569 + items: *568 custom_pattern_backfill_scans: type: array items: allOf: - - *569 + - *568 - type: object properties: pattern_name: @@ -81029,8 +80866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-stargazers parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81126,8 +80963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81136,7 +80973,7 @@ paths: application/json: schema: type: array - items: &570 + items: &569 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81167,8 +81004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81241,8 +81078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81338,8 +81175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *310 - *311 - - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -81493,8 +81330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *310 - *311 - - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -81504,7 +81341,7 @@ paths: application/json: schema: type: array - items: *570 + items: *569 examples: default: value: @@ -81537,8 +81374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/commits/statuses#create-a-commit-status parameters: + - *310 - *311 - - *312 - name: sha in: path required: true @@ -81592,7 +81429,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *570 examples: default: value: @@ -81646,8 +81483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#list-watchers parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81679,14 +81516,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#get-a-repository-subscription parameters: + - *310 - *311 - - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &572 + schema: &571 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81754,8 +81591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#set-a-repository-subscription parameters: + - *310 - *311 - - *312 requestBody: required: false content: @@ -81781,7 +81618,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *571 examples: default: value: @@ -81808,8 +81645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/watching#delete-a-repository-subscription parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -81829,8 +81666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-tags parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -81909,8 +81746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *310 - *311 - - *312 responses: '200': description: Response @@ -81918,7 +81755,7 @@ paths: application/json: schema: type: array - items: &573 + items: &572 title: Tag protection description: Tag protection type: object @@ -81970,8 +81807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -81994,7 +81831,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *572 examples: default: value: @@ -82025,8 +81862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *310 - *311 - - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82063,8 +81900,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *310 - *311 - - *312 - name: ref in: path required: true @@ -82100,8 +81937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#list-repository-teams parameters: + - *310 - *311 - - *312 - *4 - *5 responses: @@ -82111,9 +81948,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - default: *289 + default: *288 headers: Link: *6 '404': *26 @@ -82133,8 +81970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-all-repository-topics parameters: + - *310 - *311 - - *312 - *5 - *4 responses: @@ -82142,7 +81979,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &573 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82154,7 +81991,7 @@ paths: required: - names examples: - default: &575 + default: &574 value: names: - octocat @@ -82177,8 +82014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#replace-all-repository-topics parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -82209,9 +82046,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *573 examples: - default: *575 + default: *574 '404': *26 '422': *27 x-github: @@ -82234,8 +82071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#transfer-a-repository parameters: + - *310 - *311 - - *312 requestBody: required: true content: @@ -82509,8 +82346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *310 - *311 - - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82533,8 +82370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#enable-vulnerability-alerts parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -82556,8 +82393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/repos/repos#disable-vulnerability-alerts parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -82583,8 +82420,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *310 - *311 - - *312 - name: ref in: path required: true @@ -82676,9 +82513,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82852,7 +82689,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &583 + - &582 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -82861,7 +82698,7 @@ paths: schema: type: string example: members - - &588 + - &587 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -82872,7 +82709,7 @@ paths: default: 1 format: int32 example: 1 - - &589 + - &588 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -82914,7 +82751,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &577 + items: &576 allOf: - type: object required: @@ -82989,7 +82826,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &590 + meta: &589 type: object description: The metadata associated with the creation/updates to the user. @@ -83049,31 +82886,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &578 + '400': &577 description: Bad request content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 - '401': &579 + schema: *575 + '401': &578 description: Authorization failure - '403': &580 + '403': &579 description: Permission denied - '429': &581 + '429': &580 description: Too many requests content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 - '500': &582 + schema: *575 + '500': &581 description: Internal server error content: application/json: - schema: *576 + schema: *575 application/scim+json: - schema: *576 + schema: *575 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83100,7 +82937,7 @@ paths: required: true content: application/json: - schema: &586 + schema: &585 type: object required: - schemas @@ -83156,9 +82993,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *577 + schema: *576 examples: - group: &584 + group: &583 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -83177,13 +83014,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *578 - '401': *579 - '403': *580 - '409': &587 + '400': *577 + '401': *578 + '403': *579 + '409': &586 description: Duplicate record detected - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83204,7 +83041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &585 + - &584 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -83212,22 +83049,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *583 + - *582 - *65 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *577 + schema: *576 examples: - default: *584 - '400': *578 - '401': *579 - '403': *580 + default: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83249,13 +83086,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *585 + - *584 - *65 requestBody: required: true content: application/json: - schema: *586 + schema: *585 examples: group: summary: Group @@ -83281,17 +83118,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *577 + schema: *576 examples: - group: *584 - groupWithMembers: *584 - '400': *578 - '401': *579 - '403': *580 + group: *583 + groupWithMembers: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83315,13 +83152,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *585 + - *584 - *65 requestBody: required: true content: application/json: - schema: &597 + schema: &596 type: object required: - Operations @@ -83381,17 +83218,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *577 + schema: *576 examples: - updateGroup: *584 - addMembers: *584 - '400': *578 - '401': *579 - '403': *580 + updateGroup: *583 + addMembers: *583 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83411,17 +83248,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *585 + - *584 - *65 responses: '204': description: Group was deleted, no content - '400': *578 - '401': *579 - '403': *580 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83458,8 +83295,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' + - *587 - *588 - - *589 - *65 responses: '200': @@ -83492,7 +83329,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &592 + items: &591 allOf: - type: object required: @@ -83571,7 +83408,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &591 + roles: &590 type: array description: The roles assigned to the user. items: @@ -83627,7 +83464,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *590 + meta: *589 startIndex: type: integer description: A starting index for the returned page @@ -83664,11 +83501,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *578 - '401': *579 - '403': *580 - '429': *581 - '500': *582 + '400': *577 + '401': *578 + '403': *579 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83697,7 +83534,7 @@ paths: required: true content: application/json: - schema: &595 + schema: &594 type: object required: - schemas @@ -83779,9 +83616,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *591 + roles: *590 examples: - user: &596 + user: &595 summary: User value: schemas: @@ -83828,9 +83665,9 @@ paths: description: User has been created content: application/scim+json: - schema: *592 + schema: *591 examples: - user: &593 + user: &592 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -83856,13 +83693,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *593 - '400': *578 - '401': *579 - '403': *580 - '409': *587 - '429': *581 - '500': *582 + enterpriseOwner: *592 + '400': *577 + '401': *578 + '403': *579 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83883,7 +83720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &594 + - &593 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -83896,15 +83733,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *592 + schema: *591 examples: - default: *593 - '400': *578 - '401': *579 - '403': *580 + default: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83929,30 +83766,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *594 + - *593 - *65 requestBody: required: true content: application/json: - schema: *595 + schema: *594 examples: - user: *596 + user: *595 responses: '200': description: User was updated content: application/scim+json: - schema: *592 + schema: *591 examples: - user: *593 - '400': *578 - '401': *579 - '403': *580 + user: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83990,13 +83827,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *594 + - *593 - *65 requestBody: required: true content: application/json: - schema: *597 + schema: *596 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -84036,18 +83873,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *592 - examples: - userMultiValuedProperties: *593 - userSingleValuedProperties: *593 - disableUser: *593 - '400': *578 - '401': *579 - '403': *580 + schema: *591 + examples: + userMultiValuedProperties: *592 + userSingleValuedProperties: *592 + disableUser: *592 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '409': *587 - '429': *581 - '500': *582 + '409': *586 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84067,17 +83904,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *594 + - *593 - *65 responses: '204': description: User was deleted, no content - '400': *578 - '401': *579 - '403': *580 + '400': *577 + '401': *578 + '403': *579 '404': *26 - '429': *581 - '500': *582 + '429': *580 + '500': *581 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84204,7 +84041,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &598 + text_matches: &597 title: Search Result Text Matches type: array items: @@ -84367,7 +84204,7 @@ paths: enum: - author-date - committer-date - - &599 + - &598 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -84438,7 +84275,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true comment_count: type: integer @@ -84458,7 +84295,7 @@ paths: url: type: string format: uri - verification: *458 + verification: *457 required: - author - committer @@ -84477,7 +84314,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *367 + properties: *366 nullable: true parents: type: array @@ -84495,7 +84332,7 @@ paths: type: number node_id: type: string - text_matches: *598 + text_matches: *597 required: - sha - node_id @@ -84688,7 +84525,7 @@ paths: - interactions - created - updated - - *599 + - *598 - *4 - *5 - name: advanced_search @@ -84815,8 +84652,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *415 - required: *416 + properties: *414 + required: *415 nullable: true comments: type: integer @@ -84830,7 +84667,7 @@ paths: type: string format: date-time nullable: true - text_matches: *598 + text_matches: *597 pull_request: type: object properties: @@ -84874,7 +84711,7 @@ paths: timeline_url: type: string format: uri - type: *600 + type: *599 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -85055,7 +84892,7 @@ paths: enum: - created - updated - - *599 + - *598 - *4 - *5 responses: @@ -85099,7 +84936,7 @@ paths: nullable: true score: type: number - text_matches: *598 + text_matches: *597 required: - id - node_id @@ -85185,7 +85022,7 @@ paths: - forks - help-wanted-issues - updated - - *599 + - *598 - *4 - *5 responses: @@ -85424,7 +85261,7 @@ paths: - admin - pull - push - text_matches: *598 + text_matches: *597 temp_clone_token: type: string allow_merge_commit: @@ -85725,7 +85562,7 @@ paths: type: string format: uri nullable: true - text_matches: *598 + text_matches: *597 related: type: array nullable: true @@ -85918,7 +85755,7 @@ paths: - followers - repositories - joined - - *599 + - *598 - *4 - *5 responses: @@ -86022,7 +85859,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *598 + text_matches: *597 blog: type: string nullable: true @@ -86107,9 +85944,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 x-github: githubCloudOnly: false @@ -86199,16 +86036,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '201': description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 '404': *26 '422': *35 '403': *43 @@ -86278,9 +86115,9 @@ paths: application/json: schema: type: array - items: *294 + items: *293 examples: - default: *601 + default: *600 headers: Link: *6 x-github: @@ -86343,9 +86180,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: triggersNotification: true githubCloudOnly: false @@ -86373,15 +86210,15 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *296 + - *295 responses: '200': description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *295 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86407,7 +86244,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *296 + - *295 requestBody: required: false content: @@ -86430,9 +86267,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *293 examples: - default: *602 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86458,7 +86295,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *296 + - *295 responses: '204': description: Response @@ -86488,7 +86325,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *296 + - *295 - *9 - *4 - *5 @@ -86499,9 +86336,9 @@ paths: application/json: schema: type: array - items: *297 + items: *296 examples: - default: *603 + default: *602 headers: Link: *6 x-github: @@ -86531,7 +86368,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *296 + - *295 requestBody: required: true content: @@ -86553,9 +86390,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -86583,16 +86420,16 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 responses: '200': description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *298 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86618,8 +86455,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -86641,9 +86478,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *296 examples: - default: *604 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86669,8 +86506,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 responses: '204': description: Response @@ -86700,8 +86537,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -86727,9 +86564,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -86759,8 +86596,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *296 - - *299 + - *295 + - *298 requestBody: required: true content: @@ -86792,9 +86629,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86821,7 +86658,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *296 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -86847,9 +86684,9 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: - default: *302 + default: *301 headers: Link: *6 x-github: @@ -86879,7 +86716,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *296 + - *295 requestBody: required: true content: @@ -86911,9 +86748,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87109,9 +86946,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-user-is-a-team-maintainer: *605 + response-if-user-is-a-team-maintainer: *604 '404': *26 x-github: githubCloudOnly: false @@ -87170,9 +87007,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *606 + response-if-users-membership-with-team-is-now-pending: *605 '403': description: Forbidden if team synchronization is set up '422': @@ -87245,9 +87082,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *607 + default: *606 headers: Link: *6 '404': *26 @@ -87274,15 +87111,15 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *7 - - *310 + - *309 responses: '200': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *608 + default: *607 '404': description: Not Found if project is not managed by this team x-github: @@ -87307,7 +87144,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *7 - - *310 + - *309 requestBody: required: false content: @@ -87375,7 +87212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *7 - - *310 + - *309 responses: '204': description: Response @@ -87445,14 +87282,14 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 + - *310 - *311 - - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *609 + schema: *608 examples: alternative-response-with-extra-repository-information: value: @@ -87604,8 +87441,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 + - *310 - *311 - - *312 requestBody: required: false content: @@ -87656,8 +87493,8 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 + - *310 - *311 - - *312 responses: '204': description: Response @@ -87692,9 +87529,9 @@ paths: application/json: schema: type: array - items: *313 + items: *312 examples: - response-if-child-teams-exist: *610 + response-if-child-teams-exist: *609 headers: Link: *6 '404': *26 @@ -87727,7 +87564,7 @@ paths: application/json: schema: oneOf: - - &612 + - &611 title: Private User description: Private User type: object @@ -87930,7 +87767,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *611 + - *610 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88081,7 +87918,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *611 examples: default: value: @@ -88159,7 +87996,7 @@ paths: type: array items: *242 examples: - default: &622 + default: &621 value: - id: 197 name: hello_docker @@ -88246,7 +88083,7 @@ paths: application/json: schema: type: array - items: &613 + items: &612 title: Email description: Email type: object @@ -88271,7 +88108,7 @@ paths: - verified - visibility examples: - default: &624 + default: &623 value: - email: octocat@github.com verified: true @@ -88346,7 +88183,7 @@ paths: application/json: schema: type: array - items: *613 + items: *612 examples: default: value: @@ -88602,7 +88439,7 @@ paths: application/json: schema: type: array - items: &614 + items: &613 title: GPG Key description: A unique encryption key type: object @@ -88733,7 +88570,7 @@ paths: - subkeys - revoked examples: - default: &634 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -88818,9 +88655,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *613 examples: - default: &615 + default: &614 value: id: 3 name: Octocat's GPG Key @@ -88877,7 +88714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &616 + - &615 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -88889,9 +88726,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *613 examples: - default: *615 + default: *614 '404': *26 '304': *42 '403': *43 @@ -88914,7 +88751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *616 + - *615 responses: '204': description: Response @@ -89105,7 +88942,7 @@ paths: type: array items: *84 examples: - default: *617 + default: *616 headers: Link: *6 '404': *26 @@ -89281,7 +89118,7 @@ paths: application/json: schema: type: array - items: &618 + items: &617 title: Key description: Key type: object @@ -89378,9 +89215,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *617 examples: - default: &619 + default: &618 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89413,15 +89250,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *492 + - *491 responses: '200': description: Response content: application/json: - schema: *618 + schema: *617 examples: - default: *619 + default: *618 '404': *26 '304': *42 '403': *43 @@ -89444,7 +89281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *492 + - *491 responses: '204': description: Response @@ -90264,7 +90101,7 @@ paths: type: array items: *70 examples: - default: *620 + default: *619 headers: Link: *6 '304': *42 @@ -90306,7 +90143,7 @@ paths: - docker - nuget - container - - *621 + - *620 - *5 - *4 responses: @@ -90318,8 +90155,8 @@ paths: type: array items: *242 examples: - default: *622 - '400': *623 + default: *621 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90348,7 +90185,7 @@ paths: application/json: schema: *242 examples: - default: &635 + default: &634 value: id: 40201 name: octo-name @@ -90729,7 +90566,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *260 examples: default: value: @@ -90801,9 +90638,9 @@ paths: application/json: schema: type: array - items: *613 + items: *612 examples: - default: *624 + default: *623 headers: Link: *6 '304': *42 @@ -90916,7 +90753,7 @@ paths: type: array items: *84 examples: - default: &631 + default: &630 summary: Default response value: - id: 1296269 @@ -91220,9 +91057,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *324 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91260,9 +91097,9 @@ paths: application/json: schema: type: array - items: *465 + items: *464 examples: - default: *625 + default: *624 headers: Link: *6 '304': *42 @@ -91285,7 +91122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *466 + - *465 responses: '204': description: Response @@ -91308,7 +91145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *466 + - *465 responses: '204': description: Response @@ -91341,7 +91178,7 @@ paths: application/json: schema: type: array - items: &626 + items: &625 title: Social account description: Social media account type: object @@ -91356,7 +91193,7 @@ paths: - provider - url examples: - default: &627 + default: &626 value: - provider: twitter url: https://twitter.com/github @@ -91418,9 +91255,9 @@ paths: application/json: schema: type: array - items: *626 + items: *625 examples: - default: *627 + default: *626 '422': *35 '304': *42 '404': *26 @@ -91507,7 +91344,7 @@ paths: application/json: schema: type: array - items: &628 + items: &627 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -91527,7 +91364,7 @@ paths: - title - created_at examples: - default: &636 + default: &635 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91593,9 +91430,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *627 examples: - default: &629 + default: &628 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91626,7 +91463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &630 + - &629 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -91638,9 +91475,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *627 examples: - default: *629 + default: *628 '404': *26 '304': *42 '403': *43 @@ -91663,7 +91500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *630 + - *629 responses: '204': description: Response @@ -91692,7 +91529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &637 + - &636 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -91717,11 +91554,11 @@ paths: type: array items: *84 examples: - default-response: *631 + default-response: *630 application/vnd.github.v3.star+json: schema: type: array - items: &638 + items: &637 title: Starred Repository description: Starred Repository type: object @@ -91877,8 +91714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response if this repository is starred by you @@ -91906,8 +91743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -91931,8 +91768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *310 - *311 - - *312 responses: '204': description: Response @@ -92004,7 +91841,7 @@ paths: application/json: schema: type: array - items: *292 + items: *291 examples: default: value: @@ -92091,10 +91928,10 @@ paths: application/json: schema: oneOf: - - *612 - *611 + - *610 examples: - default-response: &632 + default-response: &631 summary: Default response value: login: octocat @@ -92129,7 +91966,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &633 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -92241,11 +92078,11 @@ paths: application/json: schema: oneOf: - - *612 - *611 + - *610 examples: - default-response: *632 - response-with-git-hub-plan-information: *633 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *26 x-github: githubCloudOnly: false @@ -92276,7 +92113,7 @@ paths: type: array items: *242 examples: - default: *622 + default: *621 '403': *43 '401': *41 x-github: @@ -92680,9 +92517,9 @@ paths: application/json: schema: type: array - items: *614 + items: *613 examples: - default: *634 + default: *633 headers: Link: *6 x-github: @@ -92786,7 +92623,7 @@ paths: application/json: schema: *39 examples: - default: *464 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92864,7 +92701,7 @@ paths: type: array items: *70 examples: - default: *620 + default: *619 headers: Link: *6 x-github: @@ -92903,7 +92740,7 @@ paths: - docker - nuget - container - - *621 + - *620 - *8 - *5 - *4 @@ -92916,10 +92753,10 @@ paths: type: array items: *242 examples: - default: *622 + default: *621 '403': *43 '401': *41 - '400': *623 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92949,7 +92786,7 @@ paths: application/json: schema: *242 examples: - default: *635 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93235,7 +93072,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -93588,9 +93425,9 @@ paths: application/json: schema: type: array - items: *626 + items: *625 examples: - default: *627 + default: *626 headers: Link: *6 x-github: @@ -93620,9 +93457,9 @@ paths: application/json: schema: type: array - items: *628 + items: *627 examples: - default: *636 + default: *635 headers: Link: *6 x-github: @@ -93647,7 +93484,7 @@ paths: url: https://docs.github.com/enterprise-server@3.16/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *637 + - *636 - *9 - *4 - *5 @@ -93659,11 +93496,11 @@ paths: schema: anyOf: - type: array - items: *638 + items: *637 - type: array items: *84 examples: - default-response: *631 + default-response: *630 headers: Link: *6 x-github: @@ -93873,7 +93710,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &639 + enterprise: &638 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -93931,7 +93768,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &640 + installation: &639 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -93950,7 +93787,7 @@ x-webhooks: required: - id - node_id - organization: &641 + organization: &640 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -94010,13 +93847,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &642 + repository: &641 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &675 + properties: &674 id: description: Unique identifier of the repository example: 42 @@ -94699,7 +94536,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &676 + required: &675 - archive_url - assignees_url - blobs_url @@ -94850,10 +94687,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -94939,11 +94776,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: &643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: &642 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.16/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -95176,11 +95013,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *19 required: - action @@ -95373,11 +95210,11 @@ x-webhooks: - everyone required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - rule: *643 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *19 required: - action @@ -95448,7 +95285,7 @@ x-webhooks: required: true content: application/json: - schema: &646 + schema: &645 title: Exemption request cancellation event type: object properties: @@ -95456,11 +95293,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: &644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: &643 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -95693,7 +95530,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &645 + items: &644 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -95801,7 +95638,7 @@ x-webhooks: required: true content: application/json: - schema: &647 + schema: &646 title: Exemption request completed event type: object properties: @@ -95809,11 +95646,11 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 sender: *19 required: - action @@ -95883,7 +95720,7 @@ x-webhooks: required: true content: application/json: - schema: &648 + schema: &647 title: Exemption request created event type: object properties: @@ -95891,11 +95728,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 sender: *19 required: - action @@ -95965,7 +95802,7 @@ x-webhooks: required: true content: application/json: - schema: &649 + schema: &648 title: Exemption response dismissed event type: object properties: @@ -95973,12 +95810,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 - exemption_response: *645 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 + exemption_response: *644 sender: *19 required: - action @@ -96050,7 +95887,7 @@ x-webhooks: required: true content: application/json: - schema: &650 + schema: &649 title: Exemption response submitted event type: object properties: @@ -96058,12 +95895,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - exemption_request: *644 - exemption_response: *645 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + exemption_request: *643 + exemption_response: *644 sender: *19 required: - action @@ -96136,7 +95973,7 @@ x-webhooks: required: true content: application/json: - schema: *646 + schema: *645 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96203,7 +96040,7 @@ x-webhooks: required: true content: application/json: - schema: *647 + schema: *646 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96270,7 +96107,7 @@ x-webhooks: required: true content: application/json: - schema: *648 + schema: *647 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96337,7 +96174,7 @@ x-webhooks: required: true content: application/json: - schema: *649 + schema: *648 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96405,7 +96242,7 @@ x-webhooks: required: true content: application/json: - schema: *650 + schema: *649 responses: '200': description: Return a 200 status to indicate that the data was received @@ -96484,12 +96321,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 ref: type: string - repository: *642 + repository: *641 sender: *19 required: - cache_location @@ -96583,7 +96420,7 @@ x-webhooks: type: string enum: - completed - check_run: &652 + check_run: &651 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96636,7 +96473,7 @@ x-webhooks: type: string pull_requests: type: array - items: *380 + items: *379 repository: *170 status: example: completed @@ -96674,7 +96511,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *651 + deployment: *650 details_url: example: https://example.com type: string @@ -96724,7 +96561,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *380 + items: *379 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96759,9 +96596,9 @@ x-webhooks: - output - app - pull_requests - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -97164,10 +97001,10 @@ x-webhooks: type: string enum: - created - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -97573,10 +97410,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 requested_action: description: The action requested by the user. type: object @@ -97991,10 +97828,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *652 - installation: *640 - organization: *641 - repository: *642 + check_run: *651 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - check_run @@ -98981,10 +98818,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -99664,10 +99501,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -100341,10 +100178,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -100517,7 +100354,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -100662,20 +100499,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &653 + commit_oid: &652 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *639 - installation: *640 - organization: *641 - ref: &654 + enterprise: *638 + installation: *639 + organization: *640 + ref: &653 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -100847,7 +100684,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -101077,12 +100914,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101187,7 +101024,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101355,12 +101192,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101533,7 +101370,7 @@ x-webhooks: required: - login - id - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -101699,12 +101536,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -101811,7 +101648,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101979,16 +101816,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *642 + repository: *641 sender: *19 required: - action @@ -102092,7 +101929,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *393 + dismissed_comment: *392 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -102232,12 +102069,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *653 - enterprise: *639 - installation: *640 - organization: *641 - ref: *654 - repository: *642 + commit_oid: *652 + enterprise: *638 + installation: *639 + organization: *640 + ref: *653 + repository: *641 sender: *19 required: - action @@ -102504,10 +102341,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -102597,18 +102434,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *641 - pusher_type: &655 + organization: *640 + pusher_type: &654 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &656 + ref: &655 description: The [`git ref`](https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference) resource. type: string @@ -102618,7 +102455,7 @@ x-webhooks: enum: - tag - branch - repository: *642 + repository: *641 sender: *19 required: - ref @@ -102707,18 +102544,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - pusher_type: *655 - ref: *656 + enterprise: *638 + installation: *639 + organization: *640 + pusher_type: *654 + ref: *655 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *642 + repository: *641 sender: *19 required: - ref @@ -102812,11 +102649,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -102910,11 +102747,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103008,11 +102845,11 @@ x-webhooks: type: string enum: - created - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103104,11 +102941,11 @@ x-webhooks: type: string enum: - dismissed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103200,11 +103037,11 @@ x-webhooks: type: string enum: - fixed - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103297,11 +103134,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103393,11 +103230,11 @@ x-webhooks: type: string enum: - reopened - alert: *427 - installation: *640 - organization: *641 - enterprise: *639 - repository: *642 + alert: *426 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *19 required: - action @@ -103484,9 +103321,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - key: &657 + enterprise: *638 + installation: *639 + key: &656 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103522,8 +103359,8 @@ x-webhooks: - verified - created_at - read_only - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -103610,11 +103447,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - key: *657 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + key: *656 + organization: *640 + repository: *641 sender: *19 required: - action @@ -104185,12 +104022,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: &661 + workflow: &660 title: Workflow type: object nullable: true @@ -104926,13 +104763,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *433 + deployment: *432 pull_requests: type: array - items: *514 - repository: *642 - organization: *641 - installation: *640 + items: *513 + repository: *641 + organization: *640 + installation: *639 sender: *19 responses: '200': @@ -105013,7 +104850,7 @@ x-webhooks: type: string enum: - approved - approver: &658 + approver: &657 type: object properties: avatar_url: @@ -105056,11 +104893,11 @@ x-webhooks: type: string comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: &659 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: &658 type: array items: type: object @@ -105139,7 +104976,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &660 + workflow_job_run: &659 type: object properties: conclusion: @@ -105880,18 +105717,18 @@ x-webhooks: type: string enum: - rejected - approver: *658 + approver: *657 comment: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - reviewers: *659 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: *658 sender: *19 since: type: string - workflow_job_run: *660 + workflow_job_run: *659 workflow_job_runs: type: array items: @@ -106605,13 +106442,13 @@ x-webhooks: type: string enum: - requested - enterprise: *639 + enterprise: *638 environment: type: string - installation: *640 - organization: *641 - repository: *642 - requestor: &666 + installation: *639 + organization: *640 + repository: *641 + requestor: &665 title: User type: object nullable: true @@ -108520,12 +108357,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Deployment Workflow Run type: object @@ -109215,7 +109052,7 @@ x-webhooks: type: string enum: - answered - answer: &664 + answer: &663 type: object properties: author_association: @@ -109372,7 +109209,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &662 + discussion: &661 title: Discussion description: A Discussion in a repository. type: object @@ -109658,7 +109495,7 @@ x-webhooks: - id labels: type: array - items: *475 + items: *474 required: - repository_url - category @@ -109680,10 +109517,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -109820,11 +109657,11 @@ x-webhooks: - from required: - category - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -109917,11 +109754,11 @@ x-webhooks: type: string enum: - closed - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110013,7 +109850,7 @@ x-webhooks: type: string enum: - created - comment: &663 + comment: &662 type: object properties: author_association: @@ -110170,11 +110007,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110267,12 +110104,12 @@ x-webhooks: type: string enum: - deleted - comment: *663 - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *662 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110377,12 +110214,12 @@ x-webhooks: - from required: - body - comment: *663 - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + comment: *662 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110476,11 +110313,11 @@ x-webhooks: type: string enum: - created - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110572,11 +110409,11 @@ x-webhooks: type: string enum: - deleted - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110686,11 +110523,11 @@ x-webhooks: type: string required: - from - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110782,10 +110619,10 @@ x-webhooks: type: string enum: - labeled - discussion: *662 - enterprise: *639 - installation: *640 - label: &665 + discussion: *661 + enterprise: *638 + installation: *639 + label: &664 title: Label type: object properties: @@ -110817,8 +110654,8 @@ x-webhooks: - color - default - description - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -110911,11 +110748,11 @@ x-webhooks: type: string enum: - locked - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111007,11 +110844,11 @@ x-webhooks: type: string enum: - pinned - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111103,11 +110940,11 @@ x-webhooks: type: string enum: - reopened - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111202,16 +111039,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *662 - new_repository: *642 + new_discussion: *661 + new_repository: *641 required: - new_discussion - new_repository - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111304,10 +111141,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *662 - old_answer: *664 - organization: *641 - repository: *642 + discussion: *661 + old_answer: *663 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111399,12 +111236,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *662 - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111497,11 +111334,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111593,11 +111430,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *662 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + discussion: *661 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -111838,7 +111675,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *639 + enterprise: *638 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.16/rest/repos/repos#get-a-repository) resource. @@ -112498,9 +112335,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - forkee @@ -112666,9 +112503,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pages: description: The pages that were updated. type: array @@ -112705,7 +112542,7 @@ x-webhooks: - action - sha - html_url - repository: *642 + repository: *641 sender: *19 required: - pages @@ -112791,10 +112628,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: &667 + organization: *640 + repositories: &666 description: An array of repository objects that the installation can access. type: array @@ -112820,8 +112657,8 @@ x-webhooks: - name - full_name - private - repository: *642 - requester: *666 + repository: *641 + requester: *665 sender: *19 required: - action @@ -112906,11 +112743,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -112996,11 +112833,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113086,10 +112923,10 @@ x-webhooks: type: string enum: - added - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories_added: &668 + organization: *640 + repositories_added: &667 description: An array of repository objects, which were added to the installation. type: array @@ -113135,15 +112972,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *642 - repository_selection: &669 + repository: *641 + repository_selection: &668 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *666 + requester: *665 sender: *19 required: - action @@ -113232,10 +113069,10 @@ x-webhooks: type: string enum: - removed - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories_added: *668 + organization: *640 + repositories_added: *667 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113262,9 +113099,9 @@ x-webhooks: - name - full_name - private - repository: *642 - repository_selection: *669 - requester: *666 + repository: *641 + repository_selection: *668 + requester: *665 sender: *19 required: - action @@ -113353,11 +113190,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113546,10 +113383,10 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 target_type: type: string @@ -113638,11 +113475,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *639 + enterprise: *638 installation: *39 - organization: *641 - repositories: *667 - repository: *642 + organization: *640 + repositories: *666 + repository: *641 requester: nullable: true sender: *19 @@ -113904,8 +113741,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114728,7 +114565,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -115061,8 +114898,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -115152,7 +114989,7 @@ x-webhooks: type: string enum: - deleted - comment: &670 + comment: &669 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.16/rest/issues/comments#get-an-issue-comment) itself. @@ -115317,8 +115154,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116137,7 +115974,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -116472,8 +116309,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -116563,7 +116400,7 @@ x-webhooks: type: string enum: - edited - changes: &693 + changes: &692 description: The changes to the comment. type: object properties: @@ -116575,9 +116412,9 @@ x-webhooks: type: string required: - from - comment: *670 - enterprise: *639 - installation: *640 + comment: *669 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117399,7 +117236,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -117732,8 +117569,8 @@ x-webhooks: - state - locked - assignee - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -117825,10 +117662,10 @@ x-webhooks: type: string enum: - assigned - assignee: *666 - enterprise: *639 - installation: *640 - issue: &673 + assignee: *665 + enterprise: *638 + installation: *639 + issue: &672 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -118646,7 +118483,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -118747,8 +118584,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -118838,8 +118675,8 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -119662,7 +119499,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -119898,8 +119735,8 @@ x-webhooks: required: - state - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -119988,8 +119825,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -120803,7 +120640,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -120903,8 +120740,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -120993,8 +120830,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -121830,7 +121667,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -121909,7 +121746,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &671 + milestone: &670 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122047,8 +121884,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -122157,8 +121994,8 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -122973,7 +122810,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -123077,9 +122914,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *665 - organization: *641 - repository: *642 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -123169,8 +123006,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -123984,7 +123821,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -124088,9 +123925,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *665 - organization: *641 - repository: *642 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -124180,8 +124017,8 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -125019,7 +124856,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *600 + type: *599 title: description: Title of the issue type: string @@ -125100,8 +124937,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -125190,8 +125027,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -126026,7 +125863,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -126104,9 +125941,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *671 - organization: *641 - repository: *642 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -127090,7 +126927,7 @@ x-webhooks: required: - login - id - type: *600 + type: *599 required: - id - number @@ -127559,8 +127396,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -128378,7 +128215,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -128478,8 +128315,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -128569,9 +128406,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *639 - installation: *640 - issue: &672 + enterprise: *638 + installation: *639 + issue: &671 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) itself. @@ -129383,7 +129220,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -129483,8 +129320,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -129573,8 +129410,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -130491,9 +130328,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *600 - organization: *641 - repository: *642 + type: *599 + organization: *640 + repository: *641 sender: *19 required: - action @@ -131398,7 +131235,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -131966,11 +131803,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *639 - installation: *640 - issue: *672 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *671 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132061,7 +131898,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &696 + assignee: &695 title: User type: object nullable: true @@ -132131,11 +131968,11 @@ x-webhooks: required: - login - id - enterprise: *639 - installation: *640 - issue: *673 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *672 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132224,12 +132061,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - issue: *673 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *672 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -132319,8 +132156,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.16/rest/issues/issues#get-an-issue) @@ -133159,7 +132996,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *600 + type: *599 updated_at: type: string format: date-time @@ -133237,8 +133074,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133328,11 +133165,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *639 - installation: *640 - issue: *672 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + issue: *671 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133421,11 +133258,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133513,11 +133350,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133637,11 +133474,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - label: *665 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + label: *664 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133755,11 +133592,11 @@ x-webhooks: type: string required: - to - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133869,11 +133706,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -133962,11 +133799,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 sender: *19 required: - action @@ -134054,11 +133891,11 @@ x-webhooks: type: string enum: - added - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134134,7 +133971,7 @@ x-webhooks: required: - login - id - team: &674 + team: &673 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134334,11 +134171,11 @@ x-webhooks: type: string enum: - removed - enterprise: *639 - installation: *640 - member: *666 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + member: *665 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134415,7 +134252,7 @@ x-webhooks: required: - login - id - team: *674 + team: *673 required: - action - scope @@ -134503,7 +134340,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 + enterprise: *638 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134612,16 +134449,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *640 - organization: *641 + installation: *639 + organization: *640 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -134712,11 +134549,11 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -134805,9 +134642,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - milestone: &677 + enterprise: *638 + installation: *639 + milestone: &676 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134944,8 +134781,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135034,11 +134871,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135158,11 +134995,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - milestone: *671 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *670 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135252,11 +135089,11 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - milestone: *677 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + milestone: *676 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135345,9 +135182,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - membership: &678 + enterprise: *638 + installation: *639 + membership: &677 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135439,8 +135276,8 @@ x-webhooks: - role - organization_url - user - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135528,11 +135365,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135621,8 +135458,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135738,10 +135575,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action - invitation @@ -135829,11 +135666,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -135930,11 +135767,11 @@ x-webhooks: properties: from: type: string - enterprise: *639 - installation: *640 - membership: *678 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + membership: *677 + organization: *640 + repository: *641 sender: *19 required: - action @@ -136020,9 +135857,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -136521,7 +136358,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &679 + items: &678 title: Ruby Gems metadata type: object properties: @@ -136616,7 +136453,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -136702,9 +136539,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -137057,7 +136894,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *679 + items: *678 source_url: type: string format: uri @@ -137127,7 +136964,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -137314,12 +137151,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *639 + enterprise: *638 id: type: integer - installation: *640 - organization: *641 - repository: *642 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - id @@ -137396,7 +137233,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &680 + personal_access_token_request: &679 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137542,10 +137379,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *639 - organization: *641 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137622,11 +137459,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *680 - enterprise: *639 - organization: *641 + personal_access_token_request: *679 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137702,11 +137539,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *680 - enterprise: *639 - organization: *641 + personal_access_token_request: *679 + enterprise: *638 + organization: *640 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137781,11 +137618,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *680 - organization: *641 - enterprise: *639 + personal_access_token_request: *679 + organization: *640 + enterprise: *638 sender: *19 - installation: *640 + installation: *639 required: - action - personal_access_token_request @@ -137900,7 +137737,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *681 + last_response: *680 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137932,8 +137769,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 zen: description: Random string of GitHub zen. @@ -138188,10 +138025,10 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: &682 + enterprise: *638 + installation: *639 + organization: *640 + project_card: &681 title: Project Card type: object properties: @@ -138310,7 +138147,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -138401,11 +138238,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_card: *682 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *681 + repository: *641 sender: *19 required: - action @@ -138495,9 +138332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 project_card: title: Project Card type: object @@ -138625,8 +138462,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -138730,11 +138567,11 @@ x-webhooks: - from required: - note - enterprise: *639 - installation: *640 - organization: *641 - project_card: *682 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *681 + repository: *641 sender: *19 required: - action @@ -138838,9 +138675,9 @@ x-webhooks: - from required: - column_id - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 project_card: allOf: - title: Project Card @@ -139030,7 +138867,7 @@ x-webhooks: type: string required: - after_id - repository: *642 + repository: *641 sender: *19 required: - action @@ -139120,10 +138957,10 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - organization: *641 - project: &684 + enterprise: *638 + installation: *639 + organization: *640 + project: &683 title: Project type: object properties: @@ -139247,7 +139084,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -139337,10 +139174,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project_column: &683 + enterprise: *638 + installation: *639 + organization: *640 + project_column: &682 title: Project Column type: object properties: @@ -139379,7 +139216,7 @@ x-webhooks: - name - created_at - updated_at - repository: *642 + repository: *641 sender: *19 required: - action @@ -139468,18 +139305,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -139579,11 +139416,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 + repository: *641 sender: *19 required: - action @@ -139673,11 +139510,11 @@ x-webhooks: type: string enum: - moved - enterprise: *639 - installation: *640 - organization: *641 - project_column: *683 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *682 + repository: *641 sender: *19 required: - action @@ -139767,11 +139604,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -139861,18 +139698,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - project: *684 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *675 - required: *676 + properties: *674 + required: *675 nullable: true sender: *19 required: @@ -139984,11 +139821,11 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -140077,11 +139914,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - organization: *641 - project: *684 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + project: *683 + repository: *641 sender: *19 required: - action @@ -140172,9 +140009,9 @@ x-webhooks: type: string enum: - closed - installation: *640 - organization: *641 - projects_v2: &685 + installation: *639 + organization: *640 + projects_v2: &684 title: Projects v2 Project description: A projects v2 project type: object @@ -140327,9 +140164,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140420,9 +140257,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140549,9 +140386,9 @@ x-webhooks: type: string to: type: string - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -140644,7 +140481,7 @@ x-webhooks: type: string enum: - archived - changes: &689 + changes: &688 type: object properties: archived_at: @@ -140658,9 +140495,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *640 - organization: *641 - projects_v2_item: &686 + installation: *639 + organization: *640 + projects_v2_item: &685 title: Projects v2 Item description: An item belonging to a project type: object @@ -140804,9 +140641,9 @@ x-webhooks: nullable: true to: type: string - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -140898,9 +140735,9 @@ x-webhooks: type: string enum: - created - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -140991,9 +140828,9 @@ x-webhooks: type: string enum: - deleted - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141109,7 +140946,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &687 + - &686 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -141127,7 +140964,7 @@ x-webhooks: required: - id - name - - &688 + - &687 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -141150,8 +140987,8 @@ x-webhooks: oneOf: - type: string - type: integer + - *686 - *687 - - *688 required: - field_value - type: object @@ -141167,9 +141004,9 @@ x-webhooks: nullable: true required: - body - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141274,9 +141111,9 @@ x-webhooks: to: type: string nullable: true - installation: *640 - organization: *641 - projects_v2_item: *686 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141369,10 +141206,10 @@ x-webhooks: type: string enum: - restored - changes: *689 - installation: *640 - organization: *641 - projects_v2_item: *686 + changes: *688 + installation: *639 + organization: *640 + projects_v2_item: *685 sender: *19 required: - action @@ -141464,9 +141301,9 @@ x-webhooks: type: string enum: - reopened - installation: *640 - organization: *641 - projects_v2: *685 + installation: *639 + organization: *640 + projects_v2: *684 sender: *19 required: - action @@ -141547,10 +141384,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - repository @@ -141637,13 +141474,13 @@ x-webhooks: type: string enum: - assigned - assignee: *666 - enterprise: *639 - installation: *640 - number: &690 + assignee: *665 + enterprise: *638 + installation: *639 + number: &689 description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -143926,7 +143763,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -144018,11 +143855,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -146300,7 +146137,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -146392,11 +146229,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -148674,7 +148511,7 @@ x-webhooks: - draft reason: type: string - repository: *642 + repository: *641 sender: *19 required: - action @@ -148766,13 +148603,13 @@ x-webhooks: type: string enum: - closed - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: &691 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: &690 allOf: - - *514 + - *513 - type: object properties: allow_auto_merge: @@ -148834,7 +148671,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *642 + repository: *641 sender: *19 required: - action @@ -148925,12 +148762,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -149020,11 +148857,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *639 - milestone: *495 - number: *690 - organization: *641 - pull_request: &692 + enterprise: *638 + milestone: *494 + number: *689 + organization: *640 + pull_request: &691 title: Pull Request type: object properties: @@ -151287,7 +151124,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -151419,12 +151256,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -151514,11 +151351,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *639 - installation: *640 - label: *665 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + label: *664 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -153800,7 +153637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -153891,10 +153728,10 @@ x-webhooks: type: string enum: - locked - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -156174,7 +156011,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -156264,12 +156101,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *639 - milestone: *495 - number: *690 - organization: *641 - pull_request: *692 - repository: *642 + enterprise: *638 + milestone: *494 + number: *689 + organization: *640 + pull_request: *691 + repository: *641 sender: *19 required: - action @@ -156358,12 +156195,12 @@ x-webhooks: type: string enum: - opened - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156454,12 +156291,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156549,12 +156386,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *639 - installation: *640 - number: *690 - organization: *641 - pull_request: *691 - repository: *642 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 + pull_request: *690 + repository: *641 sender: *19 required: - action @@ -156930,9 +156767,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -159102,7 +158939,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -159192,7 +159029,7 @@ x-webhooks: type: string enum: - deleted - comment: &694 + comment: &693 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.16/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -159477,9 +159314,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -161637,7 +161474,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -161727,11 +161564,11 @@ x-webhooks: type: string enum: - edited - changes: *693 - comment: *694 - enterprise: *639 - installation: *640 - organization: *641 + changes: *692 + comment: *693 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -163892,7 +163729,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *642 + repository: *641 sender: *19 required: - action @@ -163983,9 +163820,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -166158,7 +165995,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 review: description: The review that was affected. type: object @@ -166411,9 +166248,9 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -168467,8 +168304,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: &695 + repository: *641 + review: &694 description: The review that was affected. type: object properties: @@ -168707,12 +168544,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -170995,7 +170832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_reviewer: title: User type: object @@ -171079,12 +170916,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -173374,7 +173211,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -173576,12 +173413,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -175866,7 +175703,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_reviewer: title: User type: object @@ -175951,12 +175788,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *639 - installation: *640 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *641 + organization: *640 pull_request: title: Pull Request type: object @@ -178232,7 +178069,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178423,9 +178260,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -180600,8 +180437,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 - review: *695 + repository: *641 + review: *694 sender: *19 required: - action @@ -180691,9 +180528,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -182763,7 +182600,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 sender: *19 thread: type: object @@ -183156,9 +182993,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -185214,7 +185051,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *642 + repository: *641 sender: *19 thread: type: object @@ -185610,10 +185447,10 @@ x-webhooks: type: string before: type: string - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -187884,7 +187721,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -187976,11 +187813,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *696 - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + assignee: *695 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -190263,7 +190100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -190352,11 +190189,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *639 - installation: *640 - label: *665 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + label: *664 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -192629,7 +192466,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -192720,10 +192557,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *639 - installation: *640 - number: *690 - organization: *641 + enterprise: *638 + installation: *639 + number: *689 + organization: *640 pull_request: title: Pull Request type: object @@ -194988,7 +194825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *642 + repository: *641 sender: *19 required: - action @@ -195198,7 +195035,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *639 + enterprise: *638 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -195290,8 +195127,8 @@ x-webhooks: - url - author - committer - installation: *640 - organization: *641 + installation: *639 + organization: *640 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -195876,9 +195713,9 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -196324,7 +196161,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *679 + items: *678 summary: type: string tag_name: @@ -196378,7 +196215,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -196466,9 +196303,9 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -196776,7 +196613,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *679 + items: *678 summary: type: string tag_name: @@ -196825,7 +196662,7 @@ x-webhooks: - owner - package_version - registry - repository: *642 + repository: *641 sender: *19 required: - action @@ -196912,10 +196749,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - release: &697 + enterprise: *638 + installation: *639 + organization: *640 + release: &696 title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) object. @@ -197224,7 +197061,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *642 + repository: *641 sender: *19 required: - action @@ -197311,11 +197148,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -197442,11 +197279,11 @@ x-webhooks: type: boolean required: - to - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -197534,9 +197371,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) @@ -197849,7 +197686,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *641 sender: *19 required: - action @@ -197935,10 +197772,10 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - release: &698 + enterprise: *638 + installation: *639 + organization: *640 + release: &697 title: Release description: The [release](https://docs.github.com/enterprise-server@3.16/rest/releases/releases/#get-a-release) object. @@ -198248,7 +198085,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *642 + repository: *641 sender: *19 required: - action @@ -198334,11 +198171,11 @@ x-webhooks: type: string enum: - released - enterprise: *639 - installation: *640 - organization: *641 - release: *697 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *696 + repository: *641 sender: *19 required: - action @@ -198424,11 +198261,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *639 - installation: *640 - organization: *641 - release: *698 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + release: *697 + repository: *641 sender: *19 required: - action @@ -198514,10 +198351,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198602,10 +198439,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198690,10 +198527,10 @@ x-webhooks: type: string enum: - archived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198780,10 +198617,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198871,10 +198708,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -198968,10 +198805,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199093,10 +198930,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199184,10 +199021,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199274,10 +199111,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199381,10 +199218,10 @@ x-webhooks: - name required: - repository - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -199464,11 +199301,11 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 sender: *19 required: - action @@ -199546,11 +199383,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 sender: *19 required: - action @@ -199628,11 +199465,11 @@ x-webhooks: type: string enum: - edited - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - repository_ruleset: *277 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *276 changes: type: object properties: @@ -199651,16 +199488,16 @@ x-webhooks: properties: added: type: array - items: *271 + items: *270 deleted: type: array - items: *271 + items: *270 updated: type: array items: type: object properties: - condition: *271 + condition: *270 changes: type: object properties: @@ -199693,16 +199530,16 @@ x-webhooks: properties: added: type: array - items: *276 + items: *275 deleted: type: array - items: *276 + items: *275 updated: type: array items: type: object properties: - rule: *276 + rule: *275 changes: type: object properties: @@ -199946,10 +199783,10 @@ x-webhooks: - from required: - owner - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200037,10 +199874,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200128,7 +199965,7 @@ x-webhooks: type: string enum: - create - alert: &699 + alert: &698 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -200249,10 +200086,10 @@ x-webhooks: type: string enum: - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200468,10 +200305,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200559,11 +200396,11 @@ x-webhooks: type: string enum: - reopen - alert: *699 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *698 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200772,10 +200609,10 @@ x-webhooks: enum: - fixed - open - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -200863,7 +200700,7 @@ x-webhooks: type: string enum: - created - alert: &700 + alert: &699 type: object properties: number: *112 @@ -200970,10 +200807,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201064,11 +200901,11 @@ x-webhooks: type: string enum: - created - alert: *700 - installation: *640 - location: *701 - organization: *641 - repository: *642 + alert: *699 + installation: *639 + location: *700 + organization: *640 + repository: *641 sender: *19 required: - location @@ -201312,11 +201149,11 @@ x-webhooks: type: string enum: - reopened - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201404,11 +201241,11 @@ x-webhooks: type: string enum: - resolved - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201496,11 +201333,11 @@ x-webhooks: type: string enum: - validated - alert: *700 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + alert: *699 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -201626,10 +201463,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *642 - enterprise: *639 - installation: *640 - organization: *641 + repository: *641 + enterprise: *638 + installation: *639 + organization: *640 sender: *19 required: - action @@ -201717,11 +201554,11 @@ x-webhooks: type: string enum: - published - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: &702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: &701 description: The details of the security advisory, including summary, description, and severity. type: object @@ -201914,11 +201751,11 @@ x-webhooks: type: string enum: - updated - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 - security_advisory: *702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: *701 sender: *19 required: - action @@ -202001,10 +201838,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -202198,11 +202035,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *270 - enterprise: *639 - installation: *640 - organization: *641 - repository: *322 + security_and_analysis: *269 + enterprise: *638 + installation: *639 + organization: *640 + repository: *321 sender: *19 required: - changes @@ -202290,12 +202127,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: &703 + sponsorship: &702 type: object properties: created_at: @@ -202606,12 +202443,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - sponsorship @@ -202709,12 +202546,12 @@ x-webhooks: type: string required: - from - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -202801,17 +202638,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &704 + effective_date: &703 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - sponsorship @@ -202895,7 +202732,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &705 + changes: &704 type: object properties: tier: @@ -202939,13 +202776,13 @@ x-webhooks: - from required: - tier - effective_date: *704 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + effective_date: *703 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -203032,13 +202869,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *705 - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + changes: *704 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - sponsorship: *703 + sponsorship: *702 required: - action - changes @@ -203122,10 +202959,10 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -203218,10 +203055,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -203647,15 +203484,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *639 + enterprise: *638 id: description: The unique identifier of the status. type: integer - installation: *640 + installation: *639 name: type: string - organization: *641 - repository: *642 + organization: *640 + repository: *641 sender: *19 sha: description: The Commit SHA. @@ -203767,12 +203604,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - team: &706 + team: &705 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -203972,9 +203809,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -204432,7 +204269,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -204518,9 +204355,9 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -204978,7 +204815,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -205065,9 +204902,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -205525,7 +205362,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -205679,9 +205516,9 @@ x-webhooks: - from required: - permissions - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -206139,7 +205976,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - changes @@ -206227,9 +206064,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *639 - installation: *640 - organization: *641 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -206687,7 +206524,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *706 + team: *705 required: - action - team @@ -206770,12 +206607,12 @@ x-webhooks: type: string enum: - created - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action responses: @@ -206853,12 +206690,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - user: *666 + user: *665 required: - action responses: @@ -206939,10 +206776,10 @@ x-webhooks: type: string enum: - started - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 required: - action @@ -207025,16 +206862,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *639 + enterprise: *638 inputs: type: object nullable: true additionalProperties: true - installation: *640 - organization: *641 + installation: *639 + organization: *640 ref: type: string - repository: *642 + repository: *641 sender: *19 workflow: type: string @@ -207126,10 +206963,10 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: allOf: @@ -207366,7 +207203,7 @@ x-webhooks: type: string required: - conclusion - deployment: *433 + deployment: *432 required: - action - repository @@ -207455,10 +207292,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: allOf: @@ -207718,7 +207555,7 @@ x-webhooks: required: - status - steps - deployment: *433 + deployment: *432 required: - action - repository @@ -207807,10 +207644,10 @@ x-webhooks: type: string enum: - queued - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: type: object @@ -207945,7 +207782,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *432 required: - action - repository @@ -208034,10 +207871,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 workflow_job: type: object @@ -208173,7 +208010,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *432 required: - action - repository @@ -208263,12 +208100,12 @@ x-webhooks: type: string enum: - completed - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object @@ -209277,12 +209114,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object @@ -210276,12 +210113,12 @@ x-webhooks: type: string enum: - requested - enterprise: *639 - installation: *640 - organization: *641 - repository: *642 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *19 - workflow: *661 + workflow: *660 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json index b6952ea4dd..b6a5b41f4f 100644 --- a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json +++ b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json @@ -23174,138 +23174,6 @@ "category": "private-registries", "subcategory": "organization-configurations" } - }, - "post": { - "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.16/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", - "tags": [ - "private-registries" - ], - "operationId": "private-registries/create-org-private-registry", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "registry_type": { - "description": "The registry type.", - "type": "string", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ] - }, - "username": { - "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", - "type": "string", - "nullable": true - }, - "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", - "type": "string", - "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - }, - "key_id": { - "description": "The ID of the key you used to encrypt the secret.", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "type": "string", - "enum": [ - "all", - "private", - "selected" - ] - }, - "selected_repository_ids": { - "description": "An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/enterprise-server@3.16/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.", - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "registry_type", - "encrypted_value", - "key_id", - "visibility" - ] - }, - "examples": { - "org-private-registry-with-private-visibility": { - "summary": "Example of a private registry configuration with private visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "private" - } - }, - "org-private-registry-with-selected-visibility": { - "summary": "Example of a private registry configuration with selected visibility", - "value": { - "registry_type": "maven_repository", - "username": "monalisa", - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678", - "visibility": "selected", - "selected_repository_ids": [ - 1296269, - 1296280 - ] - } - } - } - } - } - }, - "responses": { - "201": { - "description": "The organization private registry configuration", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" - }, - "examples": { - "org-private-registry-with-selected-visibility": { - "$ref": "#/components/examples/org-private-registry-configuration" - }, - "org-private-registry-with-private-visibility": { - "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "private-registries", - "subcategory": "organization-configurations" - } } }, "/orgs/{org}/private-registries/public-key": { @@ -23456,6 +23324,11 @@ "goproxy_server" ] }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", "type": "string", @@ -107450,63 +107323,6 @@ "updated_at" ] }, - "org-private-registry-configuration-with-selected-repositories": { - "title": "Organization private registry", - "description": "Private registry configuration for an organization", - "type": "object", - "properties": { - "name": { - "description": "The name of the private registry configuration.", - "example": "MAVEN_REPOSITORY_SECRET", - "type": "string" - }, - "registry_type": { - "description": "The registry type.", - "enum": [ - "maven_repository", - "nuget_feed", - "goproxy_server" - ], - "type": "string" - }, - "username": { - "description": "The username to use when authenticating with the private registry.", - "example": "monalisa", - "type": "string" - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "enum": [ - "all", - "private", - "selected" - ], - "type": "string" - }, - "selected_repository_ids": { - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}