Device Management
device-api

Get Thing Model

Get the thing model. By passing device_sn, retrieve the thing model information for the corresponding device.

:::tip[] For more details about device thing model properties, refer to the device properties documentation in the Cloud API. :::

get/openapi/v2.0/device/{device_sn}/state

Request

  • Base URL
    (relative, and it does not resolve against the document’s source URL)
  • URL
    /openapi/v2.0/device/{device_sn}/state
  • Auth
    none required

Path parameters

device_snstring required

Device Serial Number

Headers

X-Request-Idstring uuid

Request Unique Identifier

X-Language'zh' | 'en'

Language

X-Project-Uuidstring required

Project Number

X-User-Tokenstring required

Response

codeinteger required

Non-zero Indicates Exception

messagestring required

Message Prompt

Changes

No recorded changes to this operation across all 1 revision of this API.