1 unstable release
0.16.0 | Nov 22, 2021 |
---|
#1443 in Web programming
500KB
8K
SLoC
Rust API client for print-nanny-api-client
Official API client library for print-nanny.com
For more information, please visit https://print-nanny.com
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.0.0
- Package version: 0.16.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named print-nanny-api-client
and add the following to Cargo.toml
under [dependencies]
:
print-nanny-api-client = { path = "./print-nanny-api-client" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AlertsApi | alerts_list | GET /api/alerts/ | |
AlertsApi | alerts_partial_update | PATCH /api/alerts/{id}/ | |
AlertsApi | alerts_recent | GET /api/alerts/recent/ | |
AlertsApi | alerts_retrieve | GET /api/alerts/{id}/ | |
AlertsApi | alerts_seen | PATCH /api/alerts/seen/ | |
AlertsApi | alerts_unread | GET /api/alerts/unread/ | |
AlertsApi | alerts_update | PUT /api/alerts/{id}/ | |
AuthApi | auth_email_create | POST /auth/email/ | |
AuthApi | auth_mobile_create | POST /auth/mobile/ | |
AuthApi | auth_token_create | POST /auth/token/ | |
AuthApi | auth_verify_create | POST /auth/verify/ | |
AuthApi | auth_verify_email_create | POST /auth/verify/email/ | |
AuthApi | auth_verify_mobile_create | POST /auth/verify/mobile/ | |
DevicesApi | device_info_update_or_create | POST /api/devices/{device_id}/info/update-or-create/ | |
DevicesApi | devices_cameras_create | POST /api/devices/{device_id}/cameras/ | |
DevicesApi | devices_cameras_list | GET /api/devices/{device_id}/cameras/ | |
DevicesApi | devices_cameras_partial_update | PATCH /api/devices/{device_id}/cameras/{id}/ | |
DevicesApi | devices_cameras_retrieve | GET /api/devices/{device_id}/cameras/{id}/ | |
DevicesApi | devices_cameras_update | PUT /api/devices/{device_id}/cameras/{id}/ | |
DevicesApi | devices_cloud_iot_devices_create | POST /api/devices/{device_id}/cloud-iot-devices/ | |
DevicesApi | devices_cloud_iot_devices_list | GET /api/devices/{device_id}/cloud-iot-devices/ | |
DevicesApi | devices_cloud_iot_devices_partial_update | PATCH /api/devices/{device_id}/cloud-iot-devices/{id}/ | |
DevicesApi | devices_cloud_iot_devices_retrieve | GET /api/devices/{device_id}/cloud-iot-devices/{id}/ | |
DevicesApi | devices_cloud_iot_devices_update | PUT /api/devices/{device_id}/cloud-iot-devices/{id}/ | |
DevicesApi | devices_config_list | GET /api/devices/{device_id}/config/ | |
DevicesApi | devices_config_retrieve | GET /api/devices/{device_id}/config/{id}/ | |
DevicesApi | devices_create | POST /api/devices/ | |
DevicesApi | devices_info_create | POST /api/devices/{device_id}/info/ | |
DevicesApi | devices_info_list | GET /api/devices/{device_id}/info/ | |
DevicesApi | devices_info_partial_update | PATCH /api/devices/{device_id}/info/{id}/ | |
DevicesApi | devices_info_retrieve | GET /api/devices/{device_id}/info/{id}/ | |
DevicesApi | devices_info_update | PUT /api/devices/{device_id}/info/{id}/ | |
DevicesApi | devices_license_retrieve | GET /api/devices/{id}/license/ | |
DevicesApi | devices_list | GET /api/devices/ | |
DevicesApi | devices_partial_update | PATCH /api/devices/{id}/ | |
DevicesApi | devices_printer_controllers_create | POST /api/devices/{device_id}/printer-controllers/ | |
DevicesApi | devices_printer_controllers_list | GET /api/devices/{device_id}/printer-controllers/ | |
DevicesApi | devices_printer_controllers_partial_update | PATCH /api/devices/{device_id}/printer-controllers/{id}/ | |
DevicesApi | devices_printer_controllers_retrieve | GET /api/devices/{device_id}/printer-controllers/{id}/ | |
DevicesApi | devices_printer_controllers_update | PUT /api/devices/{device_id}/printer-controllers/{id}/ | |
DevicesApi | devices_retrieve | GET /api/devices/{id}/ | |
DevicesApi | devices_retrieve_hostname | GET /api/devices/{hostname} | |
DevicesApi | devices_state_list | GET /api/devices/{device_id}/state/ | |
DevicesApi | devices_state_retrieve | GET /api/devices/{device_id}/state/{id}/ | |
DevicesApi | devices_update | PUT /api/devices/{id}/ | |
MlOpsApi | device_calibration_update_or_create | POST /api/device-calibrations/update-or-create/ | |
MlOpsApi | device_calibrations_list | GET /api/device-calibrations/ | |
MlOpsApi | device_calibrations_partial_update | PATCH /api/device-calibrations/{id}/ | |
MlOpsApi | device_calibrations_retrieve | GET /api/device-calibrations/{id}/ | |
MlOpsApi | device_calibrations_update | PUT /api/device-calibrations/{id}/ | |
MlOpsApi | experiment_device_configs_list | GET /api/experiment-device-configs/ | |
MlOpsApi | experiment_device_configs_retrieve | GET /api/experiment-device-configs/{id}/ | |
MlOpsApi | experiments_list | GET /api/experiments/ | |
MlOpsApi | experiments_retrieve | GET /api/experiments/{id}/ | |
MlOpsApi | model_artifacts_list | GET /api/model-artifacts/ | |
MlOpsApi | model_artifacts_retrieve | GET /api/model-artifacts/{id}/ | |
PartnersGeeks3Api | alerts_list2 | GET /api/partners/3d-geeks/{id}/alerts/ | |
PartnersGeeks3dApi | metadata_retrieve | GET /api/partners/3d-geeks/{id}/ | |
ReleasesApi | releases_latest_retrieve | GET /api/releases/{release_channel}/latest | |
ReleasesApi | releases_list | GET /api/releases/ | |
ReleasesApi | releases_retrieve | GET /api/releases/{id}/ | |
RemoteControlApi | commands_list | GET /api/commands/ | |
RemoteControlApi | commands_partial_update | PATCH /api/commands/{id}/ | |
RemoteControlApi | commands_retrieve | GET /api/commands/{id}/ | |
RemoteControlApi | commands_update | PUT /api/commands/{id}/ | |
RemoteControlApi | gcode_files_create | POST /api/gcode-files/ | |
RemoteControlApi | gcode_files_list | GET /api/gcode-files/ | |
RemoteControlApi | gcode_files_partial_update | PATCH /api/gcode-files/{id}/ | |
RemoteControlApi | gcode_files_retrieve | GET /api/gcode-files/{id}/ | |
RemoteControlApi | gcode_files_update | PUT /api/gcode-files/{id}/ | |
RemoteControlApi | gcode_files_update_or_create | POST /api/gcode-files/update-or-create/ | |
RemoteControlApi | octoprint_devices_create | POST /api/octoprint-devices/ | |
RemoteControlApi | octoprint_devices_list | GET /api/octoprint-devices/ | |
RemoteControlApi | octoprint_devices_partial_update | PATCH /api/octoprint-devices/{id}/ | |
RemoteControlApi | octoprint_devices_retrieve | GET /api/octoprint-devices/{id}/ | |
RemoteControlApi | octoprint_devices_update | PUT /api/octoprint-devices/{id}/ | |
RemoteControlApi | octoprint_devices_update_or_create | POST /api/octoprint-devices/update-or-create/ | |
RemoteControlApi | print_session_partial_update | PATCH /api/print-sessions/{session}/ | |
RemoteControlApi | print_session_update | PUT /api/print-sessions/{session}/ | |
RemoteControlApi | print_sessions_create | POST /api/print-sessions/ | |
RemoteControlApi | print_sessions_list | GET /api/print-sessions/ | |
RemoteControlApi | print_sessions_retrieve | GET /api/print-sessions/{session}/ | |
RemoteControlApi | printer_profiles_create | POST /api/printer-profiles/ | |
RemoteControlApi | printer_profiles_list | GET /api/printer-profiles/ | |
RemoteControlApi | printer_profiles_partial_update | PATCH /api/printer-profiles/{id}/ | |
RemoteControlApi | printer_profiles_retrieve | GET /api/printer-profiles/{id}/ | |
RemoteControlApi | printer_profiles_update | PUT /api/printer-profiles/{id}/ | |
RemoteControlApi | printer_profiles_update_or_create | POST /api/printer-profiles/update-or-create/ | |
SchemaApi | schema_retrieve | GET /api/schema/ | |
TelemetryApi | octoprint_events_create | POST /api/octoprint-events/ | |
TelemetryApi | octoprint_events_list | GET /api/octoprint-events/ | |
TelemetryApi | octoprint_events_retrieve | GET /api/octoprint-events/{id}/ | |
TelemetryApi | print_job_events_list | GET /api/print-job-events/ | |
TelemetryApi | print_job_events_retrieve | GET /api/print-job-events/{id}/ | |
TelemetryApi | print_nanny_plugin_events_list | GET /api/print-nanny-plugin-events/ | |
TelemetryApi | print_nanny_plugin_events_retrieve | GET /api/print-nanny-plugin-events/{id}/ | |
TelemetryApi | remote_command_events_list | GET /api/remote-command-events/ | |
TelemetryApi | remote_command_events_retrieve | GET /api/remote-command-events/{id}/ | |
TelemetryApi | telemetry_events_create | POST /api/telemetry-events/ | |
TelemetryApi | telemetry_events_list | GET /api/telemetry-events/ | |
TelemetryApi | telemetry_events_retrieve | GET /api/telemetry-events/{id}/ | |
UsersApi | users_list | GET /api/users/ | |
UsersApi | users_me_retrieve | GET /api/users/me/ | |
UsersApi | users_partial_update | PATCH /api/users/{id}/ | |
UsersApi | users_retrieve | GET /api/users/{id}/ | |
UsersApi | users_update | PUT /api/users/{id}/ |
Documentation For Models
- Alert
- AlertBulkResponse
- AlertEventTypeEnum
- AlertRequest
- AnsibleExtraVars
- AnsibleExtraVarsRequest
- ArtifactTypesEnum
- CallbackTokenAuthRequest
- CallbackTokenVerification
- CallbackTokenVerificationRequest
- Camera
- CameraRequest
- CameraTypeEnum
- CloudiotDevice
- CloudiotDeviceRequest
- DetailResponse
- Device
- DeviceCalibration
- DeviceCalibrationRequest
- DeviceConfig
- DeviceInfo
- DeviceInfoRequest
- DeviceRequest
- DeviceState
- DeviceStateCommandEnum
- EmailAuthRequest
- ErrorDetail
- EventSourceEnum
- EventType0c4Enum
- Experiment
- ExperimentDeviceConfig
- GcodeFile
- License
- LicenseCredentials
- LicenseRequest
- MobileAuthRequest
- ModelArtifact
- OctoPrintDevice
- OctoPrintDeviceKey
- OctoPrintDeviceRequest
- OctoPrintEvent
- OctoPrintEventEventTypeEnum
- OctoPrintEventRequest
- OctoprintEnvironment
- OctoprintEnvironmentRequest
- OctoprintFile
- OctoprintFileRequest
- OctoprintHardware
- OctoprintHardwareRequest
- OctoprintJob
- OctoprintJobRequest
- OctoprintPiSupport
- OctoprintPiSupportRequest
- OctoprintPlatform
- OctoprintPlatformRequest
- OctoprintPrinterData
- OctoprintPrinterDataRequest
- OctoprintPrinterFlags
- OctoprintPrinterFlagsRequest
- OctoprintPrinterState
- OctoprintPrinterStateRequest
- OctoprintProgress
- OctoprintProgressRequest
- OctoprintPython
- OctoprintPythonRequest
- PaginatedAlertList
- PaginatedCameraList
- PaginatedCloudiotDeviceList
- PaginatedDeviceCalibrationList
- PaginatedDeviceConfigList
- PaginatedDeviceInfoList
- PaginatedDeviceList
- PaginatedDeviceStateList
- PaginatedExperimentDeviceConfigList
- PaginatedExperimentList
- PaginatedGcodeFileList
- PaginatedModelArtifactList
- PaginatedOctoPrintDeviceList
- PaginatedOctoPrintEventList
- PaginatedPrintJobEventList
- PaginatedPrintNannyPluginEventList
- PaginatedPrintSessionList
- PaginatedPrinterControllerList
- PaginatedPrinterProfileList
- PaginatedReleaseList
- PaginatedRemoteCommandEventList
- PaginatedRemoteControlCommandList
- PaginatedTelemetryEventPolymorphicList
- PaginatedUserList
- Partner3DGeeksAlert
- Partner3DGeeksMetadata
- PatchedAlertBulkRequestRequest
- PatchedAlertRequest
- PatchedCameraRequest
- PatchedCloudiotDeviceRequest
- PatchedDeviceCalibrationRequest
- PatchedDeviceInfoRequest
- PatchedDeviceRequest
- PatchedOctoPrintDeviceRequest
- PatchedPrintSessionRequest
- PatchedPrinterControllerRequest
- PatchedPrinterProfileRequest
- PatchedRemoteControlCommandRequest
- PatchedUserRequest
- PrintJobEvent
- PrintJobEventRequest
- PrintJobEventType
- PrintNannyPluginEvent
- PrintNannyPluginEventEventTypeEnum
- PrintNannyPluginEventRequest
- PrintSession
- PrintSessionRequest
- PrinterController
- PrinterControllerRequest
- PrinterEvent
- PrinterEventRequest
- PrinterProfile
- PrinterProfileRequest
- PrinterStateEnum
- Release
- ReleaseChannelEnum
- ReleaseRequest
- RemoteCommandEvent
- RemoteCommandEventEventTypeEnum
- RemoteCommandEventRequest
- RemoteControlCommand
- RemoteControlCommandCommandEnum
- RemoteControlCommandRequest
- SoftwareEnum
- StatusEnum
- TelemetryEvent
- TelemetryEventEventTypeEnum
- TelemetryEventPolymorphic
- TelemetryEventPolymorphicRequest
- TelemetryEventRequest
- TokenResponse
- User
- UserRequest
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~4–15MB
~221K SLoC