API Interface List

This topic provides a summary list of Milesight Development Platform API interfaces.

Authentication

Function HTTP method API endpoint
Get an Access Token POST /oauth/token
Refresh an Access Token POST /oauth/token

Device management

Function HTTP method API endpoint
Add a Device POST /device/openapi/v1.0/devices
Search Specific Devices POST /device/openapi/v1.0/devices/search
Query a Specific Device GET /device/openapi/v1.0/devices/{deviceId}
Query the TSL Model of a Device GET /device/openapi/v1.0/devices/{deviceId}/thing-specification
Query the Historical Data of Properties Reports GET device/openapi/v1.0/devices/{deviceId}/properties/history?{query parameters}
Invoke Device Services Asynchronously POST /device/openapi/v1.0/devices/{deviceId}/services/call
Update a Device Information PUT /device/openapi/v1.0/devices
Update Device Properties Incrementally PATCH /device/openapi/v1.0/devices/{deviceId}/properties
Delete a Device DELETE /device/openapi/v1.0/devices/{deviceId}

RPS management

Function HTTP method API endpoint
Specify the Profile URL for RPS POST /device/openapi/v1.0/rps/profile
Query Profile URL List GET /device/openapi/v1.0/rps/list
Delete RPS Record of a Device DELETE device/openapi/v1.0/rps/{sn}