touchBidRoomPresence
Requires permission biddesk:bid:read.
Says the signed-in member has the bid's room open; send it every 30 seconds while the room is open. Returns true when the member just arrived. Requires Bid Desk, permission to read bids and membership of the bid.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation TouchBidRoomPresence($bidId: ID!) {
touchBidRoomPresence(bidId: $bidId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation TouchBidRoomPresence($bidId: ID!) {\n touchBidRoomPresence(bidId: $bidId)\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"touchBidRoomPresence": true
}
}
touchBidRoomPresence(
bidId: ID!
): Boolean!
Arguments
touchBidRoomPresence.bidId ● ID! non-null scalar
The bid.
Type
Boolean scalar
The Boolean scalar type represents true or false.