Back to Unit

Rust API client for unit-openapi

tools/unitctl/unit-openapi/README.md

1.35.064.8 KB
Original Source

Rust API client for unit-openapi

NGINX Unit is a lightweight and versatile application runtime that provides the essential components for your web application as a single open-source server: running application code, serving static assets, handling TLS and request routing.

Important: Unit's API is designed to expose any part of its configuration as an addressable endpoint. Suppose a JSON object is stored at /config/listeners/:

json { \"*:8080\": { \"pass\": \"applications/wp_emea_dev\" } }

Here, /config/listeners/_*:8080 and /config/listeners/_*:8080/pass are also endpoints. Generally, object options are addressable by their names, array items—by their indexes (/array/0/).

Note: By default, Unit is configured through a UNIX domain socket. To use this specification with OpenAPI tools interactively, start Unit with a TCP port as the control socket.

For more information, please visit https://unit.nginx.org/

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: 0.2.0
  • Package version: 1.35.0
  • Generator version: 7.6.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named unit-openapi and add the following to Cargo.toml under [dependencies]:

unit-openapi = { path = "./unit-openapi" }

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

ClassMethodHTTP requestDescription
AccessLogApidelete_access_logDelete /config/access_logDelete the access log
AccessLogApidelete_access_log_formatDelete /config/access_log/formatDelete the access log format
AccessLogApidelete_access_log_pathDelete /config/access_log/pathDelete the access log path
AccessLogApiget_access_logGet /config/access_logRetrieve the access log
AccessLogApiget_access_log_formatGet /config/access_log/formatRetrieve the access log format option
AccessLogApiget_access_log_pathGet /config/access_log/pathRetrieve the access log path option
AccessLogApiupdate_access_logPut /config/access_logCreate or overwrite the access log
AccessLogApiupdate_access_log_formatPut /config/access_log/formatCreate or overwrite the access log format
AccessLogApiupdate_access_log_pathPut /config/access_log/pathCreate or overwrite the access log path
ApplicationsApidelete_applicationDelete /config/applications/{appName}Delete the application object
ApplicationsApidelete_applicationsDelete /config/applicationsDelete the applications object
ApplicationsApiget_applicationGet /config/applications/{appName}Retrieve an application object
ApplicationsApiget_applicationsGet /config/applicationsRetrieve the applications object
ApplicationsApiupdate_applicationPut /config/applications/{appName}Create or overwrite the application object
ApplicationsApiupdate_applicationsPut /config/applicationsOverwrite the applications object
AppsApiget_app_restartGet /control/applications/{appName}/restartRestart the {appName} application
CertificatesApiget_cert_bundleGet /certificates/{bundleName}Retrieve the certificate bundle object
CertificatesApiget_cert_bundle_chainGet /certificates/{bundleName}/chainRetrieve the certificate bundle chain
CertificatesApiget_cert_bundle_chain_certGet /certificates/{bundleName}/chain/{arrayIndex}Retrieve certificate object from the chain array
CertificatesApiget_cert_bundle_chain_cert_issuerGet /certificates/{bundleName}/chain/{arrayIndex}/issuerRetrieve the issuer object from the certificate object
CertificatesApiget_cert_bundle_chain_cert_issuer_cnGet /certificates/{bundleName}/chain/{arrayIndex}/issuer/common_nameRetrieve the common name from the certificate issuer
CertificatesApiget_cert_bundle_chain_cert_issuer_orgGet /certificates/{bundleName}/chain/{arrayIndex}/issuer/organizationRetrieve the organization name from the certificate issuer
CertificatesApiget_cert_bundle_chain_cert_issuer_stateGet /certificates/{bundleName}/chain/{arrayIndex}/issuer/state_or_provinceRetrieve the state or province code from the certificate issuer
CertificatesApiget_cert_bundle_chain_cert_subjGet /certificates/{bundleName}/chain/{arrayIndex}/subjectRetrieve the subject from the certificate object
CertificatesApiget_cert_bundle_chain_cert_subj_altGet /certificates/{bundleName}/chain/{arrayIndex}/subject/alt_names/{arrayIndex2}Retrieve an alternative name from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_subj_alt_arrayGet /certificates/{bundleName}/chain/{arrayIndex}/subject/alt_namesRetrieve the alternative names array from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_subj_cnGet /certificates/{bundleName}/chain/{arrayIndex}/subject/common_nameRetrieve the common name from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_subj_countryGet /certificates/{bundleName}/chain/{arrayIndex}/subject/countryRetrieve the country code from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_subj_orgGet /certificates/{bundleName}/chain/{arrayIndex}/subject/organizationRetrieve the organization name from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_subj_stateGet /certificates/{bundleName}/chain/{arrayIndex}/subject/state_or_provinceRetrieve the state or province code from the certificate subject
CertificatesApiget_cert_bundle_chain_cert_validGet /certificates/{bundleName}/chain/{arrayIndex}/validityRetrieve the validity object from the certificate object
CertificatesApiget_cert_bundle_chain_cert_valid_sinceGet /certificates/{bundleName}/chain/{arrayIndex}/validity/sinceRetrieve the starting time of certificate validity
CertificatesApiget_cert_bundle_chain_cert_valid_untilGet /certificates/{bundleName}/chain/{arrayIndex}/validity/untilRetrieve the ending time of certificate validity
CertificatesApiget_cert_bundle_chain_certissuer_countryGet /certificates/{bundleName}/chain/{arrayIndex}/issuer/countryRetrieve the country code from the certificate issuer
CertificatesApiget_cert_bundle_keyGet /certificates/{bundleName}/keyRetrieve the certificate bundle key type
CertificatesApiget_certsGet /certificatesRetrieve the certificates object
CertificatesApiput_cert_bundlePut /certificates/{bundleName}Create or overwrite the actual certificate bundle
ConfigApidelete_access_logDelete /config/access_logDelete the access log
ConfigApidelete_access_log_formatDelete /config/access_log/formatDelete the access log format
ConfigApidelete_access_log_pathDelete /config/access_log/pathDelete the access log path
ConfigApidelete_applicationDelete /config/applications/{appName}Delete the application object
ConfigApidelete_applicationsDelete /config/applicationsDelete the applications object
ConfigApidelete_configDelete /configDelete the config object
ConfigApidelete_listenerDelete /config/listeners/{listenerName}Delete a listener object
ConfigApidelete_listener_forwarded_recursiveDelete /config/listeners/{listenerName}/forwarded/recursiveDelete the recursive object in a listener
ConfigApidelete_listener_forwarded_sourceDelete /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Delete a source array item in a listener
ConfigApidelete_listener_forwarded_sourcesDelete /config/listeners/{listenerName}/forwarded/sourceDelete the source option in a listener
ConfigApidelete_listener_forwaredDelete /config/listeners/{listenerName}/forwardedDelete the forwarded object in a listener
ConfigApidelete_listener_tlsDelete /config/listeners/{listenerName}/tlsDelete the tls object in a listener
ConfigApidelete_listener_tls_certificateDelete /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Delete a certificate array item in a listener
ConfigApidelete_listener_tls_certificatesDelete /config/listeners/{listenerName}/tls/certificateDelete the certificate option in a listener
ConfigApidelete_listener_tls_conf_commandsDelete /config/listeners/{listenerName}/tls/conf_commandsDelete the conf_commands object in a listener
ConfigApidelete_listener_tls_sessionDelete /config/listeners/{listenerName}/tls/sessionDelete the session object in a listener
ConfigApidelete_listener_tls_session_ticketDelete /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Delete a ticket array item in a listener
ConfigApidelete_listener_tls_session_ticketsDelete /config/listeners/{listenerName}/tls/session/ticketsDelete the tickets option in a listener
ConfigApidelete_listenersDelete /config/listenersDelete all the listeners
ConfigApidelete_routesDelete /config/routesDelete the routes entity
ConfigApidelete_settingsDelete /config/settingsDelete the settings object
ConfigApidelete_settings_discard_unsafe_fieldsDelete /config/settings/http/discard_unsafe_fieldsDelete the discard_unsafe_fields option
ConfigApidelete_settings_httpDelete /config/settings/httpDelete the http object
ConfigApidelete_settings_http_body_read_timeoutDelete /config/settings/http/body_read_timeoutDelete the body_read_timeout option
ConfigApidelete_settings_http_header_read_timeoutDelete /config/settings/http/header_read_timeoutDelete the header_read_timeout option
ConfigApidelete_settings_http_idle_timeoutDelete /config/settings/http/idle_timeoutDelete the idle_timeout option
ConfigApidelete_settings_http_max_body_sizeDelete /config/settings/http/max_body_sizeDelete the max_body_size option
ConfigApidelete_settings_http_send_timeoutDelete /config/settings/http/send_timeoutDelete the send_timeout option
ConfigApidelete_settings_http_staticDelete /config/settings/http/staticDelete the static object
ConfigApidelete_settings_http_static_mime_typeDelete /config/settings/http/static/mime_types/{mimeType}Delete the MIME type option
ConfigApidelete_settings_http_static_mime_typesDelete /config/settings/http/static/mime_typesDelete the mime_types object
ConfigApidelete_settings_listen_threadsDelete /config/settings/listen_threadsDelete the listen_threads option
ConfigApidelete_settings_log_routeDelete /config/settings/http/log_routeDelete the log_route option
ConfigApidelete_settings_server_versionDelete /config/settings/http/server_versionDelete the server_version option
ConfigApidelete_settings_telemetryDelete /config/settings/telemetryDelete the telemetry object
ConfigApiget_access_logGet /config/access_logRetrieve the access log
ConfigApiget_access_log_formatGet /config/access_log/formatRetrieve the access log format option
ConfigApiget_access_log_pathGet /config/access_log/pathRetrieve the access log path option
ConfigApiget_applicationGet /config/applications/{appName}Retrieve an application object
ConfigApiget_applicationsGet /config/applicationsRetrieve the applications object
ConfigApiget_configGet /configRetrieve the config
ConfigApiget_listenerGet /config/listeners/{listenerName}Retrieve a listener object
ConfigApiget_listener_backlogGet /config/listeners/{listenerName}/backlogRetrieve the backlog option in a listener
ConfigApiget_listener_forwardedGet /config/listeners/{listenerName}/forwardedRetrieve the forwarded object in a listener
ConfigApiget_listener_forwarded_client_ipGet /config/listeners/{listenerName}/forwarded/client_ipRetrieve the client_ip option in a listener
ConfigApiget_listener_forwarded_protocolGet /config/listeners/{listenerName}/forwarded/protocolRetrieve the protocol option in a listener
ConfigApiget_listener_forwarded_recursiveGet /config/listeners/{listenerName}/forwarded/recursiveRetrieve the recursive option in a listener
ConfigApiget_listener_forwarded_sourceGet /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Retrieve a source array item in a listener
ConfigApiget_listener_passGet /config/listeners/{listenerName}/passRetrieve the pass option in a listener
ConfigApiget_listener_tlsGet /config/listeners/{listenerName}/tlsRetrieve the tls object in a listener
ConfigApiget_listener_tls_certificateGet /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Retrieve a certificate array item in a listener
ConfigApiget_listener_tls_sessionGet /config/listeners/{listenerName}/tls/sessionRetrieve the session object in a listener
ConfigApiget_listener_tls_session_ticketGet /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Retrieve a ticket array item in a listener
ConfigApiget_listenersGet /config/listenersRetrieve all the listeners
ConfigApiget_routesGet /config/routesRetrieve the routes entity
ConfigApiget_settingsGet /config/settingsRetrieve the settings object
ConfigApiget_settings_discard_unsafe_fieldsGet /config/settings/http/discard_unsafe_fieldsRetrieve the discard_unsafe_fields option from http settings
ConfigApiget_settings_httpGet /config/settings/httpRetrieve the http object from settings
ConfigApiget_settings_http_body_read_timeoutGet /config/settings/http/body_read_timeoutRetrieve the body_read_timeout option from http settings
ConfigApiget_settings_http_header_read_timeoutGet /config/settings/http/header_read_timeoutRetrieve the header_read_timeout option from http settings
ConfigApiget_settings_http_idle_timeoutGet /config/settings/http/idle_timeoutRetrieve the idle_timeout option from http settings
ConfigApiget_settings_http_max_body_sizeGet /config/settings/http/max_body_sizeRetrieve the max_body_size option from http settings
ConfigApiget_settings_http_send_timeoutGet /config/settings/http/send_timeoutRetrieve the send_timeout option from http settings
ConfigApiget_settings_http_staticGet /config/settings/http/staticRetrieve the static object from http settings
ConfigApiget_settings_http_static_mime_typeGet /config/settings/http/static/mime_types/{mimeType}Retrieve the MIME type option from MIME type settings
ConfigApiget_settings_http_static_mime_typesGet /config/settings/http/static/mime_typesRetrieve the mime_types object from static settings
ConfigApiget_settings_listen_threadsGet /config/settings/listen_threadsRetrieve the listen_threads option from settings
ConfigApiget_settings_log_routeGet /config/settings/http/log_routeRetrieve the log_route option from http settings
ConfigApiget_settings_server_versionGet /config/settings/http/server_versionRetrieve the server_version option from http settings
ConfigApiget_settings_telemetryGet /config/settings/telemetryRetrieve the telemetry object from settings
ConfigApiinsert_listener_forwarded_sourcePost /config/listeners/{listenerName}/forwarded/sourceAdd a new source array item in a listener
ConfigApiinsert_listener_tls_certificatePost /config/listeners/{listenerName}/tls/certificateAdd a new certificate array item in a listener
ConfigApiinsert_listener_tls_session_ticketPost /config/listeners/{listenerName}/tls/session/ticketsAdd a new tickets array item in a listener
ConfigApilist_listener_forwarded_sourcesGet /config/listeners/{listenerName}/forwarded/sourceRetrieve the source option in a listener
ConfigApilist_listener_tls_certificatesGet /config/listeners/{listenerName}/tls/certificateRetrieve the certificate option in a listener
ConfigApilist_listener_tls_conf_commandsGet /config/listeners/{listenerName}/tls/conf_commandsRetrieve the conf_commands object in a listener
ConfigApilist_listener_tls_session_ticketsGet /config/listeners/{listenerName}/tls/session/ticketsRetrieve the tickets option in a listener
ConfigApiput_settings_telemetryPut /config/settings/telemetryCreate or update the telemetry object in settings
ConfigApiupdate_access_logPut /config/access_logCreate or overwrite the access log
ConfigApiupdate_access_log_formatPut /config/access_log/formatCreate or overwrite the access log format
ConfigApiupdate_access_log_pathPut /config/access_log/pathCreate or overwrite the access log path
ConfigApiupdate_applicationPut /config/applications/{appName}Create or overwrite the application object
ConfigApiupdate_applicationsPut /config/applicationsOverwrite the applications object
ConfigApiupdate_configPut /configCreate or overwrite the config
ConfigApiupdate_listenerPut /config/listeners/{listenerName}Create or overwrite a listener object
ConfigApiupdate_listener_backlogPut /config/listeners/{listenerName}/backlogUpdate the backlog option in a listener
ConfigApiupdate_listener_forwardedPut /config/listeners/{listenerName}/forwardedCreate or overwrite the forwarded object in a listener
ConfigApiupdate_listener_forwarded_client_ipPut /config/listeners/{listenerName}/forwarded/client_ipCreate or overwrite the client_ip option in a listener
ConfigApiupdate_listener_forwarded_protocolPut /config/listeners/{listenerName}/forwarded/protocolCreate or overwrite the protocol option in a listener
ConfigApiupdate_listener_forwarded_recursivePut /config/listeners/{listenerName}/forwarded/recursiveCreate or overwrite the recursive option in a listener
ConfigApiupdate_listener_forwarded_sourcePut /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Update a source array item in a listener
ConfigApiupdate_listener_forwarded_sourcesPut /config/listeners/{listenerName}/forwarded/sourceCreate or overwrite the source option in a listener
ConfigApiupdate_listener_passPut /config/listeners/{listenerName}/passUpdate the pass option in a listener
ConfigApiupdate_listener_tlsPut /config/listeners/{listenerName}/tlsCreate or overwrite the tls object in a listener
ConfigApiupdate_listener_tls_certificatePut /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Update a certificate array item in a listener
ConfigApiupdate_listener_tls_certificatesPut /config/listeners/{listenerName}/tls/certificateCreate or overwrite the certificate option in a listener
ConfigApiupdate_listener_tls_conf_commandsPut /config/listeners/{listenerName}/tls/conf_commandsCreate or overwrite the conf_commands object in a listener
ConfigApiupdate_listener_tls_sessionPut /config/listeners/{listenerName}/tls/sessionCreate or overwrite the session object in a listener
ConfigApiupdate_listener_tls_session_ticketPut /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Create or overwrite a ticket array item in a listener
ConfigApiupdate_listener_tls_session_ticketsPut /config/listeners/{listenerName}/tls/session/ticketsCreate or overwrite the tickets option in a listener
ConfigApiupdate_listenersPut /config/listenersCreate or overwrite all the listeners
ConfigApiupdate_routesPut /config/routesOverwrite the routes entity
ConfigApiupdate_settingsPut /config/settingsCreate or overwrite the settings object
ConfigApiupdate_settings_discard_unsafe_fieldsPut /config/settings/http/discard_unsafe_fieldsCreate or overwrite the discard_unsafe_fields option
ConfigApiupdate_settings_httpPut /config/settings/httpCreate or overwrite the http object
ConfigApiupdate_settings_http_body_read_timeoutPut /config/settings/http/body_read_timeoutCreate or overwrite the body_read_timeout option
ConfigApiupdate_settings_http_header_read_timeoutPut /config/settings/http/header_read_timeoutCreate or overwrite the header_read_timeout option
ConfigApiupdate_settings_http_idle_timeoutPut /config/settings/http/idle_timeoutCreate or overwrite the idle_timeout option
ConfigApiupdate_settings_http_max_body_sizePut /config/settings/http/max_body_sizeCreate or overwrite the max_body_size option
ConfigApiupdate_settings_http_send_timeoutPut /config/settings/http/send_timeoutCreate or overwrite the send_timeout option
ConfigApiupdate_settings_http_staticPut /config/settings/http/staticCreate or overwrite the static object
ConfigApiupdate_settings_http_static_mime_typePut /config/settings/http/static/mime_types/{mimeType}Create or overwrite the MIME type option
ConfigApiupdate_settings_http_static_mime_typesPut /config/settings/http/static/mime_typesCreate or overwrite the mime_types object
ConfigApiupdate_settings_listen_threadsPut /config/settings/listen_threadsCreate or overwrite the listen_threads option
ConfigApiupdate_settings_log_routePut /config/settings/http/log_routeCreate or overwrite the log_route option
ConfigApiupdate_settings_server_versionPut /config/settings/http/server_versionCreate or overwrite the server_version option
ControlApiget_app_restartGet /control/applications/{appName}/restartRestart the {appName} application
ListenersApidelete_listenerDelete /config/listeners/{listenerName}Delete a listener object
ListenersApidelete_listener_forwarded_recursiveDelete /config/listeners/{listenerName}/forwarded/recursiveDelete the recursive object in a listener
ListenersApidelete_listener_forwarded_sourceDelete /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Delete a source array item in a listener
ListenersApidelete_listener_forwarded_sourcesDelete /config/listeners/{listenerName}/forwarded/sourceDelete the source option in a listener
ListenersApidelete_listener_forwaredDelete /config/listeners/{listenerName}/forwardedDelete the forwarded object in a listener
ListenersApidelete_listener_tlsDelete /config/listeners/{listenerName}/tlsDelete the tls object in a listener
ListenersApidelete_listener_tls_certificateDelete /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Delete a certificate array item in a listener
ListenersApidelete_listener_tls_certificatesDelete /config/listeners/{listenerName}/tls/certificateDelete the certificate option in a listener
ListenersApidelete_listener_tls_conf_commandsDelete /config/listeners/{listenerName}/tls/conf_commandsDelete the conf_commands object in a listener
ListenersApidelete_listener_tls_sessionDelete /config/listeners/{listenerName}/tls/sessionDelete the session object in a listener
ListenersApidelete_listener_tls_session_ticketDelete /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Delete a ticket array item in a listener
ListenersApidelete_listener_tls_session_ticketsDelete /config/listeners/{listenerName}/tls/session/ticketsDelete the tickets option in a listener
ListenersApidelete_listenersDelete /config/listenersDelete all the listeners
ListenersApiget_listenerGet /config/listeners/{listenerName}Retrieve a listener object
ListenersApiget_listener_backlogGet /config/listeners/{listenerName}/backlogRetrieve the backlog option in a listener
ListenersApiget_listener_forwardedGet /config/listeners/{listenerName}/forwardedRetrieve the forwarded object in a listener
ListenersApiget_listener_forwarded_client_ipGet /config/listeners/{listenerName}/forwarded/client_ipRetrieve the client_ip option in a listener
ListenersApiget_listener_forwarded_protocolGet /config/listeners/{listenerName}/forwarded/protocolRetrieve the protocol option in a listener
ListenersApiget_listener_forwarded_recursiveGet /config/listeners/{listenerName}/forwarded/recursiveRetrieve the recursive option in a listener
ListenersApiget_listener_forwarded_sourceGet /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Retrieve a source array item in a listener
ListenersApiget_listener_passGet /config/listeners/{listenerName}/passRetrieve the pass option in a listener
ListenersApiget_listener_tlsGet /config/listeners/{listenerName}/tlsRetrieve the tls object in a listener
ListenersApiget_listener_tls_certificateGet /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Retrieve a certificate array item in a listener
ListenersApiget_listener_tls_sessionGet /config/listeners/{listenerName}/tls/sessionRetrieve the session object in a listener
ListenersApiget_listener_tls_session_ticketGet /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Retrieve a ticket array item in a listener
ListenersApiget_listenersGet /config/listenersRetrieve all the listeners
ListenersApiinsert_listener_forwarded_sourcePost /config/listeners/{listenerName}/forwarded/sourceAdd a new source array item in a listener
ListenersApiinsert_listener_tls_certificatePost /config/listeners/{listenerName}/tls/certificateAdd a new certificate array item in a listener
ListenersApiinsert_listener_tls_session_ticketPost /config/listeners/{listenerName}/tls/session/ticketsAdd a new tickets array item in a listener
ListenersApilist_listener_forwarded_sourcesGet /config/listeners/{listenerName}/forwarded/sourceRetrieve the source option in a listener
ListenersApilist_listener_tls_certificatesGet /config/listeners/{listenerName}/tls/certificateRetrieve the certificate option in a listener
ListenersApilist_listener_tls_conf_commandsGet /config/listeners/{listenerName}/tls/conf_commandsRetrieve the conf_commands object in a listener
ListenersApilist_listener_tls_session_ticketsGet /config/listeners/{listenerName}/tls/session/ticketsRetrieve the tickets option in a listener
ListenersApiupdate_listenerPut /config/listeners/{listenerName}Create or overwrite a listener object
ListenersApiupdate_listener_backlogPut /config/listeners/{listenerName}/backlogUpdate the backlog option in a listener
ListenersApiupdate_listener_forwardedPut /config/listeners/{listenerName}/forwardedCreate or overwrite the forwarded object in a listener
ListenersApiupdate_listener_forwarded_client_ipPut /config/listeners/{listenerName}/forwarded/client_ipCreate or overwrite the client_ip option in a listener
ListenersApiupdate_listener_forwarded_protocolPut /config/listeners/{listenerName}/forwarded/protocolCreate or overwrite the protocol option in a listener
ListenersApiupdate_listener_forwarded_recursivePut /config/listeners/{listenerName}/forwarded/recursiveCreate or overwrite the recursive option in a listener
ListenersApiupdate_listener_forwarded_sourcePut /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Update a source array item in a listener
ListenersApiupdate_listener_forwarded_sourcesPut /config/listeners/{listenerName}/forwarded/sourceCreate or overwrite the source option in a listener
ListenersApiupdate_listener_passPut /config/listeners/{listenerName}/passUpdate the pass option in a listener
ListenersApiupdate_listener_tlsPut /config/listeners/{listenerName}/tlsCreate or overwrite the tls object in a listener
ListenersApiupdate_listener_tls_certificatePut /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Update a certificate array item in a listener
ListenersApiupdate_listener_tls_certificatesPut /config/listeners/{listenerName}/tls/certificateCreate or overwrite the certificate option in a listener
ListenersApiupdate_listener_tls_conf_commandsPut /config/listeners/{listenerName}/tls/conf_commandsCreate or overwrite the conf_commands object in a listener
ListenersApiupdate_listener_tls_sessionPut /config/listeners/{listenerName}/tls/sessionCreate or overwrite the session object in a listener
ListenersApiupdate_listener_tls_session_ticketPut /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Create or overwrite a ticket array item in a listener
ListenersApiupdate_listener_tls_session_ticketsPut /config/listeners/{listenerName}/tls/session/ticketsCreate or overwrite the tickets option in a listener
ListenersApiupdate_listenersPut /config/listenersCreate or overwrite all the listeners
RoutesApidelete_routesDelete /config/routesDelete the routes entity
RoutesApiget_routesGet /config/routesRetrieve the routes entity
RoutesApiupdate_routesPut /config/routesOverwrite the routes entity
SettingsApidelete_settingsDelete /config/settingsDelete the settings object
SettingsApidelete_settings_discard_unsafe_fieldsDelete /config/settings/http/discard_unsafe_fieldsDelete the discard_unsafe_fields option
SettingsApidelete_settings_httpDelete /config/settings/httpDelete the http object
SettingsApidelete_settings_http_body_read_timeoutDelete /config/settings/http/body_read_timeoutDelete the body_read_timeout option
SettingsApidelete_settings_http_header_read_timeoutDelete /config/settings/http/header_read_timeoutDelete the header_read_timeout option
SettingsApidelete_settings_http_idle_timeoutDelete /config/settings/http/idle_timeoutDelete the idle_timeout option
SettingsApidelete_settings_http_max_body_sizeDelete /config/settings/http/max_body_sizeDelete the max_body_size option
SettingsApidelete_settings_http_send_timeoutDelete /config/settings/http/send_timeoutDelete the send_timeout option
SettingsApidelete_settings_http_staticDelete /config/settings/http/staticDelete the static object
SettingsApidelete_settings_http_static_mime_typeDelete /config/settings/http/static/mime_types/{mimeType}Delete the MIME type option
SettingsApidelete_settings_http_static_mime_typesDelete /config/settings/http/static/mime_typesDelete the mime_types object
SettingsApidelete_settings_listen_threadsDelete /config/settings/listen_threadsDelete the listen_threads option
SettingsApidelete_settings_log_routeDelete /config/settings/http/log_routeDelete the log_route option
SettingsApidelete_settings_server_versionDelete /config/settings/http/server_versionDelete the server_version option
SettingsApidelete_settings_telemetryDelete /config/settings/telemetryDelete the telemetry object
SettingsApiget_settingsGet /config/settingsRetrieve the settings object
SettingsApiget_settings_discard_unsafe_fieldsGet /config/settings/http/discard_unsafe_fieldsRetrieve the discard_unsafe_fields option from http settings
SettingsApiget_settings_httpGet /config/settings/httpRetrieve the http object from settings
SettingsApiget_settings_http_body_read_timeoutGet /config/settings/http/body_read_timeoutRetrieve the body_read_timeout option from http settings
SettingsApiget_settings_http_header_read_timeoutGet /config/settings/http/header_read_timeoutRetrieve the header_read_timeout option from http settings
SettingsApiget_settings_http_idle_timeoutGet /config/settings/http/idle_timeoutRetrieve the idle_timeout option from http settings
SettingsApiget_settings_http_max_body_sizeGet /config/settings/http/max_body_sizeRetrieve the max_body_size option from http settings
SettingsApiget_settings_http_send_timeoutGet /config/settings/http/send_timeoutRetrieve the send_timeout option from http settings
SettingsApiget_settings_http_staticGet /config/settings/http/staticRetrieve the static object from http settings
SettingsApiget_settings_http_static_mime_typeGet /config/settings/http/static/mime_types/{mimeType}Retrieve the MIME type option from MIME type settings
SettingsApiget_settings_http_static_mime_typesGet /config/settings/http/static/mime_typesRetrieve the mime_types object from static settings
SettingsApiget_settings_listen_threadsGet /config/settings/listen_threadsRetrieve the listen_threads option from settings
SettingsApiget_settings_log_routeGet /config/settings/http/log_routeRetrieve the log_route option from http settings
SettingsApiget_settings_server_versionGet /config/settings/http/server_versionRetrieve the server_version option from http settings
SettingsApiget_settings_telemetryGet /config/settings/telemetryRetrieve the telemetry object from settings
SettingsApiput_settings_telemetryPut /config/settings/telemetryCreate or update the telemetry object in settings
SettingsApiupdate_settingsPut /config/settingsCreate or overwrite the settings object
SettingsApiupdate_settings_discard_unsafe_fieldsPut /config/settings/http/discard_unsafe_fieldsCreate or overwrite the discard_unsafe_fields option
SettingsApiupdate_settings_httpPut /config/settings/httpCreate or overwrite the http object
SettingsApiupdate_settings_http_body_read_timeoutPut /config/settings/http/body_read_timeoutCreate or overwrite the body_read_timeout option
SettingsApiupdate_settings_http_header_read_timeoutPut /config/settings/http/header_read_timeoutCreate or overwrite the header_read_timeout option
SettingsApiupdate_settings_http_idle_timeoutPut /config/settings/http/idle_timeoutCreate or overwrite the idle_timeout option
SettingsApiupdate_settings_http_max_body_sizePut /config/settings/http/max_body_sizeCreate or overwrite the max_body_size option
SettingsApiupdate_settings_http_send_timeoutPut /config/settings/http/send_timeoutCreate or overwrite the send_timeout option
SettingsApiupdate_settings_http_staticPut /config/settings/http/staticCreate or overwrite the static object
SettingsApiupdate_settings_http_static_mime_typePut /config/settings/http/static/mime_types/{mimeType}Create or overwrite the MIME type option
SettingsApiupdate_settings_http_static_mime_typesPut /config/settings/http/static/mime_typesCreate or overwrite the mime_types object
SettingsApiupdate_settings_listen_threadsPut /config/settings/listen_threadsCreate or overwrite the listen_threads option
SettingsApiupdate_settings_log_routePut /config/settings/http/log_routeCreate or overwrite the log_route option
SettingsApiupdate_settings_server_versionPut /config/settings/http/server_versionCreate or overwrite the server_version option
StatusApiget_statusGet /statusRetrieve the status object
StatusApiget_status_applicationsGet /status/applicationsRetrieve the applications status object
StatusApiget_status_applications_appGet /status/applications/{appName}Retrieve the app status object
StatusApiget_status_applications_app_processesGet /status/applications/{appName}/processesRetrieve the processes app status object
StatusApiget_status_applications_app_processes_idleGet /status/applications/{appName}/processes/idleRetrieve the idle processes app status number
StatusApiget_status_applications_app_processes_runningGet /status/applications/{appName}/processes/runningRetrieve the running processes app status number
StatusApiget_status_applications_app_processes_startingGet /status/applications/{appName}/processes/startingRetrieve the starting processes app status number
StatusApiget_status_applications_app_requestsGet /status/applications/{appName}/requestsRetrieve the requests app status object
StatusApiget_status_applications_app_requests_activeGet /status/applications/{appName}/requests/activeRetrieve the active requests app status number
StatusApiget_status_connectionsGet /status/connectionsRetrieve the connections status object
StatusApiget_status_connections_acceptedGet /status/connections/acceptedRetrieve the accepted connections number
StatusApiget_status_connections_activeGet /status/connections/activeRetrieve the active connections number
StatusApiget_status_connections_closedGet /status/connections/closedRetrieve the closed connections number
StatusApiget_status_connections_idleGet /status/connections/idleRetrieve the idle connections number
StatusApiget_status_modulesGet /status/modulesRetrieve the modules status object
StatusApiget_status_modules_langGet /status/modules/{langMod}Retrieve the language module object
StatusApiget_status_modules_lang_libGet /status/modules/{langMod}/libRetrieves the language module lib object
StatusApiget_status_modules_lang_versionGet /status/modules/{langMod}/versionRetrieve the language module version object
StatusApiget_status_requestsGet /status/requestsRetrieve the requests status object
StatusApiget_status_requests_totalGet /status/requests/totalRetrieve the total requests number
TlsApidelete_listener_tlsDelete /config/listeners/{listenerName}/tlsDelete the tls object in a listener
TlsApidelete_listener_tls_certificateDelete /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Delete a certificate array item in a listener
TlsApidelete_listener_tls_certificatesDelete /config/listeners/{listenerName}/tls/certificateDelete the certificate option in a listener
TlsApidelete_listener_tls_conf_commandsDelete /config/listeners/{listenerName}/tls/conf_commandsDelete the conf_commands object in a listener
TlsApidelete_listener_tls_sessionDelete /config/listeners/{listenerName}/tls/sessionDelete the session object in a listener
TlsApidelete_listener_tls_session_ticketDelete /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Delete a ticket array item in a listener
TlsApidelete_listener_tls_session_ticketsDelete /config/listeners/{listenerName}/tls/session/ticketsDelete the tickets option in a listener
TlsApiget_listener_tlsGet /config/listeners/{listenerName}/tlsRetrieve the tls object in a listener
TlsApiget_listener_tls_certificateGet /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Retrieve a certificate array item in a listener
TlsApiget_listener_tls_sessionGet /config/listeners/{listenerName}/tls/sessionRetrieve the session object in a listener
TlsApiget_listener_tls_session_ticketGet /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Retrieve a ticket array item in a listener
TlsApiinsert_listener_tls_certificatePost /config/listeners/{listenerName}/tls/certificateAdd a new certificate array item in a listener
TlsApiinsert_listener_tls_session_ticketPost /config/listeners/{listenerName}/tls/session/ticketsAdd a new tickets array item in a listener
TlsApilist_listener_tls_certificatesGet /config/listeners/{listenerName}/tls/certificateRetrieve the certificate option in a listener
TlsApilist_listener_tls_conf_commandsGet /config/listeners/{listenerName}/tls/conf_commandsRetrieve the conf_commands object in a listener
TlsApilist_listener_tls_session_ticketsGet /config/listeners/{listenerName}/tls/session/ticketsRetrieve the tickets option in a listener
TlsApiupdate_listener_tlsPut /config/listeners/{listenerName}/tlsCreate or overwrite the tls object in a listener
TlsApiupdate_listener_tls_certificatePut /config/listeners/{listenerName}/tls/certificate/{arrayIndex}Update a certificate array item in a listener
TlsApiupdate_listener_tls_certificatesPut /config/listeners/{listenerName}/tls/certificateCreate or overwrite the certificate option in a listener
TlsApiupdate_listener_tls_conf_commandsPut /config/listeners/{listenerName}/tls/conf_commandsCreate or overwrite the conf_commands object in a listener
TlsApiupdate_listener_tls_sessionPut /config/listeners/{listenerName}/tls/sessionCreate or overwrite the session object in a listener
TlsApiupdate_listener_tls_session_ticketPut /config/listeners/{listenerName}/tls/session/tickets/{arrayIndex}Create or overwrite a ticket array item in a listener
TlsApiupdate_listener_tls_session_ticketsPut /config/listeners/{listenerName}/tls/session/ticketsCreate or overwrite the tickets option in a listener
XffApidelete_listener_forwarded_recursiveDelete /config/listeners/{listenerName}/forwarded/recursiveDelete the recursive object in a listener
XffApidelete_listener_forwarded_sourceDelete /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Delete a source array item in a listener
XffApidelete_listener_forwarded_sourcesDelete /config/listeners/{listenerName}/forwarded/sourceDelete the source option in a listener
XffApidelete_listener_forwaredDelete /config/listeners/{listenerName}/forwardedDelete the forwarded object in a listener
XffApiget_listener_forwardedGet /config/listeners/{listenerName}/forwardedRetrieve the forwarded object in a listener
XffApiget_listener_forwarded_client_ipGet /config/listeners/{listenerName}/forwarded/client_ipRetrieve the client_ip option in a listener
XffApiget_listener_forwarded_protocolGet /config/listeners/{listenerName}/forwarded/protocolRetrieve the protocol option in a listener
XffApiget_listener_forwarded_recursiveGet /config/listeners/{listenerName}/forwarded/recursiveRetrieve the recursive option in a listener
XffApiget_listener_forwarded_sourceGet /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Retrieve a source array item in a listener
XffApiinsert_listener_forwarded_sourcePost /config/listeners/{listenerName}/forwarded/sourceAdd a new source array item in a listener
XffApilist_listener_forwarded_sourcesGet /config/listeners/{listenerName}/forwarded/sourceRetrieve the source option in a listener
XffApiupdate_listener_forwardedPut /config/listeners/{listenerName}/forwardedCreate or overwrite the forwarded object in a listener
XffApiupdate_listener_forwarded_client_ipPut /config/listeners/{listenerName}/forwarded/client_ipCreate or overwrite the client_ip option in a listener
XffApiupdate_listener_forwarded_protocolPut /config/listeners/{listenerName}/forwarded/protocolCreate or overwrite the protocol option in a listener
XffApiupdate_listener_forwarded_recursivePut /config/listeners/{listenerName}/forwarded/recursiveCreate or overwrite the recursive option in a listener
XffApiupdate_listener_forwarded_sourcePut /config/listeners/{listenerName}/forwarded/source/{arrayIndex}Update a source array item in a listener
XffApiupdate_listener_forwarded_sourcesPut /config/listeners/{listenerName}/forwarded/sourceCreate or overwrite the source option in a listener

Documentation For Models

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

cargo doc --open

Author

[email protected]