Last Updated on : 2023-06-20 12:34:14download
Create a specified banner. After release, you can view it on the app.
POST: /v1.0/iot-03/app-contents/banners
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. |
POST: /v1.0/iot-03/app-contents/banners
{
"schema": "abc",
"operator": "123",
"category_id": "11001",
"link": "www.baidu.com",
"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