{"components":{"parameters":{"cursor":{"description":"The next_cursor from the previous page.","in":"query","name":"cursor","schema":{"type":"string"}},"itemLimit":{"description":"Page size, 1 to 1000 (default 100).","in":"query","name":"limit","schema":{"maximum":1000,"minimum":1,"type":"integer"}}},"responses":{"BadRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"A parameter is not valid."},"NotFound":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No published meeting has that id."},"RateLimited":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Over the hourly allowance; see retry-after."},"Unauthorized":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The API key is wrong or revoked."}},"schemas":{"Clip":{"properties":{"baked_video_url":{"type":["string","null"]},"end_seconds":{"type":["number","null"]},"id":{"type":"integer"},"label":{"type":["string","null"]},"parent_id":{"type":["integer","null"]},"start_seconds":{"type":["number","null"]},"type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"Error":{"properties":{"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"}},"type":"object"},"Marker":{"properties":{"id":{"type":"integer"},"label":{"type":["string","null"]},"seconds":{"type":"integer"},"source":{"type":"string"},"title":{"type":["string","null"]}},"type":"object"},"Meeting":{"properties":{"body":{"properties":{"disclosure":{"type":["string","null"]},"jurisdictional_body_id":{"type":["integer","null"]},"name":{"type":"string"}},"type":"object"},"date":{"format":"date","type":["string","null"]},"duration_seconds":{"type":["integer","null"]},"id":{"description":"The ocd-event id when known, else the slug.","type":"string"},"jurisdiction":{"type":["string","null"]},"jurisdictional":{"description":"Where the body, meeting and agenda records live.","properties":{"body_id":{"type":["integer","null"]},"body_meetings_url":{"type":["string","null"]},"meeting_id":{"type":["integer","null"]},"ocd_event_id":{"type":["string","null"]}},"type":"object"},"links":{"additionalProperties":{"type":"string"},"type":"object"},"meeting_window":{"properties":{"end_seconds":{"type":["number","null"]},"start_seconds":{"type":["number","null"]}},"type":"object"},"ocd_event_id":{"type":["string","null"]},"slug":{"type":"string"},"title":{"type":"string"},"url":{"description":"The public meeting page.","type":"string"},"video_url":{"type":"string"}},"type":"object"},"Speaker":{"description":"A confirmed name. Members of the public are \"Public speaker\" with no role. Null when no one has confirmed who is speaking.","properties":{"name":{"type":"string"},"role":{"type":["string","null"]}},"type":["object","null"]},"SpeakerTurn":{"properties":{"end_seconds":{"type":["number","null"]},"id":{"type":"integer"},"source":{"type":"string"},"speaker":{"$ref":"#/components/schemas/Speaker"},"start_seconds":{"type":["number","null"]},"view":{"type":["string","null"]},"voice":{"type":["string","null"]}},"type":"object"},"Topic":{"properties":{"id":{"description":"The topic's slug.","type":"string"},"meeting_count":{"description":"Published meetings (on /api/v1/topics only).","type":"integer"},"meetings_url":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"type":"object"},"TranscriptRow":{"properties":{"end_seconds":{"type":["number","null"]},"id":{"type":"integer"},"speaker":{"$ref":"#/components/schemas/Speaker"},"start_seconds":{"type":["number","null"]},"text":{"type":"string"},"voice":{"description":"A voice id, stable within this meeting only.","type":["string","null"]}},"type":"object"},"Vote":{"properties":{"agenda_item":{"type":["string","null"]},"description":{"type":"string"},"id":{"type":"integer"},"motion":{"type":["string","null"]},"outcome":{"enum":["carried","failed","unstated"],"type":"string"},"seconds":{"type":["number","null"]}},"type":"object"},"WebhookDelivery":{"properties":{"attempts":{"type":"integer"},"delivered_at":{"format":"date-time","type":["string","null"]},"error":{"type":["string","null"]},"event_id":{"type":"string"},"event_type":{"type":"string"},"id":{"type":"integer"},"last_attempt_at":{"format":"date-time","type":["string","null"]},"response_status":{"type":["integer","null"]},"status":{"enum":["pending","succeeded","failed","skipped"],"type":"string"}},"type":"object"},"WebhookMeetingEvent":{"properties":{"created_at":{"format":"date-time","type":"string"},"data":{"allOf":[{"$ref":"#/components/schemas/Meeting"}],"description":"The meeting as GET /api/v1/meetings/{id} serves it. Follow data.links for its parts."},"id":{"description":"evt_…","type":"string"},"type":{"enum":["meeting.published","meeting.updated"],"type":"string"}},"required":["id","type","created_at","data"],"type":"object"},"WebhookPing":{"properties":{"created_at":{"format":"date-time","type":"string"},"data":{"properties":{"message":{"type":"string"},"subscription_id":{"type":"integer"}},"type":"object"},"id":{"type":"string"},"type":{"enum":["webhook.ping"],"type":"string"}},"type":"object"},"WebhookSubscription":{"properties":{"consecutive_failures":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"description":{"type":["string","null"]},"disabled_at":{"format":"date-time","type":["string","null"]},"disabled_reason":{"description":"Why GovCenter stopped sending: 3 deliveries in a row failed every attempt.","type":["string","null"]},"events":{"items":{"type":"string"},"type":"array"},"id":{"type":"integer"},"status":{"enum":["active","disabled"],"type":"string"},"url":{"type":"string"}},"type":"object"}},"securitySchemes":{"apiKey":{"description":"Authorization: Bearer gck_… A key gets its own hourly allowance (1000 by default). Without a key, requests are anonymous and share a low hourly allowance per address.","scheme":"bearer","type":"http"}}},"info":{"description":"Read-only access to published meetings: transcripts, speaker turns, clips, timeline markers, topics and confirmed votes. Bodies, agendas and their documents belong to Jurisdictional.org; a meeting links to them by its ocd-event id. Drafts, meetings in review, suggested names and suggested votes are never served. Officials and staff are named; members of the public are \"Public speaker\". A key can also subscribe a URL to signed webhooks (meeting.published, meeting.updated); see `webhooks` below. Guide: https://govcenter.tv/developers","summary":"The published video layer of public meetings.","termsOfService":"https://govcenter.tv/developers#terms","title":"GovCenter Public API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/v1/meetings":{"get":{"operationId":"listMeetings","parameters":[{"description":"Part of the jurisdiction name, e.g. Vacaville.","in":"query","name":"jurisdiction","schema":{"type":"string"}},{"description":"Part of the body's name, or its Jurisdictional body id.","in":"query","name":"body","schema":{"type":"string"}},{"description":"Meetings on or after this date.","in":"query","name":"from","schema":{"format":"date","type":"string"}},{"description":"Meetings on or before this date.","in":"query","name":"to","schema":{"format":"date","type":"string"}},{"description":"A topic id (slug) from /api/v1/topics.","in":"query","name":"topic","schema":{"type":"string"}},{"description":"Part of a confirmed official's or staff member's name.","in":"query","name":"person","schema":{"type":"string"}},{"description":"An exact Jurisdictional ocd-event id.","in":"query","name":"ocd_event_id","schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"description":"Page size, 1 to 100 (default 25).","in":"query","name":"limit","schema":{"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Meeting"},"type":"array"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Published meetings, newest first.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}":{"get":{"operationId":"getMeetingByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Meeting"}},"required":["data"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"One published meeting.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/clips":{"get":{"operationId":"getClipsByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Clip"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Clips (top-level and nested), with share pages.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/markers":{"get":{"operationId":"getMarkersByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Marker"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Timeline markers.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/speaker_turns":{"get":{"operationId":"getSpeakerTurnsByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SpeakerTurn"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Speaker turns inside the meeting window.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/topics":{"get":{"operationId":"getMeetingTopicsByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Topics this meeting touches.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/transcript":{"get":{"operationId":"getTranscriptByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TranscriptRow"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Transcript rows inside the meeting window, with confirmed speaker names.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/transcript.vtt":{"get":{"operationId":"getTranscriptVttByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/vtt":{"schema":{"type":"string"}}},"description":"WebVTT captions."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"The public transcript as WebVTT, named speakers as <v> spans.","tags":["meetings"]}},"/api/v1/meetings/ocd-event/{uuid}/votes":{"get":{"operationId":"getVotesByOcdEvent","parameters":[{"description":"The part of the ocd-event id after \"ocd-event/\".","in":"path","name":"uuid","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Vote"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Votes a person confirmed.","tags":["meetings"]}},"/api/v1/meetings/{id}":{"get":{"operationId":"getMeeting","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Meeting"}},"required":["data"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"One published meeting.","tags":["meetings"]}},"/api/v1/meetings/{id}/clips":{"get":{"operationId":"getClips","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Clip"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Clips (top-level and nested), with share pages.","tags":["meetings"]}},"/api/v1/meetings/{id}/markers":{"get":{"operationId":"getMarkers","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Marker"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Timeline markers.","tags":["meetings"]}},"/api/v1/meetings/{id}/speaker_turns":{"get":{"operationId":"getSpeakerTurns","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SpeakerTurn"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Speaker turns inside the meeting window.","tags":["meetings"]}},"/api/v1/meetings/{id}/topics":{"get":{"operationId":"getMeetingTopics","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Topics this meeting touches.","tags":["meetings"]}},"/api/v1/meetings/{id}/transcript":{"get":{"operationId":"getTranscript","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TranscriptRow"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Transcript rows inside the meeting window, with confirmed speaker names.","tags":["meetings"]}},"/api/v1/meetings/{id}/transcript.vtt":{"get":{"operationId":"getTranscriptVtt","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/vtt":{"schema":{"type":"string"}}},"description":"WebVTT captions."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"The public transcript as WebVTT, named speakers as <v> spans.","tags":["meetings"]}},"/api/v1/meetings/{id}/votes":{"get":{"operationId":"getVotes","parameters":[{"description":"The meeting's slug (when it has no ocd-event id yet).","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Vote"},"type":"array"},"meeting_id":{"type":"string"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Votes a person confirmed.","tags":["meetings"]}},"/api/v1/openapi.json":{"get":{"operationId":"getOpenAPI","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OpenAPI 3.1 document."}},"security":[{}],"summary":"This document.","tags":["meta"]}},"/api/v1/topics":{"get":{"operationId":"listTopics","parameters":[{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/itemLimit"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"},"next_cursor":{"description":"Pass as ?cursor= for the next page; null on the last page.","type":["string","null"]}},"required":["data","next_cursor"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"summary":"Topics with at least one published meeting, most meetings first.","tags":["topics"]}},"/api/v1/webhooks":{"get":{"operationId":"listWebhooks","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebhookSubscription"},"type":"array"}},"required":["data"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"apiKey":[]}],"summary":"This key's webhooks, with their status (a disabled one says why).","tags":["webhooks"]},"post":{"operationId":"createWebhook","requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"maxLength":255,"type":"string"},"events":{"description":"Defaults to every event.","items":{"enum":["meeting.published","meeting.updated"],"type":"string"},"type":"array"},"url":{"description":"https only. Private, loopback and link-local addresses are refused.","format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"allOf":[{"$ref":"#/components/schemas/WebhookSubscription"},{"properties":{"secret":{"description":"whsec_…","type":"string"}},"type":"object"}]}},"type":"object"}}},"description":"Created. Store `secret` now; it is not shown again."},"401":{"$ref":"#/components/responses/Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The URL or events are not accepted."},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"apiKey":[]}],"summary":"Subscribe a public https URL to events. The response carries the signing secret, once.","tags":["webhooks"]}},"/api/v1/webhooks/{id}":{"delete":{"operationId":"deleteWebhook","parameters":[{"description":"The webhook's id.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Deleted."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This key has no webhook with that id."},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"apiKey":[]}],"summary":"Unsubscribe. Pending deliveries stop.","tags":["webhooks"]},"get":{"operationId":"getWebhook","parameters":[{"description":"The webhook's id.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"allOf":[{"$ref":"#/components/schemas/WebhookSubscription"},{"properties":{"recent_deliveries":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array"}},"type":"object"}]}},"required":["data"],"type":"object"}}},"description":"OK","headers":{"x-ratelimit-limit":{"description":"Requests allowed this hour.","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Requests left this hour.","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"When the hour resets, in unix seconds.","schema":{"type":"integer"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This key has no webhook with that id."},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"apiKey":[]}],"summary":"One webhook with its 20 most recent deliveries.","tags":["webhooks"]}},"/api/v1/webhooks/{id}/ping":{"post":{"operationId":"pingWebhook","parameters":[{"description":"The webhook's id.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"202":{"description":"Queued for delivery."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This key has no webhook with that id."},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"apiKey":[]}],"summary":"Send a signed webhook.ping to this URL, to test your signature check.","tags":["webhooks"]}}},"security":[{"apiKey":[]},{}],"servers":[{"url":"https://govcenter.tv"}],"tags":[{"name":"meetings"},{"name":"topics"},{"name":"webhooks"}],"webhooks":{"meeting.published":{"post":{"description":"Verify before trusting: compute HMAC-SHA256 with your signing secret over \"<x-govcenter-timestamp>.<raw body>\", hex-encode it, compare it in constant time with the part of x-govcenter-signature after \"v1=\", and reject a timestamp more than 300 seconds from your clock. Answer 2xx within 10 seconds; anything else is retried with backoff, up to 8 attempts over about an hour.","operationId":"onMeetingPublished","parameters":[{"description":"The event type, e.g. meeting.published.","in":"header","name":"x-govcenter-event","required":true,"schema":{"type":"string"}},{"description":"evt_… The same for every attempt.","in":"header","name":"x-govcenter-event-id","required":true,"schema":{"type":"string"}},{"description":"This delivery's id. Use it to de-duplicate.","in":"header","name":"x-govcenter-delivery","required":true,"schema":{"type":"string"}},{"description":"Unix seconds when this attempt was signed.","in":"header","name":"x-govcenter-timestamp","required":true,"schema":{"type":"string"}},{"description":"v1=<hex HMAC-SHA256>.","in":"header","name":"x-govcenter-signature","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookMeetingEvent"}}},"required":true},"responses":{"2XX":{"description":"Received. Anything else is retried."}},"summary":"A meeting became public for the first time.","tags":["webhooks"]}},"meeting.updated":{"post":{"description":"Verify before trusting: compute HMAC-SHA256 with your signing secret over \"<x-govcenter-timestamp>.<raw body>\", hex-encode it, compare it in constant time with the part of x-govcenter-signature after \"v1=\", and reject a timestamp more than 300 seconds from your clock. Answer 2xx within 10 seconds; anything else is retried with backoff, up to 8 attempts over about an hour.","operationId":"onMeetingUpdated","parameters":[{"description":"The event type, e.g. meeting.published.","in":"header","name":"x-govcenter-event","required":true,"schema":{"type":"string"}},{"description":"evt_… The same for every attempt.","in":"header","name":"x-govcenter-event-id","required":true,"schema":{"type":"string"}},{"description":"This delivery's id. Use it to de-duplicate.","in":"header","name":"x-govcenter-delivery","required":true,"schema":{"type":"string"}},{"description":"Unix seconds when this attempt was signed.","in":"header","name":"x-govcenter-timestamp","required":true,"schema":{"type":"string"}},{"description":"v1=<hex HMAC-SHA256>.","in":"header","name":"x-govcenter-signature","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookMeetingEvent"}}},"required":true},"responses":{"2XX":{"description":"Received. Anything else is retried."}},"summary":"A published meeting was published again after corrections.","tags":["webhooks"]}},"webhook.ping":{"post":{"description":"Verify before trusting: compute HMAC-SHA256 with your signing secret over \"<x-govcenter-timestamp>.<raw body>\", hex-encode it, compare it in constant time with the part of x-govcenter-signature after \"v1=\", and reject a timestamp more than 300 seconds from your clock. Answer 2xx within 10 seconds; anything else is retried with backoff, up to 8 attempts over about an hour.","operationId":"onWebhookPing","parameters":[{"description":"The event type, e.g. meeting.published.","in":"header","name":"x-govcenter-event","required":true,"schema":{"type":"string"}},{"description":"evt_… The same for every attempt.","in":"header","name":"x-govcenter-event-id","required":true,"schema":{"type":"string"}},{"description":"This delivery's id. Use it to de-duplicate.","in":"header","name":"x-govcenter-delivery","required":true,"schema":{"type":"string"}},{"description":"Unix seconds when this attempt was signed.","in":"header","name":"x-govcenter-timestamp","required":true,"schema":{"type":"string"}},{"description":"v1=<hex HMAC-SHA256>.","in":"header","name":"x-govcenter-signature","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookPing"}}},"required":true},"responses":{"2XX":{"description":"Received. Anything else is retried."}},"summary":"A test sent from POST /api/v1/webhooks/{id}/ping.","tags":["webhooks"]}}}}