chore: Move agent availability to Account level (#3074)
- Move agent availability to the account level
This commit is contained in:
29
swagger/paths/application/conversation/toggle_status.yml
Normal file
29
swagger/paths/application/conversation/toggle_status.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
tags:
|
||||
- Conversation
|
||||
operationId: toggle-status-of-a-conversation
|
||||
summary: Toggle Status
|
||||
description: Toggles the status of the conversation between open and resolved
|
||||
security:
|
||||
- userApiKey: []
|
||||
- agentBotApiKey: []
|
||||
parameters:
|
||||
- name: data
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
enum: ["open", "resolved", "pending"]
|
||||
required: true
|
||||
description: The status of the conversation
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/conversation_status_toggle'
|
||||
404:
|
||||
description: Conversation not found
|
||||
401:
|
||||
description: Unauthorized
|
||||
Reference in New Issue
Block a user