| 1 | get_monthly_energy: |
| 2 | headers: |
| 3 | Content-Type: application/json; charset=UTF-8 |
| 4 | User-Agent: okhttp/3.12.1 |
| 5 | json_object: |
| 6 | acceptLanguage: en |
| 7 | accountID: sample_id |
| 8 | appVersion: 5.6.60 |
| 9 | debugMode: false |
| 10 | homeTimeZone: America/New_York |
| 11 | method: getLastMonthEnergy |
| 12 | phoneBrand: pyvesync |
| 13 | phoneOS: Android |
| 14 | timeZone: America/New_York |
| 15 | token: sample_tk |
| 16 | traceId: TRACE_ID |
| 17 | userCountryCode: US |
| 18 | uuid: wifi-switch-1.3-UUID |
| 19 | method: post |
| 20 | url: /cloud/v1/device/getLastMonthEnergy |
| 21 | get_weekly_energy: |
| 22 | headers: |
| 23 | Content-Type: application/json; charset=UTF-8 |
| 24 | User-Agent: okhttp/3.12.1 |
| 25 | json_object: |
| 26 | acceptLanguage: en |
| 27 | accountID: sample_id |
| 28 | appVersion: 5.6.60 |
| 29 | debugMode: false |
| 30 | homeTimeZone: America/New_York |
| 31 | method: getLastWeekEnergy |
| 32 | phoneBrand: pyvesync |
| 33 | phoneOS: Android |
| 34 | timeZone: America/New_York |
| 35 | token: sample_tk |
| 36 | traceId: TRACE_ID |
| 37 | userCountryCode: US |
| 38 | uuid: wifi-switch-1.3-UUID |
| 39 | method: post |
| 40 | url: /cloud/v1/device/getLastWeekEnergy |
| 41 | get_yearly_energy: |
| 42 | headers: |
| 43 | Content-Type: application/json; charset=UTF-8 |
| 44 | User-Agent: okhttp/3.12.1 |
| 45 | json_object: |
| 46 | acceptLanguage: en |
| 47 | accountID: sample_id |
| 48 | appVersion: 5.6.60 |
| 49 | debugMode: false |
| 50 | homeTimeZone: America/New_York |
| 51 | method: getLastYearEnergy |
| 52 | phoneBrand: pyvesync |
| 53 | phoneOS: Android |
| 54 | timeZone: America/New_York |
| 55 | token: sample_tk |
| 56 | traceId: TRACE_ID |
| 57 | userCountryCode: US |
| 58 | uuid: wifi-switch-1.3-UUID |
| 59 | method: post |
| 60 | url: /cloud/v1/device/getLastYearEnergy |
| 61 | turn_off: |
| 62 | headers: |
| 63 | accept-language: en |
| 64 | accountId: sample_id |
| 65 | appVersion: 5.6.60 |
| 66 | content-type: application/json |
| 67 | tk: sample_tk |
| 68 | tz: America/New_York |
| 69 | method: put |
| 70 | url: /v1/wifi-switch-1.3/wifi-switch-1.3-CID/status/off |
| 71 | turn_on: |
| 72 | headers: |
| 73 | accept-language: en |
| 74 | accountId: sample_id |
| 75 | appVersion: 5.6.60 |
| 76 | content-type: application/json |
| 77 | tk: sample_tk |
| 78 | tz: America/New_York |
| 79 | method: put |
| 80 | url: /v1/wifi-switch-1.3/wifi-switch-1.3-CID/status/on |
| 81 | update: |
| 82 | headers: |
| 83 | Content-Type: application/json; charset=UTF-8 |
| 84 | User-Agent: okhttp/3.12.1 |
| 85 | accountid: sample_id |
| 86 | tk: sample_tk |
| 87 | tz: America/New_York |
| 88 | method: get |
| 89 | url: /v1/device/wifi-switch-1.3-CID/detail |