pdc-0.1.1: Fedora Product Definition Center service
Copyright(c) 2020 Jens Petersen
LicenseMIT
MaintainerJens Petersen <juhpetersen@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Fedora.PDC

Description

Fedora PDC web api client library

Synopsis

Documentation

fedoraPDC :: String Source #

pdcComposes :: String -> Maybe String -> Query -> IO Object Source #

pdcComposeImages :: String -> String -> IO Object Source #

pdcComposeImageRttTests :: String -> Query -> IO Object Source #

pdcComposeRpms :: String -> String -> IO Object Source #

Compose Rpm List (seems heavy)

https://pdc.fedoraproject.org/rest_api/v1/compose-rpms/ {compose_id}/

pdcWhereToFileBugs :: String -> Query -> IO Object Source #

Filter Bugzilla Products And Components List

https://pdc.fedoraproject.org/rest_api/v1/rpc/where-to-file-bugs/

queryPDC :: String -> String -> Query -> IO Object Source #

low-level query

lookupKey :: FromJSON a => Text -> Object -> Maybe a #

lookupKey' :: FromJSON a => Text -> Object -> a #

makeKey :: String -> String -> Query #

makeItem :: String -> String -> QueryItem #

maybeKey :: String -> Maybe String -> Query #

type Query = [QueryItem] #

type QueryItem = (ByteString, Maybe ByteString) #

getResultsList :: Object -> [Object] Source #

Get results key from a response object