Redirect is working fine for tv shows: https://www.tvmaze.com/shows/32938
But doesn't work for people: https://www.tvmaze.com/people/22921
Same for networks and web channels.
Redirect is working fine for tv shows: https://www.tvmaze.com/shows/32938
But doesn't work for people: https://www.tvmaze.com/people/22921
Same for networks and web channels.
What exactly is your usecase for this?
This isn't a bug really, in normal use there's no way you would end up with an URL such as https://www.tvmaze.com/people/22921. If you use our API, it will contain the proper URL e.g. in http://api.tvmaze.com/people/1 under "url".
Nevertheless, calling by ID would be nice. Names can be changed. IDs will be the same.
@david wrote:
What exactly is your usecase for this?
Calling external ressources by unique identifier (ID).
I meant: where are you getting ID's from where we don't also provided the proper URL to use?
I'm still curious, but also, sure: https://www.tvmaze.com/people/22921
@david wrote:
I meant: where are you getting ID's from where we don't also provided the proper URL to use?I'm still curious, but also, sure: https://www.tvmaze.com/people/22921
There are other media databases in the web who are also storing people, tv channels, networks, companies and so on. Some of them allow to add external IDs of foreign databases. If an external resource is callable by ID, it's simple to link to them.
For sure, it's not really needed for most use cases. But why not, if it's possible without big effort?
Thanks a lot for adding this feature to people. Maybe it's possible to add the same functionality to webchannels and networks too?
Check!
As for networks and web channels, I already did: https://www.tvmaze.com/networks/1 :-)
Nice!
Thanks a lot again! :)