/musiccat

Sample REST API implementations using go-chi/chi, gocraft/dbr, and go-swagger for OpenAPI specs.

Primary LanguageGo

  1. /artistes GET POST

  2. /artistes/{artiste_id} PUT/PATCH DELETE

  3. /artistes/{artiste_id}/albums GET POST

  4. /artistes/{artiste_id}/albums/{album_id} PUT/PATCH DELETE

  5. /albums/{album_id}/songs GET POST

  6. /albums/{album_id}/songs/{song_id} PUT/PATCH DELETE

  7. /artistes/{artiste_id}/members GET

  8. /artistes/{artiste_id}/acts GET POST

  9. /artistes/{artiste_id}/acts/{act_id} PUT/PATCH DELETE

  10. /albums?start_year=....&end_year=... GET

  11. /artistes/{artiste_id}/albums?start_year=....&end_year=... GET