This repository is made as part of a assignment of the course 'Programming Web'. The main goal of this course is to create some sort of "Eurosong" type API with front-end created with Vue.js attached to it. The backend API you can find in this repository but for the front-end there will be an other repository to keep things seperate.
Open endpoints require no Authentication.
- Get all Songs :
GET /Songs
- Get Songs by id :
GET /Songs/{id}
- Get Votes by song id :
GET /Songs/{id}/votes
- Get Points by song id :
GET /Songs/{id}/points
- Get all Artists :
GET /Artists
- Get Artists by id :
GET /Artists/{id}
- Get Songs by Artist id :
GET /Artists/{id}/songs
- Get Picture of Artist id :
GET /Artists/{id}/picture
- Get all Votes :
GET /Votes
- Get Votes by id :
GET /Votes/{id}
Closed endpoints require Basic Authentication credentials to be included in the header of the request as a Base64Encoded string.
- Add new Song to Database :
POST /Songs
- Update a Song in the Database :
PUT /Songs/{id}
- Remove a Song from the Database :
DELETE /Songs/{id}
- Add new Artist to Database :
POST /Artists
- Update an Artist in the Database :
PUT /Artists/{id}
- Remove an Artist from the Database :
DELETE /Artists/{id}
- Add new Vote to Database :
POST /Votes
- Update a Vote in the Database :
PUT /Votes/{id}
- Remove a Vote from the Database :
DELETE /Votes/{id}