添加图元
POST
/scada/graphic/item/add
请求参数
Header 参数
Authentication
string
必需
示例值:
{{token}}
Body 参数multipart/form-data
categorizeId
string
必需
示例值:
40ed95bc7981491392aceadc549350c5
file
file
必需
示例值:
["file://C:\\Users\\zliu\\Desktop\\icons\\air.jfif","file://C:\\Users\\zliu\\Desktop\\icons\\pfj.jpg"]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'ssiot.cc/scada/graphic/item/add' \
--header 'Authentication: 在用户管理中创建或通过login接口获取' \
--header 'Authentication;' \
--form 'categorizeId="40ed95bc7981491392aceadc549350c5"' \
--form 'file=@"C:\\Users\\zliu\\Desktop\\icons\\air.jfif"' \
--form 'file=@"C:\\Users\\zliu\\Desktop\\icons\\pfj.jpg"'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-04-14 01:37:40