Endpoints - bounswe/bounswe2022group7 GitHub Wiki

ENDPOINT WHAT IT DOES
[POST]signup sign up for registered user, returns boolean as response
[POST]login log in for registered user, returns the authorization token
[GET]event/{id} returns an event, either physical exhibition or online gallery, from database if the corresponding id exists
[GET]art_item/{id} returns an art item from database if the corresponding id exists
[GET]homepage/getGenericArtItems returns a list of art items that are recommended for visitor users
[GET]homepage/getGenericEvents returns a list of events that are recommended for visitor users
[GET]homepage/getEventsForUser returns a list of events that are recommended for a registered user
[GET]homepage/getArtItemsForUser returns a list of art items that are recommended for a registered user