Rust API client for ory-keto-client
Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: v0.7.0-alpha.1
- Package version: v0.7.0-alpha.1
- Build package: org.openapitools.codegen.languages.RustClientCodegen For more information, please visit https://www.ory.sh
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
HealthApi | is_instance_alive | GET /health/alive | Check alive status |
HealthApi | is_instance_ready | GET /health/ready | Check readiness status |
ReadApi | get_check | GET /check | Check a relation tuple |
ReadApi | get_expand | GET /expand | Expand a Relation Tuple |
ReadApi | get_relation_tuples | GET /relation-tuples | Query relation tuples |
ReadApi | post_check | POST /check | Check a relation tuple |
VersionApi | get_version | GET /version | Get service version |
WriteApi | create_relation_tuple | PUT /relation-tuples | Create a Relation Tuple |
WriteApi | delete_relation_tuple | DELETE /relation-tuples | Delete a Relation Tuple |
WriteApi | patch_relation_tuples | PATCH /relation-tuples | Patch Multiple Relation Tuples |
Documentation For Models
- ExpandTree
- GetCheckResponse
- GetRelationTuplesResponse
- HealthNotReadyStatus
- HealthStatus
- InlineResponse400
- InternalRelationTuple
- PatchDelta
- RelationQuery
- SubjectSet
- Version
To get access to the crate's generated documentation, use:
cargo doc --open