GitHub Gists API
The GitHub Gists API lets you programmatically manage gistslightweight code snippets and notesover HTTP. You can create gists (public or secret/unlisted), read individual gists, list public gists, your own, a users, and those youve starred, fetch raw file contents, view version history and commits, update gists by adding/renaming/removing files or changing descriptions, and delete them. It also supports forking, starring/un-starring and checking star status, plus full CRUD for gist comments.
GitHub Gists API is one of 384 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Artifacts, Code, and Gists. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 20 operations across 11 paths, and defines 11 schemas. It is described by OpenAPI 3.0.3, at version 1.1.4.
Requests are made against a single base URL, {protocol}://{hostname}/api/v3.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
GitHub Gists API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerHttpAuthentication).
bearerHttpAuthentication— Bearer Token
Paths & Operations 20
Across 11 paths, the API surfaces 20 operations — 3 DELETE, 11 GET, 2 PATCH, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Schemas 11
The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are public-user (39 properties), nullable-simple-user (21 properties), simple-user (21 properties), gist-simple (21 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from GitHub 12
Other APIs GitHub publishes across the network.
This is an independent, third-party profile of GitHub Gists API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.