List gists for the authenticated user

GET {{baseUrl}}/gists?since=<string>&per_page=30&page=1

Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:

Request Params

KeyDatatypeRequiredDescription
sincestringOnly show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
per_pagenumberResults per page (max 100)
pagenumberPage number of the results to fetch.

RESPONSES

status: OK

[{&quot;url&quot;:&quot;https://api.github.com/gists/aa5a315d61ae9438b18d&quot;,&quot;forks_url&quot;:&quot;https://api.github.com/gists/aa5a315d61ae9438b18d/forks&quot;,&quot;commits_url&quot;:&quot;https://api.github.com/gists/aa5a315d61ae9438b18d/commits&quot;,&quot;id&quot;:&quot;aa5a315d61ae9438b18d&quot;,&quot;node_id&quot;:&quot;MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk&quot;,&quot;git_pull_url&quot;:&quot;https://gist.github.com/aa5a315d61ae9438b18d.git&quot;,&quot;git_push_url&quot;:&quot;https://gist.github.com/aa5a315d61ae9438b18d.git&quot;,&quot;html_url&quot;:&quot;https://gist.github.com/aa5a315d61ae9438b18d&quot;,&quot;files&quot;:{&quot;hello_world.rb&quot;:{&quot;filename&quot;:&quot;hello_world.rb&quot;,&quot;type&quot;:&quot;application/x-ruby&quot;,&quot;language&quot;:&quot;Ruby&quot;,&quot;raw_url&quot;:&quot;https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb&quot;,&quot;size&quot;:167}},&quot;public&quot;:true,&quot;created_at&quot;:&quot;2010-04-14T02:15:15Z&quot;,&quot;updated_at&quot;:&quot;2011-06-20T11:34:15Z&quot;,&quot;description&quot;:&quot;Hello World Examples&quot;,&quot;comments&quot;:0,&quot;user&quot;:null,&quot;comments_url&quot;:&quot;https://api.github.com/gists/aa5a315d61ae9438b18d/comments/&quot;,&quot;owner&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;truncated&quot;:false}]