365 sats \ 1 reply \ @k00b 8 Nov 2023 \ on: Feasibility for SN to have a HN-like API? meta
We have a graphql API: https://stacker.news/api/graphql
You should be able to find a UI to inspect it, but the interface is defined in these files if that's easier: https://github.com/stackernews/stacker.news/tree/master/api/typeDefs
Getting a db dump is tricky on the privacy side and I'm a little overwhelmed with stuff to do as is. If you want to construct a privacy preserving pg_dump command for me to run, I'd be happy to run it once I've confirmed it's not harming privacy.
Our database schema is defined here: https://github.com/stackernews/stacker.news/blob/master/prisma/schema.prisma
That's great, this will be a good PoW for me to figure out what to ask for. Thanks :)
reply