/bands/{id}
Base URL: https://hippohonk-api-642586320677.herokuapp.com/
GET
Summary: Get band by id.
Retrieves all information about a specific band.
Responses
Response 200
OK (null if not found)
Response fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
id * | integer | Unique ID for the band. | |
name * | string | Name of the band. | "Faux Real" |
description | text | Summary of the band that can't be captured through genre alone. | "French Art Pop duo producing jams with an eye for performance. We are all living in the United Snakes of America, and the brothers Arndt are the snake charmers.\n" |
average_rating | number | Average rating for the band. | 4 |
location | string | Location the band calls home. | "Los Angeles, CA" |
url | string | URL for the band's website or social media site. | "https://isthisfauxreal.com/" |
genre_id | integer | Unique ID for a genre. | 2 |
genre_name | string | Name for a band's primary genre. | "Art Pop" |
image | string | Path to the web-hosted image. This image should be pre-processed to the correct size and hosted in a secure location. | "Currently not implemented" |
(*) Required field
Response 500
Server error
Response fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
message * | string |
(*) Required field