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 typeapplication/json
Basic Error

Basic Error

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

Not Found if gist is not starred

Media typeapplication/json
object
Examplegenerated
{}