GET
/gistsList gists for the authenticated user
Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
sincestringoptional
Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
per_pageintegeroptional
The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
pageintegeroptional
The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
200Response
urlstringrequired
forks_urlstringrequired
commits_urlstringrequired
idstringrequired
node_idstringrequired
git_pull_urlstringrequired
git_push_urlstringrequired
html_urlstringrequired
filesobjectrequired
publicbooleanrequired
created_atstringrequired
updated_atstringrequired
descriptionstringrequired
commentsintegerrequired
comments_enabledbooleanoptional
userobjectrequired
A GitHub user.
comments_urlstringrequired
ownerobjectoptional
A GitHub user.
truncatedbooleanoptional
forksarrayoptional
historyarrayoptional
304Not modified
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 403 is returned: Forbidden.