Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation, discussion #1245

Closed
moore3071 opened this issue Jan 23, 2018 · 2 comments
Closed

API documentation, discussion #1245

moore3071 opened this issue Jan 23, 2018 · 2 comments

Comments

@moore3071
Copy link
Contributor

Is there any documentation for the crates.io API currently? If so, then would it be possible to link to it on crates.io? (both where it is mentioned on the homepage and maybe in the docs dropdown)

If there isn't any documentation currently, then it might fit best in the documentation of krate.rs. https://docs.rs/cargo-registry/0.2.1/src/cargo_registry/krate.rs.html#550-570 mentions GET /crates route, and could easily include information such as parameters.

A super brief form of documentation could even be added in the form of a descriptive JSON response to the base api/v1/ endpoint like Github's page at https://api.github.com/

@carols10cents
Copy link
Member

No, there is not any documentation for the API right now. Please see these related issues:

@moore3071
Copy link
Contributor Author

Thanks @carols10cents! I don't know how I missed those first two issues. This issue can probably be closed now as it adds little else to the conversation, but I'll leave that to your discretion.

@sgrif sgrif closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants