copr-api-0.2.0: Copr API client libary
Copyright(c) 2020 Jens Petersen
LicenseGPL-2.0-only
MaintainerJens Petersen <petersen@redhat.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Fedora.Copr.API

Description

Copr REST client library

Synopsis

Documentation

coprGetProject Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> IO Object 

coprGetProjectsList Source #

Arguments

:: String

server

-> String

owner

-> IO Object 

coprSearchProjects Source #

Arguments

:: String

server

-> String

query

-> IO Object 

coprGetBuild Source #

Arguments

:: String

server

-> Int

build id

-> IO Object 

coprGetBuildSourceConfig Source #

Arguments

:: String

server

-> Int

build id

-> IO Object 

coprGetBuildList Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> Query

optional parameters ("packagename", "status", "pagination")

-> IO Object 

coprGetBuildChroot Source #

Arguments

:: String

server

-> Int

build id

-> String

chroot

-> IO Object 

coprGetBuildChrootList Source #

Arguments

:: String

server

-> Int

build id

-> IO Object 

coprGetBuildChrootConfig Source #

Arguments

:: String

server

-> Int

build id

-> String

chroot

-> IO Object 

coprMockChrootList Source #

Arguments

:: String

server

-> IO Object 

coprMonitorProject Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> [String]

additional fields

-> IO Object 

monitor info for the latest project chroot builds.

https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/monitor.py#_16

Since: 0.2.0

coprGetPackage Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> String

package

-> IO Object 

coprGetPackageList Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> IO Object 

coprGetProjectChroot Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> String

chroot

-> IO Object 

coprGetProjectChrootBuildConfig Source #

Arguments

:: String

server

-> String

owner

-> String

project

-> String

chroot

-> IO Object 

queryCopr Source #

Arguments

:: FromJSON a 
=> String

server

-> String

path

-> Query

parameters

-> IO a 

low-level API query

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 #