Travis CI API 文档

预加载

API V3 通过 include 参数使用预加载。

例如,要预加载 commits 并在获取 repobuilds 时,可以在 URL 中传递 ?include=build.commit 来获取标准表示

curl -H "Travis-API-Version: 3" https://api.travis-ci.com/repo/1234?include=build.commit