SamFetch icon indicating copy to clipboard operation
SamFetch copied to clipboard

Endpoint refactor, ID in errors, update Sanic

Open ysfchn opened this issue 3 years ago • 0 comments

  • Listing firmwares now return some information such as bootloader version, minor and major iteration and build date which is parsed from firmware string.
  • Updated Sanic to 21.12.1
  • Error messages now include an ID instead of just a message.
  • Renamed endpoints for consistency with other endpoints.
  • Added /firmware/:region/:model/latest endpoint that gets the latest firmware version and redirects to its firmware information endpoint.
  • Removed the /:region/:model endpoint. For direct downloads, use /firmware/:region/:model/latest?download=1 (for latest version) or /firmware/:region/:model/:firmware?download=1 (for specific version)
  • Removed CSC list, if anyone needs this functionality, they can copy the CSC dictionary to their code.

ysfchn avatar Jun 10 '22 15:06 ysfchn