Skip to main content
GitHub Docs
All products
REST API
概览
Resources in the REST API
媒体类型
Other authentication methods
疑难解答
库
OpenAPI 描述
GitHub 应用程序启用的端点
GitHub 应用程序权限
指南
开始 - REST API
Basics of authentication
为用户发现资源
交付部署
将数据渲染为图形
处理注释
使用分页遍历
构建 CI 服务器
综合最佳实践
开始 - Git 数据库 API
Get started - Checks API
REST API 参考
Actions
构件
缓存
权限
密码
自托管运行器组
自托管运行器
工作流程作业
工作流程运行
工作流程
活动
Events
馈送
通知
标星
关注
应用
GitHub 应用程序
安装设施
OAuth 应用程序
Web 挂钩
计费
分支
分支
受保护分支
检查
检查运行
检查套件
行为准则
代码扫描
协作者
协作者
邀请
提交
提交
提交注释
提交状态
Dependabot
密码
部署密钥
部署
部署
环境
部署状态
Deployment branch policies
表情符号
Enterprise administration
管理统计
公告
审核日志
计费
全局 web 挂钩
LDAP
许可
管理控制台
组织预接收挂钩
组织
预接收环境
预接收挂钩
存储库预接收挂钩
用户
Gist
Gist
评论
Git 数据库
Blob
提交
引用
标记
树
Gitignore
议题
议题
受理人
评论
事件
标签
里程碑
时间表
许可
Markdown
元数据
Metrics
统计
迁移
组织
用户
OAuth 授权
组织
组织
自定义存储库角色
成员
外部协作者
Web 挂钩
页面
Project boards
板
卡
协作者
列
拉取
拉取
审查评论
审查请求
审查
速率限制
反应
版本发布
版本发布
发布资产
仓库
仓库
自动链接
内容
复刻
Git LFS
标记
搜索
秘密扫描
团队
团队
讨论评论
Discussions
成员
用户
用户
Emails
关注者
GPG 密钥
Git SSH 密钥
Web 挂钩
存储库 web 挂钩配置
存储库 web 挂钩交付
仓库 web 挂钩
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the
English documentation
.
REST API
/
Gist
Enterprise Server 3.5
简体中文
搜索 GitHub 文档
GitHub Docs
REST API
/
Gist
REST API
Get started
Account and profile
Authentication
Repositories
Enterprise administrators
Billing and payments
Site policy
Organizations
Code security
Pull requests
GitHub Issues
GitHub Actions
GitHub Copilot
GitHub Codespaces
GitHub Packages
Search on GitHub
Developers
REST API
GraphQL API
GitHub CLI
GitHub Discussions
GitHub Sponsors
Building communities
GitHub Pages
Education
GitHub Desktop
GitHub Support
Atom
Electron
CodeQL
npm
Enterprise Server 3.5
Free, Pro, & Team
Enterprise Cloud
Enterprise Server 3.6
Enterprise Server 3.5
Enterprise Server 3.4
Enterprise Server 3.3
Enterprise Server 3.2
GitHub AE
所有 Enterprise Server 版本
关于版本
简体中文
English
简体中文
日本語
Español
Português do Brasil
搜索 GitHub 文档
Gist
Gists API 允许授权用户在 GitHub Enterprise Server 上列出、创建、更新和删除公共 gist。
Gist
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 评论
List gist comments
Create a gist comment
Get a gist comment
Update a gist comment
Delete a gist comment