Organizations

github4s.algebras.Organizations
trait Organizations[F[_]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def listMembers(org: String, filter: Option[String], role: Option[String], pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[User]]]

List the users belonging to a specific organization

List the users belonging to a specific organization

Attributes

filter

To retrieve "all" or only "2fa_disabled" users

headers

Optional user headers to include in the request

org

Organization for which we want to retrieve the members

pagination

Limit and Offset for pagination

role

To retrieve "all", only non-owners ("member") or only owners ("admin")

Returns:

GHResponse with the list of users belonging to this organization

def listOutsideCollaborators(org: String, filter: Option[String], pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[User]]]

List users who are outside collaborators

List users who are outside collaborators

Attributes

filter

To retrieve "all" or only "2fa_disabled" users

headers

Optional user headers to include in the request

org

Organization for which we want to retrieve collaborators

pagination

Limit and Offset for pagination

Returns:

GHResponse with outside collaborators