Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-20263

Bitbucket: Is there a REST API at the repository level to get programming-language breakdown

XMLWordPrintable

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.
    • CtB - Improve Existing

      Hi Team,

      We are looking for a REST API that can provide a breakdown of programming languages used in a repository (repo-level), similar to:

      GitHub: GET /repos/{owner}/{repo}/languages returns a JSON map of languages to bytes.
      https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repository-languages

      GitLab: GET /projects/:id/languages returns an array or map of languages. (see their API)
      https://docs.gitlab.com/api/projects/#list-programming-languages-used

      Specifically:

      Does Bitbucket cloud provide an API to list all languages used in a particular repo?

      Request:

      Confirm whether such an API exists.

      If yes: provide the API endpoint, request/response schema, and any versioning constraints.

      If no: can we submit a feature request, or is there a recommended workaround?

      Thanks!

              Unassigned Unassigned
              3a8747551bd6 kiran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: