haskell / hackage-server

Hackage-Server: A Haskell Package Repository
http://hackage.haskell.org
Other
414 stars 198 forks source link

Implement JSON views for all the features #11

Open edsko opened 11 years ago

Fuuzetsu commented 10 years ago

Is this done? Is this not done? I can't tell. This page says The same list is also available in machine readable formats (see link below). and there's mention of JSON throughout the page but there is no indication of how to actually get at it. Where do we POST/GET to/from to get the machine readable stuff?

dcoutts commented 10 years ago

Wherever it says GET: html, json it means that the resource is available in those formats. You can get them either by content negotiation (i.e. the 'Accept' HTTP header), or by using an extension in the url, e.g. add .json for json.

So when it says "The same list is also available in machine readable formats (see link below).", it's referring to http://hackage.haskell.org/api.json

Fuuzetsu commented 10 years ago

Thanks for the clarification!

poscat0x04 commented 4 years ago

Any updates?