Skip to content

Group project in the form of a Music API that uses an external and a "homemade" API. This API handles artists, genres and individual songs as well as discographies.

Notifications You must be signed in to change notification settings

seanie1995/SpelarDuInAPI

Repository files navigation

Endpoints with their assigned payloads

GET endpoints

  • /user/{userId}/track -Gets all tracks connected to a single user

  • /user/{userId}/genre -Gets all genres connected to a single user

  • /user/{userId}/artist -Gets all artists connected to a specific user

  • /user/{userId}/track -Gets all tracks connected to a specific user

Post endpoints

  • /track -Add new track:

Payload:

{  
    "TrackTitle": "Track title", 
    "Genre": "Genre",  
    "Artist": "Artist" 
}
  • /user Adds new user

Payload:

{  
	"UserName": "User name"
}
  • /genre Adds new genre

Payload:

{  
	"GenreName":"Genre"
}
  • /user/{userId}/genre/{genreId} Connects user to a genre

  • /user/{userId}/artist/{artistId} Connets user to a artist

  • /user/{userId}/track/{trackId} Connects user to a track

My Diagram

About

Group project in the form of a Music API that uses an external and a "homemade" API. This API handles artists, genres and individual songs as well as discographies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages