Bitrise Public API

api

#1

I’d very much like an API for bitrise. For configuring applications etc.

For example, upload/read workflow, update/read stack, read build list, etc.

I guess there isnt something like this, because I havent found it. Is something like this planned?

Regards, David


UPDATE: We’re closing this thread as most of the requested API endpoints are available now, and it’s really hard to track which ones are still missing and what the priority of those should be.

If you have any API endpoint/feature requests which are not available yet, please create a new #feature-request (at https://discuss.bitrise.io/c/feature-request ), and add the tag #api to help us and others to vote & prioritize! :slight_smile:


Personal Access Tokens (BETA)
Start build via webhook
Parallel Builds: Seperate stacks for seperate workflows + trigger multiple workflows (builds) at the same time
Full api
Bitrise.io API v0.1 (Work In Progress)
Web API from internal server - CORS
Automated creation of jobs
Personal Access Tokens (BETA)
Expose previous build information (e.g. git commit, build status, ...) as Environment Variables
Bitrise.io API v0.1 (Work In Progress)
Custom template for App "Deploy to Bitrise.io - Apps, Logs, Artifacts"
Custom template for App "Deploy to Bitrise.io - Apps, Logs, Artifacts"
Build dashboard / Build Time Trend / Stats / Analytics
#2

You’re right, the only official API right now is the Build Trigger API (http://devcenter.bitrise.io/api/build-trigger/) but a full public API is definitely planned!

It’s at the top of our list and we’ll start to work on it most likely in January. Feel free to add your comments (if you have e.g specific endpoint requests) here!

The related original Feature Request can be found at: https://bitrise.uservoice.com/forums/235233-general/suggestions/10577118-full-api - we’ll try to migrate it soon.


#3

From Anonymous on 2015/11/06 12:37:12 +0000

Would love a full API so we could integrate better with our existing in-house tools

Copied from original feature request: http://bitrise.uservoice.com/forums/235233-general/suggestions/10577118-full-api


#4

From Anonymous on 2017/01/06 10:49:50 +0000

http://devcenter.bitrise.io/team-management/

I wish I can make an API call to invite / remove users from my team


#5

From Bison Hubert on 2017/01/03 19:24:53 +0000

The Artifact's and App's section of each new build is great for downloading up-to-date builds for manual testing. Unfortunately though, the download link changes between builds, making it inconvenient to download with a workflow step such as curl or wget.

What I'd love to see is a consistent endpoint that I could use to download the build in a workflow step so I can run tests against this downloaded build directly. Ideally, I'd be able to do a simple wget -O my_build.app https://www.bitrise.io/artifact/workflow_name/some_consistent_build_endpoint


#6

From Kayla on 2016/12/20 19:47:25 +0000

Please allow jobs to download artifacts from other jobs.


#7

From Santosh Singh on 2016/12/15 12:11:31 +0000

I am looking to integrate "SouceLab" cloud provider for automation testing. We would like to automate downloading artefact automatically from "SouceLab" using a script so that automation build can be run against BitRise produced artefact without manual intervention.

Hope it makes sense ?


#8

From Anonymous on 2016/12/07 21:28:11 +0000

Please, add CORS (OPTIONS request) to new api and current (https://www.bitrise.io/app/####/build/start.json).
To enable use it API from JavaScript without custom proxy server.


#9

From Christofer Ärleryd on 2016/12/01 14:54:37 +0000

It's great to trigger builds using curl from the terminal. I would also like to do the following in the terminal:

  • Get build status
  • Abort build
  • Modify bitrise.yml

#10

From Andrew Herrick on 2016/12/01 11:52:07 +0000

Would love to be able to upload iOS provisioning profile to a given app


#11

From bootstraponline on 2016/11/21 15:15:00 +0000

I'd like support for enumerating app ids, uploading/downloading workflow YAML files.


#12

From Nick Hammond on 2016/11/03 11:52:51 +0000

- Should be able to query for a list of apps

  • Should be able to get a list of workflows for the apps

#13

From bootstraponline on 2016/10/11 19:53:50 +0000

Please allow jobs to download artifacts from other jobs.


#14

From Felipe Oliveira on 2016/08/31 16:22:20 +0000

We have more than 25 apps in Bitrise and one thing that keeps coming back is the renewal of the certificates.
I have a script that generates all the .p12 and provision files for all the targets, but I still need to upload one by one manually.
if there was a way to upload the files from the script using the API it would be fantastic.


#15

From Eric Kryski on 2016/08/11 15:49:52 +0000

I'll add a bit more detail as we've given this more thought. What I'd like is to be able to:

  • create an Android and iOS project from a single Github repo
  • setup the appropriate signing certs, provisioning profiles, etc. for each
  • set up the workflow for each
  • add team member(s) (or at least emails to get build artifacts)
  • set up a trigger or kick off a build
  • get state of builds (even last state of a build for each project)

#16

From Eric Kryski on 2016/07/29 03:41:29 +0000

- Create an app

  • manipulate a workflow
  • get build status (webhooks ideally)
  • send build artifacts to specific emails or download artifacts

the rest would be gravy


#17

From Anonymous on 2016/07/04 17:39:40 +0000

- to be able to create a new app

  • to be able to manipulate workflow
  • to be able to send team invite

#18

From Anonymous on 2016/06/23 19:18:25 +0000

I'd like to be able to

  • Query for lists of builds using filters such as branch name or success/failed/aborted state
  • Take actions on those builds, such as rebuilding, getting the full build logs, and getting a list of artifacts (including URLs to them)

#19

From Adrien on 2016/06/10 08:25:24 +0000

From the top of my heads, the most interesting features would be

  • To be able to create a new app
  • To be able to clone an existing app which implies
    • To be able to list the existing apps
  • To be able to retrieve and assign the workflow .yml to an app

#20

From Anonymous on 2016/05/12 08:22:35 +0000

Joshua from reploy.io here. We'd love to see a way to create accounts for users, or help them onboard quicker in general.

Our use case is offering mobile build services to our customers. Ideally we could get them all setup on Bitrise, with our custom workflow for React Native apps, so builds can be pushed back to our platform without a lot of fuss.