pull down to refresh
0 sats \ 2 replies \ @SimpleStacker 6 Sep \ on: Stacker Saloon
How do I access the API reference again? I went to https://stacker.news/api/graphql and got
I don't think it had this behavior before
Yeah, as @k00b mentioned, we had to take it down, sorry for this
You can find all GraphQL type definitions here.
You can make a request with curl like this:
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query": "query($id: ID!) { item(id: $id) { id title } }", "variables": { "id": 1 } }' \
https://stacker.news/api/graphql
Hope this helps!
reply