Skip to content

Say where you are pointing

POST
/presence/cursor
curl --request POST \
--url https://example.com/presence/cursor \
--header 'Content-Type: application/json' \
--cookie bottle.session_token=<bottle.session_token> \
--data '{ "tabId": "example", "page": "example", "latitude": 1, "longitude": 1, "anchors": [ { "id": "example", "x": 1, "y": 1 } ], "holding": "example" }'

Where the pointer is on the rounds map, as a point, so everyone watching sees it in the same place whatever the size of their screen. Not kept: passed straight on to /events as cursor. Send at most a few times a second.

Media typeapplication/json
object
tabId
required
string
>= 8 characters <= 64 characters
page
required
string
>= 1 characters <= 200 characters
latitude
number | null
>= -90 <= 90
longitude
number | null
>= -180 <= 180
anchors
Array<object>
<= 6 items
object
id
required
string
>= 1 characters <= 120 characters
x
required
number
<= 1
y
required
number
<= 1
holding
string | null
<= 100 characters
Examplegenerated
{
"tabId": "example",
"page": "example",
"latitude": 1,
"longitude": 1,
"anchors": [
{
"id": "example",
"x": 1,
"y": 1
}
],
"holding": "example"
}

Passed on

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}