Skip to content

Commit 3434d4f

Browse files
authored
gists intros (github#27219)
1 parent 03efd04 commit 3434d4f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

content/rest/gists/comments.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Comments
3-
intro: ''
2+
title: Gist comments
3+
allowTitleToDifferFromFilename: true
4+
shortTitle: Comments
5+
intro: 'The Gist comments API lets you view and modify comments on a gist.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,6 +13,10 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

16+
## About the Gist comments API
17+
18+
The Gist comments API lets you view and modify comments on a gist. For more information about gists, see "[Editing and sharing content with gists](/get-started/writing-on-github/editing-and-sharing-content-with-gists)."
19+
1420
### Custom media types for Gist comments
1521

1622
These are the supported media types for gist comments.

content/rest/gists/gists.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ topics:
1111
miniTocMaxHeadingLevel: 3
1212
---
1313

14+
## About the Gists API
15+
16+
The Gist API lets you view and modify gists. For more information about gists, see "[Editing and sharing content with gists](/get-started/writing-on-github/editing-and-sharing-content-with-gists)."
17+
1418
### Authentication
1519

1620
You can read public gists {% ifversion ghae or ghes %}and create them for anonymous users without a token.{% else %} anonymously, but you must be signed into GitHub to create gists.{% endif %} To read or write gists on a user's behalf, you need the gist OAuth scope and a token. For more information, see "[Scopes for OAuth Apps](/developers/apps/scopes-for-oauth-apps)."

0 commit comments

Comments
 (0)