Skip to main content

user

Overview

Nameuser
TypeResource
Idgithub.interactions.user

Fields

NameDatatypeDescription
expires_atstring
limitstringThe type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
originstring

Methods

NameAccessible byRequired ParamsDescription
get_restrictions_for_authenticated_userSELECTShows which type of GitHub user can interact with your public repositories and when the restriction expires.
remove_restrictions_for_authenticated_userDELETERemoves any interaction restrictions from your public repositories.
set_restrictions_for_authenticated_userEXECdata__limitTemporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.