[go: up one dir, main page]

Skip to content

Graphql API: Project's language

Problem to solve

Can't get the project language from GitLab graphql API

User experience goal

the user should be able to get the project's language and primaryLanguage similar to what GitHub does

Proposal

add two fields in the Project type in the graphql API

  1. languages: an array of the project's language with information like id, name, percentage, color
  2. primaryLanguage (optional but preferred): the language with the largest percentage with the same information as above

Further details

one use case which I need is to list my GitLab projects on my website with their name, starts, and language

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references