mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Generate TODOs from git://github.com/github/developer.github.com.git
Some of them are already covered by issues #65, #67, #68 and #69
This commit is contained in:
@@ -41,6 +41,7 @@ for fileName in developerDotGithubDotComContentFiles:
|
||||
"/repos/:user/:repo/git/trees/:sha?recursive=1",
|
||||
"/repos/octocat/Hello-World/git/refs/heads/feature-a",
|
||||
"/repos/octocat/Hello-World/git/refs/tags/v1.0",
|
||||
"/repos/:user/:repo/git/refs/heads/skunkworkz/featureA",
|
||||
]:
|
||||
continue
|
||||
|
||||
@@ -70,6 +71,6 @@ for url in sorted( verbsByUrl.keys() ):
|
||||
if ( url, verb ) in functionsByUrlVerb:
|
||||
function = functionsByUrlVerb[ ( url, verb ) ]
|
||||
else:
|
||||
function = "(TOTO)"
|
||||
function = "(TODO)"
|
||||
print "* " + verb + ": " + function
|
||||
print
|
||||
|
||||
@@ -123,16 +123,36 @@ API `/orgs/:org/teams`
|
||||
* GET: `Organization.get_teams`
|
||||
* POST: `Organization.create_team`
|
||||
|
||||
API `/rate_limit`
|
||||
=================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo`
|
||||
========================
|
||||
* GET: `AuthenticatedUser.get_repo`, `NamedUser.get_repo` or `Organization.get_repo`
|
||||
* PATCH: `Repository.edit`
|
||||
* DELETE: `Repository.delete`
|
||||
|
||||
API `/repos/:user/:repo/:archive_format/:ref`
|
||||
=============================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/assignees`
|
||||
==================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/assignees/:assignee`
|
||||
============================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/branches`
|
||||
=================================
|
||||
* GET: `Repository.get_branches`
|
||||
|
||||
API `/repos/:user/:repo/branches/:branch`
|
||||
=========================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/collaborators`
|
||||
======================================
|
||||
* GET: `Repository.get_collaborators`
|
||||
@@ -170,6 +190,10 @@ API `/repos/:user/:repo/compare/:base...:head`
|
||||
==============================================
|
||||
* GET: `Repository.compare`
|
||||
|
||||
API `/repos/:user/:repo/contents/:path`
|
||||
=======================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/contributors`
|
||||
=====================================
|
||||
* GET: `Repository.get_contributors`
|
||||
@@ -321,6 +345,10 @@ API `/repos/:user/:repo/languages`
|
||||
==================================
|
||||
* GET: `Repository.get_languages`
|
||||
|
||||
API `/repos/:user/:repo/merges`
|
||||
===============================
|
||||
* POST: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/milestones`
|
||||
===================================
|
||||
* GET: `Repository.get_milestones`
|
||||
@@ -370,6 +398,23 @@ API `/repos/:user/:repo/pulls/comments/:number`
|
||||
* PATCH: `PullRequestComment.edit`
|
||||
* DELETE: `PullRequestComment.delete`
|
||||
|
||||
API `/repos/:user/:repo/readme`
|
||||
===============================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/stargazers`
|
||||
===================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/statuses/:sha`
|
||||
======================================
|
||||
* GET: (TODO)
|
||||
* POST: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/subscribers`
|
||||
====================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/repos/:user/:repo/tags`
|
||||
=============================
|
||||
* GET: `Repository.get_tags`
|
||||
@@ -453,6 +498,26 @@ API `/user/repos`
|
||||
* GET: `AuthenticatedUser.get_repos`
|
||||
* POST: `AuthenticatedUser.create_repo`
|
||||
|
||||
API `/user/starred`
|
||||
===================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/user/starred/:user/:repo`
|
||||
===============================
|
||||
* GET: (TODO)
|
||||
* PUT: (TODO)
|
||||
* DELETE: (TODO)
|
||||
|
||||
API `/user/subscriptions`
|
||||
=========================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/user/subscriptions/:user/:repo`
|
||||
=====================================
|
||||
* GET: (TODO)
|
||||
* PUT: (TODO)
|
||||
* DELETE: (TODO)
|
||||
|
||||
API `/user/watched`
|
||||
===================
|
||||
* GET: `AuthenticatedUser.get_watched`
|
||||
@@ -508,6 +573,14 @@ API `/users/:user/repos`
|
||||
========================
|
||||
* GET: `NamedUser.get_repos`
|
||||
|
||||
API `/users/:user/starred`
|
||||
==========================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/users/:user/subscriptions`
|
||||
================================
|
||||
* GET: (TODO)
|
||||
|
||||
API `/users/:user/watched`
|
||||
==========================
|
||||
* GET: `NamedUser.get_watched`
|
||||
|
||||
Reference in New Issue
Block a user