Query
query GitlabPipelines($projectId: ID!) {
gitlabPipelines(projectId: $projectId) {
items {
id
projectId
iid
ref
branch
sha
}
total
page
perPage
nextPage
}
}Variables
{
"projectId": "id"
}Response
{
"data": {
"gitlabPipelines": {
"items": [
{
"id": "id",
"projectId": "id",
"iid": "id",
"ref": "string",
"branch": "string",
"sha": "string"
}
],
"total": 1,
"page": 1,
"perPage": 1,
"nextPage": 1
}
}
}Queries
gitlabPipelines
Gitlab pipelines for Query.
QUERY
gitlabPipelines(projectId: ID!, page: Int, perPage: Int, ref: String, status: GitLabPipelineStatus, source: String): GitLabPipelinePage!Arguments
projectId
ID!
required
Project id used by gitlabPipelines.
page
Int
default:1
Page used by gitlabPipelines.
perPage
Int
default:25
Per page used by gitlabPipelines.
ref
String
Filter by branch or ref.
status
Filter by pipeline status.
source
String
Filter by trigger source.
Returns
items
[GitLabPipeline!]!
Items for GitLabPipelinePage.
total
Int!
Total for GitLabPipelinePage.
page
Int!
Page for GitLabPipelinePage.
perPage
Int!
Per page for GitLabPipelinePage.
nextPage
Int
Next page for GitLabPipelinePage.
Query
query GitlabPipelines($projectId: ID!) {
gitlabPipelines(projectId: $projectId) {
items {
id
projectId
iid
ref
branch
sha
}
total
page
perPage
nextPage
}
}Variables
{
"projectId": "id"
}Response
{
"data": {
"gitlabPipelines": {
"items": [
{
"id": "id",
"projectId": "id",
"iid": "id",
"ref": "string",
"branch": "string",
"sha": "string"
}
],
"total": 1,
"page": 1,
"perPage": 1,
"nextPage": 1
}
}
}