Retrieve hot topic event information by ID.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details:
- Action: the specific permission point.
- Access level: the access level of each action. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details:
- Required resource types are marked with a leading *.
- For operations that do not support resource-level authorization, All resources is used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: other permissions required to successfully perform the action. The caller must also have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetTopicById | get | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | Workspace unique identifier: AgentKey | xxxxx_p_efm |
| Id | string | Yes | Data ID | Data ID |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | NoData |
| Data | object | Business data | |
| AsyncTaskId | string | Asynchronous task ID (used in custom topic scenarios) | Asynchronous task ID (used in custom topic scenarios) |
| CreateUser | string | Creator user ID (used in custom topic scenarios) | Creator user ID (used in custom topic scenarios) |
| HotValue | long | Hotness value | 43 |
| Id | string | Hot topic ID | Hot topic ID |
| Status | string | Asynchronous task status (used in custom event scenarios) (PENDING: pending, RUNNING: running, SUCCESSED: succeeded, SUSPENDED: suspended, FAILED: failed, CANCELED: canceled) | PENDING |
| StructureSummary | array<object> | List of structured topic summaries | |
| StructureSummary | object | Structured topic summary object | |
| DocList | array<object> | Articles referenced to generate the title summary | |
| DocList | object | Article object | |
| Source | string | Article source | Toutiao |
| Title | string | Article title | Article title |
| Url | string | Article URL | http://www.example.com |
| Summary | string | Summary | Summary |
| Title | string | Title | Title |
| Summary | string | Hot topic summary | Hot topic summary |
| TaskErrorMessage | string | Error message for asynchronous task failure | Error message for asynchronous task failure |
| TaskStatus | integer | Asynchronous task status. 0-pending, 1-running, 2-succeeded, 3-suspended (not used), 4-failed, 6-canceled (used in custom event scenarios). | 14 |
| Topic | string | Unique topic name | Unique topic name |
| TopicSource | string | Hot topic source. Currently supported hot topic sources:
| Toutiao |
| Version | string | Data version | Data version |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| RequestId | string | Unique request identifier | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the operation succeeded: true for success, false for failure | true |
Examples
Success response
JSON format