Smart Home Content Manage

Last Updated on : 2023-06-15 05:10:44

Provide content management APIs for OEM apps.

Category Management

API Name URL
Get Info about Multiple Categories GET:/v1.0/iot-03/app-contents/categories/batch
Release Category POST:/v1.0/iot-03/app-contents/categories/{category_id}/actions/publish
Remove Category POST:/v1.0/iot-03/app-contents/categories/{category_id}/actions/unshelve
Delete Category DELETE:/v1.0/iot-03/app-contents/categories/{category_id}
Edit Category PUT:/v1.0/iot-03/app-contents/categories/{category_id}
Category Statistics GET:/v1.0/iot-03/app-contents/categories/statistic
Create Category POST:/v1.0/iot-03/app-contents/categories
Query Category Information GET:/v1.0/iot-03/app-contents/categories

App Management

API Name URL
Get App Information GET:/v1.0/app-contents/apps

Content management

API Name URL
Edit Content PUT:/v1.0/iot-03/app-contents/{content_id}
Sticky on Top POST:/v1.0/iot-03/app-contents/actions/top
Remove from Top POST:/v1.0/iot-03/app-contents/actions/untop
Query Content on Pages GET:/v1.0/iot-03/app-contents
Query Content Details GET:/v1.0/iot-03/app-contents/{content_id}
Release Content POST:/v1.0/iot-03/app-contents/actions/publish
Create Content POST:/v1.0/iot-03/app-contents
Delete Content DELETE:/v1.0/iot-03/app-contents
Remove Content POST:/v1.0/iot-03/app-contents/actions/unshelve

File Management

API Name URL
Get File Upload URL GET:/v1.0/iot-03/app-contents/upload-file/infos
Get File Upload Results GET:/v1.0/iot-03/app-contents/upload-file/{upload_token}/infos
Get Status of Large File Upload Results GET:/v1.0/iot-03/app-contents/big-files/status
File download POST:/v1.0/iot-03/app-contents/files/actions/download

Banner Management

API Name URL
Delete Banner DELETE:/v1.0/iot-03/app-contents/banners/{banner_id}
Remove Banner POST:/v1.0/iot-03/app-contents/banners/{banner_id}/actions/unshelve
Query Banner Information GET:/v1.0/iot-03/app-contents/banners
Create Banner POST:/v1.0/iot-03/app-contents/banners
Update Banner PUT:/v1.0/iot-03/app-contents/banners/{banner_id}
Release Banner POST:/v1.0/iot-03/app-contents/banners/{banner_id}/actions/publish

Multilingual Management

API Name URL
Get Multilingual List GET:/v1.0/iot-03/app-contents/lang/infos