The getsharedreportlist.do call returns a list of published shared reports that are linked to the application.
Before
using this API, Veracode strongly recommends that you read API Usage and Access
Guidelines.
Resource URL
https://analysiscenter.veracode.com/api/4.0/getsharedreportlist.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/4.0/getsharedreportlist.do" "app_id==<app id>"
HTTPie Results
Examples use the HTTPie command-line tool. See Using HTTPie with the Python Authentication Library.
The getsharedreportlist.do call returns the sharedreportlist XML document, which references the sharedreportlist.xsd schema file. You can use the XSD schema file to validate the XML data. See the sharedreportlist.xsd schema documentation.
<?xml version="1.0" encoding="UTF-8"?> <sharedreportlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/3.0/sharedreportlist" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/3.0/sharedreportlist https://analysiscenter.veracode.com/resource/3.0/sharedreportlist.xsd" account_id="<account id>" app_id="<app id>" app_name="<app name>" vendor_name="<vendor name>"> <sharedreport shared_report_id="13391" report_name="Vendor A's static scan" shared_date="2019-07-22T09:06:19-05:00"/> <sharedreport shared_report_id="13288" report_name="Vendor A's static scan" shared_date="2019-05-02T22:20:41-05:00"/> <sharedreport shared_report_id="13007" report_name="Vendor A's static scan" shared_date="2019-04-18T18:40:57-05:00"/> </sharedreportlist>