10000 boilerplate for Repositories · lucylittle/github3.py@38479a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38479a1

Browse files
committed
boilerplate for Repositories
1 parent 0cef3af commit 38479a1

File tree

9 files changed

+211
-1
lines changed

9 files changed

+211
-1
lines changed

docs/gh/repos.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Repositories
66
.. toctree::
77
:maxdepth: 1
88

9-
repos/collborators
9+
repos/collaborators
1010
repos/comments
11+
repos/commits
1112
repos/contents
1213
repos/deploy-keys
1314
repos/deployments

docs/gh/repos/deployments.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Deployments
2+
-----------
3+
4+
5+
`http://developer.github.com/v3/repos/deployments/ <http://developer.github.com/v3/repos/deployments/>`_
6+
7+
.. note::
8+
The Deployments API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
9+
10+
.. _blogpost: http://developer.github.com/changes/2014-01-09-preview-the-new-deployments-api/
11+
12+
13+
List Deployments
14+
~~~~~~~~~~~~~~~~
15+
16+
`http://developer.github.com/v3/repos/deployments/#list-deployments <http://developer.github.com/v3/repos/deployments/#list-deployments>`_
17+
18+
Create a Deployment
19+
~~~~~~~~~~~~~~~~~~~
20+
21+
`http://developer.github.com/v3/repos/deployments/#create-a-deployment <http://developer.github.com/v3/repos/deployments/#create-a-deployment>`_
22+
23+
Update a Deployment
24+
~~~~~~~~~~~~~~~~~~~
25+
26+
`http://developer.github.com/v3/repos/deployments/#update-a-deployment <http://developer.github.com/v3/repos/deployments/#update-a-deployment>`_
27+
28+
List Deployment Statuses
29+
~~~~~~~~~~~~~~~~~~~~~~~~
30+
31+
`http://developer.github.com/v3/repos/deployments/#list-deployment-statuses <http://developer.github.com/v3/repos/deployments/#list-deployment-statuses>`_
32+
33+
Create a Deployment Status
34+
~~~~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
`http://developer.github.com/v3/repos/deployments/#create-a-deployment-status <http://developer.github.com/v3/repos/deployments/#create-a-deployment-status>`_

docs/gh/repos/downloads.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Downloads
2+
---------
3+
4+
`http://developer.github.com/v3/repos/downloads/ <http://developer.github.com/v3/repos/downloads/>`_
5+
6+
From GitHub's documentation:
7+
8+
.. note::
9+
10+
The Downloads API (described below) was deprecated on December 11, 2012. It will be removed at a future date.

docs/gh/repos/forks.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Forks
2+
-----
3+
4+
`http://developer.github.com/v3/repos/forks/ <http://developer.github.com/v3/repos/forks/>`_
5+
6+
7+
8+
9+
List forks
10+
~~~~~~~~~~
11+
12+
`http://developer.github.com/v3/repos/forks/#list-forks <http://developer.github.com/v3/repos/forks/#list-forks>`_
13+
14+
Create a fork
15+
~~~~~~~~~~~~~
16+
17+
`http://developer.github.com/v3/repos/forks/#create-a-fork <http://developer.github.com/v3/repos/forks/#create-a-fork>`_

docs/gh/repos/hooks.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Hooks
2+
-----
3+
4+
5+
`http://developer.github.com/v3/repos/hooks/ <http://developer.github.com/v3/repos/hooks/>`_
6+
7+
8+
9+
Services
10+
~~~~~~~~
11+
12+
`http://developer.github.com/v3/repos/hooks/#services <http://developer.github.com/v3/repos/hooks/#services>`_
13+
14+
Events
15+
~~~~~~
16+
17+
`http://developer.github.com/v3/repos/hooks/#events <http://developer.github.com/v3/repos/hooks/#events>`_
18+
19+
JSON HTTP
20+
~~~~~~~~~
21+
22+
`http://developer.github.com/v3/repos/hooks/#json-http <http://developer.github.com/v3/repos/hooks/#json-http>`_
23+
24+
Delete a hook
25+
~~~~~~~~~~~~~
26+
27+
`http://developer.github.com/v3/repos/hooks/#delete-a-hook <http://developer.github.com/v3/repos/hooks/#delete-a-hook>`_
28+
29+
PubSubHubbub
30+
~~~~~~~~~~~~
31+
32+
`http://developer.github.com/v3/repos/hooks/#pubsubhubbub <http://developer.github.com/v3/repos/hooks/#pubsubhubbub>`_

docs/gh/repos/merging.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Merging
2+
-------
3+
4+
`http://developer.github.com/v3/repos/merging/ <http://developer.github.com/v3/repos/merging/>`_
5+
6+
Perform a merge
7+
~~~~~~~~~~~~~~~
8+
9+
`http://developer.github.com/v3/repos/merging/#perform-a-merge <http://developer.github.com/v3/repos/merging/#perform-a-merge>`_
10+

docs/gh/repos/releases.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Releases
2+
--------
3+
4+
`http://developer.github.com/v3/repos/releases/ <http://developer.github.com/v3/repos/releases/>`_
5+
6+
7+
8+
List releases for a repository
9+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10+
11+
`http://developer.github.com/v3/repos/releases/#list-releases-for-a-repository <http://developer.github.com/v3/repos/releases/#list-releases-for-a-repository>`_
12+
13+
Get a single release
14+
~~~~~~~~~~~~~~~~~~~~
15+
16+
`http://developer.github.com/v3/repos/releases/#get-a-single-release <http://developer.github.com/v3/repos/releases/#get-a-single-release>`_
17+
18+
Create a release
19+
~~~~~~~~~~~~~~~~
20+
21+
`http://developer.github.com/v3/repos/releases/#create-a-release <http://developer.github.com/v3/repos/releases/#create-a-release>`_
22+
23+
Edit a release
24+
~~~~~~~~~~~~~~
25+
26+
`http://developer.github.com/v3/repos/releases/#edit-a-release <http://developer.github.com/v3/repos/releases/#edit-a-release>`_
27+
28+
Delete a release
29+
~~~~~~~~~~~~~~~~
30+
31+
`http://developer.github.com/v3/repos/releases/#delete-a-release <http://developer.github.com/v3/repos/releases/#delete-a-release>`_
32+
33+
List assets for a release
34+
~~~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
`http://developer.github.com/v3/repos/releases/#list-assets-for-a-release <http://developer.github.com/v3/repos/releases/#list-assets-for-a-release>`_
37+
38+
Upload a release asset
39+
~~~~~~~~~~~~~~~~~~~~~~
40+
41+
`http://developer.github.com/v3/repos/releases/#upload-a-release-asset <http://developer.github.com/v3/repos/releases/#upload-a-release-asset>`_
42+
43+
Get a single release asset
44+
~~~~~~~~~~~~~~~~~~~~~~~~~~
45+
46+
`http://developer.github.com/v3/repos/releases/#get-a-single-release-asset <http://developer.github.com/v3/repos/releases/#get-a-single-release-asset>`_
47+
48+
Edit a release asset
49+
~~~~~~~~~~~~~~~~~~~~
50+
51+
`http://developer.github.com/v3/repos/releases/#edit-a-release-asset <http://developer.github.com/v3/repos/releases/#edit-a-release-asset>`_
52+
53+
Delete a release asset
54+
~~~~~~~~~~~~~~~~~~~~~~
55+
56+
`http://developer.github.com/v3/repos/releases/#delete-a-release-asset <http://developer.github.com/v3/repos/releases/#delete-a-release-asset>`_
57+

docs/gh/repos/statistics.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Statistics
2+
----------
3+
4+
`http://developer.github.com/v3/repos/statistics/ <http://developer.github.com/v3/repos/statistics/>`_
5+
6+
7+
8+
Get contributors list with additions, deletions, and commit counts
9+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10+
11+
`http://developer.github.com/v3/repos/statistics/#contributors <http://developer.github.com/v3/repos/statistics/#contributors>`_
12+
13+
Get the last year of commit activity data
14+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
16+
`http://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data <http://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data>`_
17+
18+
Get the number of additions and deletions per week
19+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20+
21+
`http://developer.github.com/v3/repos/statistics/#code-frequency <http://developer.github.com/v3/repos/statistics/#code-frequency>`_
22+
23+
Get the weekly commit count for the repository owner and everyone else
24+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25+
26+
`http://developer.github.com/v3/repos/statistics/#participation <http://developer.github.com/v3/repos/statistics/#participation>`_
27+
28+
Get the number of commits per hour in each day
29+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30+
31+
`http://developer.github.com/v3/repos/statistics/#punch-card <http://developer.github.com/v3/repos/statistics/#punch-card>`_

docs/gh/repos/statuses.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Statuses
2+
--------
3+
4+
5+
`http://developer.github.com/v3/repos/statuses/ <http://developer.github.com/v3/repos/statuses/>`_
6+
7+
8+
List Statuses for a specific Ref
9+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10+
11+
`http://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref <http://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref>`_
12+
13+
Create a Status
14+
~~~~~~~~~~~~~~~
15+
16+
`http://developer.github.com/v3/repos/statuses/#create-a-status <http://developer.github.com/v3/repos/statuses/#create-a-status>`_

0 commit comments

Comments
 (0)
0