@@ -13,6 +13,10 @@ def get(self, ref, user=None, repo=None):
1313 .. note::
1414 Remember that branch references look like "heads/<branch_name>"
1515
16+ :param str ref: the name of the reference to get
17+ :param str user: Username
18+ :param str repo: Repository
19+
1620 """
1721 return self ._get (
1822 self .make_request ('git_data.references.get' , ref = ref , user = user ,
@@ -24,6 +28,8 @@ def list(self, namespace='', user=None, repo=None):
2428
2529 :param str namespace: Limit the request to a particular type of
2630 reference. For example, ``heads`` or ``tags``.
31+ :param str user: Username
32+ :param str repo: Repository
2733
2834 """
2935 return self ._get (
@@ -34,8 +40,8 @@ def create(self, body, user=None, repo=None):
3440 """Create a reference
3541
3642 :param dict body: Data describing the reference to create
37- :param str user: username
38- :param str repo: repository name
43+ :param str user: Username
44+ :param str repo: Repository
3945
4046 """
4147 return self ._post (
@@ -47,7 +53,9 @@ def update(self, ref, body, user=None, repo=None):
4753 """Update an existing reference
4854
4955 :param str ref: The SHA of the reference to update
50- :param dict body: data
56+ :param dict body: Data to update the reference with
57+ :param str user: Username
58+ :param str repo: Repository
5159
5260 """
5361 return self ._patch (
@@ -59,6 +67,8 @@ def delete(self, ref, user=None, repo=None):
5967 """Delete a reference
6068
6169 :param str ref: The SHA of the reference to delete
70+ :param str user: Username
71+ :param str repo: Repository
6272
6373 """
6474 return self ._delete (
0 commit comments