object Request
- Source
- Github.scala
- Alphabetic
- By Inheritance
- Request
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
createRepoWebhook(slug: Slug, hook: WebHook)(t: AccessToken): GithubOpF[WebHook]
* https://developer.github.com/v3/repos/hooks/#create-a-hook
-
def
deleteRepoWebhook(slug: Slug, id: Long)(token: AccessToken): GithubOpF[Unit]
* https://developer.github.com/v3/repos/hooks/#delete-a-hook
-
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.
-
def
fetchFileFromRepository(s: Slug, p: String, ref: Reference)(t: AccessToken): GithubOpF[Option[Contents]]
* https://developer.github.com/v3/repos/contents/#get-contents
- def fetchOrganizations(keys: List[OrgKey], token: AccessToken): GithubOpF[List[Organization]]
-
def
fetchRepoWebhooks(slug: Slug)(token: AccessToken): GithubOpF[List[WebHook]]
* https://developer.github.com/v3/repos/hooks/#list-hooks
- def fetchUser(token: AccessToken): GithubOpF[User]
-
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.
- def fetchUserOrgKeys(token: AccessToken): GithubOpF[List[OrgKey]]
-
def
getDeployment(slug: Slug, id: Long)(token: AccessToken): GithubOpF[Option[Deployment]]
* https://developer.github.com/v3/repos/deployments/#get-a-single-deployment
-
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.