Chatwoot/swagger/paths/index.yml
Sony Mathew fc1fa579e9
Chore: Document Conversation APIs in swagger (#552)
* 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
2020-02-24 00:51:31 +05:30

23 lines
641 B
YAML

# Contacts
/contacts:
$ref: ./contact/list_create.yml
/contacts/{id}:
$ref: ./contact/crud.yml
/contacts/{id}/conversations:
$ref: ./contact/conversations.yml
# Conversations
/conversations:
$ref: ./conversation/list.yml
/conversations/{id}:
$ref: ./conversation/crud.yml
/conversations/{id}/toggle_status:
$ref: ./conversation/toggle_status.yml
/conversations/{id}/update_last_seen:
$ref: ./conversation/update_last_seen.yml
/conversations/{id}/labels:
$ref: ./conversation/labels.yml
/conversations/{id}/assignments:
$ref: ./conversation/assignments.yml
/conversations/{id}/messages:
$ref: ./conversation/messages.yml