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:
@@ -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 ------------#
|
||||
|
||||
|
||||
|
||||
9
swagger/paths/survey/show.yml
Normal file
9
swagger/paths/survey/show.yml
Normal 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
|
||||
Reference in New Issue
Block a user