Skip to content

Commit

Permalink
api: BPM and Artists
Browse files Browse the repository at this point in the history
  • Loading branch information
codello committed Sep 2, 2023
1 parent 9365970 commit a90bd77
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions openapi/tags/songs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,15 @@ components:
description: |-
The title of the song.
example: "Never Gonna Give You Up"
artist:
type: string
description: |-
The artist of the song.
example: "Rick Astley"
artists:
type: array
description: |-
The list of artists of the song.
The first element of this list should be considered the *primary* artist.
Subsequent elements are secondary artists (also known as *featured* artists).
example: ["Rick Astley"]
items:
type: string
genre:
type: string
description: |-
Expand Down Expand Up @@ -495,6 +499,13 @@ components:
These are currently ignored by Karman but are stored for future use.
example:
subGenre: "Meme"
bpm:
type: number
default: 0
example: 123.45
description: |-
The BPM of the song.
These are the actual BPM which is 4 times as high as the number in the UltraStar TXT file.
gap:
type: integer
default: 0
Expand Down

0 comments on commit a90bd77

Please sign in to comment.