Skip to content

Commit 0ab2174

Browse files
committed
openapi.yaml: add isrc and upc to RecognitionResult and StreamCallbackResultBody.results[] — both were already returned by the server but the spec didn't list them; isrc/upc are gated to Startup plan or higher
1 parent 32cbd9b commit 0ab2174

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ components:
9393
description: |
9494
Canonical AudD link to the song page. For lis.tn-hosted links,
9595
appending `?thumb` returns the cover-art image.
96+
isrc:
97+
type: string
98+
description: |
99+
International Standard Recording Code. Available on the Startup
100+
plan or higher; absent for accounts on lower tiers. Contact
101+
api@audd.io for enterprise features.
102+
upc:
103+
type: string
104+
description: |
105+
Universal Product Code of the release. Available on the Startup
106+
plan or higher; absent for accounts on lower tiers. Contact
107+
api@audd.io for enterprise features.
96108
apple_music:
97109
$ref: '#/components/schemas/AppleMusicMetadata'
98110
spotify:
@@ -403,6 +415,16 @@ components:
403415
label: { type: string }
404416
score: { type: integer }
405417
song_link: { type: string, format: uri }
418+
isrc:
419+
type: string
420+
description: |
421+
International Standard Recording Code. Available on the
422+
Startup plan or higher; absent for accounts on lower tiers.
423+
upc:
424+
type: string
425+
description: |
426+
Universal Product Code of the release. Available on the
427+
Startup plan or higher; absent for accounts on lower tiers.
406428
apple_music: { $ref: '#/components/schemas/AppleMusicMetadata' }
407429
spotify: { $ref: '#/components/schemas/SpotifyMetadata' }
408430
deezer: { $ref: '#/components/schemas/DeezerMetadata' }

0 commit comments

Comments
 (0)