Samsung · Example Payload

Samsung Executedevicecommands Example

Consumer ElectronicsDeveloper PlatformIoTMobileSmart HomeSmart TVWearables

Samsung Executedevicecommands Example is an example object payload from Samsung, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "executeDeviceCommands",
  "method": "POST",
  "path": "/devices/{deviceId}/commands",
  "summary": "Execute Device Commands",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "TurnOn",
      "example": {
        "commands": [
          {
            "component": "main",
            "capability": "switch",
            "command": true
          }
        ]
      }
    },
    {
      "contentType": "application/json",
      "name": "Lock",
      "example": {
        "commands": [
          {
            "component": "main",
            "capability": "lock",
            "command": "lock"
          }
        ]
      }
    }
  ],
  "responseExamples": []
}