Skip to main content

mergeRequests

Query

Your org's merge requests, newest first by receivedAt, a page at a time. Always limited to the org of the request, whatever filter.orgId says. Ask for the next page with the nextToken of the previous one and the same filter.

mergeRequests(filter: MergeListMergeRequestRecordsFilterInput, pagination: PaginationInput): MergeListMergeRequestRecordsResponse

Arguments​

ArgumentTypeDefaultDescription
filterMergeListMergeRequestRecordsFilterInputSelects merge requests by Connector, status, outcome, shape and time; every field set narrows the result, and and, or and not combine filters (all, at least one, none).
paginationPaginationInputlimit is the page size, 50 when unset and at most 200 (a larger limit is lowered to 200). nextToken continues from the previous page; page is ignored.

Returns​

MergeListMergeRequestRecordsResponse: A page of merge requests.

Example​

Request
query MergeRequests {
mergeRequests {
mergeRequestRecords {
attempts
completedAt
connectorId
connectorType
disposition
edgeCount
hasGraph
hasTimeseries
id
idempotencyKey
lockAcquiredAt
lockReleasedAt
}
pagination {
nextToken
noMoreData
prevToken
total
totalAvailable
}
}
}