Skip to content

Commit e99a443

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#59274)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent f1079c7 commit e99a443

File tree

5 files changed

+382
-0
lines changed

5 files changed

+382
-0
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>RequestReviewsByLoginInput</code> was added</p>",
8+
"<p>Input field <code>botLogins</code> of type '[String!]<code>was added to input object type</code>RequestReviewsByLoginInput'</p>",
9+
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>RequestReviewsByLoginInput</code></p>",
10+
"<p>Input field <code>pullRequestId</code> of type <code>ID!</code> was added to input object type <code>RequestReviewsByLoginInput</code></p>",
11+
"<p>Input field <code>teamSlugs</code> of type '[String!]<code>was added to input object type</code>RequestReviewsByLoginInput'</p>",
12+
"<p>Input field <code>union</code> of type <code>Boolean</code> with default value <code>false</code> was added to input object type <code>RequestReviewsByLoginInput</code></p>",
13+
"<p>Input field <code>userLogins</code> of type '[String!]<code>was added to input object type</code>RequestReviewsByLoginInput'</p>",
14+
"<p>Type <code>RequestReviewsByLoginPayload</code> was added</p>",
15+
"<p>Field <code>actor</code> was added to object type <code>RequestReviewsByLoginPayload</code></p>",
16+
"<p>Field <code>clientMutationId</code> was added to object type <code>RequestReviewsByLoginPayload</code></p>",
17+
"<p>Field <code>pullRequest</code> was added to object type <code>RequestReviewsByLoginPayload</code></p>",
18+
"<p>Field <code>requestedReviewersEdge</code> was added to object type <code>RequestReviewsByLoginPayload</code></p>",
19+
"<p>Field <code>requestReviewsByLogin</code> was added to object type <code>Mutation</code></p>",
20+
"<p>Argument <code>input: RequestReviewsByLoginInput!</code> added to field <code>Mutation.requestReviewsByLogin</code></p>"
21+
]
22+
}
23+
],
24+
"previewChanges": [],
25+
"upcomingChanges": [],
26+
"date": "2026-01-22"
27+
},
228
{
329
"schemaChanges": [
430
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26151,6 +26151,16 @@ type Mutation {
2615126151
input: RequestReviewsInput!
2615226152
): RequestReviewsPayload
2615326153

26154+
"""
26155+
Set review requests on a pull request using login strings instead of IDs.
26156+
"""
26157+
requestReviewsByLogin(
26158+
"""
26159+
Parameters for RequestReviewsByLogin
26160+
"""
26161+
input: RequestReviewsByLoginInput!
26162+
): RequestReviewsByLoginPayload
26163+
2615426164
"""
2615526165
Rerequests an existing check suite.
2615626166
"""
@@ -54667,6 +54677,66 @@ type ReprioritizeSubIssuePayload {
5466754677
issue: Issue
5466854678
}
5466954679

54680+
"""
54681+
Autogenerated input type of RequestReviewsByLogin
54682+
"""
54683+
input RequestReviewsByLoginInput {
54684+
"""
54685+
The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]').
54686+
"""
54687+
botLogins: [String!]
54688+
54689+
"""
54690+
A unique identifier for the client performing the mutation.
54691+
"""
54692+
clientMutationId: String
54693+
54694+
"""
54695+
The Node ID of the pull request to modify.
54696+
"""
54697+
pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
54698+
54699+
"""
54700+
The slugs of the teams to request reviews from (format: 'org/team-slug').
54701+
"""
54702+
teamSlugs: [String!]
54703+
54704+
"""
54705+
Add users to the set rather than replace.
54706+
"""
54707+
union: Boolean = false
54708+
54709+
"""
54710+
The login strings of the users to request reviews from.
54711+
"""
54712+
userLogins: [String!]
54713+
}
54714+
54715+
"""
54716+
Autogenerated return type of RequestReviewsByLogin.
54717+
"""
54718+
type RequestReviewsByLoginPayload {
54719+
"""
54720+
Identifies the actor who performed the event.
54721+
"""
54722+
actor: Actor
54723+
54724+
"""
54725+
A unique identifier for the client performing the mutation.
54726+
"""
54727+
clientMutationId: String
54728+
54729+
"""
54730+
The pull request that is getting requests.
54731+
"""
54732+
pullRequest: PullRequest
54733+
54734+
"""
54735+
The edge from the pull request to the requested reviewers.
54736+
"""
54737+
requestedReviewersEdge: UserEdge
54738+
}
54739+
5467054740
"""
5467154741
Autogenerated input type of RequestReviews
5467254742
"""

src/graphql/data/fpt/schema.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6613,6 +6613,56 @@
66136613
}
66146614
]
66156615
},
6616+
{
6617+
"name": "requestReviewsByLogin",
6618+
"kind": "mutations",
6619+
"id": "requestreviewsbylogin",
6620+
"href": "/graphql/reference/mutations#requestreviewsbylogin",
6621+
"description": "<p>Set review requests on a pull request using login strings instead of IDs.</p>",
6622+
"inputFields": [
6623+
{
6624+
"name": "input",
6625+
"type": "RequestReviewsByLoginInput!",
6626+
"id": "requestreviewsbylogininput",
6627+
"kind": "input-objects",
6628+
"href": "/graphql/reference/input-objects#requestreviewsbylogininput"
6629+
}
6630+
],
6631+
"returnFields": [
6632+
{
6633+
"name": "actor",
6634+
"type": "Actor",
6635+
"id": "actor",
6636+
"kind": "interfaces",
6637+
"href": "/graphql/reference/interfaces#actor",
6638+
"description": "<p>Identifies the actor who performed the event.</p>"
6639+
},
6640+
{
6641+
"name": "clientMutationId",
6642+
"type": "String",
6643+
"id": "string",
6644+
"kind": "scalars",
6645+
"href": "/graphql/reference/scalars#string",
6646+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
6647+
},
6648+
{
6649+
"name": "pullRequest",
6650+
"type": "PullRequest",
6651+
"id": "pullrequest",
6652+
"kind": "objects",
6653+
"href": "/graphql/reference/objects#pullrequest",
6654+
"description": "<p>The pull request that is getting requests.</p>"
6655+
},
6656+
{
6657+
"name": "requestedReviewersEdge",
6658+
"type": "UserEdge",
6659+
"id": "useredge",
6660+
"kind": "objects",
6661+
"href": "/graphql/reference/objects#useredge",
6662+
"description": "<p>The edge from the pull request to the requested reviewers.</p>"
6663+
}
6664+
]
6665+
},
66166666
{
66176667
"name": "rerequestCheckSuite",
66186668
"kind": "mutations",
@@ -106842,6 +106892,64 @@
106842106892
}
106843106893
]
106844106894
},
106895+
{
106896+
"name": "RequestReviewsByLoginInput",
106897+
"kind": "inputObjects",
106898+
"id": "requestreviewsbylogininput",
106899+
"href": "/graphql/reference/input-objects#requestreviewsbylogininput",
106900+
"description": "<p>Autogenerated input type of RequestReviewsByLogin.</p>",
106901+
"inputFields": [
106902+
{
106903+
"name": "botLogins",
106904+
"description": "<p>The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]').</p>",
106905+
"type": "[String!]",
106906+
"id": "string",
106907+
"kind": "scalars",
106908+
"href": "/graphql/reference/scalars#string"
106909+
},
106910+
{
106911+
"name": "clientMutationId",
106912+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
106913+
"type": "String",
106914+
"id": "string",
106915+
"kind": "scalars",
106916+
"href": "/graphql/reference/scalars#string"
106917+
},
106918+
{
106919+
"name": "pullRequestId",
106920+
"description": "<p>The Node ID of the pull request to modify.</p>",
106921+
"type": "ID!",
106922+
"id": "id",
106923+
"kind": "scalars",
106924+
"href": "/graphql/reference/scalars#id",
106925+
"isDeprecated": false
106926+
},
106927+
{
106928+
"name": "teamSlugs",
106929+
"description": "<p>The slugs of the teams to request reviews from (format: 'org/team-slug').</p>",
106930+
"type": "[String!]",
106931+
"id": "string",
106932+
"kind": "scalars",
106933+
"href": "/graphql/reference/scalars#string"
106934+
},
106935+
{
106936+
"name": "union",
106937+
"description": "<p>Add users to the set rather than replace.</p>",
106938+
"type": "Boolean",
106939+
"id": "boolean",
106940+
"kind": "scalars",
106941+
"href": "/graphql/reference/scalars#boolean"
106942+
},
106943+
{
106944+
"name": "userLogins",
106945+
"description": "<p>The login strings of the users to request reviews from.</p>",
106946+
"type": "[String!]",
106947+
"id": "string",
106948+
"kind": "scalars",
106949+
"href": "/graphql/reference/scalars#string"
106950+
}
106951+
]
106952+
},
106845106953
{
106846106954
"name": "RequestReviewsInput",
106847106955
"kind": "inputObjects",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26151,6 +26151,16 @@ type Mutation {
2615126151
input: RequestReviewsInput!
2615226152
): RequestReviewsPayload
2615326153

26154+
"""
26155+
Set review requests on a pull request using login strings instead of IDs.
26156+
"""
26157+
requestReviewsByLogin(
26158+
"""
26159+
Parameters for RequestReviewsByLogin
26160+
"""
26161+
input: RequestReviewsByLoginInput!
26162+
): RequestReviewsByLoginPayload
26163+
2615426164
"""
2615526165
Rerequests an existing check suite.
2615626166
"""
@@ -54667,6 +54677,66 @@ type ReprioritizeSubIssuePayload {
5466754677
issue: Issue
5466854678
}
5466954679

54680+
"""
54681+
Autogenerated input type of RequestReviewsByLogin
54682+
"""
54683+
input RequestReviewsByLoginInput {
54684+
"""
54685+
The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]').
54686+
"""
54687+
botLogins: [String!]
54688+
54689+
"""
54690+
A unique identifier for the client performing the mutation.
54691+
"""
54692+
clientMutationId: String
54693+
54694+
"""
54695+
The Node ID of the pull request to modify.
54696+
"""
54697+
pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
54698+
54699+
"""
54700+
The slugs of the teams to request reviews from (format: 'org/team-slug').
54701+
"""
54702+
teamSlugs: [String!]
54703+
54704+
"""
54705+
Add users to the set rather than replace.
54706+
"""
54707+
union: Boolean = false
54708+
54709+
"""
54710+
The login strings of the users to request reviews from.
54711+
"""
54712+
userLogins: [String!]
54713+
}
54714+
54715+
"""
54716+
Autogenerated return type of RequestReviewsByLogin.
54717+
"""
54718+
type RequestReviewsByLoginPayload {
54719+
"""
54720+
Identifies the actor who performed the event.
54721+
"""
54722+
actor: Actor
54723+
54724+
"""
54725+
A unique identifier for the client performing the mutation.
54726+
"""
54727+
clientMutationId: String
54728+
54729+
"""
54730+
The pull request that is getting requests.
54731+
"""
54732+
pullRequest: PullRequest
54733+
54734+
"""
54735+
The edge from the pull request to the requested reviewers.
54736+
"""
54737+
requestedReviewersEdge: UserEdge
54738+
}
54739+
5467054740
"""
5467154741
Autogenerated input type of RequestReviews
5467254742
"""

0 commit comments

Comments
 (0)