ory-keto-client 0.4.1.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +129 -0
- data/Rakefile +10 -0
- data/docs/AddOryAccessControlPolicyRoleMembers.md +21 -0
- data/docs/AddOryAccessControlPolicyRoleMembersBody.md +17 -0
- data/docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md +17 -0
- data/docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +27 -0
- data/docs/AddOryAccessControlPolicyRoleMembersOK.md +17 -0
- data/docs/AuthorizationResult.md +17 -0
- data/docs/DeleteOryAccessControlPolicy.md +19 -0
- data/docs/DeleteOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/DeleteOryAccessControlPolicyRole.md +19 -0
- data/docs/DeleteOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/DoOryAccessControlPoliciesAllow.md +19 -0
- data/docs/DoOryAccessControlPoliciesAllowForbidden.md +17 -0
- data/docs/DoOryAccessControlPoliciesAllowInternalServerError.md +17 -0
- data/docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md +27 -0
- data/docs/DoOryAccessControlPoliciesAllowOK.md +17 -0
- data/docs/EnginesApi.md +579 -0
- data/docs/GetOryAccessControlPolicy.md +19 -0
- data/docs/GetOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/GetOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/GetOryAccessControlPolicyNotFound.md +17 -0
- data/docs/GetOryAccessControlPolicyNotFoundBody.md +27 -0
- data/docs/GetOryAccessControlPolicyOK.md +17 -0
- data/docs/GetOryAccessControlPolicyRole.md +19 -0
- data/docs/GetOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/GetOryAccessControlPolicyRoleNotFound.md +17 -0
- data/docs/GetOryAccessControlPolicyRoleNotFoundBody.md +27 -0
- data/docs/GetOryAccessControlPolicyRoleOK.md +17 -0
- data/docs/HealthApi.md +96 -0
- data/docs/HealthNotReadyStatus.md +17 -0
- data/docs/HealthStatus.md +17 -0
- data/docs/InlineResponse500.md +27 -0
- data/docs/Input.md +23 -0
- data/docs/IsInstanceAliveInternalServerError.md +17 -0
- data/docs/IsInstanceAliveInternalServerErrorBody.md +27 -0
- data/docs/IsInstanceAliveOK.md +17 -0
- data/docs/ListOryAccessControlPolicies.md +21 -0
- data/docs/ListOryAccessControlPoliciesInternalServerError.md +17 -0
- data/docs/ListOryAccessControlPoliciesInternalServerErrorBody.md +27 -0
- data/docs/ListOryAccessControlPoliciesOK.md +17 -0
- data/docs/ListOryAccessControlPolicyRoles.md +21 -0
- data/docs/ListOryAccessControlPolicyRolesInternalServerError.md +17 -0
- data/docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md +27 -0
- data/docs/ListOryAccessControlPolicyRolesOK.md +17 -0
- data/docs/OryAccessControlPolicies.md +17 -0
- data/docs/OryAccessControlPolicy.md +29 -0
- data/docs/OryAccessControlPolicyAllowedInput.md +23 -0
- data/docs/OryAccessControlPolicyRole.md +19 -0
- data/docs/OryAccessControlPolicyRoles.md +17 -0
- data/docs/Policy.md +29 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembers.md +21 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md +17 -0
- data/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +27 -0
- data/docs/Role.md +19 -0
- data/docs/SwaggerHealthStatus.md +17 -0
- data/docs/SwaggerNotReadyStatus.md +17 -0
- data/docs/SwaggerVersion.md +17 -0
- data/docs/UpsertOryAccessControlPolicy.md +19 -0
- data/docs/UpsertOryAccessControlPolicyInternalServerError.md +17 -0
- data/docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md +27 -0
- data/docs/UpsertOryAccessControlPolicyOK.md +17 -0
- data/docs/UpsertOryAccessControlPolicyRole.md +19 -0
- data/docs/UpsertOryAccessControlPolicyRoleInternalServerError.md +17 -0
- data/docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md +27 -0
- data/docs/UpsertOryAccessControlPolicyRoleOK.md +17 -0
- data/docs/Version.md +17 -0
- data/docs/VersionApi.md +52 -0
- data/lib/ory-keto-client.rb +65 -0
- data/lib/ory-keto-client/api/engines_api.rb +778 -0
- data/lib/ory-keto-client/api/health_api.rb +134 -0
- data/lib/ory-keto-client/api/version_api.rb +78 -0
- data/lib/ory-keto-client/api_client.rb +385 -0
- data/lib/ory-keto-client/api_error.rb +57 -0
- data/lib/ory-keto-client/configuration.rb +241 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members.rb +237 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_body.rb +209 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_ok.rb +207 -0
- data/lib/ory-keto-client/models/authorization_result.rb +212 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy.rb +228 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role.rb +228 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/delete_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow.rb +222 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_forbidden.rb +207 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/do_ory_access_control_policies_allow_ok.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy.rb +228 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_not_found.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_not_found_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_ok.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role.rb +228 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found.rb +207 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found_body.rb +260 -0
- data/lib/ory-keto-client/models/get_ory_access_control_policy_role_ok.rb +207 -0
- data/lib/ory-keto-client/models/health_not_ready_status.rb +210 -0
- data/lib/ory-keto-client/models/health_status.rb +207 -0
- data/lib/ory-keto-client/models/inline_response500.rb +253 -0
- data/lib/ory-keto-client/models/input.rb +239 -0
- data/lib/ory-keto-client/models/is_instance_alive_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/is_instance_alive_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/is_instance_alive_ok.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies.rb +233 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policies_ok.rb +210 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles.rb +233 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/list_ory_access_control_policy_roles_ok.rb +210 -0
- data/lib/ory-keto-client/models/ory_access_control_policies.rb +209 -0
- data/lib/ory-keto-client/models/ory_access_control_policy.rb +275 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb +239 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_role.rb +220 -0
- data/lib/ory-keto-client/models/ory_access_control_policy_roles.rb +209 -0
- data/lib/ory-keto-client/models/policy.rb +275 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members.rb +243 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/remove_ory_access_control_policy_role_members_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/role.rb +220 -0
- data/lib/ory-keto-client/models/swagger_health_status.rb +208 -0
- data/lib/ory-keto-client/models/swagger_not_ready_status.rb +210 -0
- data/lib/ory-keto-client/models/swagger_version.rb +208 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy.rb +222 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_ok.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role.rb +222 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_internal_server_error.rb +207 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_internal_server_error_body.rb +260 -0
- data/lib/ory-keto-client/models/upsert_ory_access_control_policy_role_ok.rb +207 -0
- data/lib/ory-keto-client/models/version.rb +208 -0
- data/lib/ory-keto-client/version.rb +15 -0
- data/ory-keto-client.gemspec +39 -0
- data/spec/api/engines_api_spec.rb +182 -0
- data/spec/api/health_api_spec.rb +57 -0
- data/spec/api/version_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_ory_access_control_policy_role_members_body_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_internal_server_error_body_spec.rb +71 -0
- data/spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_ok_spec.rb +41 -0
- data/spec/models/add_ory_access_control_policy_role_members_spec.rb +53 -0
- data/spec/models/authorization_result_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/delete_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/delete_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb +71 -0
- data/spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_ok_spec.rb +41 -0
- data/spec/models/do_ory_access_control_policies_allow_spec.rb +47 -0
- data/spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_not_found_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_not_found_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_ok_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_not_found_body_spec.rb +71 -0
- data/spec/models/get_ory_access_control_policy_role_not_found_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_ok_spec.rb +41 -0
- data/spec/models/get_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/get_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/health_not_ready_status_spec.rb +41 -0
- data/spec/models/health_status_spec.rb +41 -0
- data/spec/models/inline_response500_spec.rb +71 -0
- data/spec/models/input_spec.rb +59 -0
- data/spec/models/is_instance_alive_internal_server_error_body_spec.rb +71 -0
- data/spec/models/is_instance_alive_internal_server_error_spec.rb +41 -0
- data/spec/models/is_instance_alive_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb +71 -0
- data/spec/models/list_ory_access_control_policies_internal_server_error_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policies_spec.rb +53 -0
- data/spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb +71 -0
- data/spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policy_roles_ok_spec.rb +41 -0
- data/spec/models/list_ory_access_control_policy_roles_spec.rb +53 -0
- data/spec/models/ory_access_control_policies_spec.rb +41 -0
- data/spec/models/ory_access_control_policy_allowed_input_spec.rb +59 -0
- data/spec/models/ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/ory_access_control_policy_roles_spec.rb +41 -0
- data/spec/models/ory_access_control_policy_spec.rb +77 -0
- data/spec/models/policy_spec.rb +77 -0
- data/spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb +71 -0
- data/spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb +41 -0
- data/spec/models/remove_ory_access_control_policy_role_members_spec.rb +53 -0
- data/spec/models/role_spec.rb +47 -0
- data/spec/models/swagger_health_status_spec.rb +41 -0
- data/spec/models/swagger_not_ready_status_spec.rb +41 -0
- data/spec/models/swagger_version_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb +71 -0
- data/spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_ok_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb +71 -0
- data/spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_ok_spec.rb +41 -0
- data/spec/models/upsert_ory_access_control_policy_role_spec.rb +47 -0
- data/spec/models/upsert_ory_access_control_policy_spec.rb +47 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +396 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path |
|
8
|
+
**id** | **String** | The ID of the ORY Access Control Policy Role. in: path |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::GetOryAccessControlPolicy.new(flavor: null,
|
16
|
+
id: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**GetOryAccessControlPolicyInternalServerErrorBody**](GetOryAccessControlPolicyInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::GetOryAccessControlPolicyInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyNotFound
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**GetOryAccessControlPolicyNotFoundBody**](GetOryAccessControlPolicyNotFoundBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyNotFound.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyNotFoundBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::GetOryAccessControlPolicyNotFoundBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyOK.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path |
|
8
|
+
**id** | **String** | The ID of the ORY Access Control Policy Role. in: path |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRole.new(flavor: null,
|
16
|
+
id: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRoleInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**GetOryAccessControlPolicyRoleInternalServerErrorBody**](GetOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRoleInternalServerError.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRoleInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRoleInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRoleNotFound
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**GetOryAccessControlPolicyRoleNotFoundBody**](GetOryAccessControlPolicyRoleNotFoundBody.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRoleNotFound.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRoleNotFoundBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | details | [optional]
|
9
|
+
**message** | **String** | message | [optional]
|
10
|
+
**reason** | **String** | reason | [optional]
|
11
|
+
**request** | **String** | request | [optional]
|
12
|
+
**status** | **String** | status | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRoleNotFoundBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::GetOryAccessControlPolicyRoleOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::GetOryAccessControlPolicyRoleOK.new(payload: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/HealthApi.md
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# OryHydraClient::HealthApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status
|
8
|
+
[**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## is_instance_alive
|
13
|
+
|
14
|
+
> HealthStatus is_instance_alive
|
15
|
+
|
16
|
+
Check alive status
|
17
|
+
|
18
|
+
This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'ory-keto-client'
|
25
|
+
|
26
|
+
api_instance = OryHydraClient::HealthApi.new
|
27
|
+
|
28
|
+
begin
|
29
|
+
#Check alive status
|
30
|
+
result = api_instance.is_instance_alive
|
31
|
+
p result
|
32
|
+
rescue OryHydraClient::ApiError => e
|
33
|
+
puts "Exception when calling HealthApi->is_instance_alive: #{e}"
|
34
|
+
end
|
35
|
+
```
|
36
|
+
|
37
|
+
### Parameters
|
38
|
+
|
39
|
+
This endpoint does not need any parameter.
|
40
|
+
|
41
|
+
### Return type
|
42
|
+
|
43
|
+
[**HealthStatus**](HealthStatus.md)
|
44
|
+
|
45
|
+
### Authorization
|
46
|
+
|
47
|
+
No authorization required
|
48
|
+
|
49
|
+
### HTTP request headers
|
50
|
+
|
51
|
+
- **Content-Type**: Not defined
|
52
|
+
- **Accept**: application/json
|
53
|
+
|
54
|
+
|
55
|
+
## is_instance_ready
|
56
|
+
|
57
|
+
> HealthStatus is_instance_ready
|
58
|
+
|
59
|
+
Check readiness status
|
60
|
+
|
61
|
+
This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
62
|
+
|
63
|
+
### Example
|
64
|
+
|
65
|
+
```ruby
|
66
|
+
# load the gem
|
67
|
+
require 'ory-keto-client'
|
68
|
+
|
69
|
+
api_instance = OryHydraClient::HealthApi.new
|
70
|
+
|
71
|
+
begin
|
72
|
+
#Check readiness status
|
73
|
+
result = api_instance.is_instance_ready
|
74
|
+
p result
|
75
|
+
rescue OryHydraClient::ApiError => e
|
76
|
+
puts "Exception when calling HealthApi->is_instance_ready: #{e}"
|
77
|
+
end
|
78
|
+
```
|
79
|
+
|
80
|
+
### Parameters
|
81
|
+
|
82
|
+
This endpoint does not need any parameter.
|
83
|
+
|
84
|
+
### Return type
|
85
|
+
|
86
|
+
[**HealthStatus**](HealthStatus.md)
|
87
|
+
|
88
|
+
### Authorization
|
89
|
+
|
90
|
+
No authorization required
|
91
|
+
|
92
|
+
### HTTP request headers
|
93
|
+
|
94
|
+
- **Content-Type**: Not defined
|
95
|
+
- **Accept**: application/json
|
96
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::HealthNotReadyStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**errors** | **Hash<String, String>** | Errors contains a list of errors that caused the not ready status. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::HealthNotReadyStatus.new(errors: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OryHydraClient::HealthStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**status** | **String** | Status always contains \"ok\". | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OryHydraClient'
|
13
|
+
|
14
|
+
instance = OryHydraClient::HealthStatus.new(status: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::InlineResponse500
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | | [optional]
|
8
|
+
**details** | **Array<Hash<String, Object>>** | | [optional]
|
9
|
+
**message** | **String** | | [optional]
|
10
|
+
**reason** | **String** | | [optional]
|
11
|
+
**request** | **String** | | [optional]
|
12
|
+
**status** | **String** | | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::InlineResponse500.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
data/docs/Input.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# OryHydraClient::Input
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action** | **String** | Action is the action that is requested on the resource. | [optional]
|
8
|
+
**context** | **Hash<String, Object>** | Context is the request's environmental context. | [optional]
|
9
|
+
**resource** | **String** | Resource is the resource that access is requested to. | [optional]
|
10
|
+
**subject** | **String** | Subject is the subject that is requesting access. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OryHydraClient'
|
16
|
+
|
17
|
+
instance = OryHydraClient::Input.new(action: null,
|
18
|
+
context: null,
|
19
|
+
resource: null,
|
20
|
+
subject: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|