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
This commit is contained in:
@@ -5,7 +5,7 @@ get:
|
||||
- name: id
|
||||
in: path
|
||||
type: number
|
||||
description: ID of contact
|
||||
description: id of the contact
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
|
||||
@@ -5,7 +5,7 @@ get:
|
||||
- name: id
|
||||
in: path
|
||||
type: number
|
||||
description: ID of contact
|
||||
description: id of the contact
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
@@ -24,7 +24,7 @@ put:
|
||||
- name: id
|
||||
in: path
|
||||
type: number
|
||||
description: ID of the contact
|
||||
description: id of the contact
|
||||
required: true
|
||||
- name: data
|
||||
in: body
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
get:
|
||||
tags: [Contact]
|
||||
description: Listing all contacts with pagination
|
||||
summary: List contacts
|
||||
description: Listing all the contacts with pagination
|
||||
summary: List Contacts
|
||||
parameters:
|
||||
- name: query_hash
|
||||
in: query
|
||||
@@ -18,7 +18,7 @@ get:
|
||||
|
||||
post:
|
||||
tags: [Contact]
|
||||
description: Create a contact
|
||||
description: Create New Contact
|
||||
parameters:
|
||||
- name: data
|
||||
in: body
|
||||
|
||||
Reference in New Issue
Block a user