Skip to main content
GitHub AE is currently under limited release.
GitHub Docs
Version:
GitHub AE
Search GitHub Docs
REST API
/
Gists
All products
REST API
Quickstart
Overview
About GitHub's APIs
Resources in the REST API
Media types
Authenticating
Troubleshooting
Libraries
GitHub App-enabled endpoints
GitHub App permissions
Guides
Using the API
Script with JavaScript
Discover resources for a user
Delivering deployments
Rendering data as graphs
Working with comments
Pagination
Building a CI server
Integrator best practices
Get started - Git database
Get started - Checks
REST API reference
Actions
Artifacts
Permissions
Secrets
Self-hosted runner groups
Self-hosted runners
Workflow jobs
Workflow runs
Workflows
Activity
Events
Feeds
Notifications
Starring
Watching
Apps
GitHub Apps
Installations
OAuth Authorizations
Webhooks
Branches
Branches
Protected branches
Checks
Check Runs
Check Suites
Codes of conduct
Code Scanning
Collaborators
Collaborators
Invitations
Commits
Commits
Commit comments
Commit statuses
Deploy keys
Deployments
Deployments
Environments
Deployment statuses
Deployment branch policies
Emojis
Enterprise administration
Admin stats
Announcement
Audit log
Global Webhooks
License
Organizations
Pre-receive Environments
Users
Gists
Gists
Comments
Git database
Blobs
Commits
References
Tags
Trees
Gitignore
Issues
Issues
Assignees
Comments
Events
Labels
Milestones
Timeline
Licenses
Markdown
Meta
Metrics
Statistics
Migrations
Organizations
Users
Organizations
Organizations
Members
Outside Collaborators
Webhooks
Pages
Project boards
Boards
Cards
Collaborators
Columns
Pulls
Pulls
Review comments
Review requests
Reviews
Rate limit
Reactions
Releases
Releases
Release Assets
Repositories
Repositories
Autolinks
Contents
Forks
Git LFS
Search
Secret scanning
Teams
Teams
Discussion comments
Discussions
External groups
Members
Users
Users
Followers
GPG Keys
Git SSH Keys
Repository webhooks
Repository Webhook Configuration
Repository Webhook Deliveries
Repository Webhooks
REST API
/
Gists
Gists
Use the REST API to list, create, update and delete the public gists on GitHub AE.
Gists
List gists for the authenticated user
Create a gist
List public gists
List starred gists
Get a gist
Update a gist
Delete a gist
List gist commits
List gist forks
Fork a gist
Check if a gist is starred
Star a gist
Unstar a gist
Get a gist revision
List gists for a user
Gist comments
List gist comments
Create a gist comment
Get a gist comment
Update a gist comment
Delete a gist comment