Chore: Update Swagger API docs (#608)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
get:
|
||||
tags:
|
||||
- Conversation
|
||||
- ConversationLabels
|
||||
operationId: conversationLabelsList
|
||||
summary: List Labels
|
||||
description: Lists all the labels of a conversation
|
||||
@@ -8,7 +8,7 @@ get:
|
||||
- name: id
|
||||
in: path
|
||||
type: number
|
||||
description: id of the conversation
|
||||
description: ID of the conversation
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
@@ -22,7 +22,7 @@ get:
|
||||
|
||||
post:
|
||||
tags:
|
||||
- Conversation
|
||||
- ConversationLabels
|
||||
operationId: conversationAddLabels
|
||||
summary: Add Labels
|
||||
description: Creates new labels and associates it with the conversation
|
||||
@@ -30,7 +30,7 @@ post:
|
||||
- name: id
|
||||
in: path
|
||||
type: number
|
||||
description: id of the conversation
|
||||
description: ID of the conversation
|
||||
required: true
|
||||
- name: data
|
||||
in: body
|
||||
@@ -40,11 +40,11 @@ post:
|
||||
properties:
|
||||
labels:
|
||||
type: array
|
||||
description: 'array of labels'
|
||||
description: 'Array of labels'
|
||||
properties:
|
||||
type: string
|
||||
responses:
|
||||
204:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/conversation_labels'
|
||||
|
||||
Reference in New Issue
Block a user