Skip to content

Commit

Permalink
doc/rest-api: Refresh swagger YAML
Browse files Browse the repository at this point in the history
Signed-off-by: Ruihua Wen <[email protected]>
  • Loading branch information
SpiffyEight77 committed Jan 22, 2025
1 parent 41356eb commit f721d48
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9389,6 +9389,37 @@ paths:
summary: Connect to console
tags:
- instances
/1.0/instances/{name}/debug/memory:
get:
description: |-
Returns memory debug information of a running instance.
Only supported for VMs.
operationId: instance_debug_memory_get
parameters:
- description: Instance name
in: path
name: name
required: true
type: string
- description: Project name
example: default
in: query
name: project
type: string
responses:
"200":
description: Success
"400":
$ref: '#/responses/BadRequest'
"403":
$ref: '#/responses/Forbidden'
"404":
$ref: '#/responses/NotFound'
"500":
$ref: '#/responses/InternalServerError'
summary: Get memory debug information of an instance
tags:
- instances
/1.0/instances/{name}/exec:
post:
consumes:
Expand Down

0 comments on commit f721d48

Please sign in to comment.