From 49b7b0976b659bf5967c39877a5b70d6306d65f3 Mon Sep 17 00:00:00 2001 From: Manuel Boy Date: Tue, 13 Oct 2026 15:28:44 +0200 Subject: [PATCH 1/2] feat(API): add status filter to webhook deliveries list Co-Authored-By: Claude Opus 5.5 --- doc/compiled.json | 17 +++++++++++++++++ parameters.yaml | 12 ++++++++++++ paths/webhook_deliveries/index.yaml | 1 + 3 files changed, 30 insertions(+) diff --git a/doc/compiled.json b/doc/compiled.json index 761982740..60691b47d 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -5794,6 +5794,20 @@ "type": "string" } }, + "webhook_delivery_status": { + "in": "query", + "name": "status", + "description": "Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code. Can be combined with `response_status_codes`.\n", + "required": false, + "schema": { + "type": "string", + "enum": [ + "success", + "failed" + ] + }, + "example": "failed" + }, "q": { "description": "Specify a query to do broad search for keys by name (including wildcards).\n\nThe following qualifiers are also supported in the search term:\n\n- `ids:key_id,...` for queries on a comma-separated list of ids\n- `name:key_name` for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes\n- `tags:tag_name` to filter for keys with certain tags\n- `translated:{true|false}` for translation status (also requires `locale_id` to be specified)\n- `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries\n- `unmentioned_in_upload:upload_id,...` to filter keys unmentioned within upload. When multiple upload IDs provided, matches only keys not mentioned in **all** uploads\n\n**Caution:** Query parameters with empty values will be treated as though they are not included in the request and will be ignored.\n\nFind more examples [here](/en/api/strings/usage-examples).\n", "example": "mykey* translated:true", @@ -31236,6 +31250,9 @@ }, { "$ref": "#/components/parameters/response_status_codes" + }, + { + "$ref": "#/components/parameters/webhook_delivery_status" } ], "responses": { diff --git a/parameters.yaml b/parameters.yaml index dfb94468f..b955b749a 100644 --- a/parameters.yaml +++ b/parameters.yaml @@ -253,6 +253,18 @@ response_status_codes: required: false schema: type: string +webhook_delivery_status: + in: query + name: status + description: | + Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code. Can be combined with `response_status_codes`. + required: false + schema: + type: string + enum: + - success + - failed + example: failed q: description: | Specify a query to do broad search for keys by name (including wildcards). diff --git a/paths/webhook_deliveries/index.yaml b/paths/webhook_deliveries/index.yaml index 55d0794bf..5b85ac5bb 100644 --- a/paths/webhook_deliveries/index.yaml +++ b/paths/webhook_deliveries/index.yaml @@ -9,6 +9,7 @@ parameters: - "$ref": "../../parameters.yaml#/project_id" - "$ref": "../../parameters.yaml#/webhook_id" - "$ref": "../../parameters.yaml#/response_status_codes" +- "$ref": "../../parameters.yaml#/webhook_delivery_status" responses: '200': description: OK From 957e8e06766599fe63a1e8caca0818a773fb60bf Mon Sep 17 00:00:00 2001 From: Manuel Boy Date: Tue, 13 Oct 2026 15:41:25 +0200 Subject: [PATCH 2/2] docs(API): drop redundant sentence from webhook delivery status param Co-Authored-By: Claude Opus 5.5 --- doc/compiled.json | 2 +- parameters.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/compiled.json b/doc/compiled.json index 60691b47d..766710a45 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -5797,7 +5797,7 @@ "webhook_delivery_status": { "in": "query", "name": "status", - "description": "Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code. Can be combined with `response_status_codes`.\n", + "description": "Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code.\n", "required": false, "schema": { "type": "string", diff --git a/parameters.yaml b/parameters.yaml index b955b749a..048cd2972 100644 --- a/parameters.yaml +++ b/parameters.yaml @@ -257,7 +257,7 @@ webhook_delivery_status: in: query name: status description: | - Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code. Can be combined with `response_status_codes`. + Filter deliveries by outcome. `success` returns deliveries with a 2xx response code or a soft error. `failed` returns all other deliveries, including exceptions and timeouts without a response code. required: false schema: type: string