You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 response feed should be null and not an empty array. When you pass a feed ID that does exist feed 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,
{
"status": "true",
"query": {
"id": "3454543656564"
},
"feed": [],
"description": "No feeds match this id."
}
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,
The text was updated successfully, but these errors were encountered: