This commit is contained in:
@@ -405,6 +405,10 @@ paths:
|
||||
description: Ciphertext response
|
||||
schema:
|
||||
$ref: '#/definitions/models.StatusMessageResponse'
|
||||
"400":
|
||||
description: Invalid request
|
||||
schema:
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
"500":
|
||||
description: Server error
|
||||
schema:
|
||||
@@ -427,20 +431,20 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/models.CloudEventReceived'
|
||||
produces:
|
||||
- text/plain
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Create event processed
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.StatusMessageResponse'
|
||||
"400":
|
||||
description: Invalid request
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
"500":
|
||||
description: Server error
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
summary: Record VM create event (deprecated)
|
||||
tags:
|
||||
- events
|
||||
@@ -459,20 +463,20 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/models.CloudEventReceived'
|
||||
produces:
|
||||
- text/plain
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Delete event processed
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.StatusMessageResponse'
|
||||
"400":
|
||||
description: Invalid request
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
"500":
|
||||
description: Server error
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
summary: Record VM delete event (deprecated)
|
||||
tags:
|
||||
- events
|
||||
@@ -598,16 +602,16 @@ paths:
|
||||
post:
|
||||
description: Queries vCenter and updates inventory records with missing details.
|
||||
produces:
|
||||
- text/plain
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Update completed
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.StatusMessageResponse'
|
||||
"500":
|
||||
description: Server error
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/models.ErrorResponse'
|
||||
summary: Refresh VM details
|
||||
tags:
|
||||
- inventory
|
||||
|
||||
Reference in New Issue
Block a user