o

nelson.Github

Request

object Request

Source
Github.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Request
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def createRepoWebhook(slug: Slug, hook: WebHook)(t: AccessToken): GithubOpF[WebHook]

    * https://developer.github.com/v3/repos/hooks/#create-a-hook

  2. def deleteRepoWebhook(slug: Slug, id: Long)(token: AccessToken): GithubOpF[Unit]

    * https://developer.github.com/v3/repos/hooks/#delete-a-hook

  3. def fetchAccessToken(code: String): GithubOpF[AccessToken]

    Given a tempoary access code during OAuth login, callback to github to change it into a legit access token that we can use to make API calls on the users behalf.

  4. def fetchFileFromRepository(s: Slug, p: String, ref: Reference)(t: AccessToken): GithubOpF[Option[Contents]]

    * https://developer.github.com/v3/repos/contents/#get-contents

  5. def fetchOrganizations(keys: List[OrgKey], token: AccessToken): GithubOpF[List[Organization]]
  6. def fetchRepoWebhooks(slug: Slug)(token: AccessToken): GithubOpF[List[WebHook]]

    * https://developer.github.com/v3/repos/hooks/#list-hooks

  7. def fetchUser(token: AccessToken): GithubOpF[User]
  8. def fetchUserData(token: AccessToken): GithubOpF[nelson.User]

    retrieve the user-specifc information about the agent logging into the system.

    retrieve the user-specifc information about the agent logging into the system. obtaining this information so we can have a neat user interface / experience without constantly fetching back to github.

  9. def fetchUserOrgKeys(token: AccessToken): GithubOpF[List[OrgKey]]
  10. def getDeployment(slug: Slug, id: Long)(token: AccessToken): GithubOpF[Option[Deployment]]

    * https://developer.github.com/v3/repos/deployments/#get-a-single-deployment

  11. def listUserRepositories(token: AccessToken): GithubOpF[List[Repo]]

    given a user access token, recursivly fetch all the repositories said user is an admin or collaborator for.