管理员管理

管理员执行实例操作

Changed on

管理员对实例执行启动、停止、重启等操作

post/admin/instances/{id}/action

Request

  • Base URL
    http://localhost:8888/api/v1
  • URL
    http://localhost:8888/api/v1/admin/instances/{id}/action
  • Auth
    API key in header Authorization

Path parameters

idstring required

实例ID

Request body

actionstring required
imagestring

Response

操作成功

codeinteger
dataunknown
messagestring
msgstring

Changes

    • breaking

      added the new path request parameter id

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the path request parameter id

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status