From b2df40c2b8a2f87853806401ebc3c76daf588488 Mon Sep 17 00:00:00 2001 From: box-apimgmt Date: Wed, 26 Jun 2024 06:06:27 -0700 Subject: [PATCH] docs: Add new error message --- openapi.json | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/openapi.json b/openapi.json index 97f20add..2cdd5a0d 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "7558f33e2a" + "x-box-commit-hash": "b9f1a9f298" }, "servers": [ { @@ -15452,6 +15452,16 @@ } } }, + "404": { + "description": "Returns `not_found` when user was not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientError" + } + } + } + }, "default": { "description": "An unexpected client error.", "content": { @@ -24012,21 +24022,10 @@ "type": "object", "x-box-tag": "ai", "required": [ - "mode", "prompt", "items" ], "properties": { - "mode": { - "type": "string", - "description": "The mode specifies if this request is for a single or multiple items. If you select `single_item_qa` the `items` array can have one element only. Selecting `multiple_item_qa` allows you to provide up to 25 items.", - "enum": [ - "multiple_item_qa", - "single_item_qa" - ], - "example": "multiple_item_qa", - "nullable": false - }, "prompt": { "type": "string", "description": "The prompt provided by the client to be answered by the LLM. The prompt's length is limited to 10000 characters.", @@ -38031,13 +38030,13 @@ }, "login_required": { "type": "boolean", - "description": "If set to true, signer will need to login to a Box account\nbefore signing the request. If the signer does not have\nan existing account, they will have an option to create\na free Box account.", + "description": "If set to true, the signer will need to log in to a Box account\nbefore signing the request. If the signer does not have\nan existing account, they will have the option to create\na free Box account. Cannot be selected in combination with\n`verification_phone_number`.", "example": true, "nullable": true }, "verification_phone_number": { "type": "string", - "description": "If set, this phone number is be used to verify the signer\nvia two factor authentication before they are able to sign the document.", + "description": "If set, this phone number will be used to verify the signer\nvia two-factor authentication before they are able to sign the document.\nCannot be selected in combination with `login_required`.", "example": "6314578901", "nullable": true },