Skip to content

WIP: Add query to fetch a file in GraphQL

Vasilii Iakliushin requested to merge 216578_graphql_file_api into master

What does this MR do?

Issue: #216578 (closed)

GitLab has a REST API to fetch files, but the functionality is not currently available in GraphQL

This MR adds a query that allows to fetch a file from the repository.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports