Copyright | (c) 2020 Jens Petersen |
---|---|
License | GPL-2.0-only |
Maintainer | Jens Petersen <petersen@redhat.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Copr REST client library
Synopsis
- coprGetProject :: String -> String -> String -> IO Object
- coprGetProjectsList :: String -> String -> IO Object
- coprSearchProjects :: String -> String -> IO Object
- coprGetBuild :: String -> Int -> IO Object
- coprGetBuildSourceChroot :: String -> Int -> IO Object
- coprGetBuildSourceConfig :: String -> Int -> IO Object
- coprGetBuildList :: String -> String -> String -> Query -> IO Object
- coprGetBuildPackageList :: String -> Query -> IO Object
- coprGetBuildChroot :: String -> Int -> String -> IO Object
- coprGetBuildChrootList :: String -> Int -> IO Object
- coprGetBuildChrootConfig :: String -> Int -> String -> IO Object
- coprMockChrootList :: String -> IO Object
- coprMonitorProject :: String -> String -> String -> [String] -> IO Object
- coprGetPackage :: String -> String -> String -> String -> IO Object
- coprGetPackageList :: String -> String -> String -> IO Object
- coprGetProjectChroot :: String -> String -> String -> String -> IO Object
- coprGetProjectChrootBuildConfig :: String -> String -> String -> String -> IO Object
- queryCopr :: FromJSON a => String -> String -> Query -> IO a
- maybeKey :: String -> Maybe String -> Query
- makeKey :: String -> String -> Query
- makeItem :: String -> String -> QueryItem
- lookupKey :: FromJSON a => Text -> Object -> Maybe a
- lookupKey' :: FromJSON a => Text -> Object -> a
Documentation
coprGetProject :: String -> String -> String -> IO Object Source #
List project details
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_9
coprGetProjectsList :: String -> String -> IO Object Source #
List projects of owner
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_37
coprSearchProjects :: String -> String -> IO Object Source #
search projects by query string
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_43
coprGetBuild :: String -> Int -> IO Object Source #
coprGetBuildSourceChroot :: String -> Int -> IO Object Source #
coprGetBuildSourceConfig :: String -> Int -> IO Object Source #
get build source config
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build.py#_34
coprGetBuildList :: String -> String -> String -> Query -> IO Object Source #
coprGetBuildPackageList :: String -> Query -> IO Object Source #
get list of packages
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build.py#_46
coprGetBuildChroot :: String -> Int -> String -> IO Object Source #
coprGetBuildChrootList :: String -> Int -> IO Object Source #
list of build chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build_chroot.py#_25
coprGetBuildChrootConfig :: String -> Int -> String -> IO Object Source #
get build config for chroot
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build_chroot.py#_44
coprMockChrootList :: String -> IO Object Source #
list of all available mock chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/mock_chroot.py
coprMonitorProject :: String -> String -> String -> [String] -> IO Object Source #
monitor info for the latest project chroot builds.
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/monitor.py#_16
coprGetPackage :: String -> String -> String -> String -> IO Object Source #
Get project package details
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/package.py#_9
coprGetPackageList :: String -> String -> String -> IO Object Source #
List project packages
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/package.py#_28
coprGetProjectChroot :: String -> String -> String -> String -> IO Object Source #
coprGetProjectChrootBuildConfig :: String -> String -> String -> String -> IO Object Source #
list of build chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project_chroot.py#_29
:: FromJSON a | |
=> String | server |
-> String | path |
-> Query | parameters |
-> IO a |
low-level API query
lookupKey' :: FromJSON a => Text -> Object -> a #