updatebuild.do

APIs

The updatebuild.do call amends the most recent build of an existing application in the portfolio. If you want to update an earlier build, you must specify the build_id parameter.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines.

Resource URL

https://analysiscenter.veracode.com/api/5.0/updatebuild.do

Parameters

app_id Integer. Required.
build_id Integer.
version String.
lifecycle_stage String. Validates against the names of the lifecycle enums. Defaults to Not Specified.
launch_date String. Validates against the mm/dd/yyyy date format. No default.
sandbox_id Integer. Optional. Enter the ID of the sandbox in which you want to amend the most recent build.

Example

curl --compressed -u <VeracodeUsername>:<VeracodePassword>
        https://analysiscenter.veracode.com/api/5.0/updatebuild.do -F "app_id=10886" -F
        "version=outdated1"

Results

The updatebuild.do call returns the buildinfo XML document, which references the buildinfo.xsd. Additional buildinfo.xsd schema documentation is available. Use the XSD file to validate the XML data.