ory_keto_client 0.6.0-alpha.3 ory_keto_client: ^0.6.0-alpha.3 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.6.0-alpha.3
- Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://www.ory.sh
Requirements #
Dart 2.0 or later
Installation & Usage #
Github #
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
ory_keto_client:
git: https://github.com/ory/sdk.git
Local #
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
ory_keto_client:
path: /path/to/ory_keto_client
Tests #
TODO
Getting Started #
Please follow the installation procedure and then run the following:
import 'package:ory_keto_client/api.dart';
final api_instance = HealthApi();
try {
final result = api_instance.isInstanceAlive();
print(result);
} 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
- Version
Documentation For Authorization #
All endpoints do not require authorization.