ory_keto_client 0.7.0-alpha.0 ory_keto_client: ^0.7.0-alpha.0 copied to clipboard
OpenAPI API client
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.
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: v0.7.0-alpha.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://www.ory.sh
Requirements #
Dart 2.7.0 or later OR Flutter 1.12 or later
Installation & Usage #
Github #
If this Dart package is published to Github, please include the following in pubspec.yaml
name: ory_keto_client
version: 0.7.0-alpha.0
description: OpenAPI API client
dependencies:
ory_keto_client:
git: https://github.com/ory/sdk.git
version: 'any'
Local #
To use the package in your local drive, please include the following in pubspec.yaml
dependencies:
ory_keto_client:
path: /path/to/ory_keto_client
Getting Started #
Please follow the installation procedure and then run the following:
import 'package:ory_keto_client/api.dart';
final api = HealthApi();
try {
final response = await api.isInstanceAlive();
print(response);
} catch (e) {
print("Exception when calling HealthApi->isInstanceAlive: $e\n");
}
Documentation for API Endpoints #
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
HealthApi | isInstanceAlive | GET /health/alive | Check alive status |
HealthApi | isInstanceReady | GET /health/ready | Check readiness status |
ReadApi | getCheck | GET /check | Check a relation tuple |
ReadApi | getExpand | GET /expand | Expand a Relation Tuple |
ReadApi | getRelationTuples | GET /relation-tuples | Query relation tuples |
ReadApi | postCheck | POST /check | Check a relation tuple |
VersionApi | getVersion | GET /version | Get service version |
WriteApi | createRelationTuple | PUT /relation-tuples | Create a Relation Tuple |
WriteApi | deleteRelationTuple | DELETE /relation-tuples | Delete a Relation Tuple |
WriteApi | patchRelationTuples | PATCH /relation-tuples | Patch Multiple Relation Tuples |
Documentation For Models #
- ExpandTree
- GetCheckResponse
- GetRelationTuplesResponse
- HealthNotReadyStatus
- HealthStatus
- InlineResponse400
- InternalRelationTuple
- PatchDelta
- RelationQuery
- SubjectSet
- Version
Documentation For Authorization #
All endpoints do not require authorization.