ListHotTopicSummaries

Updated at:

This API retrieves the complete broadcast list (hot list) for the Alibaba Cloud Model Studio Light Application’s In-car/Content Platform Hot News Interaction. It returns all associated content.

Operation description

This interface retrieves all content in the complete broadcast list (hot list), including channels, hot topics, hotness values, and broadcast summaries. By default, it returns the latest version of the broadcast list. By specifying a version, you can retrieve the content of a system version or custom version of the broadcast list for a specified time period.

We recommend that you use the latest GetHotTopicBroadcast interface, whose input and output parameters are more comprehensive.

You can try this operation in the console.

To call this API by using an SDK, see the Java and Python examples on the API tab in the console.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.

Debug

RAM authorization

The following table describes the authorization information for this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:

  • Action: the specific permission point.

  • Access level: the access level of each operation. Valid values: Write, Read, and List.

  • Resource type: the resource types supported for authorization in the operation. Details are as follows:

    • For required resource types, an asterisk (*) is prefixed.
    • For operations that do not support resource-level authorization, All Resources is displayed.
  • Condition key: the condition keys defined by the cloud service itself.

  • Dependent action: other permissions required to successfully perform the operation. The operator must have the permissions of the dependent actions as well for the operation to succeed.

ActionAccess levelResource typeCondition keyDependent action
quanmiaolightapp:ListHotTopicSummarieslist
*All Resources
*
    None
None

Request syntax

POST /{workspaceId}/quanmiao/lightapp/listHotTopicSummaries HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
workspaceIdstringYes

The unique identifier of the Model Studio workspace. You can obtain it from the top-left corner of the Model Studio home page.

llm-xxx
categorystringNo

Category

xx
hotTopicstringNo

Hot topic

xx
hotTopicVersionstringNo

Hot topic version

2024-09-13_12
nextTokenstringNo

Token for the next page

JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
maxResultsintegerNo

Maximum number of results returned per page.

Note Default is 100. Maximum is 1000.
20

Response parameters

ElementTypeDescriptionExample
object

Schema of Response

codestring

Status code

xx
dataarray<object>

Hot topic information list

dataobject

Hot topic information

categorystring

Hot topic category

Finance
hotTopicstring

Hot topic name

xx
hotTopicVersionstring

Hot topic summary version

2024-09-13_12
hotValuedouble

Hotness value

1000000
idstring

Hot topic ID

db5dc5b3d8954a30b65ba700c9dda3bb
newsarray<object>

Article list

newsobject

Article

commentsarray<object>

Structured summary list

commentsobject

Structured summary

textstring

Content

xx
contentstring

Body text

xx
pubTimestring

Publish time

2024-09-10 15:32:00
titlestring

Title

xx
urlstring

url

http://xxx
summaryobject

Hot topic structured summary

summariesarray<object>

Structured summary list

summariesobject

Structured summary

summarystring

Summary

xx
titlestring

Title

xx
textSummarystring

Hot topic text summary

xx
httpStatusCodeinteger

HTTP status code

200
maxResultsinteger

Maximum number of returned results

20
messagestring

Error description

success
nextTokenstring

Token for the next page

JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
requestIdstring

Unique request ID

117F5ABE-CF02-5502-9A3F-E56BC9081A64
successboolean

Whether the request is successful: true for success, false for failure

True
totalCountinteger

Total count

200

Examples

Success response

JSON format

{
  "code": "xx",
  "data": [
    {
      "category": "财经",
      "hotTopic": "xx",
      "hotTopicVersion": "2024-09-13_12",
      "hotValue": 1000000,
      "id": "db5dc5b3d8954a30b65ba700c9dda3bb",
      "news": [
        {
          "comments": [
            {
              "text": "xx"
            }
          ],
          "content": "xx",
          "pubTime": "2024-09-10 15:32:00",
          "title": "xx",
          "url": "http://xxx"
        }
      ],
      "summary": {
        "summaries": [
          {
            "summary": "xx",
            "title": "xx"
          }
        ]
      },
      "textSummary": "xx"
    }
  ],
  "httpStatusCode": 200,
  "maxResults": 20,
  "message": "success",
  "nextToken": "JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==",
  "requestId": "117F5ABE-CF02-5502-9A3F-E56BC9081A64",
  "success": true,
  "totalCount": 200
}

Error codes

See the Error Center for more error codes.