chore: Add swagger docs for Canned Responses (#4295)

fixes: #3962
This commit is contained in:
Sojan Jose
2022-03-26 00:43:44 +05:30
committed by GitHub
parent 971755b845
commit e0f29b9d81
11 changed files with 328 additions and 3 deletions

View File

@@ -154,6 +154,21 @@
delete:
$ref: ./application/agents/delete.yml
# Agents
/api/v1/accounts/{account_id}/canned_responses:
parameters:
- $ref: '#/parameters/account_id'
get:
$ref: ./application/canned_responses/index.yml
post:
$ref: ./application/canned_responses/create.yml
/api/v1/accounts/{account_id}/canned_responses/{id}:
parameters:
- $ref: '#/parameters/account_id'
patch:
$ref: ./application/canned_responses/update.yml
delete:
$ref: ./application/canned_responses/delete.yml
# Contacts
/api/v1/accounts/{account_id}/contacts: