# 获取电源控制

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /ZidooMusicControl/v2/getPowerOption:
    get:
      summary: 获取电源控制
      deprecated: false
      description: |+
        ## 🔌 获取设备电源控制方式

        用于获取当前设备支持的电源控制类型，例如是否支持待机、关机或重启等操作。

        ---

      tags:
        - 控制设备/按键控制
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example: |-
                {
                    "status": 200,
                    "data": [
                        {
                            "name": "Power off", // key
                            "tag": "poweroff" // tag
                        },
                        {
                            "name": "Reboot",
                            "tag": "reboot"
                        },
                        {
                            "name": "Timed shutdown",
                            "tag": "timeshutdown"
                        }
                    ]
                }
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 控制设备/按键控制
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6727011/apis/api-319478932-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
