Querying the Information in the News and Promotions Area of a Monthly Operations Report
Function
This API is used to query the information in the news and promotions area of a monthly operations report.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v5/{project_id}/operational-report/welfare
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition Project ID, which is used to specify the project that an asset belongs to. After the project ID is configured, you can query assets in the project using the project ID. For details about how to obtain it, see Obtaining a Project ID. Constraints N/A Range The value can contain 1 to 256 characters. Default Value N/A |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| x-language | No | String | language |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| hot_info | hot_info object | Trending events |
| version_update_info | version_update_info object | Version update information |
| activities_info | activities_info object | Promotion information |
| Parameter | Type | Description |
|---|---|---|
| title | String | Definition Key event title Range Length: 1 to 256 |
| url_json | String | Definition Key event links, including links in the Chinese mainland website, international website, and European website. The console redirects users to different links in different scenarios. Range Length: 0 to 65535 |
| Parameter | Type | Description |
|---|---|---|
| title | String | Definition Version update title Range Length: 1 to 256 |
| url_json | String | Definition Version update links, including links in the Chinese mainland website, international website, and European website. The console redirects users to different links in different scenarios. Range Length: 0 to 65535 |
| Parameter | Type | Description |
|---|---|---|
| title | String | Definition Promotion title Range Length: 1 to 256 |
| url_json | String | Definition Promotion links, including links in the Chinese mainland website, international website, and European website. The console redirects users to different links in different scenarios. Range Length: 0 to 65535 |
Example Requests
Query the information in the news and promotions area of a monthly operations report.
GET https://{endpoint}/v5/{project_id}/operational-report/welfare Example Responses
Status code: 200
Public information in the news and promotions area
{
"hot_info" : {
"title" : "Runc Container Escape Vulnerability (CVE-2024-21626) Security Notice",
"url_json" : "{\"hw_china\": \"https://bbs.xxxcloud.com/blogs/421434\"}"
},
"version_update_info" : {
"title" : "HSS has been upgraded. Check out the new features!",
"url_json" : "{\"hw_china\": \"https://support.xxxcloud.com/technologyposter-hss2.0/hss_05_0011.html\"}"
},
"activities_info" : {
"title" : "New Year Special is coming! Get HSS at a lower price.",
"url_json" : "{\"intl\": \"https://activity.xxxcloud.com/intl/zh-cn/beginner-discount.html\",\"hw_china\": \"https://activity.huaweicloud.com/Hisec.html\"}"
}
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Public information in the news and promotions area |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot