sincecutoff.com
← all changes

GitHub GraphQL API adds Mutation.requestReviewsByLogin

Introduced 2026-01-22 · score 0.96

HOW TO USE IT

When requesting reviews on a pull request by login, call `Mutation.requestReviewsByLogin` with its required pull request ID and the applicable bot logins, team slugs, or user logins. Set `union` to add reviewers to the set; it defaults to `false`.

mutation { requestReviewsByLogin(input: { pullRequestId: "<pull-request-node-id>", userLogins: ["<user-login>"], union: true }) { pullRequest { id } } }

WHY THIS HELPS

Request reviews on a pull request by bot, team, or user login from a coding workflow.

REQUIREMENTS AND LIMITATIONS

  • input (required): `RequestReviewsByLoginInput!` argument for the mutation.
  • pullRequestId (required): Node ID of the pull request to modify.
  • botLogins: Bot logins to request reviews from; include the `[bot]` suffix.
  • teamSlugs: Team slugs to request reviews from, in `org/team-slug` format.
  • userLogins: User login strings to request reviews from.
  • union: Add users to the set rather than replace; defaults to `false`. The docs do not state whether reviewer input fields are mutually exclusive.
  • clientMutationId: Unique identifier for the client performing the mutation.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card