You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But querying a single package (e.g. http --json https://www.stackage.org/lts-9.0/package/base-4.9.1.0) returns instead just the html page for the package.
It would be very nice (and consistent) to have json responses also on package pages, to enable programmatic navigation of Stackage.
If this makes sense I'd be very happy to put together a PR.
The text was updated successfully, but these errors were encountered:
Calling
http --json https://www.stackage.org/lts-9.0
gets us a nice json answer with the snapshot content:But querying a single package (e.g.
http --json https://www.stackage.org/lts-9.0/package/base-4.9.1.0
) returns instead just the html page for the package.It would be very nice (and consistent) to have json responses also on package pages, to enable programmatic navigation of Stackage.
If this makes sense I'd be very happy to put together a PR.
The text was updated successfully, but these errors were encountered: