github-0.14.1: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Definitions

Description

 

Synopsis

Documentation

data Error Source

Errors have been tagged according to their source, so you can more easily dispatch and handle them.

Constructors

HTTPError !HttpException

A HTTP error occurred. The actual caught error is included.

ParseError !Text

An error in the parser itself.

JsonError !Text

The JSON is malformed or unexpected.

UserError !Text

Incorrect input.

newtype Owner Source

In practic, you cam't have concrete values of Owner.

Constructors

Owner (Either User Organization) 

data OrgMemberFilter Source

Filter members returned in the list.

Constructors

OrgMemberFilter2faDisabled

Members without two-factor authentication enabled. Available for organization owners.

OrgMemberFilterAll

All members the authenticated user can see.

data OrgMemberRole Source

Filter members returned by their role.

Constructors

OrgMemberRoleAll

All members of the organization, regardless of role.

OrgMemberRoleAdmin

Organization owners.

OrgMemberRoleMember

Non-owner organization members.