Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

HBB API #2

Open
spotlightishere opened this issue Jan 26, 2022 · 1 comment
Open

HBB API #2

spotlightishere opened this issue Jan 26, 2022 · 1 comment

Comments

@spotlightishere
Copy link
Contributor

spotlightishere commented Jan 26, 2022

Endpoint State Description
/hbb/homebrew_browser/listv036.txt 🚧 Partially implemented Few more values left to sort out
/hbb/slug/slug.zip βœ… Implemented Packed app contents within /hbb/slug/slug.zip. This should be aliased to our UUID-named zip file.
/hbb/slug.png βœ… Implemented Unpacked app contents under /hbb/slug/..., including...
/hbb/slug/icon.png βœ… Implemented Unpacked app contents under /hbb/slug/..., including...
/hbb/slug/meta.xml βœ… Implemented Unpacked app contents under /hbb/slug/..., including...
/hbb/homebrew_browser/temp_files.zip βœ… Implemented zip file containing ALL icons to be loaded by the Homebrew Browser on its root, named by slug.png.
/hbb/apps_check_new.php?t=128770212 πŸ˜” Stub Returns a body specifying the server time, name, version from/to and updated flags.
/hbb/repo_list.txt βœ… Implemented Returns version "1", alongside a list containg a repo's name, host, content path and subdirectory path.
/hbb/get_rating.php?esid=esid&name=slug πŸ˜” Stub Returns a rating between 1 and 5. Any other value is treated as unrated.
/hbb/update_rating.php?esid=esid&name=slug&rating=rating πŸ˜” Stub Returns (probably the stored rating), between 1 to 5. Any other value is treated as unrated.
/hbb/hbb_download.php 🚫 Registers that an app was downloaded. As this is not associated with credentials such as the ES device ID, let's not implement it. The success of this request is ignored.
@dhtdht020
Copy link
Contributor

dhtdht020 commented Jan 26, 2022

Includes following additional endpoints:

  • /hbb_download.php?name=<slug> - as far as I can see currently sends a reponse full of nothing.
  • /hbb/<slug>/<slug>.zip
  • Unpacked app contents under /hbb/slug/..., including:
    • /hbb/<slug>.png
    • /hbb/<slug>/icon.png
    • /hbb/<slug>/meta.xml
  • /hbb/homebrew_browser/temp_files.zip - zip file containing ALL icons to be loaded by the homebrew browser on its root, named by slug.png.
  • /hbb/apps_check_new.php?t=128770212 - "0 0"
  • /hbb/repo_list.txt
  • /hbb/get_rating.php?esid=<esid>&name=<slug>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants