Get a gist
GET
/gists/{uuid}Returns a single gist with its file contents, commits and forks.
Public and unlisted gists are readable by anyone, including anonymous
callers. A private gist resolves only for its owner using a token with
the gist:read scope; every other caller receives 404 so the gist's
existence is not revealed.
Request
Headers
| Name | Type | Scopes |
|---|---|---|
Authorizationoptional | string |
Path parameters
| Name | Type | Description |
|---|---|---|
uuidrequired | string | The gist's UUID. |
Responses
| Status | Body | Description |
|---|---|---|
200 | Gist | The gist. |
404 | Error | The requested resource does not exist (or is not visible to the caller). |