#api-client #service #open-api #sdk #version #generate #super-stack

ehelply

eHelply SuperStack SDK

11个稳定版本

1.1.118 2022年11月18日
1.1.117 2022年11月1日
1.1.116 2022年10月31日
1.1.109 2022年9月20日

#938 in Web编程

每月26次下载

Apache-2.0

1MB
13K SLoC

eHelply的Rust API客户端

eHelply SuperStack 服务 SDK

更多信息,请访问 https://superstack.ehelply.com/support

概述

此API客户端由 OpenAPI Generator 项目生成。通过使用远程服务器的 openapi-spec,您可以轻松生成API客户端。

  • API版本:1.1.118
  • 包版本:1.1.118
  • 构建包: org.openapitools.codegen.languages.RustClientCodegen

安装

将包放在项目文件夹中的名为 ehelply 的目录下,并在 Cargo.toml 中的 [dependencies] 下添加以下内容

ehelply = { path = "./ehelply" }

API端点文档

所有URI均相对于 https://api.prod.ehelply.com

方法 HTTP请求 描述
AppointmentsApi add_entity_to_appointment POST /appointments/appointments/{appointment_uuid}/entities/{entity_uuid} 添加实体到预约
AppointmentsApi create_appointment POST /appointments/appointments 创建预约
AppointmentsApi delete_appointment DELETE /appointments/appointments/{appointment_uuid} 删除预约
AppointmentsApi detach_entity_from_appointment DELETE /appointments/appointments/{appointment_uuid}/entities/{entity_uuid} 从预约中删除实体
AppointmentsApi get_appointment GET /appointments/appointments/{appointment_uuid} 获取预约
AppointmentsApi search_appointment GET /appointments/appointments 搜索预约
AppointmentsApi search_appointment_entities GET /appointments/appointments/{appointment_uuid}/entities 搜索预约实体
AppointmentsApi search_entity_appointments GET /appointments/appointments/entities/{entity_uuid}/appointments 获取实体预约
AppointmentsApi update_appointment PUT /appointments/appointments/{appointment_uuid} 更新预约
BillingApi create_billing_account POST /sam/billing/projects/{project_uuid}/accounts 创建账单账户
BillingApi get_client_secret GET /sam/billing/projects/{project_uuid}/secrets 获取客户端密钥
BillingApi has_payment GET /sam/billing/projects/{project_uuid}/payment-methods-exist 有支付方式
BillingApi list_payment_methods GET /sam/billing/projects/{project_uuid}/payment-methods 列出支付方式
BillingApi process_payment POST /sam/billing/projects/{project_uuid}/payments 处理支付
BillingApi reconcile_payment_method GET /sam/billing/projects/{project_uuid}/payment-methods-reconciliation 对账支付方式
BillingApi 移除支付方式 DELETE /sam/billing/projects/{project_uuid}/payment-methods 移除支付方式
目录API 将产品附加到目录 POST /products/catalogs/{catalog_uuid}/products/{product_uuid} 将产品添加到目录
目录API 创建目录 POST /products/catalogs 创建目录
目录API 删除目录 DELETE /products/catalogs/{catalog_uuid} 删除目录
目录API 从目录中移除产品 DELETE /products/catalogs/{catalog_uuid}/products/{product_uuid} 从目录中移除产品
目录API 获取目录 GET /products/catalogs/{catalog_uuid} 获取目录
目录API 搜索目录产品 GET /products/catalogs/{catalog_uuid}/products 搜索目录产品
目录API 搜索目录 GET /products/catalogs 搜索目录
目录API 更新目录 PUT /products/catalogs/{catalog_uuid} 更新目录
分类API create_category_places_categories_post POST /places/categories 创建分类
分类API delete_category_places_categories_category_uuid_delete DELETE /places/categories/{category_uuid} 删除分类
分类API get_category_places_categories_category_uuid_get GET /places/categories/{category_uuid} 获取分类
分类API search_categories_places_categories_get GET /places/categories 搜索分类
分类API update_category_places_categories_category_uuid_put PUT /places/categories/{category_uuid} 更新分类
公司API create_company_places_companies_post POST /places/companies 创建公司
公司API delete_place_places_companies_company_uuid_delete DELETE /places/companies/{company_uuid} 删除地点
公司API get_company_places_companies_company_uuid_get GET /places/companies/{company_uuid} 获取公司
公司API search_companies_places_companies_get GET /places/companies 搜索公司
公司API update_company_places_companies_company_uuid_put PUT /places/companies/{company_uuid} 更新公司
内容API 创建文件 POST /files/files 创建文件
内容API 删除文件 DELETE /files/files/{file_uuid} 删除文件
内容API 获取文件 GET /files/files/{file_uuid} 获取文件
内容API 更新文件 PUT /files/files/{file_uuid} 更新文件
事实API delete_fact POST /sam/facts/facts/{fact_name} 删除事实
事实API delete_fact_0 POST /sam/facts/facts/{fact_name} 删除事实
事实API get_fact GET /sam/facts/facts/{fact_name} 获取事实
事实API get_fact_0 GET /sam/facts/facts/{fact_name} 获取事实
事实API get_facts GET /sam/facts/facts 获取事实
事实API get_facts_0 GET /sam/facts/facts 获取事实
事实API save_fact POST /sam/facts/facts 保存事实
事实API save_fact_0 POST /sam/facts/facts 保存事实
字段API create_field POST /fields/fields 创建字段
字段API delete_field DELETE /fields/fields/{field_uuid} 删除字段
字段API get_field GET /fields/fields/{field_uuid} 获取字段
字段API update_field PUT /fields/fields/{field_uuid} 更新字段
日志API get_subject_logs GET /sam/logging/logs/services/{service}/subjects/{subject} 获取主题日志
元数据API create_meta POST /meta/meta/service/{service}/type/{type_name}/entity/{entity_uuid} 创建元数据
元数据API create_slug POST /meta/slug 创建别名
元数据API delete_meta DELETE /meta/meta/{meta_uuid} 删除元数据
元数据API delete_meta_from_parts DELETE /meta/meta/service/{service}/type/{type_name}/entity/{entity_uuid} 从部分中删除元数据
元数据API get_meta GET /meta/meta/{meta_uuid} 获取元数据
元数据API get_meta_from_parts GET /meta/meta/service/{service}/type/{type_name}/entity/{entity_uuid} 从部分中获取元数据
元数据API touch_meta POST /meta/meta/{meta_uuid}/touch 触摸元数据
元数据API update_meta PUT /meta/meta/{meta_uuid} 更新元数据
元数据API update_meta_from_parts PUT /meta/meta/service/{service}/type/{type_name}/entity/{entity_uuid} 从部分中更新元数据
监控API acknowledge_alarm POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/acknowledge 承认警报
监控API 分配警报 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/assign 分配警报
监控API 附加警报备注 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/note 附加警报备注
监控API 附加警报工单 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/ticket 附加警报工单
监控API 清除警报 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/clear 清除警报
监控API 删除服务超级堆栈元数据 DELETE /sam/monitor/services/{service}/superstack 删除服务超级堆栈元数据
监控API 获取服务 GET /sam/monitor/services/{service} 获取服务
监控API 获取服务警报 GET /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid} 获取服务警报
监控API 获取服务警报列表 GET /sam/monitor/services/{service}/stages/{stage}/alarms 获取服务警报列表
监控API 获取服务心跳 GET /sam/monitor/services/{service}/stages/{stage}/heartbeats 获取服务心跳
监控API 获取服务关键性能指标 GET /sam/monitor/services/{service}/kpis 获取服务关键性能指标
监控API 获取服务规范 GET /sam/monitor/services/{service}/specs/{spec} 获取服务规范
监控API 获取服务规范列表 GET /sam/monitor/services/{service}/specs 获取服务规范列表
监控API 获取服务生命体征 GET /sam/monitor/services/{service}/stages/{stage}/vitals 获取服务生命体征
监控API 获取服务列表 GET /sam/monitor/services 获取服务列表
监控API 获取带规范的服务 GET /sam/monitor/specs/services 获取带规范的服务
监控API 获取超级堆栈服务 GET /sam/monitor/superstack-services 获取超级堆栈服务
监控API 隐藏服务 POST /sam/monitor/services/{service}/stages/{stage}/hide 隐藏服务
监控API 忽略警报 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/ignore 忽略警报
监控API 注册服务 POST /sam/monitor/services 注册服务
监控API 保存服务超级堆栈元数据 POST /sam/monitor/services/{service}/superstack 保存服务超级堆栈元数据
监控API 搜索警报 GET /sam/monitor/services/{service}/alarms 搜索警报
监控API 显示服务 POST /sam/monitor/services/{service}/stages/{stage}/show 显示服务
监控API 终止警报 POST /sam/monitor/services/{service}/stages/{stage}/alarms/{alarm_uuid}/terminate 终止警报
监控API 触发警报 POST /sam/monitor/services/{service}/stages/{stage}/alarms 触发警报
笔记API 创建笔记 POST /notes/notes 创建笔记
笔记API 删除笔记 DELETE /notes/notes/{note_id} 删除笔记
笔记API 获取笔记 GET /notes/notes/{note_id} 获取笔记
笔记API 更新笔记 PUT /notes/notes/{note_id} 更新笔记
地点API 高级搜索地点 GET /places/search/places/string 高级搜索地点
地点API 创建地点 POST /places/places 创建地点
地点API 删除地点 DELETE /places/places/{place_uuid} 删除地点
地点API 正向地理编码 GET /places/geocoding/forward 正向地理编码
地点API 获取地点 GET /places/places/{place_uuid} 获取地点
地点API 反向地理编码 GET /places/geocoding/reverse 反向地理编码
地点API 搜索地点 GET /places/places 搜索地点
地点API 更新地点 PUT /places/places/{place_uuid} 更新地点
产品API 创建产品 POST /products/products 创建产品
产品API 删除产品 DELETE /products/products/{product_uuid} 删除产品
产品API 获取产品 GET /products/products/{product_uuid} 获取产品
产品API 搜索产品目录 GET /products/products/{product_uuid}/catalogs 搜索产品目录
产品API 搜索产品 GET /products/products 搜索产品
产品API 更新产品 PUT /products/products/{product_uuid} 更新产品
项目API 将成员添加到项目 POST /sam/projects/projects/{project_uuid}/members/{entity_uuid} 将成员添加到项目
项目API 存档项目 DELETE /sam/projects/projects/{project_uuid} 存档项目
项目API 创建项目 POST /sam/projects/projects 创建项目
项目API 创建项目凭证 POST /sam/projects/projects/{project_uuid}/credentials 创建项目凭证
项目API 创建项目信用 POST /sam/projects/projects/{project_uuid}/credits 创建项目信用
项目API 创建项目发票 POST /sam/projects/projects/{project_uuid}/invoices 创建项目发票
项目API 创建项目密钥 POST /sam/projects/projects/{project_uuid}/keys 创建项目密钥
项目API 创建使用类型 POST /sam/projects/usage/types 创建使用类型
项目API 删除项目凭证 DELETE /sam/projects/projects/{project_uuid}/credentials/{service_name} 删除项目凭证
项目API 删除项目密钥 DELETE /sam/projects/projects/{project_uuid}/keys 删除项目密钥
项目API 删除使用类型 DELETE /sam/projects/usage/types/{usage_type_key} 删除使用类型
项目API 获取所有项目凭证 GET /sam/projects/projects/{project_uuid}/credentials 获取所有项目凭证
项目API 获取所有项目信用 GET /sam/projects/projects/{project_uuid}/credits 获取所有项目信用
项目API 获取所有项目使用 GET /sam/projects/projects/{project_uuid}/usage 获取所有项目使用
项目API 获取成员项目 GET /sam/projects/members/{entity_uuid}/projects 获取成员项目
项目API 获取项目 GET /sam/projects/projects/{project_uuid} 获取项目
项目API 获取项目信用交易 GET /sam/projects/projects/{project_uuid}/credits/{credit_uuid}/transactions 获取项目信用交易
项目API 获取项目发票 GET /sam/projects/projects/{project_uuid}/invoices 获取项目发票
项目API 获取项目发票历史 GET /sam/projects/projects/{project_uuid}/invoices/history 获取项目发票历史
项目API 获取项目密钥 GET /sam/projects/projects/{project_uuid}/keys 获取项目密钥
项目API 获取项目成员 GET /sam/projects/projects/{project_uuid}/members 获取项目成员
项目API 获取特定项目凭证 GET /sam/projects/projects/{project_uuid}/credentials/{service_name} 获取特定项目凭证
项目API 获取特定项目使用 GET /sam/projects/projects/{project_uuid}/usage/{usage_type_key} 获取特定项目使用
项目API 获取使用类型 GET /sam/projects/usage/types/{usage_type_key} 获取使用类型
项目API 从项目中移除成员 DELETE /sam/projects/projects/{project_uuid}/members/{entity_uuid} 从项目中移除成员
项目API 撤销项目信用 DELETE /sam/projects/projects/{project_uuid}/credits/{credit_uuid} 撤销项目信用
项目API 搜索项目 GET /sam/projects/projects 搜索项目
项目API 搜索使用类型 GET /sam/projects/usage/types 搜索使用类型
项目API 更新项目 PUT /sam/projects/projects/{project_uuid} 更新项目
项目API 更新项目凭证 PUT /sam/projects/projects/{project_uuid}/credentials/{service_name} 更新项目凭证
项目API 更新使用类型 PUT /sam/projects/usage/types/{usage_type_key} 更新使用类型
ReviewApi 创建评论 POST /products/reviews/types/{entity_type}/entities/{entity_uuid} 创建
ReviewApi 删除评论 DELETE /products/reviews/types/{entity_type}/entities/{entity_uuid}/reviews/{review_uuid} 删除评论
ReviewApi 获取评论 GET /products/reviews/types/{entity_type}/entities/{entity_uuid}/reviews/{review_uuid} 获取评论
ReviewApi 搜索评论 GET /products/reviews/types/{entity_type}/entities/{entity_uuid} 搜索评论
ReviewApi 更新评论 PUT /products/reviews/types/{entity_type}/entities/{entity_uuid}/reviews/{review_uuid} 更新评论
SecurityApi 创建加密密钥 POST /sam/security/encryption/categories/{category}/keys 创建加密密钥
SecurityApi 创建密钥 POST /sam/security/keys 创建密钥
SecurityApi 删除密钥 DELETE /sam/security/keys/{key_uuid} 删除密钥
SecurityApi 生成令牌 POST /sam/security/tokens 生成令牌
SecurityApi 获取加密密钥 GET /sam/security/encryption/categories/{category}/keys 获取加密密钥
SecurityApi 获取密钥 GET /sam/security/keys/{key_uuid} 获取密钥
SecurityApi 搜索密钥 GET /sam/security/keys 搜索密钥
SecurityApi 验证密钥 POST /sam/security/keys/verify Verifykey
StaffApi create_staff POST /places/staff Createstaff
StaffApi delete_staff DELETE /places/staff/{staff_uuid} Deletestaff
StaffApi get_staff GET /places/staff/{staff_uuid} Getstaff
StaffApi search_staff GET /places/staff Searchstaff
StaffApi update_staff PUT /places/staff/{staff_uuid} Updatestaff
SupportApi create_contact POST /sam/support/contact Createcontact
SupportApi create_ticket POST /sam/support/projects/{project_uuid}/members/{member_uuid}/tickets Createticket
SupportApi list_tickets GET /sam/support/projects/{project_uuid}/members/{member_uuid}/tickets Listtickets
SupportApi update_ticket PUT /sam/support/projects/{project_uuid}/members/{member_uuid}/tickets/{ticket_id} Updateticket
SupportApi view_ticket GET /sam/support/projects/{project_uuid}/members/{member_uuid}/tickets/{ticket_id} Viewticket
TagApi delete_tag DELETE /places/tags/{tag_uuid} Deletetag
TagsApi create_tag POST /places/tags Createtag
TagsApi get_tag GET /places/tags/{tag_uuid} Gettag
TagsApi search_tag GET /places/tags Searchtag
TagsApi update_tag PUT /places/tags/{tag_uuid} Updatetag
UsersApi confirm_signup POST /sam/users/auth/signup/confirm Confirmsignup
UsersApi create_participant POST /sam/users/participants Createparticipant
UsersApi create_user POST /sam/users Createuser
UsersApi delete_participant DELETE /sam/users/participants/{participant_id} Deleteparticipant
UsersApi delete_user DELETE /sam/users/{user_id} Deleteuser
UsersApi get_participant GET /sam/users/participants/{participant_id} Getparticipant
UsersApi get_user GET /sam/users/{user_id} Getuser
UsersApi login POST /sam/users/auth/login Login
UsersApi refresh_token POST /sam/users/auth/{app_client}/refresh-token Refreshtoken
UsersApi reset_password POST /sam/users/auth/password/reset Resetpassword
UsersApi reset_password_confirmation POST /sam/users/auth/password/reset/confirm Resetpasswordconfirmation
UsersApi search_participants GET /sam/users/participants Searchparticipants
UsersApi signup POST /sam/users/auth/signup Signup
UsersApi update_participant PUT /sam/users/participants/{participant_id} Updateparticipant
UsersApi update_user PUT /sam/users/{user_id} Updateuser
UsersApi user_validations POST /sam/users/validations/{field} Uservalidations

Documentation For Models

要获取 crate 生成的文档的访问权限,请使用

cargo doc --open

作者

[email protected]

依赖项

~4–19MB
~249K SLoC