diff --git a/specs/openapi.json b/specs/openapi.json index 46b5b1d..415dc22 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -5190,6 +5190,33 @@ } } }, + "202": { + "description": "202 response for thread_search", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchIndexNotReadyResponse" + } + } + } + }, "429": { "$ref": "#/components/responses/ClientRatelimitedResponse" }, diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 90b6c61..86abca4 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -5190,6 +5190,33 @@ } } }, + "202": { + "description": "202 response for thread_search", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/X-RateLimit-Limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/X-RateLimit-Remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/X-RateLimit-Reset" + }, + "X-RateLimit-Reset-After": { + "$ref": "#/components/headers/X-RateLimit-Reset-After" + }, + "X-RateLimit-Bucket": { + "$ref": "#/components/headers/X-RateLimit-Bucket" + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchIndexNotReadyResponse" + } + } + } + }, "429": { "$ref": "#/components/responses/ClientRatelimitedResponse" },