#ory #client #sdk #api-client #version #rest #keto

ory-keto-client

SDK Client for Ory Keto

7 releases (breaking)

0.11.0-alpha.0 Feb 23, 2023
0.9.0-alpha.0 Aug 1, 2022
0.8.0-alpha.2 Mar 4, 2022
0.8.0-alpha.1 Feb 22, 2022
0.0.0-alpha.55 Jan 26, 2021

#833 in Authentication

Download history 107/week @ 2024-03-13 62/week @ 2024-03-20 51/week @ 2024-03-27 34/week @ 2024-04-03 48/week @ 2024-04-10 69/week @ 2024-04-17 13/week @ 2024-04-24 36/week @ 2024-05-01 7/week @ 2024-05-08 14/week @ 2024-05-15 46/week @ 2024-05-22 30/week @ 2024-05-29 22/week @ 2024-06-05 44/week @ 2024-06-12 15/week @ 2024-06-19 2/week @ 2024-06-26

91 downloads per month

Apache-2.0

70KB
1K SLoC

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.

  • API version: v0.11.0-alpha.0
  • Package version: v0.11.0-alpha.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

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

Documentation For Models

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

cargo doc --open

Author

hi@ory.sh

Dependencies

~4–19MB
~249K SLoC