Accept pasted images in inbox Other and Reply answers
This commit is contained in:
+10
-2
@@ -1491,7 +1491,7 @@ components:
|
||||
|
||||
InboxResponse:
|
||||
type: object
|
||||
required: [id, item_id, user, type, attachments, created_at]
|
||||
required: [id, item_id, user, type, images, attachments, created_at]
|
||||
properties:
|
||||
id: { type: string }
|
||||
item_id: { type: string }
|
||||
@@ -1501,6 +1501,10 @@ components:
|
||||
type: array
|
||||
items: { type: string }
|
||||
text: { type: string }
|
||||
images:
|
||||
type: array
|
||||
items: { type: string }
|
||||
description: Blob ids sent to the agent as images alongside the response.
|
||||
attachments:
|
||||
type: array
|
||||
items: { $ref: "#/components/schemas/Attachment" }
|
||||
@@ -1517,7 +1521,11 @@ components:
|
||||
type: array
|
||||
items: { type: string }
|
||||
description: "option: the chosen options; exactly one for a pick-one question, one or more for a pick-any question."
|
||||
text: { type: string, description: "other: the text sent to the agent. option on a pick-any question: optional text sent along with the checked options." }
|
||||
text: { type: string, description: "other: the text sent to the agent, which may be empty when images are given. option on a pick-any question: optional text sent along with the checked options." }
|
||||
images:
|
||||
type: array
|
||||
items: { type: string }
|
||||
description: "other, or option on a pick-any question: blob ids from uploadBlob, sent to the agent as images alongside the response."
|
||||
attachments:
|
||||
type: array
|
||||
items: { $ref: "#/components/schemas/Attachment" }
|
||||
|
||||
Reference in New Issue
Block a user