From e7f0879bcb0abc7efc0842de60471a54002be3a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 7 Nov 2026 16:03:18 +0000 Subject: [PATCH] feat(spec): sync API spec 2026-11-07 --- openapi/SOURCE.json | 8 +++--- openapi/verification.json | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/openapi/SOURCE.json b/openapi/SOURCE.json index 84b24c1..8715cc6 100644 --- a/openapi/SOURCE.json +++ b/openapi/SOURCE.json @@ -1,13 +1,13 @@ { "verification.json": { "url": "https://docs.didit.me/openapi-25.json", - "sha256": "b5828c37c81f63a636dcbfcfdf575402ad745b5a2eaed2e899767bc4809bdf07", - "fetched_at": "2026-11-07T12:36:03Z" + "sha256": "fa9a6b3a8752be91522b519c3d9fd98f7a484cda6a5d193e22a30d34b6d5dae7", + "fetched_at": "2026-11-07T16:02:38Z" }, "account.json": { "url": "https://docs.didit.me/openapi-auth.json", "sha256": "ef403603543b119fed4300d08e15b8ec0a13de9fabdfdc02866f61f817d2a1f0", - "fetched_at": "2026-11-07T12:36:03Z" + "fetched_at": "2026-11-07T16:02:38Z" }, "webhook-vectors.json": { "generator": "product-automations scripts/server-sdks/make_vectors.py (seeded 2026-10-17)", @@ -16,6 +16,6 @@ "authentication.json": { "url": "https://docs.didit.me/openapi-authentication.json", "sha256": "3987984647bfcaa4b5462c8d60cd3c53894bf7585a38109e0cc813292b2416fe", - "fetched_at": "2026-11-07T12:36:03Z" + "fetched_at": "2026-11-07T16:02:38Z" } } \ No newline at end of file diff --git a/openapi/verification.json b/openapi/verification.json index 4c885f5..cd43aef 100644 --- a/openapi/verification.json +++ b/openapi/verification.json @@ -7121,6 +7121,9 @@ } } } + }, + "503": { + "$ref": "#/components/responses/DocumentProcessingBusy" } }, "security": [ @@ -9018,6 +9021,9 @@ } } } + }, + "503": { + "$ref": "#/components/responses/DocumentProcessingBusy" } }, "security": [ @@ -9741,6 +9747,9 @@ } } } + }, + "503": { + "$ref": "#/components/responses/DocumentProcessingBusy" } }, "x-codeSamples": [ @@ -78986,6 +78995,9 @@ } } } + }, + "503": { + "$ref": "#/components/responses/DocumentProcessingBusy" } }, "security": [ @@ -88365,6 +88377,9 @@ } } } + }, + "503": { + "$ref": "#/components/responses/DocumentProcessingBusy" } }, "x-codeSamples": [ @@ -127671,6 +127686,44 @@ } } } + }, + "DocumentProcessingBusy": { + "description": "Too many documents are being processed right now, so this upload was not processed: nothing was stored and no attempt was used. Send the same file again after the number of seconds in `Retry-After`. Branch on `code`, not on the message text.", + "headers": { + "Retry-After": { + "description": "Seconds to wait before sending the same request again.", + "schema": { + "type": "integer", + "example": 10 + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "detail", + "code" + ], + "properties": { + "detail": { + "type": "string" + }, + "code": { + "type": "string", + "enum": [ + "document_processing_busy" + ] + } + } + }, + "example": { + "detail": "We are busy processing documents. Please try again in a moment.", + "code": "document_processing_busy" + } + } + } } }, "parameters": {