Repository navigation
[API Request] Augment getSong to allow for other forms of ID as parameters #240
Closed
gabeklavans
started this conversation in
API requests
Replies: 1 comment 2 replies
|
Thinking about this passively over time, I'm leaning towards alternative solution 1:
I think this move would be healthier for the API overall. gonic, for example, could move its MBID search out of search3 (which is sort of undocumented behavior) and into I'll probably make a PR for this to get it moving along if there are no other comments/thoughts here |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Type of change
API tweak
Proposal description
This would allow an OSS server to more efficiently find songs via common identifiers, without having to rely on heuristics or custom implementations in the search endpoint.
Backward compatibility impact
Backward compatibility
API details
idmbidisrcSecurity impacts
No response
Potential issues
Alternative solutions
getSongByMBIDandgetSongByISRCfor more explicit retrievala. This would be fine. It removes the backwards compatibility concern, but makes the api a bit more verbose.
a. I like this solution less, since it complicates logic for searching by name (potentially making it slower or introducing regressions) and is harder to standardize
All reactions