SubmitTopicSelectionPerspectiveAnalysisTask
Submits a hot spot analysis task for topic selection.
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.
RAM authorization
The following table describes the authorization information for this API. You can use the Action element in RAM policy statements 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 action. Details:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis 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 have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:SubmitTopicSelectionPerspectiveAnalysisTask | create | *All Resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | The unique identifier of the workspace: AgentKey | xxxxx_p_efm |
| Documents | array<object> | No | The list of documents to be analyzed. (Provide at least one of documents or topic) | |
| Document | object | No | Document list information | |
| Author | string | No | Author | Author |
| Comments | array<object> | No | Content list | |
| object | No | Object | ||
| Text | string | No | Content | Content |
| Username | string | No | Username | Username |
| Content | string | Yes | Content | Article content |
| PubTime | string | No | Publication time. Format: YYYY-MM-dd HH:mm:ss | 2024-01-22 10:29:00 |
| Source | string | No | Article source | Sina |
| Summary | string | No | Summary | Article summary |
| Title | string | No | Title | Article title |
| Url | string | No | Article URL | https://www.example.com/aaa.docx |
| Topic | string | No | The name of the topic to be analyzed. (Provide at least one of documents or topic) | Topic name to be analyzed (at least one of documents or topic must be provided) |
| PerspectiveTypes | array | No | The topic selection perspective tasks to be analyzed. Empty by default, which means all tasks are analyzed. (TopicSummary: Topic event summary, HotViewPoints: Hot topic selection perspectives, TimedViewPoints: Timeliness topic selection perspectives, WebReviewPoints: Online review topic selection perspectives, FreshViewPoints: Novel topic selection perspectives) | |
| PerspectiveType | string | No | The topic selection perspective task to be analyzed | TopicSummary |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | NoData |
| Data | object | Business data | |
| TaskId | string | Unique task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
| TaskName | string | Task name | Task name |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| RequestId | string | Unique request ID | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Success or failure: true for success, false for failure | true |
Examples
Success response example
JSON format
{
"Code": "NoData",
"Data": {
"TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
"TaskName": "任务名称"
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
Visit Error Center to view more error codes.