Skip to main content

/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 (*)TypeDescriptionExample
idintegerUnique ID for the lineup.
band_idintegerUnique ID for the band.
festival_idintegerUnique ID for the festival.
bandobject
festivalobject

(*) Required field

Response 500

Server error

Response fields

Field (*)TypeDescriptionExample
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 (*)TypeDescriptionExample
band_id *integer

(*) Required field

Responses

Response 201

Created

Response fields

Field (*)TypeDescriptionExample
id *integerPrimary key.
band_id *integerFK to bands.id
festival_id *integerFK 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 (*)TypeDescriptionExample
message *string

(*) Required field