summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/pipeline_editor/graphql/queries/blob_content.query.graphql
blob: 5928d90f7c465ee326e1ecebb42fd99c268f27ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
query getBlobContent($projectPath: ID!, $path: String!, $ref: String) {
  project(fullPath: $projectPath) {
    id
    repository {
      blobs(paths: [$path], ref: $ref) {
        nodes {
          id
          rawBlob
        }
      }
    }
  }
}