API stuff
more to come :)
route changes/additions
-
GET addons/<id>/download/<type = 'stable'>
- generates download token for the latest addon version of the requested version type
- defaults to
stable
if not provided
-
GET addons/<id>/stats
orGET addons/<id>/info
- returns all/some of the following:
- # of purchases (all)
- # of purchases (excluding revoked ones)
- # of reviews
- view count
- average rating
- # of versions
- price + sale price (as float)
- sale percentage (as float obvs)
- possibly last_updated and created_at
- returns all/some of the following:
-
DELETE addons/<addon_id>/versions/<version_id>
- coupon delete route exists, so why doesn't a version one?
-
coupons
route- for a flatter url structure
major changes
- paginated responses
- seriously, make it more efficient
misc stuff
-
primaryAuthor
should beprimary_author
cause apparently snake_case is superior here reeeee - add
type
property to Addon Version (e.g. stable, beta, etc.) - user bans should include previous bans
- why? i'd like to know about people who've disputed/leaked only to appeal and get unbanned later on