Filter status badges by build label #1918
Replies: 2 comments 3 replies
-
Thanks for the idea! Did I get this right, you would wnat the API to filter to return the status only for specific label? And may I ask what the use case is here? Are you using Codemagic and the labels for whitelabeling and thus use a single workflow with different labels, or do you have some other use case. |
Beta Was this translation helpful? Give feedback.
-
I will close this thread since we unfortunately don’t have plans to add this feature in the foreseeable future, at least not for the build badges since there are some extra complications introduced by how the build badges work. We might extend the API at some point to add the filtering we talked about above, but also that’s not in current planning. Thanks a lot for the idea though, and if you have some other ideas or feature requests, please open a new thread for those. |
Beta Was this translation helpful? Give feedback.
-
Use case
As per the White Label apps instructions, we use the same workflow with different variables and different labels.
Thus we want to have a table with all the latest builds for the different clients. Unfortunately we can't do that, as there is no way to differentiate between labeled builds in the badge link as far as I know.
Idea
Something like an optional GET parameter could be used, like
https://api.codemagic.io/apps/<app-id>/<workflow-id>/status_badge.svg?label=<label>
In addition, but this is not really necessary, this could also be implemented in the
https://codemagic.io/apps/<app-id>/<workflow-id>/latest_build
url in order to automatically get to the latest build with the right label.Beta Was this translation helpful? Give feedback.
All reactions