List all categories.
crates.io(Rust 包注册表)
__crates.io 包注册表的实验性 API 文档__ 本文档描述了 crates.io 网站、cargo 客户端及其他第三方工具用于与 crates.io 注册表交互所使用的 API。 在使用本 API 前,请务必阅读 [crates.io 数据访问政策](https://crates.io/data-access),并确保您的 API 使用行为符合该政策要求。 __本 API 正处于积极开发阶段,随时可能变更__,尽管我们会尽可能避免引入破坏性变更。 API 的部分功能遵循 中记录的“注册表 Web API”规范,这些部分可视为稳定版本。 API 的大部分功能无需身份验证。需要身份验证的端点会在文档中明确标注:其中一些需使用 Cookie 认证(仅限网页 UI 使用),另一些则需使用 API Token 认证(可供 cargo 及其他客户端使用)。
继续配置此服务商
此服务商级交接只保留公开 ID,不会猜测工具或业务任务;请在重新发现时选择当前工具,之后才能把配置视为完整。
- 已选服务商
- crates_io
- 已选工具
- 未知——请在重新发现时确认
- 业务任务
- 未知——请在重新发现时确认
- 目录更新时间
- 未知——请在重新发现时确认
List all available category slugs.
This information can also be obtained directly from the index. In addition to returning cached data from the index, this returns fields for `id`, `version_id`, and `downloads` (which appears to always be 0)
This returns a URL to the location where the crate is stored.
This includes the per-day downloads for the last 90 days.
List crate owners.
List user owners of a crate.
Get the readme of a crate version.
Called in a variety of scenarios in the front end, including: - Alphabetical listing of crates - List of crates under a specific owner - Listing a user's followed crates
列出 crate 的反向依赖项。
List all versions of a crate.
List all keywords.
Get keyword metadata.
Returns the current deployed commit SHA1 (or `unknown`), and whether the system is in read-only mode.
This endpoint returns a summary of the most important data for the front page of crates.io.
This currently only returns the total number of downloads for crates owned by the user.
