Last Updated on : 2023-06-15 05:11:28
Modify the content information on the app, such as the app ID, title, subtitle, and language.
PUT: /v1.0/iot-03/app-contents/{content_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
content_id | String | uri | true | The ID of a specified content. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
title | String | true | The title. | |
sub_title | String | false | The sub-title. | |
lang | String | true | The language. | |
main_pic | String | true | The main image. | |
sub_pic | String | false | The sub-image. | |
content | String | false | The body of a specified article. | |
video_url | String | false | The URL of the video. | |
type | Integer | true | The type of the article. Valid values:
|
|
category_id | String | true | The ID of a specified category. | |
publish | Integer | true | Indicates whether the content is released. Valid values:
|
|
operator | String | true | The ID of a specified operator. | |
schema | String | true | App schema |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
PUT: /v1.0/iot-03/app-contents/1
{
"content_id": "546862265",
"schema": "546862265",
"operator": "13",
"title": "Great Discount on Smart Locks",
"lang": "zh",
"main_pic": "/suramar/content/1619002638fd391d975de.jpeg",
"video_url": "/suramar/content/16196872089f000412038.mp4",
"type": 2,
"category_ids": "1432271805678096432",
"publish": 1
}
{
"result": true,
"t": 1630329550936,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback