SubmitTopicSelectionPerspectiveAnalysisTask

Updated at:

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.

Debug

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 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 have the permissions of all dependent actions for the operation to succeed.

ActionAccess levelResource typeCondition keyDependent action
aimiaobi:SubmitTopicSelectionPerspectiveAnalysisTaskcreate
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

The unique identifier of the workspace: AgentKey

xxxxx_p_efm
Documentsarray<object>No

The list of documents to be analyzed. (Provide at least one of documents or topic)

DocumentobjectNo

Document list information

AuthorstringNo

Author

Author
Commentsarray<object>No

Content list

objectNo

Object

TextstringNo

Content

Content
UsernamestringNo

Username

Username
ContentstringYes

Content

Article content
PubTimestringNo

Publication time. Format: YYYY-MM-dd HH:mm:ss

2024-01-22 10:29:00
SourcestringNo

Article source

Sina
SummarystringNo

Summary

Article summary
TitlestringNo

Title

Article title
UrlstringNo

Article URL

https://www.example.com/aaa.docx
TopicstringNo

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)
PerspectiveTypesarrayNo

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)

PerspectiveTypestringNo

The topic selection perspective task to be analyzed

TopicSummary

Response parameters

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

NoData
Dataobject

Business data

TaskIdstring

Unique task ID

3f7045e099474ba28ceca1b4eb6d6e21
TaskNamestring

Task name

Task name
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
RequestIdstring

Unique request ID

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

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.