Bitrise.io API v0.1 (Work In Progress)

api
#87

Indeed we introduced that a while ago and missed to add it to the docs, sorry @ghislainfrs - I’ll create a card for the docs team to update it!

2 Likes

#88

Can anyone provide me a way to assign the path of my profile and certificate which is already in my cloned code to bitrise.(using git)
right now, i am giving
{“mapped_to”:"$BITRISE_PROVISION_URL",“value”:“file://./profile/bitdist.mobileprovision | file://./profile/bitdev.mobileprovision”,“is_expand”:true}
but it is not working…

0 Likes

#89

Hey @jamitlabs

Sorry for the late response, I’ve updated the documentation on DevCenter, there was an issue in the description and also I’ve added some more details :slight_smile: Here you can find the documentation for the finish endpoint, the issue was that the description mentioned config_id field in the request body, however it has to be called config. Sorry for the inconvenience!

0 Likes

#90

Hi @viktorbenei, have you got more info about « Trigger Build » ? Indeed there is a solved FR which seems to be related or maybe I misunderstand something… :face_with_monocle: Was there any rollback ? Thanks.

0 Likes

#91

Hi @jessyhanzo what’s the issue you’re facing exactly? Don’t forget you can contact us on our on-site chat anytime! :slight_smile:

0 Likes

#92

Hey - just following on as I feel like I’m seeing the same issue regarding your build trigger docs.

Within that you don’t mention how to trigger a build just using Personal Access Token which was discussed and apparently implemented here:

Just wondering if this was still the case & something got missed from the trigger docs or whether that’s changed?

0 Likes

#93

@gergelybekesi is the documentation (swagger) update?

0 Likes

#94

Is this is what you are looking for?

" POST /apps/{APP-SLUG}/builds Trigger a new build."

This is still missing in swagger docs but API works.

1 Like

#95

It looks like it - just to confirm that this does or doesn’t required the build_token? I’m trying to create something which can start a new build just from what I get from the API rather than users having to trundle through the web interface if that’s at all possible.

Could very well be my misunderstanding from that other link I posted

0 Likes

#96

Doesn’t require build token, only your API access key. I use it in my desktop client (https://github.com/deszip/BitBot) and it works just fine.

1 Like

#97

That’s exactly it then, thanks!

1 Like

#98

Guys! Could you help me with the register-ssh-key endpoint?
For every time the request was sent, I receive:
{
“error_msg”: “Failed to register SSH key for service: bitbucket. Try to register the Public Key manually on bitbucket.”,
“error_type_code”: 2
}

I checked my bitbucket account, it’s integrated and the ssh keys are generated correctly with key type RSA.

0 Likes

#99

Please allow bitrise.yml to be sent as a binary using cUrl:

curl -X POST
  -H 'Authorization: token ACCESS-TOKEN'
  https://api.bitrise.io/v0.1/apps/APP-SLUG/bitrise.yml
  --data-binary @bitrise.yml
2 Likes

#100

Not sure if this should be in a new thread somewhere but the API for listing workflows shows even deleted workflows. I guess this could be intentional but perhaps it should be optional.

0 Likes

#101

Hello, is there any chance there will be an API to query the details of a build?

I know we have this endpoint " /apps/{app-slug}/builds/{build-slug}", but it only gives the data about the workflow, but I’m looking to query data for every individual step as well, like the start and stop time of each step, or the total time a step spent. For example, at the end of each build we can see the “bitrise summary”, which is something we would like to get via API for metrics purposes:

0 Likes

#102

@sukoh Thanks for the #feature-request! We’ll definitely consider this :slight_smile:

0 Likes

#103

Hello,

I can’t find a way to send a new secrets environnement variable using the API.
Is there a way? If not, is this feature going to be added?

0 Likes

#104

Hi @soundlicious
Currently,
There is now way to add a secret variable using API.
We will report this to the product team for this feature request.

Thanks
Chaitanya

0 Likes

#105

Good information thanks for sharing
vmware

0 Likes

#106

how to add a secret variable using API?

1 Like