36 lines
760 B
GraphQL
36 lines
760 B
GraphQL
query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
|
|
project(fullPath: $projectPath) {
|
|
repository {
|
|
tree(path: $path, ref: $ref) {
|
|
lastCommit {
|
|
sha
|
|
title
|
|
description
|
|
message
|
|
webUrl
|
|
authoredDate
|
|
authorName
|
|
author {
|
|
name
|
|
avatarUrl
|
|
webUrl
|
|
}
|
|
signatureHtml
|
|
pipelines(ref: $ref, first: 1) {
|
|
edges {
|
|
node {
|
|
detailedStatus {
|
|
detailsPath
|
|
icon
|
|
tooltip
|
|
text
|
|
group
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|