License | BSD-3-Clause |
---|---|
Maintainer | Todd Mohney <toddmohney@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The public keys API, as described at https://developer.github.com/v3/users/keys/
Synopsis
- publicSSHKeysR :: Request 'RA (Vector PublicSSHKey)
- publicSSHKeysForR :: Name Owner -> FetchCount -> Request 'RO (Vector PublicSSHKeyBasic)
- publicSSHKeyR :: Id PublicSSHKey -> Request 'RA PublicSSHKey
- createUserPublicSSHKeyR :: NewPublicSSHKey -> Request 'RW PublicSSHKey
- deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest 'MtUnit 'RW ()
Querying 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
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
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
createUserPublicSSHKeyR :: NewPublicSSHKey -> Request 'RW PublicSSHKey Source #
Create a public SSH key. See https://developer.github.com/v3/users/keys/#create-a-public-key.
Delete
deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest 'MtUnit 'RW () Source #
Delete a public SSH key. See https://developer.github.com/v3/users/keys/#delete-a-public-key