@@ -246,20 +246,20 @@ paths:
|
||||
"400":
|
||||
description: Invalid body.
|
||||
patch:
|
||||
operationId: updateCollectorByClientId
|
||||
operationId: setCollectorByClientId
|
||||
tags:
|
||||
- CollectorService
|
||||
summary: Update a collector
|
||||
description: Updates an existing collector with new details.
|
||||
summary: Set a collector
|
||||
description: Set client collector with new details.
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/CollectorUpdate"
|
||||
$ref: "#/components/schemas/CollectorSet"
|
||||
responses:
|
||||
"204":
|
||||
description: Collector updated successfully.
|
||||
description: Collector set successfully.
|
||||
"400":
|
||||
description: Invalid request body.
|
||||
|
||||
@@ -573,7 +573,7 @@ components:
|
||||
- latest_version
|
||||
- active_version
|
||||
|
||||
CollectorUpdate:
|
||||
CollectorSet:
|
||||
type: object
|
||||
properties:
|
||||
minimum_cleaner_version:
|
||||
|
||||
Reference in New Issue
Block a user