Get interaction restrictions for your public repositories
GET
/user/interaction-limits
Shows which type of GitHub user can interact with your public repositories and when the restriction expires.
Responses
Section titled “ Responses ”Default response
Media type application/json
Any of:
Interaction Limits
Interaction limit settings.
object
limit
required
The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
string
origin
required
string
expires_at
required
string format: date-time
object
Examples
Example default
{ "limit": "collaborators_only", "origin": "organization", "expires_at": "2018-08-17T04:18:39Z"}Response when there are no restrictions