Podcastindex-org / docs-api

Developer documentation for the podcastindex.org api.
https://podcastindex-org.github.io/docs-api/
MIT License
56 stars 31 forks source link

Include socialInteract (comments) data on the episodes returned by the API #91

Closed dellagustin closed 1 year ago

dellagustin commented 1 year ago

References

daveajones commented 1 year ago

Oh I see you added here already. 👍

dellagustin commented 1 year ago

Oh I see you added here already. 👍

It is not everyday I can say I was one step ahead of @daveajones 😂

dellagustin commented 1 year ago

Hi @daveajones , I just tested with Podcasting 2.0 (http://mp3s.nashownotes.com/pc20rss.xml, id=920666). For /episodes/byfeedid it is not returning socialInteract. For /episodes/byid, it is returning socialInteract, but protocol is a number instead of the corresponding value in the feed (activitypub).

"socialInteract": [
            {
                "uri": "https://podcastindex.social/@dave/109722964424091177",
                "protocol": 1,
                "accountId": "@dave",
                "accountUrl": "https://podcastindex.social/users/dave",
                "priority": 0
            }
        ],
daveajones commented 1 year ago

Still working on it. Should be finished up today.

dellagustin commented 1 year ago

Tested and it is working.