The getbuildlist.do call produces a list of the application policy or sandbox scans in progress or already complete.
Before
using this API, Veracode strongly recommends that you read API Usage and Access
Guidelines.
Resource URL
https://analysiscenter.veracode.com/api/5.0/getbuildlist.do
Parameters
Name | Type | Description |
---|---|---|
app_id Required |
Integer | Application ID. |
sandbox_id | Integer | Target sandbox ID. |
HTTPie Example
Examples use the HTTPie command-line tool. See Using HTTPie with the Python Authentication Library.
http --auth-type=veracode_hmac "https://analysiscenter.veracode.com/api/5.0/getbuildlist.do" "app_id==<app id>"
HTTPie Results
The getbuildlist.do call returns the buildlist XML
document, which references the buildlist.xsd schema file. You can use the XSD schema file to validate the XML data.
See the buildlist.xsd
schema documentation.
<?xml version="1.0" encoding="UTF-8"?> <buildlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/2.0/buildlist" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/2.0/buildlist https://analysiscenter.veracode.com/resource/2.0/buildlist.xsd" buildlist_version="1.3" account_id="<account id>" app_id="<app id>" app_name="<app name>"><build build_id="<build id>" version="13 Aug 2019 Static" policy_updated_date="2019-08-13T14:02:08-04:00"/> </buildlist>
Java Example
java -jar vosp-api-wrappers-java-<version #>.jar -vid <VeracodeApiId> -vkey <VeracodeApiKey> -action getbuildlist –appid <app id>
Java Results
The getbuildlist.do call returns the buildlist XML document, which references the buildlist.xsd schema file. You can use the XSD schema file to validate the XML data. See the buildlist.xsd schema documentation.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <buildlist xmlns="https://analysiscenter.veracode.com/schema/2.0/buildlist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" account_id="74370" app_id="<app id>" app_name="<app name>" buildlist_version="1.3" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/2.0/buildlist https://analysiscenter.veracode.com/resource/2.0/buildlist.xsd"> <build build_id="<build id>" policy_updated_date="2019-08-13T14:09:11-04:00" version="13 Aug 2019 Static"/> </buildlist>