#api-bindings #api-client #api #web-api #openapi #thunderstore #api-version

thunderstore-api

Thunderstore Web API的API绑定

2个不稳定版本

2.0.0 2022年10月20日
1.0.0 2022年10月18日
0.4.0 2022年10月20日
0.3.0 2022年10月20日

#1692 in 游戏开发

MPL-2.0 许可证

120KB
2.5K SLoC

Rust API客户端用于Thunderstore-api

Thunderstore的自动生成API

模式是自动生成的,可能不完全准确。

更多信息,请访问 https://discord.gg/UWpWhjZken

概述

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

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

API端点文档

所有URI均相对于https://thunderstore.io

方法 HTTP请求 描述
ApiApi api_experimental_community_category_list GET /api/experimental/community/{community}/category/
ApiApi api_experimental_community_list GET /api/experimental/community/
ApiApi api_experimental_current_user_list GET /api/experimental/current-user/
ApiApi api_experimental_package_list GET /api/experimental/package/
ApiApi api_experimental_submission_upload_create POST /api/experimental/submission/upload/
ApiApi api_experimental_submission_upload_list GET /api/experimental/submission/upload/
ApiApi api_v1_bot_deprecate_mod_create POST /api/v1/bot/deprecate-mod/ 通过包名弃用mod
ApiApi api_v1_current_user_info_list GET /api/v1/current-user/info/
ApiApi api_v1_package_list GET /api/v1/package/
ApiApi api_v1_package_rate POST /api/v1/package/{uuid4}/rate/
ApiApi api_v1_package_read GET /api/v1/package/{uuid4}/
ApiApi experimental_package_read GET /api/experimental/package/{namespace}/{name}/
ApiApi experimental_package_version_read GET /api/experimental/package/{namespace}/{name}/{version}/
ApiApi experimental_period_auth_period_complete POST /api/experimental/auth/complete/{provider}/
ApiApi experimental_period_auth_period_validate GET /api/experimental/auth/validate/
ApiApi experimental_period_community_period_current GET /api/experimental/current-community/
ApiApi experimental_period_frontend_period_community_period_package GET /api/experimental/frontend/c/{community_identifier}/p/{package_namespace}/{package_name}/
ApiApi experimental_period_frontend_period_community_period_packages GET /api/experimental/frontend/c/{community_identifier}/packages/
ApiApi 实验性周期前端周期首页 GET /api/experimental/frontend/frontpage/
ApiApi 实验性周期前端周期渲染Markdown POST /api/experimental/frontend/render-markdown/
ApiApi 实验性周期包周期提交 POST /api/experimental/submission/submit/
ApiApi 实验性周期提交周期验证周期图标 POST /api/experimental/submission/validate/icon/
ApiApi 实验性周期提交周期验证周期清单v1 POST /api/experimental/submission/validate/manifest-v1/
ApiApi 实验性周期提交周期验证周期readme POST /api/experimental/submission/validate/readme/
ApiApi 实验性周期用户媒体周期中止上传 POST /api/experimental/usermedia/{uuid}/abort-upload/
ApiApi 实验性周期用户媒体周期完成上传 POST /api/experimental/usermedia/{uuid}/finish-upload/
ApiApi 实验性周期用户媒体周期启动上传 POST /api/experimental/usermedia/initiate-upload/
CApi c_api_v1_bot_deprecate_mod_create POST /c/{community_identifier}/api/v1/bot/deprecate-mod/ 通过包名弃用mod
CApi c_api_v1_current_user_info_list GET /c/{community_identifier}/api/v1/current-user/info/
CApi c_api_v1_package_list GET /c/{community_identifier}/api/v1/package/
CApi c_api_v1_package_rate POST /c/{community_identifier}/api/v1/package/{uuid4}/rate/
CApi c_api_v1_package_read GET /c/{community_identifier}/api/v1/package/{uuid4}/

模型文档

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

cargo doc --open

作者

依赖项

~4–17MB
~262K SLoC