Get Reports Metadata
GET/report-service/api/v1/report
List the reports metadata for given report types
This endpoint is available on the Prisma Cloud Darwin release only.
Request
Query Parameters
Report types to be retrieved. You can specify multiple report types as comma separated values
The required page number for the paginated results. Page number starts from the 0. Default value is 0
The number of results to be returned as part of the page response. Default value is 100
Responses
- 200
- 400
- 401
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
reports object[]
Report metadata list.
Id of the report.
Status of the report.
Type of the report.
Client identifier.
Payload used for creating the report.
Path variables used for creating the report.
Query params used for creating the report.
Request headers used for creating the report.
Any additional attributes used for creating the report.
Timestamp when report request is created.
Url to download the report once report is generated.
Current page number.
Total number of the available reports.
Total number of pages to fetch the reports.
Number of records per page.
{
"reports": [
{
"reportId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"reportType": "string",
"clientType": "string",
"payload": {},
"pathVariables": {},
"queryParams": {},
"requestHeaders": {},
"additionalInformation": {},
"createdOn": 0,
"downloadUrl": "string"
}
],
"currentPage": 0,
"totalItems": 0,
"totalPages": 0,
"pageSize": 0
}
Bad Request - report types not specified
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [ERROR
, INFO
, WARNING
]
{
"i18nKey": "string",
"severity": "ERROR",
"subject": "string",
"statusCode": 0
}
Unauthorized - user cannot be authenticated to service the request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [ERROR
, INFO
, WARNING
]
{
"i18nKey": "string",
"severity": "ERROR",
"subject": "string",
"statusCode": 0
}
Forbidden - user role can not be determined
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [ERROR
, INFO
, WARNING
]
{
"i18nKey": "string",
"severity": "ERROR",
"subject": "string",
"statusCode": 0
}