Rust API client for ory-keto-client

Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.

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.

Installation

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" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- MetadataApi | getversion | GET /version | Return Running Software Version. *MetadataApi* | isalive | GET /health/alive | Check HTTP Server Status MetadataApi | isready | GET /health/ready | Check HTTP Server and Database Status *PermissionApi* | checkpermission | GET /relation-tuples/check/openapi | Check a permission PermissionApi | checkpermissionorerror | GET /relation-tuples/check | Check a permission *PermissionApi* | expandpermissions | GET /relation-tuples/expand | Expand a Relationship into permissions. PermissionApi | postcheckpermission | POST /relation-tuples/check/openapi | Check a permission PermissionApi | postcheckpermissionorerror | POST /relation-tuples/check | Check a permission RelationshipApi | checkoplsyntax | POST /opl/syntax/check | Check the syntax of an OPL file RelationshipApi | createrelationship | PUT /admin/relation-tuples | Create a Relationship *RelationshipApi* | deleterelationships | DELETE /admin/relation-tuples | Delete Relationships RelationshipApi | getrelationships | GET /relation-tuples | Query relationships *RelationshipApi* | listrelationshipnamespaces | GET /namespaces | Query namespaces *RelationshipApi* | patchrelationships | PATCH /admin/relation-tuples | Patch Multiple Relationships

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

hi@ory.sh