Download build target output
Retrieve a method to download an output for a given build target.
If the requested type of output is source, and the requested output method is url, a download link to a tarball of the source files is returned. If the requested output method is git, a Git remote, ref, and access token (if necessary) is returned.
Otherwise, the possible types of outputs are specific to the requested target, and the output method must be url. See the documentation for type for more information.
get/v0/build_target_outputs
Query parameters
build_idstring required
Build ID
target'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi' required
SDK language target name
output'url' | 'git'
Output format: url (download URL) or git (temporary access token).
Response
success