Skip to main content
GitHub Docs
Version:
Enterprise Server 3.6
Search GitHub Docs
REST API
/
Gists
All products
REST API
Quickstart
Overview
Guides
REST API reference
Actions
Activity
Apps
Billing
Branches
Checks
Codes of conduct
Code Scanning
Collaborators
Commits
Dependabot
Dependency Graph
Deploy keys
Deployments
Emojis
Enterprise administration
Gists
Gists
Comments
Git database
Gitignore
Issues
Licenses
Markdown
Meta
Metrics
Migrations
OAuth authorizations
Organizations
Pages
Project boards
Pulls
Rate limit
Reactions
Releases
Repositories
Search
Secret scanning
Teams
Users
Repository webhooks
REST API
/
Gists
Gists
Use the REST API to list, create, update and delete the public gists on GitHub Enterprise Server.
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