# Check if a gist is starred

From **GitHub v3 REST API**.

`GET /gists/{gist_id}/star`

Check if a gist is starred

## Parameters

### `gist_id`

- Location: path
- Required: true
- Type: `string`

gist_id parameter

## Responses

### `204`

Response if gist is starred

### `304`

Not modified

### `403`

Forbidden

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

### `404`

Not Found if gist is not starred

### `application/json`

- Type: `object`

```json
{"additionalProperties":false,"type":"object"}
```

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/gists/{gist_id}/star
```
