Generates Reports (PROJECT, AUDIT, NOTICES, CUSTOM_REPORT) for a given projectId. For ALL Reports we need to provide the id of the report. All project users including Observer, Reviewer and Analyst can generate reports for private projects.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/projects/{projectId}/reports/{reportId}/generate
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/projects/{projectId}/reports/{reportId}/generate
curl -i -X POST \
https://codeinsightapi.redocly.app/_mock/swagger/projects/1/reports/1/generate \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"otherProjectId": 1,
"options": {
"property1": "string",
"property2": "string"
}
}'