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:
@@ -26,6 +26,7 @@ else
|
||||
end
|
||||
|
||||
json.account_id conversation.account_id
|
||||
json.uuid conversation.uuid
|
||||
json.additional_attributes conversation.additional_attributes
|
||||
json.agent_last_seen_at conversation.agent_last_seen_at.to_i
|
||||
json.assignee_last_seen_at conversation.assignee_last_seen_at.to_i
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
json.id conversation.display_id
|
||||
json.uuid conversation.uuid
|
||||
json.created_at conversation.created_at.to_i
|
||||
json.contact do
|
||||
json.id conversation.contact.id
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
json.id resource.display_id
|
||||
json.uuid resource.uuid
|
||||
json.inbox_id resource.inbox_id
|
||||
json.contact_last_seen_at resource.contact_last_seen_at.to_i
|
||||
json.status resource.status
|
||||
|
||||
Reference in New Issue
Block a user