Reblogged by cstanhope@social.coop ("Your friendly 'net denizen"):
jonny@social.coop wrote:
Attachments:
- Jupyter notebook of two API requests, one to make a list and the second to get posts from the federated feed. (these are standard APIs on masto so not adding exhaustive alt text). The output from getting posts from the federated feed shows one post from me on neuromatch.social (remote)
- Two more API calls, these ones are new: both use the /api/v1/lists/:list_id/statuses endpoint. The first is a POST adding a status by its ID, and the second is seeing what posts exist for the list. We can see that the post we got from the federated feed is now on our list! (remote)
- One more check is that we can get the list timeline from the standard list API method, and we can!!!! (remote)
- Just a screenshot from the mastodon interface this time showing that the post is indeed in the list we just created. (it's this post, which isn't all that important: https://neuromatch.social/@jonny/109544855404444286 ) (remote)