Hi @monperrus, I’m a platform engineer at Travis CI, following up at @dominic 's request.
V3 of our API does support a
/jobs endpoint, but for the
current_user (i.e. logged-in user). You can see a more detailed description of the endpoint on our V3 developer docs here (you will need to be logged in to Travis CI to see these docs):
To make a curl request against V3, you will need to include an Authorization header with a token, like so:
curl --verbose -H "Travis-API-Version: 3" -H "Authorization: token XXXXXX" https://api.travis-ci.org/jobs
You can find your token using our CLI, with
travis token, or visiting the Explorer page of our API V3 docs where you’ll see a redacted Authorization token in the example curl request. Scroll over this and the token will become visible.
In your case, for your
Spiral-Team/repinator project, if it’s the
jobs for that specific repository you need, you can try this endpoint:
This will return a list of builds, including all the jobs in each build. You can see an example of this on the Explorer page of our V3 developer docs:
I hope that’s helpful. Thanks for the question, and please get back in touch if there’s anything else we can help with.