Exploring SpiceDB HTTP API: Features and...
# spicedb
c
Hi all 🙂 Trying to replicate some of the steps from this blogpost here: https://authzed.com/blog/authzed-http-api I can't reach the dashboard at localhost:8080 Do I need to enable the dashboard somehow?
v
Hi @Covey , the dashboard is now deprecated, sorry about that. We have recently opensourced the playground, but I'm not entirely sure if you can connect it to a local spicedb instance. FYI @ecordell as author, we may want to update that blogpost cc @Sam can the playground connect to a local spicedb instance?
c
Is there some way for me to get something akin to
/health
? 🙂
v
there is a health endpoing in SpiceDB, but it's not an HTTP API, it's a gRPC API
so you need to install https://github.com/grpc-ecosystem/grpc-health-probe, or use the one that comes with the container
c
I see. Thank you 🙂
s
@Covey no
/health
endpoint via http but if you're looking for a rough equivalent you can use
ReadSchema
for a simple API to call to test the connection. We plan to allow the playground to connect to a spicedb instance but don't have a concrete timeline yet. And I wrote that post 😅 so I'll get it updated. Thanks for letting us know