fc1fa579e9
* Added the documentation for the conversation APIs - 8 endpoints * Added descriptions for the existing endpoints * Added new resource models and updated some parts of the contact API
19 lines
473 B
YAML
19 lines
473 B
YAML
post:
|
|
tags: [Conversation]
|
|
summary: Toggle Status
|
|
description: Toggles the status of the conversation between open and resolved
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
type: number
|
|
description: id of the conversation
|
|
required: true
|
|
responses:
|
|
204:
|
|
description: Success
|
|
schema:
|
|
$ref: '#/definitions/conversation_status_toggle'
|
|
404:
|
|
description: Conversation not found
|
|
403:
|
|
description: Access denied
|