Rust SDK for openapi
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.503.0
- Package version: 1.503.0
- Generator version: 7.5.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:
openapi = { path = "./openapi" }
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountApiApi | add_ldap | POST /api/add-ldap | |
| AccountApiApi | delete_ldap | POST /api/delete-ldap | |
| AccountApiApi | get_account | GET /api/get-account | |
| AccountApiApi | get_ldap | GET /api/get-ldap | |
| AccountApiApi | get_ldaps | GET /api/get-ldaps | |
| AccountApiApi | get_ldapser | GET /api/get-ldap-users | |
| AccountApiApi | reset_email_or_phone | POST /api/reset-email-or-phone | |
| AccountApiApi | set_password | POST /api/set-password | |
| AccountApiApi | sync_ldap_users | POST /api/sync-ldap-users | |
| AccountApiApi | update_ldap | POST /api/update-ldap | |
| AccountApiApi | user_info | GET /api/userinfo | |
| AccountApiApi | user_info2 | GET /api/user | |
| AdapterApiApi | add_adapter | POST /api/add-adapter | |
| AdapterApiApi | delete_adapter | POST /api/delete-adapter | |
| AdapterApiApi | get_adapter | GET /api/get-adapter | |
| AdapterApiApi | get_adapters | GET /api/get-adapters | |
| AdapterApiApi | update_adapter | POST /api/update-adapter | |
| ApplicationApiApi | add_application | POST /api/add-application | |
| ApplicationApiApi | delete_application | POST /api/delete-application | |
| ApplicationApiApi | get_application | GET /api/get-application | |
| ApplicationApiApi | get_applications | GET /api/get-applications | |
| ApplicationApiApi | get_organization_applications | GET /api/get-organization-applications | |
| ApplicationApiApi | get_user_application | GET /api/get-user-application | |
| ApplicationApiApi | update_application | POST /api/update-application | |
| CallbackApiApi | callback | POST /api/Callback | |
| CertApiApi | add_cert | POST /api/add-cert | |
| CertApiApi | delete_cert | POST /api/delete-cert | |
| CertApiApi | get_cert | GET /api/get-cert | |
| CertApiApi | get_certs | GET /api/get-certs | |
| CertApiApi | get_global_certs | GET /api/get-global-certs | |
| CertApiApi | update_cert | POST /api/update-cert | |
| EnforcerApiApi | add_enforcer | POST /api/add-enforcer | |
| EnforcerApiApi | batch_enforce | POST /api/batch-enforce | |
| EnforcerApiApi | delete_enforcer | POST /api/delete-enforcer | |
| EnforcerApiApi | enforce | POST /api/enforce | |
| EnforcerApiApi | get_enforcer | GET /api/get-enforcer | |
| EnforcerApiApi | get_enforcers | GET /api/get-enforcers | |
| EnforcerApiApi | update_enforcer | POST /api/update-enforcer | |
| GroupApiApi | add_group | POST /api/add-group | |
| GroupApiApi | delete_group | POST /api/delete-group | |
| GroupApiApi | get_group | GET /api/get-group | |
| GroupApiApi | get_groups | GET /api/get-groups | |
| GroupApiApi | update_group | POST /api/update-group | |
| InvitationApiApi | add_invitation | POST /api/add-invitation | |
| InvitationApiApi | delete_invitation | POST /api/delete-invitation | |
| InvitationApiApi | get_invitation | GET /api/get-invitation | |
| InvitationApiApi | get_invitations | GET /api/get-invitations | |
| InvitationApiApi | update_invitation | POST /api/update-invitation | |
| InvitationApiApi | verify_invitation | GET /api/verify-invitation | |
| LoginApiApi | get_application_login | GET /api/get-app-login | |
| LoginApiApi | get_captcha | GET /api/get-captcha | |
| LoginApiApi | introspect_token | POST /api/login/oauth/introspect | |
| LoginApiApi | login | POST /api/login | |
| LoginApiApi | logout | POST /api/logout | |
| LoginApiApi | signup | POST /api/signup | |
| LoginApiApi | unlink | POST /api/unlink | |
| LoginApiApi | web_authn_signin_begin | GET /api/webauthn/signin/begin | |
| LoginApiApi | web_authn_signin_finish | POST /api/webauthn/signin/finish | |
| MfaapiApi | delete_mfa | POST /api/delete-mfa/ | |
| MfaapiApi | mfa_setup_enable | POST /api/mfa/setup/enable | |
| MfaapiApi | mfa_setup_initiate | POST /api/mfa/setup/initiate | |
| MfaapiApi | mfa_setup_verify | POST /api/mfa/setup/verify | |
| MfaapiApi | set_preferred_mfa | POST /api/set-preferred-mfa | |
| ModelApiApi | add_model | POST /api/add-model | |
| ModelApiApi | delete_model | POST /api/delete-model | |
| ModelApiApi | get_model | GET /api/get-model | |
| ModelApiApi | get_models | GET /api/get-models | |
| ModelApiApi | update_model | POST /api/update-model | |
| OidcapiApi | root_controller_period_get_jwks | GET /.well-known/jwks | |
| OidcapiApi | root_controller_period_get_oidc_discovery | GET /.well-known/openid-configuration | |
| OrganizationApiApi | add_organization | POST /api/add-organization | |
| OrganizationApiApi | delete_organization | POST /api/delete-organization | |
| OrganizationApiApi | get_default_application | GET /api/get-default-application | |
| OrganizationApiApi | get_organization | GET /api/get-organization | |
| OrganizationApiApi | get_organization_names | GET /api/get-organization-names | |
| OrganizationApiApi | get_organizations | GET /api/get-organizations | |
| OrganizationApiApi | update_organization | POST /api/update-organization | |
| PaymentApiApi | add_payment | POST /api/add-payment | |
| PaymentApiApi | delete_payment | POST /api/delete-payment | |
| PaymentApiApi | get_payment | GET /api/get-payment | |
| PaymentApiApi | get_payments | GET /api/get-payments | |
| PaymentApiApi | get_user_payments | GET /api/get-user-payments | |
| PaymentApiApi | invoice_payment | POST /api/invoice-payment | |
| PaymentApiApi | notify_payment | POST /api/notify-payment | |
| PaymentApiApi | update_payment | POST /api/update-payment | |
| PermissionApiApi | add_permission | POST /api/add-permission | |
| PermissionApiApi | delete_permission | POST /api/delete-permission | |
| PermissionApiApi | get_permission | GET /api/get-permission | |
| PermissionApiApi | get_permissions | GET /api/get-permissions | |
| PermissionApiApi | get_permissions_by_role | GET /api/get-permissions-by-role | |
| PermissionApiApi | get_permissions_by_submitter | GET /api/get-permissions-by-submitter | |
| PermissionApiApi | update_permission | POST /api/update-permission | |
| PlanApiApi | add_plan | POST /api/add-plan | |
| PlanApiApi | delete_plan | POST /api/delete-plan | |
| PlanApiApi | get_plan | GET /api/get-plan | |
| PlanApiApi | get_plans | GET /api/get-plans | |
| PlanApiApi | update_plan | POST /api/update-plan | |
| PricingApiApi | add_pricing | POST /api/add-pricing | |
| PricingApiApi | delete_pricing | POST /api/delete-pricing | |
| PricingApiApi | get_pricing | GET /api/get-pricing | |
| PricingApiApi | get_pricings | GET /api/get-pricings | |
| PricingApiApi | update_pricing | POST /api/update-pricing | |
| ProductApiApi | add_product | POST /api/add-product | |
| ProductApiApi | buy_product | POST /api/buy-product | |
| ProductApiApi | delete_product | POST /api/delete-product | |
| ProductApiApi | get_product | GET /api/get-product | |
| ProductApiApi | get_products | GET /api/get-products | |
| ProductApiApi | update_product | POST /api/update-product | |
| ProviderApiApi | add_provider | POST /api/add-provider | |
| ProviderApiApi | delete_provider | POST /api/delete-provider | |
| ProviderApiApi | get_global_providers | GET /api/get-global-providers | |
| ProviderApiApi | get_provider | GET /api/get-provider | |
| ProviderApiApi | get_providers | GET /api/get-providers | |
| ProviderApiApi | update_provider | POST /api/update-provider | |
| ResourceApiApi | add_resource | POST /api/add-resource | |
| ResourceApiApi | delete_resource | POST /api/delete-resource | |
| ResourceApiApi | get_resource | GET /api/get-resource | |
| ResourceApiApi | get_resources | GET /api/get-resources | |
| ResourceApiApi | update_resource | POST /api/update-resource | |
| ResourceApiApi | upload_resource | POST /api/upload-resource | |
| RoleApiApi | add_role | POST /api/add-role | |
| RoleApiApi | delete_role | POST /api/delete-role | |
| RoleApiApi | get_role | GET /api/get-role | |
| RoleApiApi | get_roles | GET /api/get-roles | |
| RoleApiApi | update_role | POST /api/update-role | |
| ServiceApiApi | send_email | POST /api/send-email | |
| ServiceApiApi | send_notification | POST /api/send-notification | |
| ServiceApiApi | send_sms | POST /api/send-sms | |
| SessionApiApi | add_session | POST /api/add-session | |
| SessionApiApi | delete_session | POST /api/delete-session | |
| SessionApiApi | get_sessions | GET /api/get-sessions | |
| SessionApiApi | get_single_session | GET /api/get-session | |
| SessionApiApi | is_session_duplicated | GET /api/is-session-duplicated | |
| SessionApiApi | update_session | POST /api/update-session | |
| SubscriptionApiApi | add_subscription | POST /api/add-subscription | |
| SubscriptionApiApi | delete_subscription | POST /api/delete-subscription | |
| SubscriptionApiApi | get_subscription | GET /api/get-subscription | |
| SubscriptionApiApi | get_subscriptions | GET /api/get-subscriptions | |
| SubscriptionApiApi | update_subscription | POST /api/update-subscription | |
| SyncerApiApi | add_syncer | POST /api/add-syncer | |
| SyncerApiApi | delete_syncer | POST /api/delete-syncer | |
| SyncerApiApi | get_syncer | GET /api/get-syncer | |
| SyncerApiApi | get_syncers | GET /api/get-syncers | |
| SyncerApiApi | run_syncer | GET /api/run-syncer | |
| SyncerApiApi | update_syncer | POST /api/update-syncer | |
| SystemApiApi | get_dashboard | GET /api/get-dashboard | |
| SystemApiApi | get_prometheus_info | GET /api/get-prometheus-info | |
| SystemApiApi | get_system_info | GET /api/get-system-info | |
| SystemApiApi | get_version_info | GET /api/get-version-info | |
| SystemApiApi | get_webhook_event_type | GET /api/get-webhook-event | |
| SystemApiApi | handle_official_account_event | POST /api/webhook | |
| SystemApiApi | health | GET /api/health | |
| TokenApiApi | add_token | POST /api/add-token | |
| TokenApiApi | delete_token | POST /api/delete-token | |
| TokenApiApi | get_captcha_status | GET /api/get-captcha-status | |
| TokenApiApi | get_o_auth_token | POST /api/login/oauth/access_token | |
| TokenApiApi | get_token | GET /api/get-token | |
| TokenApiApi | get_tokens | GET /api/get-tokens | |
| TokenApiApi | refresh_token | POST /api/login/oauth/refresh_token | |
| TokenApiApi | update_token | POST /api/update-token | |
| UserApiApi | add_user | POST /api/add-user | |
| UserApiApi | add_user_keys | POST /api/add-user-keys | |
| UserApiApi | check_user_password | POST /api/check-user-password | |
| UserApiApi | delete_user | POST /api/delete-user | |
| UserApiApi | get_email_and_phone | GET /api/get-email-and-phone | |
| UserApiApi | get_global_users | GET /api/get-global-users | |
| UserApiApi | get_sorted_users | GET /api/get-sorted-users | |
| UserApiApi | get_user | GET /api/get-user | |
| UserApiApi | get_user_count | GET /api/get-user-count | |
| UserApiApi | get_users | GET /api/get-users | |
| UserApiApi | update_user | POST /api/update-user | |
| UserApiApi | web_authn_signup_begin | GET /api/webauthn/signup/begin | |
| UserApiApi | web_authn_signup_finish | POST /api/webauthn/signup/finish | |
| VerificationApiApi | send_verification_code | POST /api/send-verification-code | |
| VerificationApiApi | verify_captcha | POST /api/verify-captcha | |
| VerificationApiApi | verify_code | POST /api/verify-code | |
| WebhookApiApi | add_webhook | POST /api/add-webhook | |
| WebhookApiApi | delete_webhook | POST /api/delete-webhook | |
| WebhookApiApi | get_webhook | GET /api/get-webhook | |
| WebhookApiApi | get_webhooks | GET /api/get-webhooks | |
| WebhookApiApi | update_webhook | POST /api/update-webhook |
Documentation For Models
- ControllersPeriodEmailForm
- ControllersPeriodLaravelResponse
- ControllersPeriodLdapResp
- ControllersPeriodLdapSyncResp
- ControllersPeriodNotificationForm
- ControllersPeriodResponse
- ControllersPeriodSmsForm
- AccountItem
- Adapter
- Application
- Cert
- Enforcer
- GaugeVecInfo
- Group
- Header
- HistogramVecInfo
- IntrospectionResponse
- Invitation
- Ldap
- LdapUser
- ManagedAccount
- MfaItem
- MfaProps
- Model
- OidcDiscovery
- Organization
- Ormer
- Payment
- Permission
- Plan
- Pricing
- Product
- PrometheusInfo
- Provider
- ProviderItem
- Resource
- Role
- SamlItem
- SigninMethod
- SignupItem
- Subscription
- SubscriptionState
- Syncer
- TableColumn
- ThemeData
- Token
- TokenError
- TokenWrapper
- User
- Userinfo
- Webhook
- PpPeriodPaymentState
- UtilPeriodSystemInfo
- UtilPeriodVersionInfo
To get access to the crate's generated documentation, use:
cargo doc --open