chore: API documentation updates for CSAT surveys (#7255)

- Expose conversation uuid in APIs
- swagger documentation for cast survey update via public/message/update endpoints
- swagger documentation for survey/responses/conversation_uuid endpoint

Fixes: #6328
This commit is contained in:
Sojan Jose
2023-06-05 21:14:01 +05:30
committed by GitHub
parent aae6081d73
commit 117d5301b4
12 changed files with 111 additions and 6 deletions

View File

@@ -124,6 +124,16 @@
# ---------------- end of public api routes-----------#
# ------------ Other routes ------------#
/survey/responses/{conversation_uuid}:
parameters:
- $ref: '#/parameters/conversation_uuid'
get:
$ref: ./survey/show.yml
# ----------- end of other routes -----------#
# ------------ Application API routes ------------#

View File

@@ -0,0 +1,9 @@
tags:
- CSAT Survey Page
operationId: get-csat-survey-page
summary: Get CSAT survey page
description: You can redirect the client to this URL, instead of implementing the CSAT survey component yourself.
security: []
responses:
200:
description: Success