Open radmakr opened 1 year ago
We had something similar in #98. Add to Dave's TODO
Is there a repo I should add this issue to or will Dave see it here?
It’s on my to do list for after the database upgrade.
As a side-note, this happens because of PHP's json_encode which sometimes requires some hoops to get it to output the exact JSON that is wanted.
I'm not sure if this is the best repo to open this ticket on? This may not be a bug, but it makes working with the API in Swift a little bit annoying. When hitting this endpoint,
https://api.podcastindex.org/api/1.0/podcasts/byfeedid
with an id that does not exist I believe that the responsefeed
should be null and not an empty array. When you pass a feed ID that does existfeed
returns a podcast object and not an array.if you have a good reason for the current implementation then I can make changes to my Swift code. Thanks
Here is an example of a request with an ID that does not exist,
and a request with an ID that exists,