List all events in a nation
Changed onLists all events within a nation.
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Query parameters
Page number to list (starting at 1)
Number of results to display per page (default: 20, max: 100, min: 1)
Response
A page of matching events.
Example response
{
"data": [
{
"id": "1",
"type": "events",
"attributes": {
"additional_rsvps_count": 20,
"attending_count": 100,
"auto_response_broadcaster_id": "1",
"auto_response_content": "Content of autoresponse",
"auto_response_subject": "Subject of autoresponse",
"capacity_count": 200,
"contact_email": "jdoe@work.com",
"contact_name": "John Doe",
"contact_phone_number": "5555555555",
"content": "Event description",
"donation_tracking_code_id": "1",
"duration": 3600,
"event_form_address": "required",
"event_form_phone": "required",
"point_person_id": "1",
"start_at": "2019-10-26T10:00:00-04:00",
"time_zone": "Eastern Time (US & Canada)",
"user_ticket_currency": "USD",
"user_ticket_price_in_cents": 400,
"user_ticket_purchase_url": "https://www.example.com",
"venue_name": "Event Center",
"page_id": "1"
}
}
],
"links": {
"self": "/articles?page[number]=2",
"first": "/articles?page[number]=1",
"last": "/articles?page[number]=5",
"prev": "/articles?page[number]=1",
"next": "/articles?page[number]=3"
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
for the
queryrequest parameterpage[number], default value1was added - breaking
for the
queryrequest parameterpage[size], default value20was added - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional
queryrequest parameterextra_fields[events]to all path's operations - info
added
subschema #2to the response bodyallOflist for the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- warning
added the new
America/Adakenum value to the///////response property for the response status - warning
added the new
Antarctica/Trollenum value to the///////response property for the response status - warning
added the new
Australia/Euclaenum value to the///////response property for the response status - warning
added the new
Australia/Lord_Howeenum value to the///////response property for the response status - warning
added the new
Canada/Yukonenum value to the///////response property for the response status - warning
added the new
Pacific/Gambierenum value to the///////response property for the response status - warning
added the new
Pacific/Kiritimatienum value to the///////response property for the response status - warning
added the new
Pacific/Marquesasenum value to the///////response property for the response status - warning
added the new
Pacific/Pitcairnenum value to the///////response property for the response status
- warning