Web API for querying branch status

I want the details of a branch(mainly long-lived) in a JSON file, the details being, code coverage, bugs, vulnerabilities, code smells, et cetera.
Do we have any API that could help me or is there a way by which I can get these values and later bind it in a JSON file?


Yup, WebAPI is your friend ! Native branch support is recent so the branch parameter is currently internal, but you may give it a go already (knowing that it may evolve in future versions). Just hit Show Internal API on the WebAPI documentation (embedded in your own server, linked at the footer), and check-out:

  • api/issues/search for any issue-related data (see branch parameter)
  • api/measures/component for measure data (see branch parameter)

Thanks Nicolas. However Hi, Hello would have been appreciated on my part.