Skip to content

Check if a gist is starred

GET
/gists/{gist_id}/star

API method documentation

gist_id
required
string

The unique identifier of the gist.

Response if gist is starred

Not modified

Forbidden

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}

Not Found if gist is not starred

Media type application/json
object
Example generated
{}