module GitHub.Endpoints.Organizations.OutsideCollaborators (
outsideCollaboratorsR,
) where
import GitHub.Data
import GitHub.Internal.Prelude
import Prelude ()
outsideCollaboratorsR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser)
outsideCollaboratorsR :: forall (k :: RW).
Name Organization -> FetchCount -> Request k (Vector SimpleUser)
outsideCollaboratorsR Name Organization
organization =
Paths -> QueryString -> FetchCount -> Request k (Vector SimpleUser)
forall a (mt :: RW).
FromJSON a =>
Paths -> QueryString -> FetchCount -> Request mt (Vector a)
pagedQuery [Text
"orgs", Name Organization -> Text
forall a. IsPathPart a => a -> Text
toPathPart Name Organization
organization, Text
"outside_collaborators"] []