Get Connection Token
GET /api/v1/realtime/token
GET
/api/v1/realtime/token
Get a Centrifugo connection token for the current user.
Returns: - token: JWT token for Centrifugo connection - url: WebSocket URL to connect to - channels: Available channel names for this user
Authorizations
Seção intitulada “Authorizations ”Parameters
Seção intitulada “ Parameters ”Header Parameters
Seção intitulada “Header Parameters ”Responses
Seção intitulada “ Responses ”Successful Response
TokenResponse
Response containing Centrifugo connection token.
object
token
required
Token
string
url
required
Url
string
channels
required
Channels
object
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string