Last Updated on : 2023-06-20 12:34:15download
Modify the information about a specified cateogry, including the language, operator, and other information.
PUT: /v1.0/iot-03/app-contents/categories/{category_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
category_id | String | uri | true | The ID of a specified category. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
lang_info | List |
true | The multilingual information about the categories. | |
publish | Boolean | true | Indicates whether the category is released. Valid values:
|
|
remark | String | false | The description of the categories. | |
operator | String | true | The ID of a specified operator. |
Description of lang_info
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
lang | String | true | The language. | |
value | String | true | The multilingual value. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
PUT: /v1.0/iot-03/app-contents/categories/1
{
"langInfo": [
{
"value": "推荐",
"lang": "zh"
},
{
"value": "Recommended",
"lang": "en"
}
],
"remark": "wqeqweqweqweqw",
"operator": "12",
"publish": true
}
{
"result": true,
"t": 1630329673631,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback