mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
NamedUser.create_gist
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@ API `/users/:user/following`
|
||||
API `/users/:user/gists`
|
||||
========================
|
||||
* GET: `NamedUser.get_gists`
|
||||
* POST: (TODO)
|
||||
* POST: `NamedUser.create_gist`
|
||||
|
||||
API `/users/:user/orgs`
|
||||
=======================
|
||||
|
||||
@@ -587,6 +587,7 @@ Watched
|
||||
Gists
|
||||
-----
|
||||
* `get_gists()`: list of `Gist`
|
||||
* `create_gist( public, files, [description] )`: `Gist`
|
||||
|
||||
Class `Organization`
|
||||
====================
|
||||
|
||||
@@ -61,5 +61,6 @@ NamedUser._addAttributePolicy(
|
||||
NamedUser._addAttributePolicy(
|
||||
ExternalListOfObjects( "gists", "gist", Gist,
|
||||
ListGetable( Parameters( [], [] ) ),
|
||||
ElementCreatable( Parameters( [ "public", "files" ], [ "description" ] ) ),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user