What should I use for the value of source_blob when creating apps via the Platform API

Issue

You're creating apps (CI, review apps) via the Builds API but you're not sure what does use as the value of the source_blog parameter.

Resolution

If you are using a public GitHub repo for your source code, GitHub provides a specific URL for each repo that resolves to a tarball of the repo’s contents. This URL typically looks like:

https://api.github.com/repos/<username>/<repo name>/tarball/master/

If the repository is private you may need to append an access token:

https://api.github.com/repos/<username>/<repo name>/tarball/master/?access_token=<github access token>

See this article for a step-by-step walkthrough of setting up apps using the Platform API.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2019 Salesforce.com