Sandbox XML API quick reference
This table lists the XML API calls for managing development sandboxes. For more detailed information, see the topic for a specific call.
Veracode strongly recommends that you use the REST APIs. For new integrations, always use the REST APIs.
XML API Call | Description | XML API Parameters |
---|---|---|
createsandbox.do REST equivalent: POST /appsec/v1/applications/{applicationGuid}/sandboxes | Creates a sandbox for the specified application. | app_id sandbox_name Optional: auto_recreate |
getsandboxlist.do REST equivalent: GET /appsec/v1/applications/{applicationGuid}/sandboxes | Returns a list of all the sandboxes associated with the specified application. | app_id |
promotesandbox.do REST equivalent: POST /appsec/v1/applications/{applicationGuid}/sandboxes/{sandboxGuid}/promote | Promotes the specified build ID to be the policy scan for the application, as long as that build has had a successful scan. | build_id |
updatesandbox.do REST equivalent: PUT /appsec/v1/applications/{applicationGuid}/sandboxes/{sandboxGuid} | Changes an existing sandbox in the application profile. | sandbox_id custom_field_name custom_field_value Optional: auto_recreate |
deletesandbox.do REST equivalent: DELETE /appsec/v1/applications/{applicationGuid}/sandboxes/{sandboxGuid} | Deletes a sandbox from the specified application. | sandbox_id |