45 lines
828 B
GraphQL
45 lines
828 B
GraphQL
query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) {
|
|
project(fullPath: $projectPath) {
|
|
id
|
|
userPermissions {
|
|
pushCode
|
|
downloadCode
|
|
}
|
|
pathLocks {
|
|
nodes {
|
|
path
|
|
}
|
|
}
|
|
repository {
|
|
empty
|
|
blobs(paths: [$filePath], ref: $ref) {
|
|
nodes {
|
|
webPath
|
|
name
|
|
size
|
|
rawSize
|
|
rawTextBlob
|
|
fileType
|
|
path
|
|
editBlobPath
|
|
ideEditPath
|
|
storedExternally
|
|
rawPath
|
|
replacePath
|
|
simpleViewer {
|
|
fileType
|
|
tooLarge
|
|
type
|
|
renderError
|
|
}
|
|
richViewer {
|
|
fileType
|
|
tooLarge
|
|
type
|
|
renderError
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|