API for spkg repositories
The API is used for package querying. It will run under the same server as the spkg repository.
/packages/fetch?q=abc
: Retrieves a specific package by its exact name. If q
isn't specified, it will return all packages
/packages/search?q=abc
: Searches for packages that contain a specified substring in their name.