Events
Events happening in a municipality
The Event object
{
"id": "ev_c9988dea",
"department_id": 4,
"person_id": 7,
"categories": ["ec_hsjh4445", "ec_1545pphh"],
"name": "Town board meeting",
"description": "Town board meeting description",
"status": "public",
"starts_at": "2022-07-08T10:00:00.000Z", // UTC datetime
"ends_at": "2022-07-08T14:00:00.000Z", // UTC datetime
"starts_at_local": "2022-07-08T10:00:00.000Z", // jurisdiction timezone date
"ends_at_local": "2022-07-08T14:00:00.000Z", // jurisdiction timezone date
"type": "recurrent",
"recurrence": {
"frequency": "monthly",
"interval": 1,
"ends_on": "2024-07-06T08:22:57.000Z",
"ends_after": 5,
"on_different_date": true,
"every": "first",
"day_in_week": 3,
},
"metadata": null,
"source_event": null,
"image_url":"https://files.heygov.com/heyville.org/events/ev_c9988dea/image.jpg",
"venues": ["vn_abc123", "vn_knksd544"],
"source": "me_abc123",
"location": {
"lat": 44.8341639,
"lng": -87.3770419,
"address": "Sturgeon Bay, WI 54235, USA",
"state": "WI",
"country": "US"
},
"created_at": "2022-07-06T08:22:57.000Z",
"updated_at": "2022-07-06T08:22:57.000Z"
}Endpoints
List events for a municipality
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Get single event
Path Parameters
Name
Type
Description
Create event
Request Body
Name
Type
Description
Update single event
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Delete event
Path Parameters
Name
Type
Description
Upload image
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Delete image
Path Parameters
Name
Type
Description
Last updated