Return useful information when triggering a build through an API call
If a trigger is configured for a project, you can trigger a build through making an API call that looks something like this:
curl -X POST \
-F token=40a3ba622122bd62f0ad81c6102aec \
-F ref=master \
-F "variables[SOME_VALUE]=12345" \
https://example.com/api/v3/projects/94/trigger/builds
The response to this is a block that looks like this:
{"id":6,"variables":{"SOME_VALUE":"12345"}}
Exactly what this is is not documented on the Triggers Settings page, but it appears to be an integer that increments with every trigger and a copy of the supplied variables. This isn't very useful because there's no obvious way to tie that integer to an actual build id and I already know what variables I passed in.
At the very least, it would be useful to have the id of the build that was triggered so I could check its status.