Crates.io | ory-keto-client |
lib.rs | ory-keto-client |
version | 0.11.0-alpha.0 |
source | src |
created_at | 2021-01-26 09:44:09.755425 |
updated_at | 2023-02-23 17:21:37.126911 |
description | SDK Client for Ory Keto |
homepage | https://www.ory.sh |
repository | |
max_upload_size | |
id | 346819 |
size | 112,206 |
Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
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.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named ory-keto-client
and add the following to Cargo.toml
under [dependencies]
:
ory-keto-client = { path = "./ory-keto-client" }
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|
MetadataApi | get_version | GET /version | Return Running Software Version. MetadataApi | is_alive | GET /health/alive | Check HTTP Server Status MetadataApi | is_ready | GET /health/ready | Check HTTP Server and Database Status PermissionApi | check_permission | GET /relation-tuples/check/openapi | Check a permission PermissionApi | check_permission_or_error | GET /relation-tuples/check | Check a permission PermissionApi | expand_permissions | GET /relation-tuples/expand | Expand a Relationship into permissions. PermissionApi | post_check_permission | POST /relation-tuples/check/openapi | Check a permission PermissionApi | post_check_permission_or_error | POST /relation-tuples/check | Check a permission RelationshipApi | check_opl_syntax | POST /opl/syntax/check | Check the syntax of an OPL file RelationshipApi | create_relationship | PUT /admin/relation-tuples | Create a Relationship RelationshipApi | delete_relationships | DELETE /admin/relation-tuples | Delete Relationships RelationshipApi | get_relationships | GET /relation-tuples | Query relationships RelationshipApi | list_relationship_namespaces | GET /namespaces | Query namespaces RelationshipApi | patch_relationships | PATCH /admin/relation-tuples | Patch Multiple Relationships
To get access to the crate's generated documentation, use:
cargo doc --open