Granicus Votes API

The Votes API from Granicus — 3 operation(s) for votes.

Operations 6

GET /v1/{Client}/EventItems/{EventItemId}/Votes Gets all Vote Items under a particular Event Item #
POST /v1/{Client}/EventItems/{EventItemId}/Votes Adds one Vote Item #
GET /v1/{Client}/EventItems/{EventItemId}/Votes/{VoteId} Gets one Vote Item #
PUT /v1/{Client}/EventItems/{EventItemId}/Votes/{VoteId} Updates one Vote Item #
DELETE /v1/{Client}/EventItems/{EventItemId}/Votes/{VoteId} Deletes one Vote Item #
GET /v1/{Client}/Persons/{PersonId}/Votes Gets all Vote records for a Person #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/granicus:granicus-votes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

granicus-votes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Granicus Votes API
  version: v1
  description: 'Operations tagged Votes across 2 of this provider''s published API definitions: granicus-legistar-swagger.json, granicus-legistar-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://webapi.legistar.com
tags:
- name: Votes
paths:
  /v1/{Client}/EventItems/{EventItemId}/Votes:
    get:
      tags:
      - Votes
      summary: Gets all Vote Items under a particular Event Item
      operationId: Votes_GetAll
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: EventItemId
        in: path
        description: The Id of the Event Item.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/json-p:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
    post:
      tags:
      - Votes
      summary: Adds one Vote Item
      operationId: Votes_Post
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: EventItemId
        in: path
        description: The Id of the Event Item.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          text/json:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          application/xml:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          text/xml:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GranicusVote'
        description: GranicusVote object to be inserted. Note that VoteId is not required to be set.
        required: true
    servers:
    - url: https://webapi.legistar.com
  /v1/{Client}/EventItems/{EventItemId}/Votes/{VoteId}:
    get:
      tags:
      - Votes
      summary: Gets one Vote Item
      operationId: Votes_Get
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: EventItemId
        in: path
        description: The Id of the Event Item.
        required: true
        schema:
          type: integer
          format: int32
      - name: VoteId
        in: path
        description: The Id of the Vote Item.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            text/json:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            application/xml:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            text/xml:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            text/javascript:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            application/javascript:
              schema:
                $ref: '#/components/schemas/GranicusVote'
            application/json-p:
              schema:
                $ref: '#/components/schemas/GranicusVote'
    put:
      tags:
      - Votes
      summary: Updates one Vote Item
      operationId: Votes_Put
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: EventItemId
        in: path
        description: The Id of the Event Item.
        required: true
        schema:
          type: integer
          format: int32
      - name: VoteId
        in: path
        description: The Id of the Vote Item.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          text/json:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          application/xml:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          text/xml:
            schema:
              $ref: '#/components/schemas/GranicusVote'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GranicusVote'
        description: GranicusVote object to be updated. Note that VoteId is not required to be set.
        required: true
    delete:
      tags:
      - Votes
      summary: Deletes one Vote Item
      operationId: Votes_Delete
      parameters:
      - name: Client
        in: path
        required: true
        schema:
          type: string
      - name: EventItemId
        in: path
        description: The Id of the Event Item.
        required: true
        schema:
          type: integer
          format: int32
      - name: VoteId
        in: path
        description: The Id of the Vote Item.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
    servers:
    - url: https://webapi.legistar.com
  /v1/{Client}/Persons/{PersonId}/Votes:
    get:
      tags:
      - Votes
      summary: Gets all Vote records for a Person
      operationId: Votes_GetByNameId
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: PersonId
        in: path
        description: The Id of the person record.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            text/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
            application/json-p:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusVote'
    servers:
    - url: https://webapi.legistar.com
components:
  schemas:
    GranicusVote:
      required:
      - votePersonId
      - voteValueId
      type: object
      properties:
        voteId:
          format: int32
          type: integer
        voteGuid:
          type: string
        voteLastModifiedUtc:
          format: date-time
          type: string
        voteRowVersion:
          format: byte
          type: string
        votePersonId:
          format: int32
          type: integer
        votePersonName:
          type: string
        voteValueId:
          format: int32
          type: integer
        voteValueName:
          type: string
        voteSort:
          format: int32
          type: integer
        voteResult:
          format: int32
          type: integer
        voteEventItemId:
          format: int32
          type: integer
x-refined-from:
- granicus-legistar-swagger.json
- granicus-legistar-openapi.yml
x-provenance:
  method: harvested
  publisher: Granicus
  source: https://webapi.legistar.com/swagger/docs/v1
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)