335 releases (110 breaking)

0.135.1 May 29, 2023
0.134.2 May 9, 2023
0.132.1 Mar 30, 2023
0.117.2 Dec 25, 2022
0.17.10 Nov 25, 2021

#1787 in Web programming

Download history 9/week @ 2024-06-28 31/week @ 2024-07-05 25/week @ 2024-07-12 18/week @ 2024-07-19 118/week @ 2024-07-26 25/week @ 2024-08-02 21/week @ 2024-08-09 12/week @ 2024-08-16 15/week @ 2024-08-23 9/week @ 2024-08-30 9/week @ 2024-09-06 15/week @ 2024-09-13 56/week @ 2024-09-20 12/week @ 2024-09-27 4/week @ 2024-10-04 7/week @ 2024-10-11

82 downloads per month
Used in 15 crates (9 directly)

AGPL-3.0

570KB
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.135.1
  • Package version: 0.135.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_session_create POST /accounts/2fa-auth/session/
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 alerts_print_job_create POST /api/alerts/print-job/
AlertsApi alerts_print_job_list GET /api/alerts/print-job/
AlertsApi alerts_print_job_partial_update PATCH /api/alerts/print-job/{id}/
AlertsApi alerts_print_job_retrieve GET /api/alerts/print-job/{id}/
AlertsApi alerts_print_job_update PUT /api/alerts/print-job/{id}/
AlertsApi email_alert_settings_create POST /api/email-alert-settings/
AlertsApi email_alert_settings_partial_update PATCH /api/email-alert-settings/{id}
AlertsApi email_alert_settings_retrieve GET /api/email-alert-settings/
AlertsApi email_alert_settings_update PUT /api/email-alert-settings/{id}
CrashReportsApi crash_reports_create POST /api/crash-reports/
CrashReportsApi crash_reports_list GET /api/crash-reports/
CrashReportsApi crash_reports_partial_update PATCH /api/crash-reports/{id}/
CrashReportsApi crash_reports_retrieve GET /api/crash-reports/{id}/
CrashReportsApi crash_reports_update PUT /api/crash-reports/{id}/
DemosApi demos_create POST /api/demos/
DemosApi demos_feedback_partial_update PATCH /api/demos/feedback/{id}/
DemosApi demos_feedback_retrieve GET /api/demos/feedback/{id}/
DemosApi demos_feedback_update PUT /api/demos/feedback/{id}/
DemosApi demos_retrieve GET /api/demos/{id}/
DevicesApi assign_pi_to_workspace POST /api/pis/{pi_id}/assign-workspace/{workspace_id}/
DevicesApi network_settings_create POST /api/network-settings/
DevicesApi network_settings_partial_update PATCH /api/network-settings/{id}
DevicesApi network_settings_retrieve GET /api/network-settings/
DevicesApi network_settings_update PUT /api/network-settings/{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_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/
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}/
MoonrakerApi moonraker_create POST /api/moonraker/
MoonrakerApi moonraker_list GET /api/moonraker/
MoonrakerApi moonraker_partial_update PATCH /api/moonraker/{id}/
MoonrakerApi moonraker_retrieve GET /api/moonraker/{id}/
MoonrakerApi moonraker_server_update_or_create POST /api/moonraker/update-or-create/
MoonrakerApi moonraker_update PUT /api/moonraker/{id}/
MoonrakerApi pis_moonraker_server_list GET /api/pis/{pi_id}/moonraker-server/
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_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_server_list GET /api/pis/{pi_id}/octoprint-server/
SchemaApi schema_retrieve GET /api/schema/
SettingsApi email_alert_settings_create POST /api/email-alert-settings/
SettingsApi email_alert_settings_partial_update PATCH /api/email-alert-settings/{id}
SettingsApi email_alert_settings_retrieve GET /api/email-alert-settings/
SettingsApi email_alert_settings_update PUT /api/email-alert-settings/{id}
ShopApi cloud_plans_retrieve GET /api/shop/products/cloud-plans/
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/
ShopApi shop_products_retrieve GET /api/shop/products/{sku}
VideosApi pis_camera_snapshots_create POST /api/pis/{pi_id}/camera-snapshots/
VideosApi pis_camera_snapshots_list GET /api/pis/{pi_id}/camera-snapshots/
VideosApi pis_camera_snapshots_retrieve GET /api/pis/{pi_id}/camera-snapshots/{id}/
VideosApi video_parts_create POST /api/video-parts/
VideosApi video_parts_list GET /api/video-parts/
VideosApi video_parts_retrieve GET /api/video-parts/{id}/
VideosApi video_recordings_finalize POST /api/videos/{id}/finalize/
VideosApi video_recordings_update_or_create POST /api/videos/{id}/update-or-create/
VideosApi videos_create POST /api/videos/
VideosApi videos_list GET /api/videos/
VideosApi videos_partial_update PATCH /api/videos/{id}/
VideosApi videos_retrieve GET /api/videos/{id}/
VideosApi videos_update PUT /api/videos/{id}/
WorkspacesApi assign_pi_to_workspace POST /api/pis/{pi_id}/assign-workspace/{workspace_id}/
WorkspacesApi workspaces_create POST /api/workspaces/
WorkspacesApi workspaces_create_invite POST /api/workspaces/invite/
WorkspacesApi workspaces_list GET /api/workspaces/
WorkspacesApi workspaces_partial_update PATCH /api/workspaces/{id}/
WorkspacesApi workspaces_remind_invite POST /api/workspaces/remind/
WorkspacesApi workspaces_retrieve GET /api/workspaces/{id}/
WorkspacesApi workspaces_update PUT /api/workspaces/{id}/
WorkspacesApi workspaces_verify_invite POST /api/workspace-invites/verify/

Documentation For Models

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

cargo doc --open

Author

leigh@printnanny.ai

Dependencies

~8–23MB
~306K SLoC