Gists
WebService::GitHub::Gists
Check if a gist is starred
WebService::GitHub::Gists.check-is-starred( Str $gist-id
)
Create a gist
See gists/create
WebService::GitHub::Gists.create( :$public
, Associative :$files!
, Str :$description
)
Delete a gist
See gists/delete
WebService::GitHub::Gists.delete( Str $gist-id
)
Fork a gist
See gists/fork
WebService::GitHub::Gists.fork( Str $gist-id
)
Get a gist
See gists/get
WebService::GitHub::Gists.get( Str $gist-id
)
Get a gist revision
WebService::GitHub::Gists.get-revision( Str $gist-id
, Str $sha
)
List gists for the authenticated user
See gists/list
WebService::GitHub::Gists.list( Str :$since
, Int(Str) :$per-page
, Int(Str) :$page
)
List gist commits
WebService::GitHub::Gists.list-commits( Str $gist-id
, Int(Str) :$per-page
, Int(Str) :$page
)
List gists for a user
WebService::GitHub::Gists.list-for-user( Str $username
, Str :$since
, Int(Str) :$per-page
, Int(Str) :$page
)
List gist forks
See gists/list-forks
WebService::GitHub::Gists.list-forks( Str $gist-id
, Int(Str) :$per-page
, Int(Str) :$page
)
List public gists
WebService::GitHub::Gists.list-public( Str :$since
, Int(Str) :$per-page
, Int(Str) :$page
)
List starred gists
WebService::GitHub::Gists.list-starred( Str :$since
, Int(Str) :$per-page
, Int(Str) :$page
)
Star a gist
See gists/star
WebService::GitHub::Gists.star( Str $gist-id
)
Unstar a gist
See gists/unstar
WebService::GitHub::Gists.unstar( Str $gist-id
)
Update a gist
See gists/update
WebService::GitHub::Gists.update( Str $gist-id
, Associative :$files
, Str :$description
)