bidEventsSince
Requires permission biddesk:bid:read.
Lists the notices a bid's room missed after the last one it saw, oldest first, so a reconnecting room catches up. 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
query BidEventsSince($afterId: ID!, $bidId: ID!) {
bidEventsSince(afterId: $afterId, bidId: $bidId) {
hasMore
items {
id
createdAt
actorId
bidId
kind
subjectId
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidEventsSince($afterId: ID!, $bidId: ID!) {\n bidEventsSince(afterId: $afterId, bidId: $bidId) {\n hasMore\n items {\n id\n createdAt\n actorId\n bidId\n kind\n subjectId\n }\n }\n}",
"variables": {
"afterId": "id",
"bidId": "id"
}
}
EOF
Variables:
{
"afterId": "id",
"bidId": "id"
}
Response:
{
"data": {
"bidEventsSince": {
"hasMore": true,
"items": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"actorId": "id",
"bidId": "id",
"kind": "string",
"subjectId": "id"
}
]
}
}
}
bidEventsSince(
afterId: ID!
bidId: ID!
take: Int
): BidLiveEventPage!
Arguments
bidEventsSince.afterId ● ID! non-null scalar
The id of the last notice the room saw.
bidEventsSince.bidId ● ID! non-null scalar
The bid.
bidEventsSince.take ● Int scalar
Page size, 1 to 200 (default 50).
Type
BidLiveEventPage object
The notices a reconnecting room missed, oldest first, after the last one it saw.