- Heroku URL: https://polimi-hyp-2018-team-10561373.herokuapp.com/
- Bitbucket repo URL: https://bitbucket.org/polimihyp2018team10561373/polimi-hyp-2018-project
- Team administrator: Lorenzo Farinelli, 10561373, polimi-hyp-2018-10561373
-
/events?date=isostring&type=type&fields=field1,fieldn (date = isostring representation of date, type = type of events[theatre, music, dance, side], fields = comma-delimited names of columns to return) - return all the events matching the provided parameters (if null returns all the events)
-
/events/:id?fields=field1,fieldn (:id = identifier of event in the database, fields = fields to be returned [if empty return the default ones]) - return the details of the requested event
-
/artists/?fields=field1,fieldn&sort=asc (fields = comma-delimited named of columns to return, sort = sorting strategy [asc=ascending, desc=descending]) - return all the artists in alphabetical order
-
/artists/:id?fields=field1,fieldn (id = identifier of artist in database, fields = comma-delimited names of columns to return) - Return the details of the requested artist
-
/dates?sort=asc (sort = sorting strategy [asc=ascending, desc=descending]) - get all the dates in which events are scheduled
-
/info?fields=field1,fieldn (fields = comma-delimited names of info fields to return) - get information about the festival, contacts of the organization and list of all the sponsors
-
/news?fields=field1,fieldn (fields = comma-delimited named of columns to return) - get all the news of the festival
-
/locations?fields=field1,fieldn (fields = comma-delimited named of columns to return) - get all the locations in which events are held
-
/bookings - (POST) Create a new booking for the specified user and event
-
/requests - (POST) Create a new information request for the specified user