action openstates_event_list_events_get { label: "Event List" provider: openstates method: GET path: "/events" encoding: json input: { type: "object" properties: { after: { type: "string" description: "Limit results to those starting before a given datetime." } apikey: { type: "string" } before: { type: "string" description: "Limit results to those starting before a given datetime." } deleted: { type: "boolean" description: "Return events marked as deleted?" } include: { type: "array" description: "Additional includes for the Event response." items: { type: "string" description: "An enumeration." enum: ["links", "sources", "media", "documents", "participants", "agenda"] } } jurisdiction: { type: "string" description: "Filter by jurisdiction name or ID." } page: { type: "integer" } per_page: { type: "integer" } require_bills: { type: "boolean" description: "Limit results to events with associated bills." } "x-api-key": { type: "string" } } additionalProperties: false } output: { type: "object" required: ["pagination", "results"] properties: { pagination: { type: "object" required: ["max_page", "page", "per_page", "total_items"] properties: { max_page: { type: "integer" } page: { type: "integer" } per_page: { type: "integer" } total_items: { type: "integer" } } } results: { type: "array" items: { type: "object" required: ["id", "name", "jurisdiction", "description", "classification", "start_date", "end_date", "all_day", "status", "upstream_id", "deleted"] properties: { agenda: { type: "array" items: { type: "object" required: ["description", "classification", "order", "subjects", "notes", "extras", "related_entities", "media"] properties: { classification: { type: "array" items: { type: "string" } } description: { type: "string" } extras: { type: "object" } media: { type: "array" items: { type: "object" required: ["note", "date", "offset", "classification", "links"] properties: { classification: { type: "string" } date: { type: "string" } links: { type: "array" items: { type: "object" additionalProperties: true } } note: { type: "string" } offset: { type: "integer" } } } } notes: { type: "array" items: { type: "string" } } order: { type: "integer" } related_entities: { type: "array" items: { type: "object" required: ["note", "name", "entity_type"] properties: { bill: { type: "object" required: ["id", "session", "identifier", "title"] properties: { id: { type: "object" additionalProperties: true } identifier: { type: "object" additionalProperties: true } session: { type: "object" additionalProperties: true } title: { type: "object" additionalProperties: true } } } entity_type: { type: "string" } name: { type: "string" } note: { type: "string" } organization: { type: "object" } person: { type: "object" required: ["id", "name", "party"] properties: { current_role: { type: "object" additionalProperties: true } id: { type: "object" additionalProperties: true } name: { type: "object" additionalProperties: true } party: { type: "object" additionalProperties: true } } } vote: { type: "object" required: ["id", "motion_text"] properties: { id: { type: "object" additionalProperties: true } motion_text: { type: "object" additionalProperties: true } } } } } } subjects: { type: "array" items: { type: "string" } } } } } all_day: { type: "boolean" } classification: { type: "string" } deleted: { type: "boolean" } description: { type: "string" } documents: { type: "array" items: { type: "object" required: ["note", "date", "classification", "links"] properties: { classification: { type: "string" } date: { type: "string" } links: { type: "array" items: { type: "object" additionalProperties: true } } note: { type: "string" } } } } end_date: { type: "string" } id: { type: "string" } jurisdiction: { type: "object" required: ["id", "name", "classification"] properties: { classification: { type: "object" } id: { type: "string" } name: { type: "string" } } } links: { type: "array" items: { type: "object" additionalProperties: true } } location: { type: "object" required: ["name", "url"] properties: { name: { type: "string" } url: { type: "string" } } } media: { type: "array" items: { type: "object" additionalProperties: true } } name: { type: "string" } participants: { type: "array" items: { type: "object" required: ["note", "name", "entity_type"] properties: { entity_type: { type: "string" } name: { type: "string" } note: { type: "string" } organization: { type: "object" } person: { type: "object" additionalProperties: true } } } } sources: { type: "array" items: { type: "object" additionalProperties: true } } start_date: { type: "string" } status: { type: "string" } upstream_id: { type: "string" } } } } } } }