/lineups
Base URL: https://hippohonk-api-642586320677.herokuapp.com/
GET
Summary: List lineups
All lineups in the database.
Responses
Response 200
OK
Response fields
Returns an array
| Field (*) | Type | Description | Example |
|---|---|---|---|
id | integer | Unique ID for the lineup. | |
band_id | integer | Unique ID for the band. | |
festival_id | integer | Unique ID for the festival. | |
band | object | ||
festival | object |
(*) Required field
Response 500
Server error
Response fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
message * | string |
(*) Required field
POST
Summary: Add a band to a lineup.
Currently hardcoded to SXSW 2023. The API will eventually be adapted to allow lineup configuration.
Request body fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
band_id * | integer |
(*) Required field
Responses
Response 201
Created
Response fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
id * | integer | Primary key. | |
band_id * | integer | FK to bands.id | |
festival_id * | integer | FK to festivals.id | |
created_at * | string (date-time) | Timestamp when created. | |
updated_at * | string (date-time) | Timestamp when last updated. |
(*) Required field
Response 500
Server error
Response fields
| Field (*) | Type | Description | Example |
|---|---|---|---|
message * | string |
(*) Required field