335 个版本 (110 个重大更改)
0.135.1 | 2023年5月29日 |
---|---|
0.134.2 | 2023年5月9日 |
0.132.1 | 2023年3月30日 |
0.117.2 | 2022年12月25日 |
0.17.10 | 2021年11月25日 |
#533 in 网页编程
每月 89 次下载
在 15 个库中(直接使用 9 个)
570KB
9K SLoC
printnanny-api-client 的 Rust API 客户端
printnanny.ai 的官方 API 客户端库
更多信息,请访问 https://printnanny.ai
概述
此 API 客户端由 OpenAPI Generator 项目生成。通过使用来自远程服务器的 openapi-spec,您可以轻松生成 API 客户端。
- API 版本:0.135.1
- 包版本:0.135.1
- 构建包:
com.printnanny.api.rust.RustClientGenerator
安装
将包放入名为 printnanny-api-client
的目录中,并在 Cargo.toml
中添加以下内容,位于 [dependencies]
下:
printnanny-api-client = { path = "./printnanny-api-client" }
API 端点文档
所有 URI 都相对于 https://127.0.0.1
类 | 方法 | HTTP 请求 | 描述 |
---|---|---|---|
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
- Achievement
- AchievementTypeEnum
- CallbackTokenAuth
- CallbackTokenAuthRequest
- CameraSnapshot
- CrashReport
- CrashReportStatusEnum
- DemoFeedbackEnum
- DemoSubmission
- DemoSubmissionFeedbackRequest
- DjStripeCharge
- DjStripeCheckoutSession
- DjStripeCustomer
- DjStripePaymentIntent
- DjStripePrice
- DjStripeProduct
- EmailAlertSettings
- EmailAlertSettingsRequest
- EmailAuth
- EmailAuthRequest
- EmailWaitlist
- EmailWaitlistRequest
- ErrorDetail
- EventSourceEnum
- EventTypeEnum
- EventTypesEnum
- GcodeFile
- InterestEnum
- JanusConfigType
- LoginRequest
- MoonrakerServer
- MoonrakerServerRequest
- NatsOrganization
- NatsOrganizationRequest
- NatsOrganizationUser
- NetworkSettings
- NetworkSettingsRequest
- OctoPrintBackup
- OctoPrintServer
- OctoPrintServerRequest
- OctoPrintSettings
- OctoPrintSettingsRequest
- OctoPrinterProfile
- OctoPrinterProfileRequest
- Order
- OrderCheckoutRequest
- OrderItemRequest
- OrderStatus
- OrderStatusType
- PaginatedAchievementList
- PaginatedCameraSnapshotList
- PaginatedCrashReportList
- 分页Gcode文件列表
- 分页Moonraker服务器列表
- 分页OctoPrint备份列表
- 分页OctoPrint服务器列表
- 分页OctoPrint设置列表
- 分页Octo打印机配置文件列表
- 分页Pi列表
- 分页打印作业警报列表
- 分页产品列表
- 分页系统信息列表
- 分页视频录制列表
- 分页视频录制部分列表
- 分页WebRTC流列表
- 分页工作空间列表
- 密码更改请求
- 密码重置确认请求
- 密码重置请求
- 修补后的演示提交反馈请求
- 修补后的电子邮件警报设置请求
- 修补后的Moonraker服务器请求
- 修补后的网络设置请求
- 修补后的OctoPrint服务器请求
- 修补后的OctoPrint设置请求
- 修补后的Octo打印机配置文件请求
- 修补后的Pi请求
- 修补后的打印作业警报请求
- 修补后的系统信息请求
- 修补后的用户请求
- 修补后的视频录制请求
- 修补后的WebRTC流请求
- 修补后的工作空间请求
- Pi
- PiNatsApp
- PiNatsApp请求
- Pi请求
- PiUrls
- 首选DNS类型
- 打印作业警报
- 打印作业警报请求
- 产品
- 注册请求
- 重新发送电子邮件验证请求
- RestAuthDetail
- SbcEnum
- StripeApiErrorCode
- StripeBillingScheme
- StripeConfirmationMethod
- StripeCustomerTaxExempt
- StripeIntentUsage
- StripePaymentIntentCancellationReason
- StripePaymentIntentStatus
- StripePriceTiersMode
- StripePriceType
- StripeProductType
- StripeSessionBillingAddressCollection
- StripeSessionMode
- StripeSourceCodeVerificationStatus
- StripeSubmitTypeStatus
- 系统信息
- 系统信息请求
- 令牌
- 用户
- 用户请求
- 验证电子邮件请求
- 视频录制
- 视频录制完成请求
- 视频录制部分
- 视频录制请求
- WebRTC流
- WebRTC流请求
- 工作空间
- 工作空间邀请
- 工作空间邀请创建请求
- 工作空间邀请提醒请求
- 工作空间邀请请求
- 工作空间邀请验证请求
- 工作空间所有者
- 工作空间所有者请求
- 工作空间请求
- 工作空间用户
- 工作空间用户请求
要获取对生成的文档的访问权限,请使用
cargo doc --open
作者
依赖关系
~8–20MB
~309K SLoC