MatthiWare/UpdateLib

ASP.Net Core Web API + Dashboard

Opened this issue · 0 comments

Note: This might be put into its own repo to not bloat the UpdateLib Package.

History

Up until now we used a CLI to create new updates. We used files to communicate between the server and the client.

Future

We should use an Web API that our users can set-up to use to make and manage updates.
This API should expose some Endpoints to allow that

Endpoints

GET /api/updates

Gets a list of all available updates

GET /api/updates/{id}

Gets an update info that contains all the versions that can update to this version with patches

POST /api/updates/{id}

Used to manage the specified update

GET /api/updates/from/{version}

Gets an list with all available version from the specified version

GET /api/updates/from/{version}/{latest or stable}

Gets the latest stable or unstable version from the specified version

GET /api/updates/patch/{id}

Downloads the patch file

POST /api/updates/patch/create

Creates a new patch based on the specified info. This will probably return a task id that can be checked to see if it is completed.

Dashboard

  • Create new patches
  • View and manage patches
  • See update statistics and information
  • See failed updates and rollbacks