fbrnch-0.7.1: Build and create Fedora package repos and branches
Copyright(c) 2020 Jens Petersen
LicenseGPL-2.0-only
MaintainerJens Petersen <petersen@redhat.com>
Safe HaskellNone
LanguageHaskell2010

Web.Fedora.Copr.API

Description

Copr REST client library

Synopsis

Documentation

queryCopr :: FromJSON a => String -> String -> Query -> IO a Source #

low-level query

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

Maybe create a query key

makeKey :: String -> String -> Query #

Make a singleton key-value Query

makeItem :: String -> String -> QueryItem #

Make a key-value QueryItem

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

Look up key in object

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

Like lookupKey but raises an error if no key found