Skip to main content

Search

Items tagged with: DIYAlgorithms


It works!!!!!!!! An API Endpoint to post statuses directly into lists so people can make their own #DIYAlgorithms . Now some cleanup and a bit of UX stuff but i can't believe i actually wrote code in #Ruby i am proud of myself. 😀
#MastoDev
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 One more check is that we can get the list timeline from the standard list API method, and we can!!!!
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! 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 )

⇧