Chatwoot/swagger/definitions/resource/conversation.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

19 lines
322 B
YAML

type: object
properties:
messages:
type: array
items:
type: object
inbox_id:
type: number
status:
type: string
enum: ['open', 'resolved']
timestamp:
type: string
user_last_seen_at:
type: string
agent_last_seen_at:
type: agent_last_seen_at
unread_count:
type: number