mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Updating links to Github documentation for deploy keys (#1850)
* Updating links to Github documentation for deploy keys There are a couple of links to http://developer.github.com/v3/repos/keys/ and I believe these should be going to http://developer.github.com/v3/repos/#deploy-keys. I've updated the docstrings in this file appropriately.
This commit is contained in:
@@ -1222,7 +1222,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def create_key(self, title, key, read_only=False):
|
||||
"""
|
||||
:calls: `POST /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_
|
||||
:calls: `POST /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/#deploy-keys>`_
|
||||
:param title: string
|
||||
:param key: string
|
||||
:param read_only: bool
|
||||
@@ -2598,7 +2598,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def get_key(self, id):
|
||||
"""
|
||||
:calls: `GET /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/keys>`_
|
||||
:calls: `GET /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/#deploy-keys>`_
|
||||
:param id: integer
|
||||
:rtype: :class:`github.RepositoryKey.RepositoryKey`
|
||||
"""
|
||||
@@ -2612,7 +2612,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def get_keys(self):
|
||||
"""
|
||||
:calls: `GET /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_
|
||||
:calls: `GET /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/#deploy-keys>`_
|
||||
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.RepositoryKey.RepositoryKey`
|
||||
"""
|
||||
return github.PaginatedList.PaginatedList(
|
||||
|
||||
Reference in New Issue
Block a user