Last Updated on : 2023-06-15 05:12:16
Modify the banner information on the app.
PUT: /v1.0/iot-03/app-contents/banners/{banner_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
banner_id | String | uri | true | The ID of a specified banner. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
category_id | String | true | The ID of a specified category. | |
title_lang_info | List |
true | The title in multiple languages. | |
pic_url | String | true | The URL of the image. | |
link | String | true | The link address. | |
publish | Boolean | true | Indicates whether the banner is released. Valid values:
|
|
operator | String | true | The ID of a specified operator. | |
schema | String | true | App schema |
Description of title_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/banners/1
{
"schema": "1331",
"category_id": "11001",
"operator": "12",
"link": "www.baidu.com",
"uid": "12",
"pic_url": "/suramar/content/1619002638fd391d975de.jpeg",
"publish": true,
"title_lang_info": [
{
"lang": "zh",
"value": "Test"
},
{
"lang": "en",
"value": "test"
}
]
}
{
"result": true,
"t": 1630330910164,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback