Skip to content

Publish endpoint #8

Description

@olenagerasimova

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions