Module gists_api

Source

Enums§

GistsSlashCheckIsStarredError
struct for typed errors of method gists_slash_check_is_starred
GistsSlashCreateCommentError
struct for typed errors of method gists_slash_create_comment
GistsSlashCreateError
struct for typed errors of method gists_slash_create
GistsSlashDeleteCommentError
struct for typed errors of method gists_slash_delete_comment
GistsSlashDeleteError
struct for typed errors of method gists_slash_delete
GistsSlashForkError
struct for typed errors of method gists_slash_fork
GistsSlashGetCommentError
struct for typed errors of method gists_slash_get_comment
GistsSlashGetError
struct for typed errors of method gists_slash_get
GistsSlashGetRevisionError
struct for typed errors of method gists_slash_get_revision
GistsSlashListCommentsError
struct for typed errors of method gists_slash_list_comments
GistsSlashListCommitsError
struct for typed errors of method gists_slash_list_commits
GistsSlashListError
struct for typed errors of method gists_slash_list
GistsSlashListForUserError
struct for typed errors of method gists_slash_list_for_user
GistsSlashListForksError
struct for typed errors of method gists_slash_list_forks
GistsSlashListPublicError
struct for typed errors of method gists_slash_list_public
GistsSlashListStarredError
struct for typed errors of method gists_slash_list_starred
GistsSlashStarError
struct for typed errors of method gists_slash_star
GistsSlashUnstarError
struct for typed errors of method gists_slash_unstar
GistsSlashUpdateCommentError
struct for typed errors of method gists_slash_update_comment
GistsSlashUpdateError
struct for typed errors of method gists_slash_update

Functions§

gists_slash_check_is_starred
gists_slash_create
Allows you to add a new gist with one or more files. Note: Don’t name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
gists_slash_create_comment
Creates a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.
gists_slash_delete
gists_slash_delete_comment
gists_slash_fork
gists_slash_get
Gets a specified gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.
gists_slash_get_comment
Gets a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.
gists_slash_get_revision
Gets a specified gist revision. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.
gists_slash_list
Lists the authenticated user’s gists or if called anonymously, this endpoint returns all public gists:
gists_slash_list_comments
Lists the comments on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.
gists_slash_list_commits
gists_slash_list_for_user
Lists public gists for the specified user:
gists_slash_list_forks
gists_slash_list_public
List public gists sorted by most recently updated to least recently updated. Note: With pagination, you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.
gists_slash_list_starred
List the authenticated user’s starred gists:
gists_slash_star
Note that you’ll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP method."
gists_slash_unstar
gists_slash_update
Allows you to update a gist’s description and to update, delete, or rename gist files. Files from the previous version of the gist that aren’t explicitly changed during an edit are unchanged.
gists_slash_update_comment
Updates a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type. - application/vnd.github.base64+json: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences.