[API Request] All new apis should use the same entity names when referring to a given entity #33
dbrader
started this conversation in
API requests
Replies: 2 comments 2 replies
-
A large part is tied to Subsonic having 2 modes folders or tags. Should we also drop the non ID3 concept for the new endpoints? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, the dual mode is troubling. Especially when you need to mingle the two to get the info required. And have the web interface in one but use the other in your client. In my opinion, we should have one or the other (preferably ID3 only everywhere). But I understand others would vehemently disagree and shout me off the ledge. ;) Its hard to be all things to all people. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type of change
API Clarification
Proposal description
All future apis should use consistent naming for entities. Having incomplete or differently named entities in the api cause a huge headache.
For example, Songs have a entity name of entry, song, match depending on what api you call.
Also the property list is different depending on the api.
Can't we all just agree that a song is a "song", an album is an "album"?
My code wants things to be named the same and not have to special case given apis :)
Backward compatibility impact
Changing entity names in the current api would break them. Lets move forward being consistent from this point.
Backward compatibility
API details
a song is a "song" everywhere. Same for all other entities... an album is an "album" etc
Security impacts
none
Potential issues
No response
Alternative solutions
No response
Beta Was this translation helpful? Give feedback.
All reactions