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

Publish endpoint #8

Open
olenagerasimova opened this issue Dec 2, 2021 · 0 comments
Open

Publish endpoint #8

olenagerasimova opened this issue Dec 2, 2021 · 0 comments

Comments

@olenagerasimova
Copy link
Member

Let's implement publish endpoint, the format is:

Endpoint: /api/v1/crates/new
Method: PUT
Authorization: Included

The body:
32-bit unsigned little-endian integer of the length of JSON data.
Metadata of the package as a JSON object.
32-bit unsigned little-endian integer of the length of the .crate file.
The .crate file.

For more details check the docs.

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

1 participant