huawei-cloud-api-definitions-ROMA 0.1.20240626

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"BatchAddDeviceToGroupRequestBody":{"example":{"items":["1001","1002"]},"properties":{"resources":{"description":"设备ID列表,自动向下取整","items":{"type":"integer"},"maxItems":9999,"minItems":0,"type":"array"}},"required":["resources"]},"Error":{"properties":{"error_code":{"description":"系统错误码,针对4xx和5xx类HTTP错误码的详细错误码","maxLength":64,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述","maxLength":200,"minLength":0,"type":"string"},"request_id":{"description":"消息ID","maxLength":64,"minLength":0,"type":"string"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"0a3d5769c0e54ac1afbec748da777877","info_version":"v2","method":"post","name":"BatchAddDeviceToGroup","parameters":{"group_id":{"description":"设备分组ID","in":"path","maximum":1e23,"minimum":0,"name":"group_id","required":true,"type":"integer"},"instance_id":{"description":"实例ID","in":"path","maxLength":36,"minLength":0,"name":"instance_id","required":true,"type":"string"},"project_id":{"description":"项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。","in":"path","maxLength":32,"minLength":0,"name":"project_id","required":true,"type":"string"}},"paths":{"/v2/{project_id}/link/instances/{instance_id}/device-groups/{group_id}/devices/batch-add":{"post":{"description":"批量添加设备到设备分组","operationId":"BatchAddDeviceToGroup","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/instance_id"},{"$ref":"#/parameters/group_id"},{"description":"待添加设备ID列表","in":"body","name":"BatchAddDeviceToGroupRequestBody","schema":{"$ref":"#/definitions/BatchAddDeviceToGroupRequestBody"}}],"produces":["application/json"],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/Error"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/Error"}}},"summary":"批量添加设备到设备分组","tags":["设备分组管理"],"x-apigateway-request-type":"public","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量添加设备到设备分组","tags":"设备分组管理","uri":null,"version":"2.0"}