ListHotSources - List third-party trending sources
Lists trending sources from all platforms.
Try it out
You can directly run this operation in OpenAPI Explorer, saving you the trouble of calculating signatures. After the operation succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information of the API operation. You can use it in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API operation. For more information, see:
-
Action: a specific permission.
-
Access level: the access level of an action. Valid values: Write, Read, and List.
-
Resource type: the types of resources supported for authorization in the action. For more information, see:
- Required resource types are marked with a leading asterisk (*).
- For actions that do not support resource-level authorization,
All resourcesis used.
-
Condition key: a condition key defined by the cloud service itself.
-
Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ListHotSources | list | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique workspace ID: AgentKey | xxxxx_p_efm |
| NextToken | string | No | The token for the next page | The token for the next page |
| MaxResults | integer | No | The maximum number of results to return | 66 |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PageResult2 | ||
| Code | string | Status code | NoData |
| Data | array<object> | The list of third-party sources | |
| Data | object | Third-party source object | |
| Description | string | The description of the trending list source | The description of the trending list source |
| Show | boolean | Indicates whether to display the source in the console | true |
| Sort | integer | Sort value | 86 |
| Source | string | The identifier of the trending list source | The identifier of the trending list source |
| HttpStatusCode | integer | HTTP status code | 200 |
| MaxResults | integer | The maximum number of results returned | 4 |
| Message | string | Error description | success |
| NextToken | string | The token for the next page | xxxxxx |
| RequestId | string | Unique request ID | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request succeeded: true indicates success, and false indicates failure | true |
| TotalCount | integer | The total number of records | 30 |
Examples
Sample success response
JSON format
{
"Code": "NoData",
"Data": [
{
"Description": "热榜源描述",
"Show": true,
"Sort": 86,
"Source": "热榜源标识"
}
],
"HttpStatusCode": 200,
"MaxResults": 4,
"Message": "success",
"NextToken": "xxxxxx",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true,
"TotalCount": 30
}
Error codes
For more error codes, visit the Error Center.