261 releases (92 breaking)

0.117.1 Nov 15, 2022
0.116.0 Nov 15, 2022
0.98.0 Jul 28, 2022
0.71.2 Mar 29, 2022
0.17.10 Nov 25, 2021

#130 in Development tools

Download history 544/week @ 2022-08-14 702/week @ 2022-08-21 41/week @ 2022-08-28 141/week @ 2022-09-04 304/week @ 2022-09-11 112/week @ 2022-09-18 267/week @ 2022-09-25 399/week @ 2022-10-02 380/week @ 2022-10-09 665/week @ 2022-10-16 505/week @ 2022-10-23 440/week @ 2022-10-30 124/week @ 2022-11-06 357/week @ 2022-11-13 689/week @ 2022-11-20 196/week @ 2022-11-27

1,392 downloads per month
Used in 10 crates (7 directly)

AGPL-3.0

540KB
9K SLoC

Rust API client for printnanny-api-client

Official API client library for printnanny.ai

For more information, please visit https://printnanny.ai

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.117.1
  • Package version: 0.117.1
  • Build package: com.printnanny.api.rust.RustClientGenerator

Installation

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

printnanny-api-client = { path = "./printnanny-api-client" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AccountsApi accounts2fa_auth_email_create POST /accounts/2fa-auth/email/
AccountsApi accounts2fa_auth_token_create POST /accounts/2fa-auth/token/
AccountsApi accounts_email_waitlist_create POST /api/accounts/email-waitlist/
AccountsApi accounts_login_create POST /api/accounts/login/
AccountsApi accounts_logout_create POST /api/accounts/logout/
AccountsApi accounts_password_change_create POST /api/accounts/password/change/
AccountsApi accounts_password_reset_confirm_create POST /api/accounts/password/reset/confirm/
AccountsApi accounts_password_reset_create POST /api/accounts/password/reset/
AccountsApi accounts_registration_create POST /api/accounts/registration/
AccountsApi accounts_registration_resend_email_create POST /api/accounts/registration/resend-email/
AccountsApi accounts_registration_verify_email_create POST /api/accounts/registration/verify-email/
AccountsApi accounts_user_nkey_retrieve GET /api/accounts/user/nkey
AccountsApi accounts_user_partial_update PATCH /api/accounts/user/
AccountsApi accounts_user_retrieve GET /api/accounts/user/
AccountsApi accounts_user_update PUT /api/accounts/user/
AchievementsApi achievements_list GET /api/achievements/
AlertsApi alert_settings_email_create POST /api/alert-settings/email/
AlertsApi alert_settings_email_list GET /api/alert-settings/email/
AlertsApi alert_settings_email_partial_update PATCH /api/alert-settings/email/{id}/
AlertsApi alert_settings_email_retrieve GET /api/alert-settings/email/{id}/
AlertsApi alert_settings_email_update PUT /api/alert-settings/email/{id}/
DevicesApi pi_update_or_create POST /api/pis/update-or-create/
DevicesApi pis_create POST /api/pis/
DevicesApi pis_destroy DELETE /api/pis/{id}/
DevicesApi pis_license_zip_retrieve GET /api/pis/{pi_id}/license/zip/
DevicesApi pis_list GET /api/pis/
DevicesApi pis_partial_update PATCH /api/pis/{id}/
DevicesApi pis_retrieve GET /api/pis/{id}/
DevicesApi pis_settings_create POST /api/pis/{pi_id}/settings/
DevicesApi pis_settings_list GET /api/pis/{pi_id}/settings/
DevicesApi pis_settings_partial_update PATCH /api/pis/{pi_id}/settings/{id}/
DevicesApi pis_settings_retrieve GET /api/pis/{pi_id}/settings/{id}/
DevicesApi pis_settings_update PUT /api/pis/{pi_id}/settings/{id}/
DevicesApi pis_system_info_create POST /api/pis/{pi_id}/system-info/
DevicesApi pis_system_info_list GET /api/pis/{pi_id}/system-info/
DevicesApi pis_system_info_partial_update PATCH /api/pis/{pi_id}/system-info/{id}/
DevicesApi pis_system_info_retrieve GET /api/pis/{pi_id}/system-info/{id}/
DevicesApi pis_system_info_update PUT /api/pis/{pi_id}/system-info/{id}/
DevicesApi pis_update PUT /api/pis/{id}/
DevicesApi pis_webrtc_streams_create POST /api/pis/{pi_id}/webrtc-streams/
DevicesApi pis_webrtc_streams_list GET /api/pis/{pi_id}/webrtc-streams/
DevicesApi pis_webrtc_streams_partial_update PATCH /api/pis/{pi_id}/webrtc-streams/{id}/
DevicesApi pis_webrtc_streams_retrieve GET /api/pis/{pi_id}/webrtc-streams/{id}/
DevicesApi pis_webrtc_streams_update PUT /api/pis/{pi_id}/webrtc-streams/{id}/
DevicesApi system_info_update_or_create POST /api/pis/{pi_id}/system-info/update-or-create/
DevicesApi webrtc_stream_update_or_create POST /api/pis/{pi_id}/webrtc-streams/update-or-create/
EventsApi octoprint_events_create POST /api/octoprint/events/
EventsApi octoprint_events_list GET /api/octoprint/events/
EventsApi octoprint_events_retrieve GET /api/octoprint/events/{id}/
EventsApi pis_all_events_list GET /api/pis/events
EventsApi pis_commands_create POST /api/pis/commands
EventsApi pis_commands_list GET /api/pis/commands
EventsApi pis_events_commands_list GET /api/pis/{pi_id}/events/commands/
EventsApi pis_events_create POST /api/pis/events
EventsApi pis_events_list GET /api/pis/{pi_id}/events/
EventsApi pis_events_retrieve GET /api/pis/events/{id}
EventsApi pis_events_status_list GET /api/pis/{pi_id}/events/status/
EventsApi pis_status_create POST /api/pis/status
EventsApi pis_status_list GET /api/pis/status
JanusApi pis_webrtc_streams_create POST /api/pis/{pi_id}/webrtc-streams/
JanusApi pis_webrtc_streams_list GET /api/pis/{pi_id}/webrtc-streams/
JanusApi pis_webrtc_streams_partial_update PATCH /api/pis/{pi_id}/webrtc-streams/{id}/
JanusApi pis_webrtc_streams_retrieve GET /api/pis/{pi_id}/webrtc-streams/{id}/
JanusApi pis_webrtc_streams_update PUT /api/pis/{pi_id}/webrtc-streams/{id}/
OctoprintApi octoprint_backups_create POST /api/octoprint/backups/
OctoprintApi octoprint_backups_list GET /api/octoprint/backups/
OctoprintApi octoprint_backups_retrieve GET /api/octoprint/backups/{id}/
OctoprintApi octoprint_create POST /api/octoprint/
OctoprintApi octoprint_events_create POST /api/octoprint/events/
OctoprintApi octoprint_events_list GET /api/octoprint/events/
OctoprintApi octoprint_events_retrieve GET /api/octoprint/events/{id}/
OctoprintApi octoprint_gcode_files_create POST /api/octoprint/gcode-files/
OctoprintApi octoprint_gcode_files_list GET /api/octoprint/gcode-files/
OctoprintApi octoprint_gcode_files_retrieve GET /api/octoprint/gcode-files/{id}/
OctoprintApi octoprint_list GET /api/octoprint/
OctoprintApi octoprint_partial_update PATCH /api/octoprint/{id}/
OctoprintApi octoprint_printer_profiles_create POST /api/octoprint/printer-profiles/
OctoprintApi octoprint_printer_profiles_list GET /api/octoprint/printer-profiles/
OctoprintApi octoprint_printer_profiles_partial_update PATCH /api/octoprint/printer-profiles/{id}/
OctoprintApi octoprint_printer_profiles_update PUT /api/octoprint/printer-profiles/{id}/
OctoprintApi octoprint_profile_update_or_create POST /api/octoprint/printer-profiles/update-or-create/
OctoprintApi octoprint_server_update_or_create POST /api/octoprint/update-or-create/
OctoprintApi octoprint_settings_create POST /api/octoprint/settings/
OctoprintApi octoprint_settings_list GET /api/octoprint/settings/
OctoprintApi octoprint_settings_partial_update PATCH /api/octoprint/settings/{id}/
OctoprintApi octoprint_settings_update PUT /api/octoprint/settings/{id}/
OctoprintApi octoprint_settings_update_or_create POST /api/octoprint/settings/update-or-create/
OctoprintApi octoprint_update PUT /api/octoprint/{id}/
OctoprintApi pis_octoprint_list GET /api/pis/{pi_id}/octoprint/
PisApi pis_all_events_list GET /api/pis/events
PisApi pis_commands_create POST /api/pis/commands
PisApi pis_commands_list GET /api/pis/commands
PisApi pis_events_commands_list GET /api/pis/{pi_id}/events/commands/
PisApi pis_events_create POST /api/pis/events
PisApi pis_events_list GET /api/pis/{pi_id}/events/
PisApi pis_events_retrieve GET /api/pis/events/{id}
PisApi pis_events_status_list GET /api/pis/{pi_id}/events/status/
PisApi pis_status_create POST /api/pis/status
PisApi pis_status_list GET /api/pis/status
SchemaApi schema_retrieve GET /api/schema/
SettingsApi alert_settings_email_create POST /api/alert-settings/email/
SettingsApi alert_settings_email_list GET /api/alert-settings/email/
SettingsApi alert_settings_email_partial_update PATCH /api/alert-settings/email/{id}/
SettingsApi alert_settings_email_retrieve GET /api/alert-settings/email/{id}/
SettingsApi alert_settings_email_update PUT /api/alert-settings/email/{id}/
ShopApi shop_checkout_success_retrieve GET /api/shop/checkout/success/{stripe_checkout_session_id}
ShopApi shop_orders_create POST /api/shop/orders
ShopApi shop_products_list GET /api/shop/products/

Documentation For Models

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

cargo doc --open

Author

leigh@printnanny.ai

Dependencies

~5–13MB
~272K SLoC