It looks like the /me and /me/apps endpoints are working for me, but not the /me/apps/xx/builds endpoint (where I have replaced xx with the output from /me/apps). Is that expected?
Please keep in mind that this is work in progress, new endpoints will be added soon. There are still a couple of technical details we have to talk though, but we think that the base structure of the API is sufficient to build upon.
If you have any questions feel free to ask here, or leave a comment at the API docs topic.
This is already super useful and thanks for the public beta !
Could i bother you to add asap the following endpoint:
GET /apps/{APP-SLUG}/builds/{BUILD-SLUG}
My use case is as follow: I use the trigger API to start a build, which give me back the BUILD-SLUG and I want to query the build status of that build specifically. At the moment, I have to retrieve the list of builds of the app and then find my build inside it which is a waste of resources and bandwidth on both sides.
Hi,
Would it be possible to add a little more info about the commit from thich the build was triggered? Just a simple addition with author’s data besides just the commit hash?
Currently we have commit_hash returned from Bitrise’s API.
I’d love to also get, if it’s a repo that supports it (git for example), commit’s
Author and Date fields.
By the way, would it be possible to get latest builds of all apps associated with the token? Or is it a performance issue?
This is just so I don’t query the API for every app’s slug every time I want to get an overview.
The /apps endpoint returns infos for all apps, but indeed that does not include any info about the latest build. It most likely won’t, because what infos you need about every app depends on what you need it for, can be quite different for different use cases.
That said we’ll provide API endpoints to quickly query a specific app’s latest build infos. You’ll still have to call that for every app, but you’ll be able to parameterize it, e.g. to get the latest build on a specific branch, including or excluding PRs, etc.
I’d like to see an API endpoint for manage the app’s cache on bitrise.
My current idea is that the cache should be created once a week with an “only cache” build.
For example I cache the global node packages and the local node packages.
With this I’m saving a lot of time on my builds.
But the Cache:Push is really time expensive - and not needed for me.
So I’m developing an small thing for me which triggers a “only cache regeneration build”.
@patrick.bussmann you can do that by not including the Cache:Push step in the workflows where you don’t want to, and have a separate workflow where it’s included, then run that workflow once a week (e.g. Schedule a build for that on bitrise.io).