-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Fedora Product Definition Center service -- -- A http query library for Fedora's PDC service. @package pdc @version 0.1.1 -- | Fedora PDC web api client library module Fedora.PDC fedoraPDC :: String -- | Arch List -- -- https://pdc.fedoraproject.org/rest_api/v1/arches/ pdcArches :: String -> IO [Object] -- | Changeset List -- -- https://pdc.fedoraproject.org/rest_api/v1/changesets/ pdcChangesets :: String -> Query -> IO Object -- | Component Branch List -- -- https://pdc.fedoraproject.org/rest_api/v1/component-branches/ pdcComponentBranches :: String -> Query -> IO Object -- | Sla To Component Branch List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/component-branch-slas/ pdcComponentBranchSLAs :: String -> Query -> IO Object -- | Release Component Relationship Type List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/component-relationship-types/ pdcComponentRelationshipTypes :: String -> IO [Object] -- | Sla List -- -- https://pdc.fedoraproject.org/rest_api/v1/component-sla-types/ pdcComponentSLATypes :: String -> Query -> IO [Object] -- | Compose List -- -- https://pdc.fedoraproject.org/rest_api/v1/composes/ pdcComposes :: String -> Maybe String -> Query -> IO Object -- | Compose Image Instance -- -- https://pdc.fedoraproject.org/rest_api/v1/compose-images/ -- {compose_id}/ pdcComposeImages :: String -> String -> IO Object -- | Compose Image Rtt Test List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/compose-image-rtt-tests/ -- (all untested?) pdcComposeImageRttTests :: String -> Query -> IO Object -- | Compose Rpm List (seems heavy) -- -- https://pdc.fedoraproject.org/rest_api/v1/compose-rpms/ -- {compose_id}/ pdcComposeRpms :: String -> String -> IO Object -- | Compose Tree Rtt Test List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/compose-tree-rtt-tests/ pdcComposeTreeRttTests :: String -> Query -> IO Object -- | Content Format List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/content-delivery-content-formats/ pdcContentDeliveryContentFormats :: String -> Query -> IO [Object] -- | Global Component List -- -- https://pdc.fedoraproject.org/rest_api/v1/global-components/ pdcGlobalComponents :: String -> Query -> IO Object -- | Image List -- -- https://pdc.fedoraproject.org/rest_api/v1/images/ pdcImages :: String -> Query -> IO Object -- | Module List -- -- https://pdc.fedoraproject.org/rest_api/v1/modules/ pdcModules :: String -> Query -> IO Object -- | Product Version List -- -- https://pdc.fedoraproject.org/rest_api/v1/product-versions/ pdcProductVersions :: String -> Query -> IO [Object] -- | Product List -- -- https://pdc.fedoraproject.org/rest_api/v1/products/ pdcProducts :: String -> Query -> IO [Object] -- | Release List -- -- https://pdc.fedoraproject.org/rest_api/v1/releases/ pdcReleases :: String -> Query -> IO Object -- | Filter Bugzilla Products And Components List -- -- -- https://pdc.fedoraproject.org/rest_api/v1/rpc/where-to-file-bugs/ pdcWhereToFileBugs :: String -> Query -> IO Object -- | Rpm List -- -- https://pdc.fedoraproject.org/rest_api/v1/rpms/ pdcRpms :: String -> Query -> IO Object -- | low-level query queryPDC :: String -> String -> Query -> IO Object -- | Look up key in object lookupKey :: FromJSON a => Text -> Object -> Maybe a -- | Like lookupKey but raises an error if no key found lookupKey' :: FromJSON a => Text -> Object -> a -- | Make a singleton key-value Query makeKey :: String -> String -> Query -- | Make a key-value QueryItem makeItem :: String -> String -> QueryItem -- | Maybe create a query key maybeKey :: String -> Maybe String -> Query -- | Query. -- -- General form: a=b&c=d, but if the value is Nothing, it -- becomes a&c=d. type Query = [QueryItem] -- | Query item type QueryItem = (ByteString, Maybe ByteString) -- | Get results key from a response object getResultsList :: Object -> [Object]