project-notes

Authorise a Pusher presence subscription to a note's realtime channel

post/projects/{project_id}/notes/{note_id}/realtime-auth

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

project_idstring uuid required
note_idstring uuid required

Request body

socket_idstring required

The Pusher connection's socket id, supplied by the client SDK.

Response

authstring required

Signed Pusher auth token for the requested channel.

channel_datastring

JSON-encoded Pusher presence metadata.

Example response

{
  "auth": "app-key:signature",
  "channel_data": "{\"user_id\":\"123e4567-e89b-12d3-a456-426614174000\",\"user_info\":{}}"
}

Changes

No recorded changes to this operation across all 1 revision of this API.