Merged
Conversation
Implements complete coverage of the GitHub Gist API (20 endpoints) requested in #70 for an upcoming ponylang org project. New models: Gist, GistFile, GistFileEdit, GistFileRename, GistFileDelete, GistCommit, GistChangeStatus, GistComment. 15 gist operations: GetGist, CreateGist, UpdateGist, DeleteGist, GetUserGists, GetPublicGists, GetStarredGists, GetUsernameGists, GetGistRevision, ForkGist, GetGistForks, GetGistCommits, StarGist, UnstarGist, CheckGistStar. 5 gist comment operations: GetGistComment, GetGistComments, CreateGistComment, UpdateGistComment, DeleteGistComment. 3 new HTTP infrastructure classes: HTTPPatch (PATCH expecting 200), HTTPPut (PUT expecting 204), HTTPCheck (GET returning Bool via 204/404 status codes). These close the documented PATCH/PUT infrastructure gaps. Closes #70
SeanTAllen
added a commit
that referenced
this pull request
Feb 28, 2026
PR #72 (gist API) added docstrings to all new public types and methods, leaving the pre-existing API undocumented. This adds docstrings to all pre-existing public classes, primitives, actors, and their public methods to bring the entire library to a consistent documentation standard. Also replaces the placeholder package docstring with a proper overview that guides users to the GitHub entry point and explains the Promise-based return pattern. The request/ subpackage is excluded — it's intended to be extracted to its own library and will be documented separately. Closes #74
SeanTAllen
added a commit
that referenced
this pull request
Feb 28, 2026
PR #72 (gist API) added docstrings to all new public types and methods, leaving the pre-existing API undocumented. This adds docstrings to all pre-existing public classes, primitives, actors, and their public methods to bring the entire library to a consistent documentation standard. Also replaces the placeholder package docstring with a proper overview that guides users to the GitHub entry point and explains the Promise-based return pattern. The request/ subpackage is excluded — it's intended to be extracted to its own library and will be documented separately. Closes #74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements complete coverage of the GitHub Gist API (20 endpoints) for #70.
New models: Gist, GistFile, GistFileEdit, GistFileRename, GistFileDelete, GistCommit, GistChangeStatus, GistComment.
15 gist operations (CRUD, 4 list variants, revision, fork, list forks, list commits, star/unstar/check star) and 5 gist comment operations (CRUD + list). All list operations support pagination.
3 new HTTP infrastructure classes close the documented PATCH/PUT gaps: HTTPPatch (PATCH expecting 200), HTTPPut (PUT expecting 204), HTTPCheck (GET returning Bool via 204/404).
10 new example programs (functional + OO pairs for get, create, list, comments, star) and an examples/README.md covering all 33 examples.