API reference
Visible vote counts
Legacy vote-count route checks a creator visibility flag but lacks the full current campaign, nominee and category eligibility boundary.
https://api.sparkglim.net/api/public/vote-counts/:campaignIdAccess model
- Access model
- Public access with validation
- Documented availability
- Deployment not verified
Availability is verified from source, not a live production guarantee.
Legacy aggregate lacks the full current public visibility boundary. Not recommended for new integrations.
Parameters
| Name | Type | Validation |
|---|---|---|
campaignIdRequiredExisting campaign record within the caller’s account and any narrower campaign credential. | string | Validation: UUID or documented resource identifier. |
Request
Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.
Not available in the documented contract
Response
{
"success": true,
"data": {
"id": "11111111-1111-4111-8111-111111111111",
"status": "pending"
}
}{
"success": false,
"error": "<ERROR_MESSAGE>"
}Validation, permissions, unavailable records and temporary service failures use the handler’s HTTP status and error payload.
Limits & retries
Default Server limit: 100 requests per IP per 60 seconds. Resource-specific controls also apply.
Source compatibility
Authorized operations require account-specific testing.
server/src/api/router.tsserver/src/api/routes/public.ts