Named REST endpoints
Adapter design. This page specifies the unpublished adapter. Run a request with Octokit and Effect.
Provide github.rest.<namespace>.<method>(parameters) for every entry in the catalogue. Bind the callable from the supplied client. Use the generated name/shape inventory for coverage and the upstream method declarations for parameters and results. Include empty-argument operations, alternate signatures, status literal unions, binary bodies, endpoint metadata and derived defaults. The legacy profile has additional top-level aliases; expose them only for clients that provide them.
Never reduce a decorated method to a method/URL pair. SDK methods may remap a parameter to the entire request body, log a rename, transform an old parameter or select a different base URL. Call each original decorated member. Retain callable properties when producing a defaulted method and verify what upstream retains after applying its own defaults. Avoid eagerly instantiating a thousand functions to wrap one installation client.
Check. repos.uploadReleaseAsset uses the uploads host; repos.setStatusCheckContexts exercises body mapping; the legacy spelling repos.updateStatusCheckPotection exercises a renamed method. Compare hook count, effective request and warning behavior with the original method. Type-test a no-argument call, a required field and a response status. Method implementation