Skip to content
mac edited this page Nov 3, 2016 · 1 revision

API

Events

ufree/v1/events

  • GET - returns all events
  • POST - Adds a new event and assigns it a unique id
  • PUT - not used
  • DELETE - not used

ufree/v1/events/{id}

  • GET - returns the event with the given id, including all sub objects
  • POST - not used
  • PUT - updates the event with the given id
  • DELETE - Deletes the event with the given id

Date Ranges

ufree/v1/events/{id}/ranges

  • GET - returns all date ranges for the event with the provided id under the event with the given event id
  • POST - creates a new date range with a unique id under the event with the provided id
  • DELETE - not used
  • PUT - not used

ufree/v1/events/{id}/ranges/{id}

  • GET - returns the date range object with the provided id (under the event with the given event id).
  • POST - creates a new date range with a unique id under the event with the provided id
  • DELETE - deletes the event with the given id (under the event with the given event id).
  • PUT - updates the event with the given id (under the event with the given event id)