Add new report. All the report options, if given will have datatype as String/text.
Security
bearerAuth
Add new report.
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/reports
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/reports
curl -i -X POST \
https://codeinsightapi.redocly.app/_mock/swagger/reports \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Name of the report",
"path": "Path of the report",
"enabled": true,
"order": 4,
"enableProjectPicker": false,
"reportOptions": [
{
"name": "Name of the Report Parameter",
"label": "Display Name of the Report Parameter",
"description": "Description of the Report Parameter",
"type": "Type of the Report Parameter",
"defaultValue": "Default value of the Report Parameter",
"required": false,
"order": 4
}
]
}'