query GitlabComments {
gitlabComments {
viewerId
viewerUsername
mergeRequests {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
threads {
id
mergeRequest {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
discussion {
id
individualNote
notes {
__typename
}
}
}
endCursor
hasNextPage
}
}{
"data": {
"gitlabComments": {
"viewerId": "id",
"viewerUsername": "string",
"mergeRequests": [
{
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
}
],
"threads": [
{
"id": "id",
"mergeRequest": {
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
},
"discussion": {
"id": "id",
"individualNote": true,
"notes": [
{
"__typename": "GitLabDiscussionNote"
}
]
}
}
],
"endCursor": "string",
"hasNextPage": true
}
}
}gitlabComments
Load human comments from relevant open requests or a directly selected request.
gitlabComments(projectId: ID, iid: Int, discussionId: ID, after: String, first: Int, refresh: Boolean): GitLabCommentPage!Arguments
Optional project filter; required when selecting a request directly.
Select a request directly, including merged or closed requests.
Select a discussion directly within the selected request.
Opaque continuation returned by the preceding page.
Maximum human discussions to return, from one to twenty-five.
Bypass cached provider responses for this feed and its continuation pages.
Returns
Authenticated GitLab user identifier for author filtering.
Authenticated GitLab username.
Request summaries discovered in this page.
Human discussions loaded in this page.
Opaque continuation for remaining discovery or discussion pages.
Whether additional requests or discussions remain to load.
Whether one or more sources could not be loaded.
Actionable descriptions of sources that could not be loaded.
query GitlabComments {
gitlabComments {
viewerId
viewerUsername
mergeRequests {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
threads {
id
mergeRequest {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
discussion {
id
individualNote
notes {
__typename
}
}
}
endCursor
hasNextPage
}
}{
"data": {
"gitlabComments": {
"viewerId": "id",
"viewerUsername": "string",
"mergeRequests": [
{
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
}
],
"threads": [
{
"id": "id",
"mergeRequest": {
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
},
"discussion": {
"id": "id",
"individualNote": true,
"notes": [
{
"__typename": "GitLabDiscussionNote"
}
]
}
}
],
"endCursor": "string",
"hasNextPage": true
}
}
}