Skip to content

rest.interactions

Octokit exposes these methods on octokit.rest.interactions. The last column lists defaults and decorations applied by the SDK.

Catalogue and sources

Method Upstream route Pagination SDK behavior
getRestrictionsForAuthenticatedUser GET /user/interaction-limits — —
getRestrictionsForOrg GET /orgs/{org}/interaction-limits — —
getRestrictionsForRepo GET /repos/{owner}/{repo}/interaction-limits — —
getRestrictionsForYourPublicRepos GET /user/interaction-limits — renamed to interactions.getRestrictionsForAuthenticatedUser
removeRestrictionsForAuthenticatedUser DELETE /user/interaction-limits — —
removeRestrictionsForOrg DELETE /orgs/{org}/interaction-limits — —
removeRestrictionsForRepo DELETE /repos/{owner}/{repo}/interaction-limits — —
removeRestrictionsForYourPublicRepos DELETE /user/interaction-limits — renamed to interactions.removeRestrictionsForAuthenticatedUser
setRestrictionsForAuthenticatedUser PUT /user/interaction-limits — —
setRestrictionsForOrg PUT /orgs/{org}/interaction-limits — —
setRestrictionsForRepo PUT /repos/{owner}/{repo}/interaction-limits — —
setRestrictionsForYourPublicRepos PUT /user/interaction-limits — renamed to interactions.setRestrictionsForAuthenticatedUser