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

Add Mods API #7

Open
8 of 11 tasks
forresthopkinsa opened this issue Jul 10, 2018 · 0 comments
Open
8 of 11 tasks

Add Mods API #7

forresthopkinsa opened this issue Jul 10, 2018 · 0 comments
Assignees
Labels
back-end Requires changes to the main module core functionality Primary development goals
Milestone

Comments

@forresthopkinsa
Copy link
Owner

forresthopkinsa commented Jul 10, 2018

Should be able to add a new mod, or a mod version (with file)

Acceptance criteria:

  • Root of all calls should be /braze/api
  • Add new mod: POST /mods
  • POST body should include mod's slug, name, author, description, link, and donation link
  • Add new mod version: POST /mods/{slug}
  • POST body should include name, index (in terms of version sequence; -1 if unspecified), min forge, max forge, and a list of dependencies
  • Each version in the dependency list should only include the mod slug and the version name
  • Dependency list can be empty
  • If slug does not exist, return 404
  • Upload file for mod version: POST /mods/{slug}/{version}
  • Should be uploading a zip file with the standard Solder structure (will be changed in future)
  • If slug or version does not exist, return 404
@forresthopkinsa forresthopkinsa added core functionality Primary development goals back-end Requires changes to the main module labels Jul 10, 2018
@forresthopkinsa forresthopkinsa added this to the 18.08.00 milestone Jul 10, 2018
@forresthopkinsa forresthopkinsa self-assigned this Jul 10, 2018
Repository owner deleted a comment from tyrumus Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Requires changes to the main module core functionality Primary development goals
Projects
None yet
Development

No branches or pull requests

1 participant