Skip to content

martinjlowm/emnify-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust API client for openapi

UNOFFICIAL Rest API resources of the EMnify System.

This repository is in no way affiliated with, or maintained by Emnify.

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.2.26
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder and add the following to Cargo.toml under [dependencies]:

    emnify = { path = "./emnify-rs" }

Documentation for API Endpoints

All URIs are relative to https://cdn.emnify.net

Class Method HTTP request Description
ApplicationTokensApi application_token_by_id_patch patch /api/v1/application_token/{app_token_id} Update Application Token
ApplicationTokensApi application_token_get get /api/v1/application_token List Application Tokens
ApplicationTokensApi application_token_post post /api/v1/application_token Create Application Token
AuthenticationApi authenticate post /api/v1/authenticate Retrieve Authentication Token
AuthenticationApi post_mfa post /api/v1/user/mfa Create an MFA key
AuthenticationApi user_mfa_by_id_patch patch /api/v1/user/mfa/{key_id} Activate MFA key
AuthenticationApi user_mfa_by_user_id_and_key_id_delete delete /api/v1/user/{user_id}/mfa/{key_id} Delete an MFA key
AuthenticationApi user_mfa_status_get get /api/v1/user/mfa/status List MFA key Statuses
AuthenticationApi user_mfa_trusted_device_by_user_id_and_device_id_delete delete /api/v1/user/{user_id}/mfa/trusted_device/{device_id} Delete a Trusted Device
AuthenticationApi user_mfa_trusted_device_by_user_id_get get /api/v1/user/{user_id}/mfa/trusted_device List Trusted Devices
AuthenticationApi user_mfa_type_get get /api/v1/user/mfa/type List MFA key types
CloudConnectApi create_cloud_connect_attachment_tgw post /api/v1/cnc/breakout/tgw Create a CloudConnect attachment via Transit Gateway
CloudConnectApi create_cloud_connect_attachment_vpn post /api/v1/cnc/breakout/vpn Create a CloudConnect attachment via IPSec VPN
CloudConnectApi delete_cloud_connect_attachment delete /api/v1/cnc/breakout/{cloudconnect_attachment_id} Delete a specific CloudConnect attachment
CloudConnectApi get_cloud_connect_attachment_by_id get /api/v1/cnc/breakout/{cloudconnect_attachment_id} View details of a CloudConnect attachment
CloudConnectApi get_cloud_connect_attachments get /api/v1/cnc/breakout List all CloudConnect attachments of an organisation
CloudConnectApi get_cloud_connect_breakout_types get /api/v1/cnc/breakout_type List CloudConnect breakout types
CloudConnectApi get_cloud_connect_regions get /api/v1/cnc/region Get list of available CloudConnect regions
CloudConnectApi list_cloud_connect_custom_prices get /api/v1/cnc/pricing List CloudConnect prices
EndpointApi create_endpoint post /api/v1/endpoint Create Endpoint
EndpointApi endpoint_balance_by_endpoint_id_delete delete /api/v1/endpoint/{endpoint_id}/balance Reset Prepaid Balance
EndpointApi endpoint_balance_by_endpoint_id_get get /api/v1/endpoint/{endpoint_id}/balance Endpoint Prepaid Balance
EndpointApi endpoint_balance_by_endpoint_id_post post /api/v1/endpoint/{endpoint_id}/balance Update Prepaid Balance
EndpointApi endpoint_by_id_delete delete /api/v1/endpoint/{endpoint_id} Delete Endpoint
EndpointApi endpoint_by_id_get get /api/v1/endpoint/{endpoint_id} Get Endpoint
EndpointApi endpoint_by_id_patch patch /api/v1/endpoint/{endpoint_id} Update Endpoint
EndpointApi endpoint_connectivity_by_id_get get /api/v1/endpoint/{endpoint_id}/connectivity Endpoint Connectivity Status
EndpointApi endpoint_events_by_id get /api/v1/endpoint/{endpoint_id}/event List Endpoint events
EndpointApi endpoint_operator_blacklist_by_endpoint_id_get get /api/v1/endpoint/{endpoint_id}/operator_blacklist List Operator Blacklist for Endpoint
EndpointApi endpoint_operator_blacklist_by_ep_id_and_operator_id_delete delete /api/v1/endpoint/{endpoint_id}/operator_blacklist/{operator_id} Remove an Operator from the Blacklist
EndpointApi endpoint_operator_blacklist_by_ep_id_and_operator_id_put put /api/v1/endpoint/{endpoint_id}/operator_blacklist/{operator_id} Add an Operator to the Blacklist
EndpointApi endpoint_quota_data_by_endpoint_id_get get /api/v1/endpoint/{endpoint_id}/quota/data Retrieve Data Quota details
EndpointApi endpoint_quota_data_by_endpoint_id_post post /api/v1/endpoint/{endpoint_id}/quota/data Set Data Quota
EndpointApi endpoint_quota_sms_by_endpoint_id_get get /api/v1/endpoint/{endpoint_id}/quota/sms Show SMS Quota details
EndpointApi endpoint_quota_sms_by_endpoint_id_post post /api/v1/endpoint/{endpoint_id}/quota/sms Set SMS Quota
EndpointApi endpoint_sms_by_endpoint_id_and_sms_id_delete delete /api/v1/endpoint/{endpoint_id}/sms/{sms_id} Cancel SMS
EndpointApi endpoint_sms_by_endpoint_id_and_sms_id_get get /api/v1/endpoint/{endpoint_id}/sms/{sms_id} SMS details
EndpointApi endpoint_sms_by_id_get get /api/v1/endpoint/{endpoint_id}/sms List sent and received SMS
EndpointApi endpoint_sms_by_id_post post /api/v1/endpoint/{endpoint_id}/sms Send SMS to an Endpoint
EndpointApi endpoint_stats_by_id_get get /api/v1/endpoint/{endpoint_id}/stats Endpoint Usage and Costs Statistics
EndpointApi endpoint_stats_daily_by_id_get get /api/v1/endpoint/{endpoint_id}/stats/daily Endpoint Usage and Costs Statistics per day
EndpointApi endpoint_status_get get /api/v1/endpoint/status List Endpoint Statuses
EndpointApi get_connectivity_info_by_endpoint_id get /api/v1/endpoint/{endpoint_id}/connectivity_info Connectivity Info of an Endpoint
EndpointApi get_endpoints get /api/v1/endpoint List Endpoints
EventsApi event_type_get get /api/v1/event/type List Event Types
EventsApi get_events get /api/v1/event List Events
IPAddressSpacesApi ip_address_space_available_by_ip_address_version_get get /api/v1/ip_address_space/available Get Random Address Spaces
IPAddressSpacesApi ip_address_space_by_id_delete delete /api/v1/ip_address_space/{address_space_id} Release an IP Address Space from an Organisation
IPAddressSpacesApi ip_address_space_by_id_put put /api/v1/ip_address_space/{address_space_id} Assign an IP Address Space to an Organisation
IPAddressSpacesApi ip_address_space_get get /api/v1/ip_address_space List IP Address Spaces
IntegrationsApi add_data_stream_filter put /api/v1/data_stream/{data_stream_id}/filter/event_type/{event_type_id} Add event filter to a data stream
IntegrationsApi create_callback_secret post /api/v1/api_secret Create a Callback Secret
IntegrationsApi create_callback_url post /api/v1/api_callback Create a Callback URL
IntegrationsApi create_data_stream post /api/v1/data_stream Create a Data Stream
IntegrationsApi delete_callback_secret delete /api/v1/api_secret/{api_secret_id} Delete a Callback Secret
IntegrationsApi delete_callback_url delete /api/v1/api_callback/{api_callback_id} Delete a Callback URL
IntegrationsApi delete_data_stream_filter delete /api/v1/data_stream/{data_stream_id}/filter/event_type/{event_type_id} Delete a Data Stream filter
IntegrationsApi delete_data_streams delete /api/v1/data_stream/{data_stream_id} Delete a Data Stream by ID
IntegrationsApi get_api_callback_secret get /api/v1/api_secret List API Callback Secrets
IntegrationsApi get_api_callback_ur_ls get /api/v1/api_callback Retrieve list of API Callback URLs
IntegrationsApi get_callback_secretby_id get /api/v1/api_secret/{api_secret_id} Get a Callback Secret by ID
IntegrationsApi get_callback_ur_lby_id get /api/v1/api_callback/{api_callback_id} Get a Callback URL by ID
IntegrationsApi get_data_stream_filters get /api/v1/data_stream/{data_stream_id}/filter/event_type Retrieve event filters of a datastream
IntegrationsApi get_data_streams get /api/v1/data_stream Retrieve List of Data Streams
LookupsApi breakout_region_get get /api/v1/breakout_region List Breakout Regions
LookupsApi country_get get /api/v1/country List Country Codes
LookupsApi currency_get get /api/v1/currency List Currencies
LookupsApi data_blocksize_get get /api/v1/data_blocksize List Data blocksizes
LookupsApi data_throttle_get get /api/v1/data_throttle List Data Throttles
LookupsApi esme_interface_type_get get /api/v1/esme_interface_type List ESME Interface Types
LookupsApi rat_type get /api/v1/rat_type List RAT types
OperatorApi operator_get get /api/v1/operator List Operators
OrganisationApi assign_ratezone_inclusive_volume put /api/v1/organisation/{org_id_or_my}/inclusive_volume/{inclusive_volume_id} Assign a ratezone inclusive volume to an organisation
OrganisationApi get_active_organisation_inclusive_volume get /api/v1/organisation/{org_id_or_my}/inclusive_volume/active Get list of active organisation inclusive volumes
OrganisationApi my_organisation_get get /api/v1/organisation/my My Organisation Details
OrganisationApi organisation_status_get get /api/v1/organisation/status Organisation Status
OrganisationApi statistics_daily_by_id_get get /api/v1/stats/daily Organisation Usage and Costs Statistics per day for the current month
OrganisationApi update_organisation_tariff patch /api/v1/organisation/{org_id}/tariff Update assigned tariff
PasswordManagementAndActivationApi user_activation_post post /api/v1/user/activation Activate User
PasswordManagementAndActivationApi user_activation_resend_post post /api/v1/user/activation_resend Resend User Activation E-mail
PasswordManagementAndActivationApi user_password_patch patch /api/v1/user/password Change Password
SIMsApi sim_statistics_daily_by_id_get get /api/v1/sim/{sim_id}/stats/daily SIM Usage and Costs Statistics per day
SIMsApi sim_by_id_delete delete /api/v1/sim/{sim_id} Delete a SIM
SIMsApi sim_by_id_get get /api/v1/sim/{sim_id} SIM Details
SIMsApi sim_by_id_patch patch /api/v1/sim/{sim_id} Update a SIM
SIMsApi sim_event_page_per_page_sort_by_sim_id_and_q_get get /api/v1/sim/{sim_id}/event List SIM Events
SIMsApi sim_per_page_sort_by_q_and_page_get get /api/v1/sim List SIMs
SIMsApi sim_stats_by_id_get get /api/v1/sim/{sim_id}/stats SIM Usage and Costs Statistics
SIMsApi sim_status_get get /api/v1/sim/status List SIM Statuses
ServiceLookupsAndConfigurationApi dns_by_id_delete delete /api/v1/dns/{dns_id} Delete DNS config
ServiceLookupsAndConfigurationApi dns_get get /api/v1/dns List DNS Configs
ServiceLookupsAndConfigurationApi dns_post post /api/v1/dns Create DNS config
ServiceLookupsAndConfigurationApi service_get get /api/v1/service List Services
ServiceLookupsAndConfigurationApi service_traffic_limit_by_id_get get /api/v1/service/{service_id}/traffic_limit Get Service Traffic Limit
ServiceLookupsAndConfigurationApi traffic_limit_get get /api/v1/traffic_limit List Traffic Limits
ServiceProfilesApi add_traffic_limit put /api/v1/service_profile/{profile_id}/service/{service_id}/traffic_limit/{limit_id} Add Traffic Limit to Service Profile
ServiceProfilesApi remove_traffic_limit delete /api/v1/service_profile/{profile_id}/service/{service_id}/traffic_limit/{limit_id} Remove Traffic Limit from a Service Profile
ServiceProfilesApi service_profile_by_profile_id_delete delete /api/v1/service_profile/{profile_id} Delete a Service Profile
ServiceProfilesApi service_profile_by_profile_id_get get /api/v1/service_profile/{profile_id} Retrieve a Service Profile
ServiceProfilesApi service_profile_by_profile_id_patch patch /api/v1/service_profile/{profile_id} Update Service Profile
ServiceProfilesApi service_profile_get get /api/v1/service_profile List Service Profiles
ServiceProfilesApi service_profile_post post /api/v1/service_profile Create Service Profile
ServiceProfilesApi service_profile_service_by_profile_and_service_delete delete /api/v1/service_profile/{profile_id}/service/{service_id} Remove a Service from a Service Profile
ServiceProfilesApi service_profile_service_by_profile_and_service_put put /api/v1/service_profile/{profile_id}/service/{service_id} Add a Service to a Service Profile
TariffPlansApi get_organisation_active_tariff_plan get /api/v1/organisation/{org_id_or_my}/tariff_plan/active Get the active tariff plan for the given organisation
TariffPlansApi organisation_tariff_plan_by_org_id_get get /api/v1/organisation/{org_id}/tariff_plan List Organisation Tariff Plans
TariffProfilesApi tariff_profile_by_id_delete delete /api/v1/tariff_profile/{tariff_profile_id} Delete Tariff Profile
TariffProfilesApi tariff_profile_by_id_get get /api/v1/tariff_profile/{tariff_profile_id} Tariff Profile Details
TariffProfilesApi tariff_profile_by_id_patch patch /api/v1/tariff_profile/{tariff_profile_id} Update Tariff Profile
TariffProfilesApi tariff_profile_coverage_by_tp_id_get get /api/v1/tariff_profile/{tariff_profile_id}/coverage List Tariff Profile Coverage
TariffProfilesApi tariff_profile_get get /api/v1/tariff_profile List Tariff Profiles
TariffProfilesApi tariff_profile_post post /api/v1/tariff_profile Create Tariff Profile
TariffProfilesApi tariff_profile_ratezone_selection_by_tp_id_and_rz_id_delete delete /api/v1/tariff_profile/{tariff_profile_id}/ratezone_selection/{ratezone_id} Delete Ratezone from Tariff Profile
TariffProfilesApi tariff_profile_ratezone_selection_by_tp_id_and_rz_id_put put /api/v1/tariff_profile/{tariff_profile_id}/ratezone_selection/{ratezone_id} Assign Ratezone to Tarriff Profile
USSDApi endpoint_ussd_by_id_post post /api/v1/endpoint/{endpoint_id}/ussd Create USSD dialog
UserManagementApi user_by_id_delete delete /api/v1/user/{user_id} Delete User by ID
UserManagementApi user_by_id_get get /api/v1/user/{user_id} Get User by ID or Username
UserManagementApi user_by_id_patch patch /api/v1/user/{user_id} Update User by ID
UserManagementApi user_event_page_per_page_sort_by_user_id_and_q_get get /api/v1/user/{user_id}/event List User Events
UserManagementApi user_per_page_sort_by_q_and_page_get get /api/v1/user List User Accounts
UserManagementApi user_per_page_sort_by_q_and_page_post post /api/v1/user Create User
UserManagementApi user_role_by_id_and_role_id_delete delete /api/v1/user/{user_id}/role/{role_id} Delete User Role
UserManagementApi user_role_by_id_and_role_id_put put /api/v1/user/{user_id}/role/{role_id} Assign Role to User
UserManagementApi user_role_get get /api/v1/user/role List User Roles
UserManagementApi user_role_permission_by_id_get get /api/v1/user/{user_id}/role/permission List User Role Permissions
UserManagementApi user_status_get get /api/v1/user/status List User Statuses

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

About

Rest API resources of the EMnify System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%