Rust API client for print-nanny-client

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.

Installation

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

openapi = { path = "./generated" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- AlertsApi | alertsrecent | get /api/alerts/recent/ | *AlertsApi* | alertsseen | patch /api/alerts/seen/ | AlertsApi | alertsunread | get /api/alerts/unread/ | *ApiApi* | apialertslist | get /api/alerts/ | *ApiApi* | apialertspartialupdate | patch /api/alerts/{id}/ | ApiApi | apialertsretrieve | get /api/alerts/{id}/ | ApiApi | apialertsupdate | put /api/alerts/{id}/ | ApiApi | apiauthtokencreate | post /api/auth-token/ | *ApiApi* | apischemaretrieve | get /api/schema/ | *AuthApi* | authemailcreate | post /auth/email/ | *AuthApi* | authmobilecreate | post /auth/mobile/ | *AuthApi* | authtokencreate | post /auth/token/ | *AuthApi* | authverifycreate | post /auth/verify/ | *AuthApi* | authverifyemailcreate | post /auth/verify/email/ | AuthApi | authverifymobilecreate | post /auth/verify/mobile/ | *DevicesApi* | apidevicescreate | post /api/devices/ | *DevicesApi* | apideviceslist | get /api/devices/ | *DevicesApi* | apidevicesretrieve | get /api/devices/{id}/ | *DevicesApi* | devicesupdateorcreate | post /api/devices/update-or-create/ | DevicesApi | octoprintdevicespartialupdate | patch /api/devices/{id}/ | *DevicesApi* | octoprintdevicesupdate | put /api/devices/{id}/ | *MlOpsApi* | apidevicecalibrationslist | get /api/device-calibrations/ | MlOpsApi | apidevicecalibrationspartialupdate | patch /api/device-calibrations/{id}/ | MlOpsApi | apidevicecalibrationsretrieve | get /api/device-calibrations/{id}/ | *MlOpsApi* | apidevicecalibrationsupdate | put /api/device-calibrations/{id}/ | MlOpsApi | apiexperimentdeviceconfigslist | get /api/experiment-device-configs/ | MlOpsApi | apiexperimentdeviceconfigsretrieve | get /api/experiment-device-configs/{id}/ | MlOpsApi | apiexperimentslist | get /api/experiments/ | MlOpsApi | apiexperimentsretrieve | get /api/experiments/{id}/ | MlOpsApi | apimodelartifactslist | get /api/model-artifacts/ | *MlOpsApi* | apimodelartifactsretrieve | get /api/model-artifacts/{id}/ | MlOpsApi | devicecalibrationupdateorcreate | post /api/device-calibrations/update-or-create/ | PartnersGeeks3Api | alertslist | get /api/partners/3d-geeks/{id}/alerts/ | *PartnersGeeks3dApi* | metadataretrieve | get /api/partners/3d-geeks/{id}/ | RemoteControlApi | apicommandslist | get /api/commands/ | RemoteControlApi | apicommandspartialupdate | patch /api/commands/{id}/ | *RemoteControlApi* | apicommandsretrieve | get /api/commands/{id}/ | *RemoteControlApi* | apicommandsupdate | put /api/commands/{id}/ | *RemoteControlApi* | apigcodefileslist | get /api/gcode-files/ | RemoteControlApi | apigcodefilespartialupdate | patch /api/gcode-files/{id}/ | RemoteControlApi | apigcodefilesretrieve | get /api/gcode-files/{id}/ | *RemoteControlApi* | apigcodefilesupdate | put /api/gcode-files/{id}/ | RemoteControlApi | apioctoprintdevicescreate | post /api/octoprint-devices/ | *RemoteControlApi* | apioctoprintdeviceslist | get /api/octoprint-devices/ | RemoteControlApi | apioctoprintdevicesretrieve | get /api/octoprint-devices/{id}/ | *RemoteControlApi* | apiprintsessionscreate | post /api/print-sessions/ | RemoteControlApi | apiprintsessionslist | get /api/print-sessions/ | *RemoteControlApi* | apiprintsessionsretrieve | get /api/print-sessions/{session}/ | RemoteControlApi | apiprinterprofileslist | get /api/printer-profiles/ | *RemoteControlApi* | apiprinterprofilespartialupdate | patch /api/printer-profiles/{id}/ | *RemoteControlApi* | apiprinterprofilesretrieve | get /api/printer-profiles/{id}/ | RemoteControlApi | apiprinterprofilesupdate | put /api/printer-profiles/{id}/ | *RemoteControlApi* | gcodefilescreate | post /api/gcode-files/ | *RemoteControlApi* | gcodefilesupdateorcreate | post /api/gcode-files/update-or-create/ | *RemoteControlApi* | octoprintdevicespartialupdate2 | patch /api/octoprint-devices/{id}/ | RemoteControlApi | octoprintdevicesupdate2 | put /api/octoprint-devices/{id}/ | RemoteControlApi | octoprintdevicesupdateorcreate | post /api/octoprint-devices/update-or-create/ | RemoteControlApi | printsessionpartialupdate | patch /api/print-sessions/{session}/ | *RemoteControlApi* | printsessionupdate | put /api/print-sessions/{session}/ | *RemoteControlApi* | printerprofilescreate | post /api/printer-profiles/ | *RemoteControlApi* | printerprofilesupdateorcreate | post /api/printer-profiles/update-or-create/ | *TelemetryApi* | apioctoprinteventscreate | post /api/octoprint-events/ | TelemetryApi | apioctoprinteventslist | get /api/octoprint-events/ | *TelemetryApi* | apioctoprinteventsretrieve | get /api/octoprint-events/{id}/ | TelemetryApi | apiprintjobeventslist | get /api/print-job-events/ | TelemetryApi | apiprintjobeventsretrieve | get /api/print-job-events/{id}/ | TelemetryApi | apiprintnannyplugineventslist | get /api/print-nanny-plugin-events/ | *TelemetryApi* | apiprintnannyplugineventsretrieve | get /api/print-nanny-plugin-events/{id}/ | TelemetryApi | apiremotecommandeventslist | get /api/remote-command-events/ | TelemetryApi | apiremotecommandeventsretrieve | get /api/remote-command-events/{id}/ | TelemetryApi | apitelemetryeventslist | get /api/telemetry-events/ | *TelemetryApi* | apitelemetryeventsretrieve | get /api/telemetry-events/{id}/ | UsersApi | apiuserslist | get /api/users/ | UsersApi | apiusersmeretrieve | get /api/users/me/ | *UsersApi* | apiuserspartialupdate | patch /api/users/{id}/ | UsersApi | apiusersretrieve | get /api/users/{id}/ | UsersApi | apiusersupdate | put /api/users/{id}/ |

Documentation For Models

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

cargo doc --open

Author