winget-run / api

winget.run rest api
46 stars 4 forks source link

Featured packages route(s) #86

Closed Dragon1320 closed 4 years ago

Dragon1320 commented 4 years ago

Route to get all featured packages and some way to add/remove them.

IMPORTANT: place these routes above packages/:publisher

GET /packages/featured get all featured

POST /packages/featured/:packageId add featured to package, takes pkg id and images

DELETE /packages/featured/:packageId remove featured from pkg, takes pkg id, clears img fields (not needed anymore)