Last Updated on : 2023-06-20 12:34:14download
Create the image and text content or video content.
POST: /v1.0/iot-03/app-contents
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. |
POST: /v1.0/iot-03/app-contents
{
"schema": "3131",
"title": "Great Discount on Smart Locks",
"lang": "zh",
"main_pic": "/suramar/content/1619002638fd391d975de.jpeg",
"video_url": "/suramar/content/16196872089f000412038.mp4",
"type": 2,
"category_id": "1432271805678096432",
"operator": "13",
"publish": 1
}
{
"result": true,
"t": 1630329550936,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback