action openstates_event_detail_events_event_id_get { label: "Event Detail" description: "Get details on a single event by ID." provider: openstates method: GET path: "/events/{event_id}" encoding: json input: { type: "object" properties: { apikey: { type: "string" } event_id: { type: "string" } include: { type: "array" description: "Additional includes for the Event response." items: { type: "string" description: "An enumeration." enum: ["links", "sources", "media", "documents", "participants", "agenda"] } } "x-api-key": { type: "string" } } required: ["event_id"] additionalProperties: false } output: { type: "object" required: ["all_day", "classification", "deleted", "description", "end_date", "id", "jurisdiction", "name", "start_date", "status", "upstream_id"] 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" required: ["url", "note"] properties: { note: { type: "string" } url: { type: "string" } } } } 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: "string" } identifier: { type: "string" } session: { type: "string" } title: { type: "string" } } } 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" required: ["title", "org_classification"] properties: { district: { type: "object" } division_id: { type: "string" } org_classification: { type: "object" } title: { type: "string" } } } id: { type: "string" } name: { type: "string" } party: { type: "string" } } } vote: { type: "object" required: ["id", "motion_text"] properties: { id: { type: "string" } motion_text: { type: "string" } } } } } } 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: ["classification", "id", "name"] 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" } } } }