Skip to content

feat: Add user interaction limits endpoints - #4686

Open
nakultt wants to merge 1 commit into
google:masterfrom
nakultt:feat/user-interaction-limits
Open

nakultt wants to merge 1 commit into
google:masterfrom
nakultt:feat/user-interaction-limits

Conversation

@nakultt

@nakultt nakultt commented Oct 28, 2026

Copy link
Copy Markdown

Fixes #4683.

Adds InteractionsService methods for the authenticated user's public repositories, following the existing org and repo methods:

  • GetRestrictionsForAuthenticatedUser - GET /user/interaction-limits
  • UpdateRestrictionsForAuthenticatedUser - PUT /user/interaction-limits
  • RemoveRestrictionsFromAuthenticatedUser - DELETE /user/interaction-limits

Also mentions users in the InteractionsService and InteractionRestriction doc comments, and adds "user" to the documented Origin values.

@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.64%. Comparing base (7b235bc) to head (67ff995).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4686   +/-   ##
=======================================
  Coverage   98.64%   98.64%           
=======================================
  Files         202      203    +1     
  Lines       19004    19031   +27     
=======================================
+ Hits        18746    18773   +27     
  Misses        258      258           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Oct 28, 2026

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @nakultt!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @Not-Dhananjay-Mishra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for user interaction limits endpoints

2 participants