Retrieves the analysis result of a style learning task.
Debug
You can run this API directly in OpenAPI Explorer, saving you from computing signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information of this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types that support authorization in the operation. Details are as follows:
- Required resource types are marked with an asterisk (*) before them.
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of related operations at the same time for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| aimiaobi:GetStyleLearningResult | get | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | The unique identifier of the workspace: AgentKey | xxxxx_p_efm |
| Id | long | Yes | The ID of the style learning task. | 39 |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful. A value of true indicates that the request was successful. A value of false indicates that the request failed. | true |
| Code | string | The status code. | NoData |
| Message | string | A description of the error. | success |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Data | object | The business data. | |
| MaterialIdList | array | A list of material IDs. | |
| MaterialIdList | long | The ID of the material library. | 4 |
| CustomTextIdList | array | A list of custom content IDs. | |
| CustomTextIdList | long | The ID of the custom content. | 25 |
| ContentList | array<object> | The content of custom content entities. | |
| ContentList | object | The custom content. | |
| Id | long | The primary key ID. | 1 |
| Title | string | The title. | Title |
| Content | string | The content. | Content |
| CreateTime | string | The time when the content was created. | Creation time |
| UpdateTime | string | The time when the content was last modified. | Modification time |
| CreateUser | string | The user who created the content. | Creator |
| UpdateUser | string | The user who last modified the content. | Modifier |
| MaterialInfoList | array<object> | The detailed information about the materials. | |
| MaterialInfoList | object | ||
| Id | long | The primary key. | 50 |
| DocType | string | The document type: pdf, word, url, and image. | Document type: pdf, word, url, image |
| Title | string | The document title. | Document title |
| Summary | string | The document summary. | Document summary |
| Author | string | The author. | Author |
| PubTime | string | The publishing time. | Publishing time |
| DocKeywords | array | The document tags used for purposes such as categorization. Separate different keywords with commas. | |
| DocKeyword | string | A keyword. | Central Europe |
| Url | string | The URL where the internal document is stored. It supports multiple protocols: http://, file://, and ftp://. This is the URL saved to internal storage when the customer uploads the file, kept for long-term storage and deleted upon expiration. | Internal document storage URL, supports multiple protocols, http://, file://, ftp://: URL saved to internal storage on customer upload, long-term storage, deleted on expiration |
| PublicUrl | string | A temporary public URL. | Temporary public URL |
| ExternalUrl | string | The URL uploaded by an external customer, used only for record-keeping. | URL uploaded by external customer, only for record-keeping |
| SrcFrom | string | The document source: user_upload, search, and viewpoint. | Document source: user_upload, search, viewpoint |
| TextContent | string | The parsed text content. It is empty for images. | Parsed text content, empty for images |
| HtmlContent | string | The raw HTML content after parsing. | Parsed raw HTML content |
| ShareAttr | integer | The sharing attribute, stored as a bitmask. The first bit indicates whether the resource is shared within the workspace, the second bit indicates whether it is shared within the tenant, and the third bit indicates whether it is shared system-wide. | 1 |
| CreateTime | string | The time when the material was created. | Creation time |
| UpdateTime | string | The time when the material was last modified. | Modification time |
| CreateUser | string | The ID of the user who created the material. | Creator ID |
| CreateUserName | string | The name of the user who created the material. | Creator name |
| UpdateUser | string | The ID of the user who last modified the material. | Modifier ID |
| UpdateUserName | string | The name of the user who last modified the material. | Modifier name |
| ThumbnailInBase64 | string | The Base64 thumbnail of image documents. | Base64 thumbnail for image documents |
| FileLength | integer | The length of the file content. | 41 |
| Id | long | The ID of the style learning analysis result. | 33 |
| TaskId | string | The ID of the style analysis task. | 3f7045e099474ba28ceca1b4eb6d6e21 |
| AigcResult | string | The content generated by AIGC. | AIGC-generated content |
| RewriteResult | string | The user-revised content. | User-revised content |
| StyleName | string | The user-revised content. | User-revised content |
Examples
Success response
JSON format