kinde_sdk 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/kinde_sdk/auth_controller.rb +2 -0
- data/app/helpers/auth_helper.rb +4 -4
- data/kinde_api/Gemfile +9 -0
- data/kinde_api/README.md +316 -47
- data/kinde_api/Rakefile +10 -0
- data/kinde_api/docs/APIsApi.md +569 -60
- data/kinde_api/docs/AddAPIScopeRequest.md +20 -0
- data/kinde_api/docs/AddAPIsRequest.md +4 -4
- data/kinde_api/docs/AddOrganizationUsersRequestUsersInner.md +1 -1
- data/kinde_api/docs/AddRoleScopeRequest.md +18 -0
- data/kinde_api/docs/AddRoleScopeResponse.md +20 -0
- data/kinde_api/docs/ApplicationsApi.md +465 -38
- data/kinde_api/docs/AuthorizeAppApiResponse.md +24 -0
- data/kinde_api/docs/BillingAgreementsApi.md +157 -0
- data/kinde_api/docs/BillingEntitlementsApi.md +89 -0
- data/kinde_api/docs/BillingMeterUsageApi.md +77 -0
- data/kinde_api/docs/BusinessApi.md +27 -66
- data/kinde_api/docs/CallbacksApi.md +25 -25
- data/kinde_api/docs/Category.md +20 -0
- data/kinde_api/docs/ConnectedAppsApi.md +8 -8
- data/kinde_api/docs/Connection.md +22 -0
- data/kinde_api/docs/ConnectionConnection.md +24 -0
- data/kinde_api/docs/ConnectionsApi.md +439 -0
- data/kinde_api/docs/CreateApiScopesResponse.md +22 -0
- data/kinde_api/docs/CreateApiScopesResponseScope.md +18 -0
- data/kinde_api/docs/CreateApisResponse.md +22 -0
- data/kinde_api/docs/CreateApisResponseApi.md +18 -0
- data/kinde_api/docs/CreateApplicationRequest.md +3 -3
- data/kinde_api/docs/CreateApplicationResponseApplication.md +4 -4
- data/kinde_api/docs/CreateBillingAgreementRequest.md +24 -0
- data/kinde_api/docs/CreateCategoryRequest.md +20 -0
- data/kinde_api/docs/CreateCategoryResponse.md +22 -0
- data/kinde_api/docs/CreateCategoryResponseCategory.md +18 -0
- data/kinde_api/docs/CreateConnectionRequest.md +28 -0
- data/kinde_api/docs/CreateConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf.md +22 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf1.md +34 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf2.md +44 -0
- data/kinde_api/docs/CreateConnectionResponse.md +22 -0
- data/kinde_api/docs/CreateConnectionResponseConnection.md +18 -0
- data/kinde_api/docs/CreateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponseEnvironmentVariable.md +18 -0
- data/kinde_api/docs/CreateIdentityResponse.md +22 -0
- data/kinde_api/docs/CreateIdentityResponseIdentity.md +18 -0
- data/kinde_api/docs/CreateMeterUsageRecordRequest.md +26 -0
- data/kinde_api/docs/CreateMeterUsageRecordResponse.md +20 -0
- data/kinde_api/docs/CreateOrganizationRequest.md +17 -7
- data/kinde_api/docs/CreateOrganizationResponse.md +4 -4
- data/kinde_api/docs/CreateOrganizationResponseOrganization.md +4 -2
- data/kinde_api/docs/CreatePropertyRequest.md +30 -0
- data/kinde_api/docs/CreatePropertyResponse.md +22 -0
- data/kinde_api/docs/CreatePropertyResponseProperty.md +18 -0
- data/kinde_api/docs/CreateRolesResponse.md +22 -0
- data/kinde_api/docs/CreateRolesResponseRole.md +18 -0
- data/kinde_api/docs/CreateUserIdentityRequest.md +24 -0
- data/kinde_api/docs/CreateUserRequest.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInner.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInnerDetails.md +7 -1
- data/kinde_api/docs/CreateUserRequestProfile.md +3 -1
- data/kinde_api/docs/CreateUserResponse.md +1 -1
- data/kinde_api/docs/CreateWebHookRequest.md +24 -0
- data/kinde_api/docs/CreateWebhookResponse.md +22 -0
- data/kinde_api/docs/CreateWebhookResponseWebhook.md +20 -0
- data/kinde_api/docs/DeleteApiResponse.md +20 -0
- data/kinde_api/docs/DeleteEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/DeleteRoleScopeResponse.md +20 -0
- data/kinde_api/docs/DeleteWebhookResponse.md +20 -0
- data/kinde_api/docs/EnvironmentVariable.md +26 -0
- data/kinde_api/docs/EnvironmentVariablesApi.md +356 -0
- data/kinde_api/docs/EnvironmentsApi.md +281 -5
- data/kinde_api/docs/EventType.md +26 -0
- data/kinde_api/docs/FeatureFlagsApi.md +4 -4
- data/kinde_api/docs/GetApiResponse.md +22 -0
- data/kinde_api/docs/GetApiResponseApi.md +28 -0
- data/kinde_api/docs/GetApiResponseApiApplicationsInner.md +24 -0
- data/kinde_api/docs/GetApiResponseApiScopesInner.md +20 -0
- data/kinde_api/docs/GetApiScopeResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponseScopesInner.md +22 -0
- data/kinde_api/docs/GetApisResponse.md +24 -0
- data/kinde_api/docs/GetApisResponseApisInner.md +26 -0
- data/kinde_api/docs/GetApisResponseApisInnerScopesInner.md +20 -0
- data/kinde_api/docs/GetApplicationResponseApplication.md +11 -5
- data/kinde_api/docs/GetBillingAgreementsResponse.md +24 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInner.md +26 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInnerEntitlementsInner.md +20 -0
- data/kinde_api/docs/GetBillingEntitlementsResponse.md +26 -0
- data/kinde_api/docs/GetBillingEntitlementsResponseEntitlementsInner.md +32 -0
- data/kinde_api/docs/GetBillingEntitlementsResponsePlansInner.md +20 -0
- data/kinde_api/docs/GetBusinessResponse.md +22 -0
- data/kinde_api/docs/GetBusinessResponseBusiness.md +38 -0
- data/kinde_api/docs/GetCategoriesResponse.md +24 -0
- data/kinde_api/docs/GetConnectionsResponse.md +24 -0
- data/kinde_api/docs/GetEnvironmentResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironment.md +68 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentBackgroundColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentLinkColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariablesResponse.md +24 -0
- data/kinde_api/docs/GetEventResponse.md +22 -0
- data/kinde_api/docs/GetEventResponseEvent.md +26 -0
- data/kinde_api/docs/GetEventTypesResponse.md +22 -0
- data/kinde_api/docs/GetIdentitiesResponse.md +24 -0
- data/kinde_api/docs/GetIndustriesResponse.md +22 -0
- data/kinde_api/docs/GetIndustriesResponseIndustriesInner.md +20 -0
- data/kinde_api/docs/GetOrganizationResponse.md +72 -0
- data/kinde_api/docs/GetOrganizationResponseBilling.md +20 -0
- data/kinde_api/docs/GetOrganizationResponseBillingAgreementsInner.md +20 -0
- data/kinde_api/docs/GetOrganizationUsersResponse.md +2 -2
- data/kinde_api/docs/GetOrganizationsResponse.md +4 -4
- data/kinde_api/docs/GetPropertiesResponse.md +24 -0
- data/kinde_api/docs/GetPropertyValuesResponse.md +24 -0
- data/kinde_api/docs/GetRoleResponse.md +22 -0
- data/kinde_api/docs/GetRoleResponseRole.md +26 -0
- data/kinde_api/docs/GetTimezonesResponse.md +22 -0
- data/kinde_api/docs/GetTimezonesResponseTimezonesInner.md +20 -0
- data/kinde_api/docs/GetUserMfaResponse.md +22 -0
- data/kinde_api/docs/GetUserMfaResponseMfa.md +30 -0
- data/kinde_api/docs/GetUserSessionsResponse.md +24 -0
- data/kinde_api/docs/GetUserSessionsResponseSessionsInner.md +40 -0
- data/kinde_api/docs/GetWebhooksResponse.md +22 -0
- data/kinde_api/docs/IdentitiesApi.md +219 -0
- data/kinde_api/docs/Identity.md +34 -0
- data/kinde_api/docs/IndustriesApi.md +14 -21
- data/kinde_api/docs/LogoutRedirectUrls.md +6 -2
- data/kinde_api/docs/MFAApi.md +77 -0
- data/kinde_api/docs/NotFoundResponse.md +18 -0
- data/kinde_api/docs/NotFoundResponseErrors.md +20 -0
- data/kinde_api/docs/OAuthApi.md +32 -97
- data/kinde_api/docs/OrganizationItemSchema.md +28 -0
- data/kinde_api/docs/OrganizationUser.md +17 -11
- data/kinde_api/docs/OrganizationsApi.md +1440 -210
- data/kinde_api/docs/Permissions.md +1 -1
- data/kinde_api/docs/PermissionsApi.md +7 -7
- data/kinde_api/docs/PropertiesApi.md +297 -0
- data/kinde_api/docs/Property.md +28 -0
- data/kinde_api/docs/PropertyCategoriesApi.md +227 -0
- data/kinde_api/docs/PropertyValue.md +26 -0
- data/kinde_api/docs/ReadEnvLogoResponse.md +22 -0
- data/kinde_api/docs/ReadEnvLogoResponseLogosInner.md +20 -0
- data/kinde_api/docs/ReadLogoResponse.md +22 -0
- data/kinde_api/docs/ReadLogoResponseLogosInner.md +22 -0
- data/kinde_api/docs/ReplaceConnectionRequest.md +24 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf.md +32 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf1.md +40 -0
- data/kinde_api/docs/ReplaceMFARequest.md +20 -0
- data/kinde_api/docs/ReplaceOrganizationMFARequest.md +18 -0
- data/kinde_api/docs/RolePermissionsResponse.md +24 -0
- data/kinde_api/docs/RoleScopesResponse.md +22 -0
- data/kinde_api/docs/Roles.md +4 -2
- data/kinde_api/docs/RolesApi.md +338 -54
- data/kinde_api/docs/Scopes.md +24 -0
- data/kinde_api/docs/SearchApi.md +89 -0
- data/kinde_api/docs/SearchUsersResponse.md +22 -0
- data/kinde_api/docs/SearchUsersResponseResultsInner.md +46 -0
- data/kinde_api/docs/SetUserPasswordRequest.md +26 -0
- data/kinde_api/docs/SubscribersApi.md +4 -4
- data/kinde_api/docs/SuccessResponse.md +2 -2
- data/kinde_api/docs/TimezonesApi.md +14 -21
- data/kinde_api/docs/TokenIntrospect.md +5 -5
- data/kinde_api/docs/UpdateAPIApplicationsRequestApplicationsInner.md +4 -4
- data/kinde_api/docs/UpdateAPIScopeRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationRequest.md +5 -1
- data/kinde_api/docs/UpdateApplicationTokensRequest.md +26 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequestValue.md +49 -0
- data/kinde_api/docs/UpdateBusinessRequest.md +36 -0
- data/kinde_api/docs/UpdateCategoryRequest.md +18 -0
- data/kinde_api/docs/UpdateConnectionRequest.md +24 -0
- data/kinde_api/docs/UpdateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/UpdateEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/UpdateIdentityRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationPropertiesRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationRequest.md +27 -15
- data/kinde_api/docs/UpdateOrganizationSessionsRequest.md +24 -0
- data/kinde_api/docs/UpdateOrganizationUsersRequestUsersInner.md +2 -2
- data/kinde_api/docs/UpdateOrganizationUsersResponse.md +3 -1
- data/kinde_api/docs/UpdatePropertyRequest.md +24 -0
- data/kinde_api/docs/UpdateUserRequest.md +5 -1
- data/kinde_api/docs/UpdateUserResponse.md +1 -1
- data/kinde_api/docs/UpdateWebHookRequest.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponse.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponseWebhook.md +18 -0
- data/kinde_api/docs/User.md +6 -2
- data/kinde_api/docs/UserProfileV2.md +17 -13
- data/kinde_api/docs/UsersApi.md +893 -99
- data/kinde_api/docs/UsersResponseUsersInner.md +6 -2
- data/kinde_api/docs/Webhook.md +28 -0
- data/kinde_api/docs/WebhooksApi.md +423 -0
- data/kinde_api/git_push.sh +57 -0
- data/kinde_api/kinde_api.gemspec +38 -0
- data/kinde_api/lib/kinde_api/api/apis_api.rb +640 -127
- data/kinde_api/lib/kinde_api/api/applications_api.rb +524 -112
- data/kinde_api/lib/kinde_api/api/billing_agreements_api.rb +166 -0
- data/kinde_api/lib/kinde_api/api/billing_entitlements_api.rb +105 -0
- data/kinde_api/lib/kinde_api/api/billing_meter_usage_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/business_api.rb +61 -126
- data/kinde_api/lib/kinde_api/api/callbacks_api.rb +152 -172
- data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +57 -67
- data/kinde_api/lib/kinde_api/api/connections_api.rb +433 -0
- data/kinde_api/lib/kinde_api/api/environment_variables_api.rb +347 -0
- data/kinde_api/lib/kinde_api/api/environments_api.rb +327 -78
- data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +68 -88
- data/kinde_api/lib/kinde_api/api/identities_api.rb +222 -0
- data/kinde_api/lib/kinde_api/api/industries_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/mfa_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/o_auth_api.rb +104 -129
- data/kinde_api/lib/kinde_api/api/organizations_api.rb +1689 -544
- data/kinde_api/lib/kinde_api/api/permissions_api.rb +76 -80
- data/kinde_api/lib/kinde_api/api/properties_api.rb +300 -0
- data/kinde_api/lib/kinde_api/api/property_categories_api.rb +237 -0
- data/kinde_api/lib/kinde_api/api/roles_api.rb +432 -166
- data/kinde_api/lib/kinde_api/api/search_api.rb +97 -0
- data/kinde_api/lib/kinde_api/api/subscribers_api.rb +59 -60
- data/kinde_api/lib/kinde_api/api/timezones_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/users_api.rb +900 -150
- data/kinde_api/lib/kinde_api/api/webhooks_api.rb +404 -0
- data/kinde_api/lib/kinde_api/api_client.rb +79 -68
- data/kinde_api/lib/kinde_api/api_error.rb +16 -16
- data/kinde_api/lib/kinde_api/configuration.rb +101 -24
- data/kinde_api/lib/kinde_api/models/add_api_scope_request.rb +235 -0
- data/kinde_api/lib/kinde_api/models/add_apis_request.rb +54 -49
- data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +53 -51
- data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/add_role_scope_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/add_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/api_result.rb +38 -40
- data/kinde_api/lib/kinde_api/models/applications.rb +55 -50
- data/kinde_api/lib/kinde_api/models/authorize_app_api_response.rb +250 -0
- data/kinde_api/lib/kinde_api/models/category.rb +228 -0
- data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connection.rb +239 -0
- data/kinde_api/lib/kinde_api/models/connection_connection.rb +246 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response_scope.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response_api.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_application_request.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +51 -50
- data/kinde_api/lib/kinde_api/models/create_billing_agreement_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/create_category_request.rb +274 -0
- data/kinde_api/lib/kinde_api/models/create_category_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_category_response_category.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request.rb +306 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of.rb +241 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of1.rb +303 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of2.rb +333 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response_connection.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_request.rb +250 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response_environment_variable.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +87 -77
- data/kinde_api/lib/kinde_api/models/create_identity_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_identity_response_identity.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_request.rb +309 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/create_organization_request.rb +175 -100
- data/kinde_api/lib/kinde_api/models/create_organization_response.rb +57 -50
- data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +49 -42
- data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_permission_request.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_property_request.rb +356 -0
- data/kinde_api/lib/kinde_api/models/create_property_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_property_response_property.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_role_request.rb +56 -53
- data/kinde_api/lib/kinde_api/models/create_roles_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_roles_response_role.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_user_identity_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/create_user_request.rb +62 -50
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +67 -40
- data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +54 -45
- data/kinde_api/lib/kinde_api/models/create_user_response.rb +53 -51
- data/kinde_api/lib/kinde_api/models/create_web_hook_request.rb +268 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response_webhook.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_api_response.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_webhook_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/environment_variable.rb +261 -0
- data/kinde_api/lib/kinde_api/models/error.rb +44 -44
- data/kinde_api/lib/kinde_api/models/error_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/event_type.rb +255 -0
- data/kinde_api/lib/kinde_api/models/get_api_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api.rb +272 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_applications_inner.rb +285 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_scopes_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_api_scope_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response_scopes_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner.rb +261 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner_scopes_inner.rb +228 -0
- data/kinde_api/lib/kinde_api/models/get_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +126 -57
- data/kinde_api/lib/kinde_api/models/get_applications_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response.rb +252 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner.rb +262 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner_entitlements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response.rb +264 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_entitlements_inner.rb +290 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_plans_inner.rb +229 -0
- data/kinde_api/lib/kinde_api/models/get_business_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_business_response_business.rb +326 -0
- data/kinde_api/lib/kinde_api/models/get_categories_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_connections_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_environment_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment.rb +526 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_background_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_link_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variables_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_event_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_event_response_event.rb +257 -0
- data/kinde_api/lib/kinde_api/models/get_event_types_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_identities_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response_industries_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
- data/kinde_api/lib/kinde_api/models/get_organization_response.rb +547 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing.rb +232 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing_agreements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_properties_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_property_values_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/get_role_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_role_response_role.rb +260 -0
- data/kinde_api/lib/kinde_api/models/get_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_timezones_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_timezones_response_timezones_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response_mfa.rb +280 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response_sessions_inner.rb +331 -0
- data/kinde_api/lib/kinde_api/models/get_webhooks_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/identity.rb +300 -0
- data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +60 -42
- data/kinde_api/lib/kinde_api/models/not_found_response.rb +219 -0
- data/kinde_api/lib/kinde_api/models/not_found_response_errors.rb +228 -0
- data/kinde_api/lib/kinde_api/models/organization_item_schema.rb +272 -0
- data/kinde_api/lib/kinde_api/models/organization_user.rb +122 -62
- data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +73 -59
- data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/organization_user_role.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +38 -41
- data/kinde_api/lib/kinde_api/models/permissions.rb +57 -54
- data/kinde_api/lib/kinde_api/models/property.rb +264 -0
- data/kinde_api/lib/kinde_api/models/property_value.rb +257 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response_logos_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response_logos_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of.rb +293 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of1.rb +313 -0
- data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_mfa_request.rb +276 -0
- data/kinde_api/lib/kinde_api/models/replace_organization_mfa_request.rb +249 -0
- data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/role.rb +63 -53
- data/kinde_api/lib/kinde_api/models/role_permissions_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/role_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/roles.rb +68 -53
- data/kinde_api/lib/kinde_api/models/scopes.rb +250 -0
- data/kinde_api/lib/kinde_api/models/search_users_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/search_users_response_results_inner.rb +374 -0
- data/kinde_api/lib/kinde_api/models/set_user_password_request.rb +311 -0
- data/kinde_api/lib/kinde_api/models/subscriber.rb +63 -54
- data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +71 -58
- data/kinde_api/lib/kinde_api/models/success_response.rb +47 -46
- data/kinde_api/lib/kinde_api/models/token_error_response.rb +44 -45
- data/kinde_api/lib/kinde_api/models/token_introspect.rb +63 -58
- data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +42 -44
- data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +48 -49
- data/kinde_api/lib/kinde_api/models/update_api_scope_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_application_request.rb +78 -54
- data/kinde_api/lib/kinde_api/models/update_application_tokens_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request_value.rb +106 -0
- data/kinde_api/lib/kinde_api/models/update_business_request.rb +320 -0
- data/kinde_api/lib/kinde_api/models/update_category_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +40 -43
- data/kinde_api/lib/kinde_api/models/update_environment_variable_request.rb +240 -0
- data/kinde_api/lib/kinde_api/models/update_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/update_identity_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_organization_properties_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/update_organization_request.rb +209 -91
- data/kinde_api/lib/kinde_api/models/update_organization_sessions_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +59 -55
- data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +76 -57
- data/kinde_api/lib/kinde_api/models/update_property_request.rb +265 -0
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +44 -45
- data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +66 -56
- data/kinde_api/lib/kinde_api/models/update_roles_request.rb +61 -56
- data/kinde_api/lib/kinde_api/models/update_user_request.rb +75 -52
- data/kinde_api/lib/kinde_api/models/update_user_response.rb +75 -67
- data/kinde_api/lib/kinde_api/models/update_web_hook_request.rb +243 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response_webhook.rb +219 -0
- data/kinde_api/lib/kinde_api/models/user.rb +138 -97
- data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/user_identity.rb +44 -45
- data/kinde_api/lib/kinde_api/models/user_identity_result.rb +38 -41
- data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +113 -79
- data/kinde_api/lib/kinde_api/models/users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +138 -98
- data/kinde_api/lib/kinde_api/models/webhook.rb +267 -0
- data/kinde_api/lib/kinde_api/version.rb +12 -12
- data/kinde_api/lib/kinde_api.rb +160 -36
- data/kinde_api/spec/api/billing_agreements_api_spec.rb +62 -0
- data/kinde_api/spec/api/billing_entitlements_api_spec.rb +52 -0
- data/kinde_api/spec/api/billing_meter_usage_api_spec.rb +47 -0
- data/kinde_api/spec/api/connections_api_spec.rb +112 -0
- data/kinde_api/spec/api/environment_variables_api_spec.rb +95 -0
- data/kinde_api/spec/api/identities_api_spec.rb +72 -0
- data/kinde_api/spec/api/mfa_api_spec.rb +47 -0
- data/kinde_api/spec/api/properties_api_spec.rb +87 -0
- data/kinde_api/spec/api/property_categories_api_spec.rb +75 -0
- data/kinde_api/spec/api/search_api_spec.rb +52 -0
- data/kinde_api/spec/api/webhooks_api_spec.rb +106 -0
- data/kinde_api/spec/api_client_spec.rb +27 -21
- data/kinde_api/spec/configuration_spec.rb +14 -14
- data/kinde_api/spec/models/add_api_scope_request_spec.rb +40 -0
- data/kinde_api/spec/models/add_role_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/add_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/authorize_app_api_response_spec.rb +52 -0
- data/kinde_api/spec/models/category_spec.rb +40 -0
- data/kinde_api/spec/models/connection_connection_spec.rb +52 -0
- data/kinde_api/spec/models/connection_spec.rb +46 -0
- data/kinde_api/spec/models/create_api_scopes_response_scope_spec.rb +34 -0
- data/kinde_api/spec/models/create_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_apis_response_api_spec.rb +34 -0
- data/kinde_api/spec/models/create_apis_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_billing_agreement_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_category_request_spec.rb +44 -0
- data/kinde_api/spec/models/create_category_response_category_spec.rb +34 -0
- data/kinde_api/spec/models/create_category_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of1_spec.rb +82 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of2_spec.rb +100 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/create_connection_request_spec.rb +68 -0
- data/kinde_api/spec/models/create_connection_response_connection_spec.rb +34 -0
- data/kinde_api/spec/models/create_connection_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_response_environment_variable_spec.rb +34 -0
- data/kinde_api/spec/models/create_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_identity_response_identity_spec.rb +34 -0
- data/kinde_api/spec/models/create_identity_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_meter_usage_record_request_spec.rb +62 -0
- data/kinde_api/spec/models/create_meter_usage_record_response_spec.rb +40 -0
- data/kinde_api/spec/models/create_property_request_spec.rb +78 -0
- data/kinde_api/spec/models/create_property_response_property_spec.rb +34 -0
- data/kinde_api/spec/models/create_property_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_roles_response_role_spec.rb +34 -0
- data/kinde_api/spec/models/create_roles_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_user_identity_request_spec.rb +56 -0
- data/kinde_api/spec/models/create_web_hook_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_webhook_response_webhook_spec.rb +40 -0
- data/kinde_api/spec/models/delete_api_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_webhook_response_spec.rb +40 -0
- data/kinde_api/spec/models/environment_variable_spec.rb +58 -0
- data/kinde_api/spec/models/event_type_spec.rb +58 -0
- data/kinde_api/spec/models/get_api_response_api_applications_inner_spec.rb +56 -0
- data/kinde_api/spec/models/get_api_response_api_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_api_response_api_spec.rb +64 -0
- data/kinde_api/spec/models/get_api_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scope_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_scopes_inner_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_apis_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_entitlements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_billing_agreements_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_entitlements_inner_spec.rb +76 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_plans_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_spec.rb +58 -0
- data/kinde_api/spec/models/get_business_response_business_spec.rb +94 -0
- data/kinde_api/spec/models/get_business_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_categories_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_connections_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_environment_response_environment_background_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_link_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_spec.rb +192 -0
- data/kinde_api/spec/models/get_environment_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variables_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_event_response_event_spec.rb +58 -0
- data/kinde_api/spec/models/get_event_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_event_types_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_identities_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_industries_response_industries_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_industries_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_organization_response_billing_agreements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_billing_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_spec.rb +204 -0
- data/kinde_api/spec/models/get_properties_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_property_values_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_role_response_role_spec.rb +58 -0
- data/kinde_api/spec/models/get_role_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_timezones_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_user_mfa_response_mfa_spec.rb +70 -0
- data/kinde_api/spec/models/get_user_mfa_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_user_sessions_response_sessions_inner_spec.rb +100 -0
- data/kinde_api/spec/models/get_user_sessions_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_webhooks_response_spec.rb +46 -0
- data/kinde_api/spec/models/identity_spec.rb +82 -0
- data/kinde_api/spec/models/not_found_response_errors_spec.rb +40 -0
- data/kinde_api/spec/models/not_found_response_spec.rb +34 -0
- data/kinde_api/spec/models/organization_item_schema_spec.rb +64 -0
- data/kinde_api/spec/models/property_spec.rb +64 -0
- data/kinde_api/spec/models/property_value_spec.rb +58 -0
- data/kinde_api/spec/models/read_env_logo_response_logos_inner_spec.rb +40 -0
- data/kinde_api/spec/models/read_env_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_logos_inner_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of1_spec.rb +88 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of_spec.rb +76 -0
- data/kinde_api/spec/models/replace_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/replace_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/replace_mfa_request_spec.rb +48 -0
- data/kinde_api/spec/models/replace_organization_mfa_request_spec.rb +38 -0
- data/kinde_api/spec/models/role_permissions_response_spec.rb +52 -0
- data/kinde_api/spec/models/role_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/scopes_spec.rb +52 -0
- data/kinde_api/spec/models/search_users_response_results_inner_spec.rb +118 -0
- data/kinde_api/spec/models/search_users_response_spec.rb +46 -0
- data/kinde_api/spec/models/set_user_password_request_spec.rb +66 -0
- data/kinde_api/spec/models/update_api_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_application_tokens_request_spec.rb +58 -0
- data/kinde_api/spec/models/update_applications_property_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_applications_property_request_value_spec.rb +31 -0
- data/kinde_api/spec/models/update_business_request_spec.rb +88 -0
- data/kinde_api/spec/models/update_category_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/update_identity_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_properties_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_sessions_request_spec.rb +56 -0
- data/kinde_api/spec/models/update_property_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_web_hook_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_webhook_spec.rb +34 -0
- data/kinde_api/spec/models/webhook_spec.rb +64 -0
- data/kinde_api/spec/spec_helper.rb +63 -62
- data/lib/kinde_sdk/client.rb +54 -0
- data/lib/kinde_sdk/version.rb +1 -1
- data/lib/kinde_sdk.rb +7 -4
- metadata +565 -1
data/kinde_api/docs/APIsApi.md
CHANGED
@@ -1,23 +1,173 @@
|
|
1
1
|
# KindeApi::APIsApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://
|
3
|
+
All URIs are relative to *https://your_kinde_subdomain.kinde.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**
|
7
|
+
| [**add_api_application_scope**](APIsApi.md#add_api_application_scope) | **POST** /api/v1/apis/{api_id}/applications/{application_id}/scopes/{scope_id} | Add scope to API application |
|
8
|
+
| [**add_api_scope**](APIsApi.md#add_api_scope) | **POST** /api/v1/apis/{api_id}/scopes | Create API scope |
|
9
|
+
| [**add_apis**](APIsApi.md#add_apis) | **POST** /api/v1/apis | Create API |
|
8
10
|
| [**delete_api**](APIsApi.md#delete_api) | **DELETE** /api/v1/apis/{api_id} | Delete API |
|
9
|
-
| [**
|
10
|
-
| [**
|
11
|
-
| [**
|
11
|
+
| [**delete_api_appliation_scope**](APIsApi.md#delete_api_appliation_scope) | **DELETE** /api/v1/apis/{api_id}/applications/{application_id}/scopes/{scope_id} | Delete API application scope |
|
12
|
+
| [**delete_api_scope**](APIsApi.md#delete_api_scope) | **DELETE** /api/v1/apis/{api_id}/scopes/{scope_id} | Delete API scope |
|
13
|
+
| [**get_api**](APIsApi.md#get_api) | **GET** /api/v1/apis/{api_id} | Get API |
|
14
|
+
| [**get_api_scope**](APIsApi.md#get_api_scope) | **GET** /api/v1/apis/{api_id}/scopes/{scope_id} | Get API scope |
|
15
|
+
| [**get_api_scopes**](APIsApi.md#get_api_scopes) | **GET** /api/v1/apis/{api_id}/scopes | Get API scopes |
|
16
|
+
| [**get_apis**](APIsApi.md#get_apis) | **GET** /api/v1/apis | Get APIs |
|
17
|
+
| [**update_api_applications**](APIsApi.md#update_api_applications) | **PATCH** /api/v1/apis/{api_id}/applications | Authorize API applications |
|
18
|
+
| [**update_api_scope**](APIsApi.md#update_api_scope) | **PATCH** /api/v1/apis/{api_id}/scopes/{scope_id} | Update API scope |
|
19
|
+
|
20
|
+
|
21
|
+
## add_api_application_scope
|
22
|
+
|
23
|
+
> add_api_application_scope(api_id, application_id, scope_id)
|
24
|
+
|
25
|
+
Add scope to API application
|
26
|
+
|
27
|
+
Add a scope to an API application. <div> <code>create:api_application_scopes</code> </div>
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'time'
|
33
|
+
require 'kinde_api'
|
34
|
+
# setup authorization
|
35
|
+
KindeApi.configure do |config|
|
36
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
37
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = KindeApi::APIsApi.new
|
41
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
42
|
+
application_id = '7643b487c97545aab79257fd13a1085a' # String | Application ID
|
43
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
44
|
+
|
45
|
+
begin
|
46
|
+
# Add scope to API application
|
47
|
+
api_instance.add_api_application_scope(api_id, application_id, scope_id)
|
48
|
+
rescue KindeApi::ApiError => e
|
49
|
+
puts "Error when calling APIsApi->add_api_application_scope: #{e}"
|
50
|
+
end
|
51
|
+
```
|
52
|
+
|
53
|
+
#### Using the add_api_application_scope_with_http_info variant
|
54
|
+
|
55
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
56
|
+
|
57
|
+
> <Array(nil, Integer, Hash)> add_api_application_scope_with_http_info(api_id, application_id, scope_id)
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
begin
|
61
|
+
# Add scope to API application
|
62
|
+
data, status_code, headers = api_instance.add_api_application_scope_with_http_info(api_id, application_id, scope_id)
|
63
|
+
p status_code # => 2xx
|
64
|
+
p headers # => { ... }
|
65
|
+
p data # => nil
|
66
|
+
rescue KindeApi::ApiError => e
|
67
|
+
puts "Error when calling APIsApi->add_api_application_scope_with_http_info: #{e}"
|
68
|
+
end
|
69
|
+
```
|
70
|
+
|
71
|
+
### Parameters
|
72
|
+
|
73
|
+
| Name | Type | Description | Notes |
|
74
|
+
| ---- | ---- | ----------- | ----- |
|
75
|
+
| **api_id** | **String** | API ID | |
|
76
|
+
| **application_id** | **String** | Application ID | |
|
77
|
+
| **scope_id** | **String** | Scope ID | |
|
78
|
+
|
79
|
+
### Return type
|
80
|
+
|
81
|
+
nil (empty response body)
|
82
|
+
|
83
|
+
### Authorization
|
84
|
+
|
85
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
86
|
+
|
87
|
+
### HTTP request headers
|
88
|
+
|
89
|
+
- **Content-Type**: Not defined
|
90
|
+
- **Accept**: application/json
|
91
|
+
|
92
|
+
|
93
|
+
## add_api_scope
|
94
|
+
|
95
|
+
> <CreateApiScopesResponse> add_api_scope(api_id, add_api_scope_request)
|
96
|
+
|
97
|
+
Create API scope
|
98
|
+
|
99
|
+
Create a new API scope. <div> <code>create:api_scopes</code> </div>
|
100
|
+
|
101
|
+
### Examples
|
102
|
+
|
103
|
+
```ruby
|
104
|
+
require 'time'
|
105
|
+
require 'kinde_api'
|
106
|
+
# setup authorization
|
107
|
+
KindeApi.configure do |config|
|
108
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
109
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
110
|
+
end
|
111
|
+
|
112
|
+
api_instance = KindeApi::APIsApi.new
|
113
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
114
|
+
add_api_scope_request = KindeApi::AddAPIScopeRequest.new({key: 'read:logs'}) # AddAPIScopeRequest |
|
115
|
+
|
116
|
+
begin
|
117
|
+
# Create API scope
|
118
|
+
result = api_instance.add_api_scope(api_id, add_api_scope_request)
|
119
|
+
p result
|
120
|
+
rescue KindeApi::ApiError => e
|
121
|
+
puts "Error when calling APIsApi->add_api_scope: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
#### Using the add_api_scope_with_http_info variant
|
126
|
+
|
127
|
+
This returns an Array which contains the response data, status code and headers.
|
128
|
+
|
129
|
+
> <Array(<CreateApiScopesResponse>, Integer, Hash)> add_api_scope_with_http_info(api_id, add_api_scope_request)
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
begin
|
133
|
+
# Create API scope
|
134
|
+
data, status_code, headers = api_instance.add_api_scope_with_http_info(api_id, add_api_scope_request)
|
135
|
+
p status_code # => 2xx
|
136
|
+
p headers # => { ... }
|
137
|
+
p data # => <CreateApiScopesResponse>
|
138
|
+
rescue KindeApi::ApiError => e
|
139
|
+
puts "Error when calling APIsApi->add_api_scope_with_http_info: #{e}"
|
140
|
+
end
|
141
|
+
```
|
142
|
+
|
143
|
+
### Parameters
|
144
|
+
|
145
|
+
| Name | Type | Description | Notes |
|
146
|
+
| ---- | ---- | ----------- | ----- |
|
147
|
+
| **api_id** | **String** | API ID | |
|
148
|
+
| **add_api_scope_request** | [**AddAPIScopeRequest**](AddAPIScopeRequest.md) | | |
|
149
|
+
|
150
|
+
### Return type
|
151
|
+
|
152
|
+
[**CreateApiScopesResponse**](CreateApiScopesResponse.md)
|
153
|
+
|
154
|
+
### Authorization
|
155
|
+
|
156
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
157
|
+
|
158
|
+
### HTTP request headers
|
159
|
+
|
160
|
+
- **Content-Type**: application/json
|
161
|
+
- **Accept**: application/json
|
12
162
|
|
13
163
|
|
14
164
|
## add_apis
|
15
165
|
|
16
|
-
> <
|
166
|
+
> <CreateApisResponse> add_apis(add_apis_request)
|
17
167
|
|
18
|
-
|
168
|
+
Create API
|
19
169
|
|
20
|
-
|
170
|
+
Register a new API. For more information read [Register and manage APIs](https://docs.kinde.com/developer-tools/your-apis/register-manage-apis/). <div> <code>create:apis</code> </div>
|
21
171
|
|
22
172
|
### Examples
|
23
173
|
|
@@ -31,10 +181,10 @@ KindeApi.configure do |config|
|
|
31
181
|
end
|
32
182
|
|
33
183
|
api_instance = KindeApi::APIsApi.new
|
34
|
-
add_apis_request = KindeApi::AddAPIsRequest.new({name: '
|
184
|
+
add_apis_request = KindeApi::AddAPIsRequest.new({name: 'Example API', audience: 'https://api.example.com'}) # AddAPIsRequest |
|
35
185
|
|
36
186
|
begin
|
37
|
-
#
|
187
|
+
# Create API
|
38
188
|
result = api_instance.add_apis(add_apis_request)
|
39
189
|
p result
|
40
190
|
rescue KindeApi::ApiError => e
|
@@ -46,15 +196,15 @@ end
|
|
46
196
|
|
47
197
|
This returns an Array which contains the response data, status code and headers.
|
48
198
|
|
49
|
-
> <Array(<
|
199
|
+
> <Array(<CreateApisResponse>, Integer, Hash)> add_apis_with_http_info(add_apis_request)
|
50
200
|
|
51
201
|
```ruby
|
52
202
|
begin
|
53
|
-
#
|
203
|
+
# Create API
|
54
204
|
data, status_code, headers = api_instance.add_apis_with_http_info(add_apis_request)
|
55
205
|
p status_code # => 2xx
|
56
206
|
p headers # => { ... }
|
57
|
-
p data # => <
|
207
|
+
p data # => <CreateApisResponse>
|
58
208
|
rescue KindeApi::ApiError => e
|
59
209
|
puts "Error when calling APIsApi->add_apis_with_http_info: #{e}"
|
60
210
|
end
|
@@ -64,11 +214,11 @@ end
|
|
64
214
|
|
65
215
|
| Name | Type | Description | Notes |
|
66
216
|
| ---- | ---- | ----------- | ----- |
|
67
|
-
| **add_apis_request** | [**AddAPIsRequest**](AddAPIsRequest.md) |
|
217
|
+
| **add_apis_request** | [**AddAPIsRequest**](AddAPIsRequest.md) | | |
|
68
218
|
|
69
219
|
### Return type
|
70
220
|
|
71
|
-
[**
|
221
|
+
[**CreateApisResponse**](CreateApisResponse.md)
|
72
222
|
|
73
223
|
### Authorization
|
74
224
|
|
@@ -77,16 +227,16 @@ end
|
|
77
227
|
### HTTP request headers
|
78
228
|
|
79
229
|
- **Content-Type**: application/json
|
80
|
-
- **Accept**: application/json
|
230
|
+
- **Accept**: application/json
|
81
231
|
|
82
232
|
|
83
233
|
## delete_api
|
84
234
|
|
85
|
-
> <
|
235
|
+
> <DeleteApiResponse> delete_api(api_id)
|
86
236
|
|
87
237
|
Delete API
|
88
238
|
|
89
|
-
|
239
|
+
Delete an API you previously created. <div> <code>delete:apis</code> </div>
|
90
240
|
|
91
241
|
### Examples
|
92
242
|
|
@@ -100,7 +250,7 @@ KindeApi.configure do |config|
|
|
100
250
|
end
|
101
251
|
|
102
252
|
api_instance = KindeApi::APIsApi.new
|
103
|
-
api_id = '
|
253
|
+
api_id = '7ccd126599aa422a771abcb341596881' # String | The API's ID.
|
104
254
|
|
105
255
|
begin
|
106
256
|
# Delete API
|
@@ -115,7 +265,7 @@ end
|
|
115
265
|
|
116
266
|
This returns an Array which contains the response data, status code and headers.
|
117
267
|
|
118
|
-
> <Array(<
|
268
|
+
> <Array(<DeleteApiResponse>, Integer, Hash)> delete_api_with_http_info(api_id)
|
119
269
|
|
120
270
|
```ruby
|
121
271
|
begin
|
@@ -123,7 +273,7 @@ begin
|
|
123
273
|
data, status_code, headers = api_instance.delete_api_with_http_info(api_id)
|
124
274
|
p status_code # => 2xx
|
125
275
|
p headers # => { ... }
|
126
|
-
p data # => <
|
276
|
+
p data # => <DeleteApiResponse>
|
127
277
|
rescue KindeApi::ApiError => e
|
128
278
|
puts "Error when calling APIsApi->delete_api_with_http_info: #{e}"
|
129
279
|
end
|
@@ -133,11 +283,153 @@ end
|
|
133
283
|
|
134
284
|
| Name | Type | Description | Notes |
|
135
285
|
| ---- | ---- | ----------- | ----- |
|
136
|
-
| **api_id** | **String** | The API's
|
286
|
+
| **api_id** | **String** | The API's ID. | |
|
287
|
+
|
288
|
+
### Return type
|
289
|
+
|
290
|
+
[**DeleteApiResponse**](DeleteApiResponse.md)
|
291
|
+
|
292
|
+
### Authorization
|
293
|
+
|
294
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
295
|
+
|
296
|
+
### HTTP request headers
|
297
|
+
|
298
|
+
- **Content-Type**: Not defined
|
299
|
+
- **Accept**: application/json
|
300
|
+
|
301
|
+
|
302
|
+
## delete_api_appliation_scope
|
303
|
+
|
304
|
+
> delete_api_appliation_scope(api_id, application_id, scope_id)
|
305
|
+
|
306
|
+
Delete API application scope
|
307
|
+
|
308
|
+
Delete an API application scope you previously created. <div> <code>delete:apis_application_scopes</code> </div>
|
309
|
+
|
310
|
+
### Examples
|
311
|
+
|
312
|
+
```ruby
|
313
|
+
require 'time'
|
314
|
+
require 'kinde_api'
|
315
|
+
# setup authorization
|
316
|
+
KindeApi.configure do |config|
|
317
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
318
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
319
|
+
end
|
320
|
+
|
321
|
+
api_instance = KindeApi::APIsApi.new
|
322
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
323
|
+
application_id = '7643b487c97545aab79257fd13a1085a' # String | Application ID
|
324
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
325
|
+
|
326
|
+
begin
|
327
|
+
# Delete API application scope
|
328
|
+
api_instance.delete_api_appliation_scope(api_id, application_id, scope_id)
|
329
|
+
rescue KindeApi::ApiError => e
|
330
|
+
puts "Error when calling APIsApi->delete_api_appliation_scope: #{e}"
|
331
|
+
end
|
332
|
+
```
|
333
|
+
|
334
|
+
#### Using the delete_api_appliation_scope_with_http_info variant
|
335
|
+
|
336
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
337
|
+
|
338
|
+
> <Array(nil, Integer, Hash)> delete_api_appliation_scope_with_http_info(api_id, application_id, scope_id)
|
339
|
+
|
340
|
+
```ruby
|
341
|
+
begin
|
342
|
+
# Delete API application scope
|
343
|
+
data, status_code, headers = api_instance.delete_api_appliation_scope_with_http_info(api_id, application_id, scope_id)
|
344
|
+
p status_code # => 2xx
|
345
|
+
p headers # => { ... }
|
346
|
+
p data # => nil
|
347
|
+
rescue KindeApi::ApiError => e
|
348
|
+
puts "Error when calling APIsApi->delete_api_appliation_scope_with_http_info: #{e}"
|
349
|
+
end
|
350
|
+
```
|
351
|
+
|
352
|
+
### Parameters
|
353
|
+
|
354
|
+
| Name | Type | Description | Notes |
|
355
|
+
| ---- | ---- | ----------- | ----- |
|
356
|
+
| **api_id** | **String** | API ID | |
|
357
|
+
| **application_id** | **String** | Application ID | |
|
358
|
+
| **scope_id** | **String** | Scope ID | |
|
359
|
+
|
360
|
+
### Return type
|
361
|
+
|
362
|
+
nil (empty response body)
|
363
|
+
|
364
|
+
### Authorization
|
365
|
+
|
366
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
367
|
+
|
368
|
+
### HTTP request headers
|
369
|
+
|
370
|
+
- **Content-Type**: Not defined
|
371
|
+
- **Accept**: application/json
|
372
|
+
|
373
|
+
|
374
|
+
## delete_api_scope
|
375
|
+
|
376
|
+
> delete_api_scope(api_id, scope_id)
|
377
|
+
|
378
|
+
Delete API scope
|
379
|
+
|
380
|
+
Delete an API scope you previously created. <div> <code>delete:apis_scopes</code> </div>
|
381
|
+
|
382
|
+
### Examples
|
383
|
+
|
384
|
+
```ruby
|
385
|
+
require 'time'
|
386
|
+
require 'kinde_api'
|
387
|
+
# setup authorization
|
388
|
+
KindeApi.configure do |config|
|
389
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
390
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
391
|
+
end
|
392
|
+
|
393
|
+
api_instance = KindeApi::APIsApi.new
|
394
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
395
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
396
|
+
|
397
|
+
begin
|
398
|
+
# Delete API scope
|
399
|
+
api_instance.delete_api_scope(api_id, scope_id)
|
400
|
+
rescue KindeApi::ApiError => e
|
401
|
+
puts "Error when calling APIsApi->delete_api_scope: #{e}"
|
402
|
+
end
|
403
|
+
```
|
404
|
+
|
405
|
+
#### Using the delete_api_scope_with_http_info variant
|
406
|
+
|
407
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
408
|
+
|
409
|
+
> <Array(nil, Integer, Hash)> delete_api_scope_with_http_info(api_id, scope_id)
|
410
|
+
|
411
|
+
```ruby
|
412
|
+
begin
|
413
|
+
# Delete API scope
|
414
|
+
data, status_code, headers = api_instance.delete_api_scope_with_http_info(api_id, scope_id)
|
415
|
+
p status_code # => 2xx
|
416
|
+
p headers # => { ... }
|
417
|
+
p data # => nil
|
418
|
+
rescue KindeApi::ApiError => e
|
419
|
+
puts "Error when calling APIsApi->delete_api_scope_with_http_info: #{e}"
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
### Parameters
|
424
|
+
|
425
|
+
| Name | Type | Description | Notes |
|
426
|
+
| ---- | ---- | ----------- | ----- |
|
427
|
+
| **api_id** | **String** | API ID | |
|
428
|
+
| **scope_id** | **String** | Scope ID | |
|
137
429
|
|
138
430
|
### Return type
|
139
431
|
|
140
|
-
|
432
|
+
nil (empty response body)
|
141
433
|
|
142
434
|
### Authorization
|
143
435
|
|
@@ -146,16 +438,16 @@ end
|
|
146
438
|
### HTTP request headers
|
147
439
|
|
148
440
|
- **Content-Type**: Not defined
|
149
|
-
- **Accept**: application/json
|
441
|
+
- **Accept**: application/json
|
150
442
|
|
151
443
|
|
152
444
|
## get_api
|
153
445
|
|
154
|
-
> <
|
446
|
+
> <GetApiResponse> get_api(api_id)
|
155
447
|
|
156
|
-
|
448
|
+
Get API
|
157
449
|
|
158
|
-
|
450
|
+
Retrieve API details by ID. <div> <code>read:apis</code> </div>
|
159
451
|
|
160
452
|
### Examples
|
161
453
|
|
@@ -169,10 +461,10 @@ KindeApi.configure do |config|
|
|
169
461
|
end
|
170
462
|
|
171
463
|
api_instance = KindeApi::APIsApi.new
|
172
|
-
api_id = '
|
464
|
+
api_id = '7ccd126599aa422a771abcb341596881' # String | The API's ID.
|
173
465
|
|
174
466
|
begin
|
175
|
-
#
|
467
|
+
# Get API
|
176
468
|
result = api_instance.get_api(api_id)
|
177
469
|
p result
|
178
470
|
rescue KindeApi::ApiError => e
|
@@ -184,15 +476,15 @@ end
|
|
184
476
|
|
185
477
|
This returns an Array which contains the response data, status code and headers.
|
186
478
|
|
187
|
-
> <Array(<
|
479
|
+
> <Array(<GetApiResponse>, Integer, Hash)> get_api_with_http_info(api_id)
|
188
480
|
|
189
481
|
```ruby
|
190
482
|
begin
|
191
|
-
#
|
483
|
+
# Get API
|
192
484
|
data, status_code, headers = api_instance.get_api_with_http_info(api_id)
|
193
485
|
p status_code # => 2xx
|
194
486
|
p headers # => { ... }
|
195
|
-
p data # => <
|
487
|
+
p data # => <GetApiResponse>
|
196
488
|
rescue KindeApi::ApiError => e
|
197
489
|
puts "Error when calling APIsApi->get_api_with_http_info: #{e}"
|
198
490
|
end
|
@@ -202,11 +494,82 @@ end
|
|
202
494
|
|
203
495
|
| Name | Type | Description | Notes |
|
204
496
|
| ---- | ---- | ----------- | ----- |
|
205
|
-
| **api_id** | **String** | The API's
|
497
|
+
| **api_id** | **String** | The API's ID. | |
|
498
|
+
|
499
|
+
### Return type
|
500
|
+
|
501
|
+
[**GetApiResponse**](GetApiResponse.md)
|
502
|
+
|
503
|
+
### Authorization
|
504
|
+
|
505
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
506
|
+
|
507
|
+
### HTTP request headers
|
508
|
+
|
509
|
+
- **Content-Type**: Not defined
|
510
|
+
- **Accept**: application/json
|
511
|
+
|
512
|
+
|
513
|
+
## get_api_scope
|
514
|
+
|
515
|
+
> <GetApiScopeResponse> get_api_scope(api_id, scope_id)
|
516
|
+
|
517
|
+
Get API scope
|
518
|
+
|
519
|
+
Retrieve API scope by API ID. <div> <code>read:api_scopes</code> </div>
|
520
|
+
|
521
|
+
### Examples
|
522
|
+
|
523
|
+
```ruby
|
524
|
+
require 'time'
|
525
|
+
require 'kinde_api'
|
526
|
+
# setup authorization
|
527
|
+
KindeApi.configure do |config|
|
528
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
529
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
530
|
+
end
|
531
|
+
|
532
|
+
api_instance = KindeApi::APIsApi.new
|
533
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
534
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
535
|
+
|
536
|
+
begin
|
537
|
+
# Get API scope
|
538
|
+
result = api_instance.get_api_scope(api_id, scope_id)
|
539
|
+
p result
|
540
|
+
rescue KindeApi::ApiError => e
|
541
|
+
puts "Error when calling APIsApi->get_api_scope: #{e}"
|
542
|
+
end
|
543
|
+
```
|
544
|
+
|
545
|
+
#### Using the get_api_scope_with_http_info variant
|
546
|
+
|
547
|
+
This returns an Array which contains the response data, status code and headers.
|
548
|
+
|
549
|
+
> <Array(<GetApiScopeResponse>, Integer, Hash)> get_api_scope_with_http_info(api_id, scope_id)
|
550
|
+
|
551
|
+
```ruby
|
552
|
+
begin
|
553
|
+
# Get API scope
|
554
|
+
data, status_code, headers = api_instance.get_api_scope_with_http_info(api_id, scope_id)
|
555
|
+
p status_code # => 2xx
|
556
|
+
p headers # => { ... }
|
557
|
+
p data # => <GetApiScopeResponse>
|
558
|
+
rescue KindeApi::ApiError => e
|
559
|
+
puts "Error when calling APIsApi->get_api_scope_with_http_info: #{e}"
|
560
|
+
end
|
561
|
+
```
|
562
|
+
|
563
|
+
### Parameters
|
564
|
+
|
565
|
+
| Name | Type | Description | Notes |
|
566
|
+
| ---- | ---- | ----------- | ----- |
|
567
|
+
| **api_id** | **String** | API ID | |
|
568
|
+
| **scope_id** | **String** | Scope ID | |
|
206
569
|
|
207
570
|
### Return type
|
208
571
|
|
209
|
-
[**
|
572
|
+
[**GetApiScopeResponse**](GetApiScopeResponse.md)
|
210
573
|
|
211
574
|
### Authorization
|
212
575
|
|
@@ -215,16 +578,85 @@ end
|
|
215
578
|
### HTTP request headers
|
216
579
|
|
217
580
|
- **Content-Type**: Not defined
|
218
|
-
- **Accept**: application/json
|
581
|
+
- **Accept**: application/json
|
582
|
+
|
583
|
+
|
584
|
+
## get_api_scopes
|
585
|
+
|
586
|
+
> <GetApiScopesResponse> get_api_scopes(api_id)
|
587
|
+
|
588
|
+
Get API scopes
|
589
|
+
|
590
|
+
Retrieve API scopes by API ID. <div> <code>read:api_scopes</code> </div>
|
591
|
+
|
592
|
+
### Examples
|
593
|
+
|
594
|
+
```ruby
|
595
|
+
require 'time'
|
596
|
+
require 'kinde_api'
|
597
|
+
# setup authorization
|
598
|
+
KindeApi.configure do |config|
|
599
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
600
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
601
|
+
end
|
602
|
+
|
603
|
+
api_instance = KindeApi::APIsApi.new
|
604
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
605
|
+
|
606
|
+
begin
|
607
|
+
# Get API scopes
|
608
|
+
result = api_instance.get_api_scopes(api_id)
|
609
|
+
p result
|
610
|
+
rescue KindeApi::ApiError => e
|
611
|
+
puts "Error when calling APIsApi->get_api_scopes: #{e}"
|
612
|
+
end
|
613
|
+
```
|
614
|
+
|
615
|
+
#### Using the get_api_scopes_with_http_info variant
|
616
|
+
|
617
|
+
This returns an Array which contains the response data, status code and headers.
|
618
|
+
|
619
|
+
> <Array(<GetApiScopesResponse>, Integer, Hash)> get_api_scopes_with_http_info(api_id)
|
620
|
+
|
621
|
+
```ruby
|
622
|
+
begin
|
623
|
+
# Get API scopes
|
624
|
+
data, status_code, headers = api_instance.get_api_scopes_with_http_info(api_id)
|
625
|
+
p status_code # => 2xx
|
626
|
+
p headers # => { ... }
|
627
|
+
p data # => <GetApiScopesResponse>
|
628
|
+
rescue KindeApi::ApiError => e
|
629
|
+
puts "Error when calling APIsApi->get_api_scopes_with_http_info: #{e}"
|
630
|
+
end
|
631
|
+
```
|
632
|
+
|
633
|
+
### Parameters
|
634
|
+
|
635
|
+
| Name | Type | Description | Notes |
|
636
|
+
| ---- | ---- | ----------- | ----- |
|
637
|
+
| **api_id** | **String** | API ID | |
|
638
|
+
|
639
|
+
### Return type
|
640
|
+
|
641
|
+
[**GetApiScopesResponse**](GetApiScopesResponse.md)
|
642
|
+
|
643
|
+
### Authorization
|
644
|
+
|
645
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
646
|
+
|
647
|
+
### HTTP request headers
|
648
|
+
|
649
|
+
- **Content-Type**: Not defined
|
650
|
+
- **Accept**: application/json
|
219
651
|
|
220
652
|
|
221
653
|
## get_apis
|
222
654
|
|
223
|
-
> <
|
655
|
+
> <GetApisResponse> get_apis(opts)
|
224
656
|
|
225
|
-
|
657
|
+
Get APIs
|
226
658
|
|
227
|
-
Returns a list of APIs.
|
659
|
+
Returns a list of your APIs. The APIs are returned sorted by name. <div> <code>read:apis</code> </div>
|
228
660
|
|
229
661
|
### Examples
|
230
662
|
|
@@ -238,10 +670,13 @@ KindeApi.configure do |config|
|
|
238
670
|
end
|
239
671
|
|
240
672
|
api_instance = KindeApi::APIsApi.new
|
673
|
+
opts = {
|
674
|
+
expand: 'scopes' # String | Specify additional data to retrieve. Use \"scopes\".
|
675
|
+
}
|
241
676
|
|
242
677
|
begin
|
243
|
-
#
|
244
|
-
result = api_instance.get_apis
|
678
|
+
# Get APIs
|
679
|
+
result = api_instance.get_apis(opts)
|
245
680
|
p result
|
246
681
|
rescue KindeApi::ApiError => e
|
247
682
|
puts "Error when calling APIsApi->get_apis: #{e}"
|
@@ -252,15 +687,15 @@ end
|
|
252
687
|
|
253
688
|
This returns an Array which contains the response data, status code and headers.
|
254
689
|
|
255
|
-
> <Array(<
|
690
|
+
> <Array(<GetApisResponse>, Integer, Hash)> get_apis_with_http_info(opts)
|
256
691
|
|
257
692
|
```ruby
|
258
693
|
begin
|
259
|
-
#
|
260
|
-
data, status_code, headers = api_instance.get_apis_with_http_info
|
694
|
+
# Get APIs
|
695
|
+
data, status_code, headers = api_instance.get_apis_with_http_info(opts)
|
261
696
|
p status_code # => 2xx
|
262
697
|
p headers # => { ... }
|
263
|
-
p data # => <
|
698
|
+
p data # => <GetApisResponse>
|
264
699
|
rescue KindeApi::ApiError => e
|
265
700
|
puts "Error when calling APIsApi->get_apis_with_http_info: #{e}"
|
266
701
|
end
|
@@ -268,11 +703,13 @@ end
|
|
268
703
|
|
269
704
|
### Parameters
|
270
705
|
|
271
|
-
|
706
|
+
| Name | Type | Description | Notes |
|
707
|
+
| ---- | ---- | ----------- | ----- |
|
708
|
+
| **expand** | **String** | Specify additional data to retrieve. Use \"scopes\". | [optional] |
|
272
709
|
|
273
710
|
### Return type
|
274
711
|
|
275
|
-
[**
|
712
|
+
[**GetApisResponse**](GetApisResponse.md)
|
276
713
|
|
277
714
|
### Authorization
|
278
715
|
|
@@ -281,16 +718,16 @@ This endpoint does not need any parameter.
|
|
281
718
|
### HTTP request headers
|
282
719
|
|
283
720
|
- **Content-Type**: Not defined
|
284
|
-
- **Accept**: application/json
|
721
|
+
- **Accept**: application/json
|
285
722
|
|
286
723
|
|
287
724
|
## update_api_applications
|
288
725
|
|
289
|
-
> <
|
726
|
+
> <AuthorizeAppApiResponse> update_api_applications(api_id, update_api_applications_request)
|
290
727
|
|
291
|
-
|
728
|
+
Authorize API applications
|
292
729
|
|
293
|
-
|
730
|
+
Authorize applications to be allowed to request access tokens for an API <div> <code>update:apis</code> </div>
|
294
731
|
|
295
732
|
### Examples
|
296
733
|
|
@@ -304,11 +741,11 @@ KindeApi.configure do |config|
|
|
304
741
|
end
|
305
742
|
|
306
743
|
api_instance = KindeApi::APIsApi.new
|
307
|
-
api_id = '
|
308
|
-
update_api_applications_request = KindeApi::UpdateAPIApplicationsRequest.new({applications: [KindeApi::UpdateAPIApplicationsRequestApplicationsInner.new({id: '
|
744
|
+
api_id = '7ccd126599aa422a771abcb341596881' # String | The API's ID.
|
745
|
+
update_api_applications_request = KindeApi::UpdateAPIApplicationsRequest.new({applications: [KindeApi::UpdateAPIApplicationsRequestApplicationsInner.new({id: 'd2db282d6214242b3b145c123f0c123'})]}) # UpdateAPIApplicationsRequest | The applications you want to authorize.
|
309
746
|
|
310
747
|
begin
|
311
|
-
#
|
748
|
+
# Authorize API applications
|
312
749
|
result = api_instance.update_api_applications(api_id, update_api_applications_request)
|
313
750
|
p result
|
314
751
|
rescue KindeApi::ApiError => e
|
@@ -320,15 +757,15 @@ end
|
|
320
757
|
|
321
758
|
This returns an Array which contains the response data, status code and headers.
|
322
759
|
|
323
|
-
> <Array(<
|
760
|
+
> <Array(<AuthorizeAppApiResponse>, Integer, Hash)> update_api_applications_with_http_info(api_id, update_api_applications_request)
|
324
761
|
|
325
762
|
```ruby
|
326
763
|
begin
|
327
|
-
#
|
764
|
+
# Authorize API applications
|
328
765
|
data, status_code, headers = api_instance.update_api_applications_with_http_info(api_id, update_api_applications_request)
|
329
766
|
p status_code # => 2xx
|
330
767
|
p headers # => { ... }
|
331
|
-
p data # => <
|
768
|
+
p data # => <AuthorizeAppApiResponse>
|
332
769
|
rescue KindeApi::ApiError => e
|
333
770
|
puts "Error when calling APIsApi->update_api_applications_with_http_info: #{e}"
|
334
771
|
end
|
@@ -338,12 +775,84 @@ end
|
|
338
775
|
|
339
776
|
| Name | Type | Description | Notes |
|
340
777
|
| ---- | ---- | ----------- | ----- |
|
341
|
-
| **api_id** | **String** | The
|
342
|
-
| **update_api_applications_request** | [**UpdateAPIApplicationsRequest**](UpdateAPIApplicationsRequest.md) | The applications you want to
|
778
|
+
| **api_id** | **String** | The API's ID. | |
|
779
|
+
| **update_api_applications_request** | [**UpdateAPIApplicationsRequest**](UpdateAPIApplicationsRequest.md) | The applications you want to authorize. | |
|
780
|
+
|
781
|
+
### Return type
|
782
|
+
|
783
|
+
[**AuthorizeAppApiResponse**](AuthorizeAppApiResponse.md)
|
784
|
+
|
785
|
+
### Authorization
|
786
|
+
|
787
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
788
|
+
|
789
|
+
### HTTP request headers
|
790
|
+
|
791
|
+
- **Content-Type**: application/json
|
792
|
+
- **Accept**: application/json
|
793
|
+
|
794
|
+
|
795
|
+
## update_api_scope
|
796
|
+
|
797
|
+
> update_api_scope(api_id, scope_id, update_api_scope_request)
|
798
|
+
|
799
|
+
Update API scope
|
800
|
+
|
801
|
+
Update an API scope. <div> <code>update:api_scopes</code> </div>
|
802
|
+
|
803
|
+
### Examples
|
804
|
+
|
805
|
+
```ruby
|
806
|
+
require 'time'
|
807
|
+
require 'kinde_api'
|
808
|
+
# setup authorization
|
809
|
+
KindeApi.configure do |config|
|
810
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
811
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
812
|
+
end
|
813
|
+
|
814
|
+
api_instance = KindeApi::APIsApi.new
|
815
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
816
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
817
|
+
update_api_scope_request = KindeApi::UpdateAPIScopeRequest.new # UpdateAPIScopeRequest |
|
818
|
+
|
819
|
+
begin
|
820
|
+
# Update API scope
|
821
|
+
api_instance.update_api_scope(api_id, scope_id, update_api_scope_request)
|
822
|
+
rescue KindeApi::ApiError => e
|
823
|
+
puts "Error when calling APIsApi->update_api_scope: #{e}"
|
824
|
+
end
|
825
|
+
```
|
826
|
+
|
827
|
+
#### Using the update_api_scope_with_http_info variant
|
828
|
+
|
829
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
830
|
+
|
831
|
+
> <Array(nil, Integer, Hash)> update_api_scope_with_http_info(api_id, scope_id, update_api_scope_request)
|
832
|
+
|
833
|
+
```ruby
|
834
|
+
begin
|
835
|
+
# Update API scope
|
836
|
+
data, status_code, headers = api_instance.update_api_scope_with_http_info(api_id, scope_id, update_api_scope_request)
|
837
|
+
p status_code # => 2xx
|
838
|
+
p headers # => { ... }
|
839
|
+
p data # => nil
|
840
|
+
rescue KindeApi::ApiError => e
|
841
|
+
puts "Error when calling APIsApi->update_api_scope_with_http_info: #{e}"
|
842
|
+
end
|
843
|
+
```
|
844
|
+
|
845
|
+
### Parameters
|
846
|
+
|
847
|
+
| Name | Type | Description | Notes |
|
848
|
+
| ---- | ---- | ----------- | ----- |
|
849
|
+
| **api_id** | **String** | API ID | |
|
850
|
+
| **scope_id** | **String** | Scope ID | |
|
851
|
+
| **update_api_scope_request** | [**UpdateAPIScopeRequest**](UpdateAPIScopeRequest.md) | | |
|
343
852
|
|
344
853
|
### Return type
|
345
854
|
|
346
|
-
|
855
|
+
nil (empty response body)
|
347
856
|
|
348
857
|
### Authorization
|
349
858
|
|
@@ -352,5 +861,5 @@ end
|
|
352
861
|
### HTTP request headers
|
353
862
|
|
354
863
|
- **Content-Type**: application/json
|
355
|
-
- **Accept**: application/json
|
864
|
+
- **Accept**: application/json
|
356
865
|
|