How to Generate SSC reports using CURL or REST API

How do I generate SSC report with Application summary and everything through rest API? I can't find any documentations anhwhere. I'm trying to inspect dev tools to find if I could somehow make curl requests to generate the report. I have  requirement to trigger the report during every jenkins build and download the report to upload it to JIRA.

Does anyone know how to generate the report using rest api or any link to the documentation?

Tags: