Conductor

API Documentation

Conductor can respond with a variety of formats.

html – This is the default
xml – append the pages url with “.xml” (https://conductor.nd.edu/about.xml)
json – append the pages url with “.json” (https://conductor.nd.edu/about.json).
jsonp – if you need jsonp, request “.json” and provide a “callback” in the url (https://conductor.nd.edu/about.json?callback=foo)

Requesting children

To get the children along with the page you’re requesting, add “?children=1″ to the request. (Note: this currently does not work with XML)

Events

Note: each site can have Events in a custom location. You will need to adapt the examples below to fit the site.

Events can respond to several formats. Examples:

  • https://events.nd.edu/events.json
  • https://events.nd.edu/events.xml
  • https://events.nd.edu/events.ics

You can also query a specific calendar:

  • https://events.nd.edu/events/calendar/athletics.json
  • https://events.nd.edu/events/calendar/research.json

To only return upcoming events, use the "upcoming" query param:

  • https://events.nd.edu/events.json?upcoming=1

To specify how many events you would like returned per page, use the "per_page" query param:

  • https://events.nd.edu/events.json?per_page=5