Objects
Gist
A Gist.
Gist 実装
Gist のフィールド
| 名前 | 説明 |
|---|---|
| A list of comments associated with the gist. |
| Identifies the date and time when the object was created. |
| The gist description. |
| The files in this gist.
|
| A list of forks associated with the gist.
|
| The Node ID of the Gist object. |
| Identifies if the gist is a fork. |
| Whether the gist is public or not. |
| The gist name. |
| The gist owner. |
| Identifies when the gist was last pushed to. |
| The HTML path to this resource. |
| Returns a count of how many stargazers there are on this object. |
| A list of users who have starred this starrable.
|
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this Gist. |
| Returns a boolean indicating whether the viewing user has starred this starrable. |
GistComment
Represents a comment on an Gist.
GistComment 実装
GistComment のフィールド
| 名前 | 説明 |
|---|---|
| The actor who authored the comment. |
| Author's association with the gist. |
| Identifies the comment body. |
| The body rendered to HTML. |
| The body rendered to text. |
| Identifies the date and time when the object was created. |
| Check if this comment was created via an email reply. |
| Identifies the primary key from the database. |
| The actor who edited the comment. |
| The associated gist. |
| The Node ID of the GistComment object. |
| Check if this comment was edited and includes an edit with the creation data. |
| Returns whether or not a comment has been minimized. |
| The moment the editor made the last edit. |
| Returns why the comment was minimized. One of |
| Identifies when the comment was published at. |
| Identifies the date and time when the object was last updated. |
| A list of edits to this content. |
| Check if the current viewer can delete this object. |
| Check if the current viewer can minimize this object. |
| Check if the current viewer can unminimize this object. |
| Check if the current viewer can update this object. |
| Reasons why the current viewer can not update this comment. |
| Did the viewer author this comment. |
GistCommentConnection
The connection type for GistComment.
GistCommentConnection のフィールド
| 名前 | 説明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
GistCommentEdge
An edge in a connection.
GistCommentEdge のフィールド
| 名前 | 説明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
GistConnection
The connection type for Gist.
GistConnection のフィールド
| 名前 | 説明 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
GistEdge
An edge in a connection.
GistEdge のフィールド
| 名前 | 説明 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
GistFile
A file in a gist.
GistFile のフィールド
| 名前 | 説明 |
|---|---|
| The file name encoded to remove characters that are invalid in URL paths. |
| The gist file encoding. |
| The file extension from the file name. |
| Indicates if this file is an image. |
| Whether the file's contents were truncated. |
| The programming language this file is written in. |
| The gist file name. |
| The gist file size in bytes. |
| UTF8 text data or null if the file is binary.
|
Enums
GistOrderField
Properties by which gist connections can be ordered.
GistOrderField の値です。
| 名前 | 説明 |
|---|---|
CREATED_AT | Order gists by creation time. |
PUSHED_AT | Order gists by push time. |
UPDATED_AT | Order gists by update time. |
GistPrivacy
The privacy of a Gist.
GistPrivacy の値です。
| 名前 | 説明 |
|---|---|
ALL | Gists that are public and secret. |
PUBLIC | Public. |
SECRET | Secret. |
Input objects
GistOrder
Ordering options for gist connections.
GistOrder の入力フィールド
| 名前 | 説明 |
|---|---|
| The ordering direction. |
| The field to order repositories by. |