Authzed API v1 Examples
Number of APIs: 11
SpiceDB
SpiceDB is a Zanzibar-inspired open source database system for managing security-critical application permissions.
Developers create a schema that models their permissions requirements and use a client library to apply the schema to the database, insert data into the database, and query the data to efficiently check permissions in their applications.
Features that distinguish SpiceDB from other systems include:
- Expressive gRPC and HTTP APIs for checking permissions, listing access, and powering devtools
- An architecture faithful to Google's Zanzibar paper, including resistance to the New Enemy Problem
- An intuitive and expressive schema language complete with a playground dev environment
- A powerful graph engine that supports distributed, parallel evaluation
- Pluggable storage that supports in-memory, PostgreSQL, CockroachDB and Cloud Spanner (beta)
- Deep observability with Prometheus metrics, structured logging, and distributed tracing
-
Schema - Schema Write POST http://localhost:8443/v1/schema/write
-
Schema - Schema Read POST http://localhost:8443/v1/schema/read
-
Permissions - Relationships Write POST http://localhost:8443/v1/relationships/write
-
Permissions - Relationships Read POST http://localhost:8443/v1/relationships/read
-
Permissions - Relationships Delete POST http://localhost:8443/v1/relationships/delete
-
Permissions - Permissions Check POST http://localhost:8443/v1/permissions/check
-
Permissions - Permissions Expand POST http://localhost:8443/v1/permissions/expand
-
Permissions - Lookup Subjects POST http://localhost:8443/v1/permissions/subjects
-
Watch - Watch POST http://localhost:8443/v1/permissions/subjects