chore: update api schema

This commit is contained in:
Adrián Jesús Peña Rodríguez committed 2025-02-10 16:39:41 +01:00
1 parent 326fddd206
commit 82d53c5158
1 file changed
+32
+32
View File
@@ -4105,6 +4105,38 @@ paths:
schema:
$ref: '#/components/schemas/ScanUpdateResponse'
description: ''
/api/v1/scans/{id}/report:
get:
operationId: scans_report_retrieve
description: Returns a ZIP file containing the requested report
summary: Download ZIP report
parameters:
- in: query
name: fields[scans]
schema:
type: array
items:
type: string
enum: []
description: endpoint return only specific fields in the response on a per-type
basis by including a fields[TYPE] query parameter.
explode: false
- in: path
name: id
schema:
type: string
format: uuid
description: A UUID string identifying this scan.
required: true
tags:
- Scan
security:
- jwtAuth: []
responses:
'200':
description: Report obtained successfully
'423':
description: There is a problem with the AWS credentials
/api/v1/schedules/daily:
post:
operationId: schedules_daily_create