diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 679156746b..1b5e06b427 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "5b52d7fa2263095845f4c42fbb54d6d725b0e32f" + "sha": "e04c0a4453fdbc5f21f5b3275a7d480e90174875" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index f48171a92f..d84234969e 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -98542,7 +98542,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -98555,7 +98556,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -98651,6 +98653,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -98740,6 +98753,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -98862,6 +98876,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -365392,7 +365417,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -365405,7 +365431,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -365501,6 +365528,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -365614,6 +365652,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -365736,6 +365775,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -492076,7 +492126,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -492089,7 +492140,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -492185,6 +492237,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -492308,6 +492371,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -492430,6 +492494,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 09d2412875..d75e6058a1 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -108152,7 +108152,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -108165,7 +108166,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -108261,6 +108263,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -108350,6 +108363,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -108472,6 +108486,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -388143,7 +388168,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -388156,7 +388182,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -388252,6 +388279,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -388365,6 +388403,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -388487,6 +388526,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -515228,7 +515278,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -515241,7 +515292,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -515337,6 +515389,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -515460,6 +515523,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -515582,6 +515646,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 5233e64de2..e1e0810cd5 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -104138,7 +104138,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -104151,7 +104152,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -104247,6 +104249,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -104336,6 +104349,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -104458,6 +104472,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -329399,7 +329424,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -329412,7 +329438,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -329508,6 +329535,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -329621,6 +329659,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -329743,6 +329782,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -446024,7 +446074,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -446037,7 +446088,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -446133,6 +446185,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -446256,6 +446319,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -446378,6 +446442,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 293c8218c0..87fa1ec11f 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -104162,7 +104162,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -104175,7 +104176,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -104271,6 +104273,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -104360,6 +104373,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -104482,6 +104496,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -335012,7 +335037,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -335025,7 +335051,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -335121,6 +335148,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -335234,6 +335272,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -335356,6 +335395,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -458522,7 +458572,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -458535,7 +458586,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -458631,6 +458683,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -458754,6 +458817,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -458876,6 +458940,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 8ac093e7a0..52fd0d6d6b 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -104457,7 +104457,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -104470,7 +104471,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -104566,6 +104568,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -104655,6 +104668,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -104777,6 +104791,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -196214,17 +196239,7 @@ "title": "Upload an enterprise license", "category": "enterprise-admin", "subcategory": "manage-ghes", - "parameters": [ - { - "name": "apply", - "description": "
Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.
", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } - } - ], + "parameters": [], "bodyParameters": [], "codeExamples": [ { @@ -196233,7 +196248,7 @@ "contentType": "application/octet-stream", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": "@license.ghl" + "bodyParameters": "@enterprise.ghl" }, "response": { "statusCode": "201", @@ -196260,7 +196275,7 @@ } ], "previews": [], - "descriptionHTML": "Uploads an enterprise license. This operation does not automatically activate the license.
", + "descriptionHTML": "Uploads an enterprise license. This operation does not automatically activate the license.
\nNote: The request body for this operation must be submitted as multipart/form-data data. You can can reference the license file by prefixing the filename with the @ symbol using curl. For more information, see the curl documentation.
The content of your .ghl license file.
", + "isRequired": true + } + ], "codeExamples": [ { - "key": "default", + "key": "201", "request": { - "contentType": "application/octet-stream", - "description": "Example", + "contentType": "multipart/form-data", + "description": "Example 1: Status Code 201", "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": "@license.ghl" + "bodyParameters": { + "license": "@enterprise.ghl" + } }, "response": { "statusCode": "201", - "contentType": "application/json", - "description": "Response
", - "example": [ - { - "output": "License imported successfully on host: example.github.net." - } - ], - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "output": { - "description": "The output of the license upload command.", - "type": "string" - } - } - } + "description": "Created
" + } + }, + { + "key": "202", + "request": { + "contentType": "multipart/form-data", + "description": "Example 2: Status Code 202", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "license": "@enterprise.ghl" } + }, + "response": { + "statusCode": "202", + "description": "Accepted
" } } ], "previews": [], - "descriptionHTML": "Uploads an enterprise license. This operation does not automatically activate the license.
", + "descriptionHTML": "Uploads an enterprise license. This operation does not automatically activate the license.
\nNote: The request body for this operation must be submitted as multipart/form-data data. You can can reference the license file by prefixing the filename with the @ symbol using curl. For more information, see the curl documentation.
Created
" }, + { + "httpStatusCode": "202", + "description": "Accepted
" + }, { "httpStatusCode": "401", "description": "Unauthorized
" @@ -342423,7 +342459,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -342436,7 +342473,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -342532,6 +342570,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -342645,6 +342694,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -342767,6 +342817,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -467309,7 +467370,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -467322,7 +467384,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -467418,6 +467481,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -467541,6 +467615,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -467663,6 +467738,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index 2999786152..4b3bbcc8b9 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -103120,7 +103120,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -103133,7 +103134,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -103229,6 +103231,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -103318,6 +103331,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -103440,6 +103454,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -323316,7 +323341,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -323329,7 +323355,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -323425,6 +323452,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -323538,6 +323576,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -323660,6 +323699,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", @@ -439475,7 +439525,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": "2019-06-03T00:57:16Z" }, { "id": 123456789, @@ -439488,7 +439539,8 @@ "event": "issues", "action": "opened", "installation_id": 123, - "repository_id": 456 + "repository_id": 456, + "throttled_at": null } ], "schema": { @@ -439584,6 +439636,17 @@ "examples": [ 123 ] + }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] } }, "required": [ @@ -439707,6 +439770,7 @@ "installation_id": 123, "repository_id": 456, "url": "https://www.example.com", + "throttled_at": "2019-06-03T00:57:16Z", "request": { "headers": { "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", @@ -439829,6 +439893,17 @@ 123 ] }, + "throttled_at": { + "description": "Time when the webhook delivery was throttled.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2021-05-12T20:33:44Z" + ] + }, "url": { "description": "The URL target of the delivery.", "type": "string", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index cda0c9f690..7cf1540929 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "5b52d7fa2263095845f4c42fbb54d6d725b0e32f" + "sha": "e04c0a4453fdbc5f21f5b3275a7d480e90174875" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 41d074c4fd..fbc5a9ba03 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "5b52d7fa2263095845f4c42fbb54d6d725b0e32f" + "sha": "e04c0a4453fdbc5f21f5b3275a7d480e90174875" } \ No newline at end of file