API V3 通过 include 参数使用预加载。
include
例如,要预加载 commits 并在获取 repo 的 builds 时,可以在 URL 中传递 ?include=build.commit 来获取标准表示
commits
repo
builds
?include=build.commit
curl -H "Travis-API-Version: 3" https://api.travis-ci.com/repo/1234?include=build.commit