← Tools Reference

Gist

Gist integration (Developer Tools). Imported from open-connector.

OAuth20 toolshttps://api.github.com
GET
gist_list_my_gists
List gists visible to the authenticated GitHub user.

/gists

3 parameters
ParamTypeRequiredDescription
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
sincestringoptionalThe ISO 8601 timestamp to filter gists updated after this time.
POST
gist_create_gist
Create a new GitHub gist.

/gists

3 parameters
ParamTypeRequiredDescription
descriptionstringoptionalThe description to store on the gist.
publicbooleanoptionalWhether the gist should be publicly visible.
filesobjectrequiredThe files to create in the gist, keyed by filename.
GET
gist_list_public_gists
List recent public GitHub gists.

/gists/public

3 parameters
ParamTypeRequiredDescription
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
sincestringoptionalThe ISO 8601 timestamp to filter gists updated after this time.
GET
gist_list_starred_gists
List gists starred by the authenticated GitHub user.

/gists/starred

3 parameters
ParamTypeRequiredDescription
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
sincestringoptionalThe ISO 8601 timestamp to filter gists updated after this time.
GET
gist_get_gist
Get a GitHub gist by id.

/gists/{gistId}

2 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to fetch.
mediaTypestringoptionalThe media type format for the gist content.
PATCH
gist_update_gist
Update a GitHub gist description or files.

/gists/{gistId}

4 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to update.
descriptionstringoptionalThe new gist description.
filesobjectoptionalUpdated file entries keyed by filename. Use null to delete a file.
mediaTypestringoptionalThe media type format for the gist content.
DELETE
gist_delete_gist
Delete a GitHub gist.

/gists/{gistId}

1 parameter
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to delete.
GET
gist_list_gist_commits
List commit history for a GitHub gist.

/gists/{gistId}/commits

3 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID whose revision history should be listed.
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
GET
gist_list_gist_forks
List forks for a GitHub gist.

/gists/{gistId}/forks

3 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID whose forks should be listed.
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
POST
gist_fork_gist
Fork a GitHub gist.

/gists/{gistId}/forks

1 parameter
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to fork.
GET
gist_check_gist_starred
Check whether the authenticated GitHub user has starred a gist.

/gists/{gistId}/star

1 parameter
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to inspect.
PUT
gist_star_gist
Star a GitHub gist.

/gists/{gistId}/star

1 parameter
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to star.
DELETE
gist_unstar_gist
Unstar a GitHub gist.

/gists/{gistId}/star

1 parameter
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to unstar.
GET
gist_get_gist_revision
Get a specific revision of a GitHub gist.

/gists/{gistId}/{sha}

3 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID that owns the revision.
shastringrequiredThe commit SHA for the revision to fetch.
mediaTypestringoptionalThe media type format for the gist content.
GET
gist_list_user_gists
List public gists for a GitHub user.

/users/{username}/gists

4 parameters
ParamTypeRequiredDescription
usernamestringrequiredThe GitHub username whose public gists should be listed.
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
sincestringoptionalThe ISO 8601 timestamp to filter gists updated after this time.
GET
gist_list_gist_comments
List comments for a GitHub gist.

/gists/{gistId}/comments

4 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID whose comments should be listed.
perPageintegeroptionalThe number of results per page.
pageintegeroptionalThe page number to retrieve.
mediaTypestringoptionalThe media type format for the gist content.
POST
gist_create_gist_comment
Create a comment on a GitHub gist.

/gists/{gistId}/comments

3 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID to comment on.
bodystringrequiredThe comment body text.
mediaTypestringoptionalThe media type format for the gist content.
GET
gist_get_gist_comment
Get a GitHub gist comment by id.

/gists/{gistId}/comments/{commentId}

3 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID that owns the comment.
commentIdintegerrequiredThe numeric gist comment ID.
mediaTypestringoptionalThe media type format for the gist content.
PATCH
gist_update_gist_comment
Update a GitHub gist comment.

/gists/{gistId}/comments/{commentId}

4 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID that owns the comment.
commentIdintegerrequiredThe numeric gist comment ID.
bodystringrequiredThe updated comment body text.
mediaTypestringoptionalThe media type format for the gist content.
DELETE
gist_delete_gist_comment
Delete a GitHub gist comment.

/gists/{gistId}/comments/{commentId}

2 parameters
ParamTypeRequiredDescription
gistIdstringrequiredThe gist ID that owns the comment.
commentIdintegerrequiredThe numeric gist comment ID.