pull down to refresh
31 sats \ 11 replies \ @elvismercury 12 Nov 2023 \ on: SN release: 10 sat post fee, better search, QR scan, date ranges, bolt11 removal meta
š»
You didn't say anything about this part though.
Sandbox is live: https://stacker.news/api/graphql
It doesn't have inspection enabled yet but I'll enable it in my next release.
bolt11 removal
Oh whoops. Basically after 7 days, you can delete who/where/what received your withdrawals.
reply
Would you mind one more tech support? I tried the example you gave me before:
query items(name: 'elvismercury', sort: 'user', limit: 100) { items { id createdAt title text } }
but it doesn't like it, bunch of syntax errors. How would I form that query in the sandbox?
reply
This should work:
query { items(name: "elvismercury", sort: "user", limit: 100) { items { id createdAt title text } cursor } }
:)
The
query items(...)
part is only for variables, so you need to prefix the names with $
and set the variables in the input below:Schema is in this folder btw. Here is the schema for everything related to items.
The red squiggly lines are only because introspection is off, I believe.
reply
Muy amable :)
This is my first GraphQL ever! I feel so powerful!
reply
I'm still not 100% comfortable with GraphQL. There's definitely a learning curve!
reply
Not good for learning about how to use it iirc, but I really liked this GraphQL documentary. The channel has a lot of great documentaries about other dev stuff like frameworks :)
Or as someone in the YT comments mentioned, it's like "Netflix for developers", lol
reply
Thanks so much for sharing this documentary!
reply
oof, guess I should have shared this earlier, haha
Dude I don't know how I missed that channel
reply
lol, I think it just showed up in my YT feed 1-2 years ago
Introspection of prod is live. Should be easier now.
reply