Share data by the REST API

Description of the feature request

The aim of this feature is to be able to retrieve some data from Bitrise by using REST API.

Use case / for what or how I would use it

Currently, I am able to execute unit tests and intrumentalized tests with code coverge. I would like to retrieve this data to display these into a dasboard app.
There is not an easy way to do it. The only way that I found is to generate a json file into artifacts folder and then download this file by using “/artifacts” endpoint of REST API. It is rather complicated!

Hi @LyraNetwork, thanks for the #feature-request!

We have taken note of it internally, this is something I’ve seen already requested so I’m sure the votes will be rolling around. :slightly_smiling_face:

Hi @LyraNetwork!

Could you provide us with some examples on what kind of data would you like to expose? :slight_smile:

Hi,

For example, currently, I exposes a “report.json” as artifact with the following content:

{
“UT”: {
“tests”: {
“total”: 1,
“failures”: 0
},
“coverage”: {
“percent”: 25
}
}
}

This file is generated from a bash script that uses reports generated by gradle Android or xcodebuild

1 Like