mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-20 03:52:43 +00:00
- Add Platform API for generating user tokens - Add the swagger documentation. --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Pranav <pranav@chatwoot.com>
10 lines
245 B
Ruby
10 lines
245 B
Ruby
json.access_token @resource.access_token.token
|
|
json.expiry nil
|
|
json.user do
|
|
json.id @resource.id
|
|
json.name @resource.name
|
|
json.display_name @resource.display_name
|
|
json.email @resource.email
|
|
json.pubsub_token @resource.pubsub_token
|
|
end
|