{"ok":true,"site":"hackage-haskell","host":"hackage.haskell.org","about":"Hackage, the Haskell community's package archive: search packages, read package metadata, versions, dependencies, reverse dependencies, changelogs, documentation indexes, tags, categories, recent uploads, deprecated and candidate packages, and maintainer profiles.","commands":[{"command":"search-packages","summary":"Search Hackage packages by keyword, with optional filter expressions in the query, sorting and pagination (50 results per page)","params":[{"name":"query","type":"string","required":true,"description":"Search words, optionally followed by filter expressions in parentheses. Examples: (tag:json), (downloads > 10), (maintainer:SimonMarlow), (not tag:network), (lastUpload < 2021-10-29)"},{"name":"sort","type":"string","description":"Column to sort by","oneOf":["default","name","downloads","rating","description","tags","lastUpload","maintainers"],"default":"default"},{"name":"direction","type":"string","description":"Sort direction","oneOf":["ascending","descending"],"default":"ascending"},{"name":"page","type":"number","description":"Zero-based page number. Each page has 50 results.","default":0}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/search-packages"},{"command":"get-package","summary":"Get a package's detail page: synopsis, description, latest version, modules and changelog link","params":[{"name":"package","type":"string","required":true,"description":"Package name, optionally with a version (e.g. parsec or parsec-3.1.18.0)"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-package"},{"command":"get-package-versions","summary":"List all versions of a package with their status (normal or deprecated), as JSON","params":[{"name":"package","type":"string","required":true,"description":"Package name without a version"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-package-versions"},{"command":"get-preferred-versions","summary":"Get a package's preferred versions (normal-version list, plus deprecated versions if any), as JSON","params":[{"name":"package","type":"string","required":true,"description":"Package name without a version"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-preferred-versions"},{"command":"get-package-dependencies","summary":"List the dependencies and version constraints of a specific package version","params":[{"name":"package_version","type":"string","required":true,"description":"Package name with version, e.g. parsec3-1.0.1.8"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-package-dependencies"},{"command":"list-reverse-dependencies","summary":"List the packages that depend on a given package (reverse dependencies of its latest version)","params":[{"name":"package","type":"string","required":true,"description":"Package name without a version"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-reverse-dependencies"},{"command":"get-changelog","summary":"Get the changelog of a specific package version","params":[{"name":"package_version","type":"string","required":true,"description":"Package name with version, e.g. parsec-3.1.18.0"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-changelog"},{"command":"get-docs-index","summary":"Get the Haddock identifier index (functions, types and their modules) for a package version, as JSON","params":[{"name":"package_version","type":"string","required":true,"description":"Package name with version, e.g. commonmark-extensions-0.2.7.3"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-docs-index"},{"command":"list-recent-uploads","summary":"List the 20 most recently uploaded package versions on Hackage, newest first, from the recent-uploads RSS feed. Each item has the package-version title, package link, upload date, and a description na","params":[],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-recent-uploads"},{"command":"list-packages-by-tag","summary":"List all packages that have a given tag (e.g. parsing, json, network)","params":[{"name":"tag","type":"string","required":true,"description":"Tag name, e.g. parsing, json, bsd3"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-packages-by-tag"},{"command":"list-categories","summary":"List all package categories with their package counts","params":[],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-categories"},{"command":"list-deprecated-packages","summary":"List deprecated packages and the packages that replace them","params":[],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-deprecated-packages"},{"command":"list-candidates","summary":"List candidate package versions (uploaded for review but not yet published)","params":[],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/list-candidates"},{"command":"get-user","summary":"Get a Hackage user's profile: the package groups (maintainers, candidates) they belong to","params":[{"name":"username","type":"string","required":true,"description":"Hackage username, e.g. EdwardKmett"}],"exampleUrl":"https://clify-dev.netlify.app/hackage-haskell/get-user"}]}