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

Packages #659

Open
dzikoysk opened this issue Feb 20, 2021 · 0 comments
Open

Packages #659

dzikoysk opened this issue Feb 20, 2021 · 0 comments
Labels

Comments

@dzikoysk
Copy link
Member

dzikoysk commented Feb 20, 2021

Backend

package {
  name
  author
  repositoryUrl
}

Routes:

GET /package/:owner/:name -> public package's data [no auth]
POST /package/:owner/:name-> create a new package [auth]
PUT /package/:owner/:name -> update package [auth & (owner | admin)]
DELETE /package/:owner/:name -> delete package [auth & (owner | admin)]

GET /package/:owner/:name/versions -> list all available versions
GET /package/:owner/:name/latest -> latest version
GET /package/:owner/:name/archive -> latest archive url
GET /package:owner/:name/archive/:version -> archive url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant