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