License | BSD-3-Clause |
---|---|
Maintainer | Todd Mohney <toddmohney@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
The public keys API, as described at https://developer.github.com/v3/users/keys/
Synopsis
- publicSSHKeys' :: Auth -> IO (Either Error (Vector PublicSSHKey))
- publicSSHKeysR :: Request RA (Vector PublicSSHKey)
- publicSSHKeysFor' :: Name Owner -> IO (Either Error (Vector PublicSSHKeyBasic))
- publicSSHKeysForR :: Name Owner -> FetchCount -> Request RO (Vector PublicSSHKeyBasic)
- publicSSHKey' :: Auth -> Id PublicSSHKey -> IO (Either Error PublicSSHKey)
- publicSSHKeyR :: Id PublicSSHKey -> Request RA PublicSSHKey
- createUserPublicSSHKey' :: Auth -> NewPublicSSHKey -> IO (Either Error PublicSSHKey)
- createUserPublicSSHKeyR :: NewPublicSSHKey -> Request RW PublicSSHKey
- deleteUserPublicSSHKey' :: Auth -> Id PublicSSHKey -> IO (Either Error ())
- deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest MtUnit RW ()
Querying public SSH keys
publicSSHKeys' :: Auth -> IO (Either Error (Vector PublicSSHKey)) Source #
Querying the authenticated users' public SSH keys
publicSSHKeysR :: Request RA (Vector PublicSSHKey) Source #
Querying the authenticated users' public SSH keys See https://developer.github.com/v3/users/keys/#list-your-public-keys
publicSSHKeysFor' :: Name Owner -> IO (Either Error (Vector PublicSSHKeyBasic)) Source #
Querying public SSH keys.
publicSSHKeysForR :: Name Owner -> FetchCount -> Request RO (Vector PublicSSHKeyBasic) Source #
Querying public SSH keys. See https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user
publicSSHKey' :: Auth -> Id PublicSSHKey -> IO (Either Error PublicSSHKey) Source #
Querying a public SSH key
publicSSHKeyR :: Id PublicSSHKey -> Request RA PublicSSHKey Source #
Querying a public SSH key. See https://developer.github.com/v3/users/keys/#get-a-single-public-key
Create
createUserPublicSSHKey' :: Auth -> NewPublicSSHKey -> IO (Either Error PublicSSHKey) Source #
Create a public SSH key
createUserPublicSSHKeyR :: NewPublicSSHKey -> Request RW PublicSSHKey Source #
Create a public SSH key. See https://developer.github.com/v3/users/keys/#create-a-public-key.
Delete
deleteUserPublicSSHKey' :: Auth -> Id PublicSSHKey -> IO (Either Error ()) Source #
deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest MtUnit RW () Source #
Delete a public SSH key. See https://developer.github.com/v3/users/keys/#delete-a-public-key