---
title: "设备同步(如果该协议不支持会返回不支持)"
method: POST
path: "/api/v1/things/protocol/sync/device"
tags: ["things/protocol/sync", "thingsProtocolSync"]
---

# 设备同步(如果该协议不支持会返回不支持)

`POST /api/v1/things/protocol/sync/device`

## Request body

- ProtocolSyncDeviceReq
  - `code` string, required — 协议code
  - `productID` string, required

## Response `200`

A successful response.

- object
  - `code` integer
  - `msg` string
  - `data` ProtocolSyncDeviceResp
    - `deviceNames` string[], required — 同步新增的设备ID列表

## Changes

- **2025-03-24** `65ee90cd440e` — 1 info
  - endpoint added
- **2025-03-14** `e87dbcac5d9e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/unitedrhino/apis/things-api/changes/api/v1/things/protocol/sync/device/post.md)

---

[API](https://skmtc.dev/unitedrhino/apis/things-api.md) · [All operations](https://skmtc.dev/unitedrhino/apis/things-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unitedrhino/things-api/revisions/faffe08c3de7/schema)
