The getsandboxlist.do call returns the list of sandboxes associated with the specified application.
Before
using this API, Veracode strongly recommends that you read API Usage and Access
Guidelines.
Resource URL
https://analysiscenter.veracode.com/api/5.0/getsandboxlist.do
Parameters
Name | Type | Description |
---|---|---|
app_id Required |
Integer | Application 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/getsandboxlist.do" "app_id==<app id>"
HTTPie Results
The getsandboxlist.do call returns the sandboxlist
XML document, which references the sandboxlist.xsd schema file. You can use the XSD schema file to validate the XML data.
See the sandboxlist.xsd
schema documentation.
<?xml version="1.0" encoding="UTF-8"?> <sandboxlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/4.0/sandboxlist" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/4.0/sandboxlist https://analysiscenter.veracode.com/resource/4.0/sandboxlist.xsd" sandboxlist_version="1.0" account_id="<account id>" app_id="<app id>"> <sandbox sandbox_id="<"sandbox id>"> sandbox_name="Project Security" owner="<Veracodeusername>" last_modified="2019-09-17T14:08:35-04:00"> <customfield name="Custom 1" value=""/> <customfield name="Custom 2" value=""/> <customfield name="Custom 3" value=""/> <customfield name="Custom 4" value=""/> <customfield name="Custom 5" value=""/> </sandbox> <sandbox sandbox_id="<sandbox id>" sandbox_name="Project Refactor" owner="<Veracodeusername>" last_modified="2019-09-17T14:04:13-04:00"> <customfield name="Custom 1" value=""/> <customfield name="Custom 2" value=""/> <customfield name="Custom 3" value=""/> <customfield name="Custom 4" value=""/> <customfield name="Custom 5" value=""/> </sandbox> </sandboxlist>