GET/gists/{gist_id}/star

Check whether a gist is starred

Checks whether the authenticated user has starred a gist. Use gist_id to identify the gist; a 204 response indicates that it is starred.

1 parameter
gist_idstringrequired
The unique identifier of the gist whose star status to check.

4 status codes
204Returns no content when the gist is starred by the authenticated user.
304Returned when the gist's star status has not changed since the last request.
403Returned when the authenticated user is not permitted to check the gist's star status.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the authenticated user has not starred the gist.

Error handling

A 403 is returned when the authenticated user cannot check the gist's star status. A 404 is returned when the authenticated user has not starred the gist identified by the gist_id path parameter.