Chore: Update Swagger API docs (#608)

This commit is contained in:
Pranav Raj S
2020-03-11 16:19:13 +05:30
committed by GitHub
parent a5b1e2b650
commit 260e40831a
23 changed files with 1014 additions and 463 deletions

View File

@@ -1,19 +1,27 @@
type: object
properties:
id:
type: number
description: ID of the conversation
messages:
type: array
items:
type: object
inbox_id:
type: number
description: ID of the inbox
status:
type: string
enum: ['open', 'resolved']
enum: ['open', 'resolved', 'bot']
description: The status of the conversation
timestamp:
type: string
description: The time at which conversation was created
user_last_seen_at:
type: string
agent_last_seen_at:
type: agent_last_seen_at
unread_count:
type: number
description: The number of unread messages
additional_attributes:
type: object
description: The object containing additional attributes related to the conversation