Skip to main content

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. Try it out

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 resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListHotSourceslist
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique workspace ID: AgentKey

xxxxx_p_efm
NextTokenstringNo

The token for the next page

The token for the next page
MaxResultsintegerNo

The maximum number of results to return

66

Response parameters

NameTypeDescriptionExample value
object

PageResult2

Codestring

Status code

NoData
Dataarray<object>

The list of third-party sources

Dataobject

Third-party source object

Descriptionstring

The description of the trending list source

The description of the trending list source
Showboolean

Indicates whether to display the source in the console

true
Sortinteger

Sort value

86
Sourcestring

The identifier of the trending list source

The identifier of the trending list source
HttpStatusCodeinteger

HTTP status code

200
MaxResultsinteger

The maximum number of results returned

4
Messagestring

Error description

success
NextTokenstring

The token for the next page

xxxxxx
RequestIdstring

Unique request ID

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request succeeded: true indicates success, and false indicates failure

true
TotalCountinteger

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.