Retrieves the analysis result of a style learning task.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
RAM authorization
The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:
-
Action: The actions can be used in the
Actionelement of RAM permission policy statements to grant permissions to perform the operation. - API: The API that you can call to perform the action.
- Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.
-
Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
Resourceelement of the policy. - For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the
Resourceelement of the policy.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
- Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.
- Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.
Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
aimiaobi:GetStyleLearningResult | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | The unique identifier of the workspace. | xxxxx_p_efm |
| Id | integer | Yes | The ID of the style learning task. | 39 |
Response elements
Element | Type | Description | Example |
|---|---|---|---|
object | PlainResult | ||
| Code | string | The status code. | NoData |
| Data | object | The business data. | |
| AigcResult | string | The content generated by AIGC. | AIGC-generated content |
| ContentList | array<object> | A list of custom content entities. | |
object | The custom content. | ||
| Content | string | The content. | Content |
| CreateTime | string | The time when the content was created. | Creation time |
| CreateUser | string | The user who created the content. | Creator |
| Id | integer | The primary key ID. | 1 |
| Title | string | The title. | Title |
| UpdateTime | string | The time when the content was last modified. | Modification time |
| UpdateUser | string | The user who last modified the content. | Modifier |
| CustomTextIdList | array | A list of custom content IDs. | |
integer | A custom content ID. | 25 | |
| Id | integer | The ID of the style learning analysis result. | 33 |
| MaterialIdList | array | A list of material IDs. | |
integer | The ID of a material in the library. | 4 | |
| MaterialInfoList | array<object> | A list of detailed information about the materials. | |
object | |||
| Author | string | The author. | Author |
| CreateTime | string | The time when the material was created. | Creation 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 |
| DocKeywords | array | The document tags used for purposes such as categorization. Separate keywords with commas. | |
string | A keyword. | Central Europe | |
| DocType | string | The document type. Valid values: pdf, word, url, and image. | Document type: pdf, word, url, image |
| ExternalUrl | string | The URL of the file uploaded by the customer. This is for record-keeping only. | URL uploaded by external customer, only for record-keeping |
| FileLength | integer | The length of the file content. | 41 |
| HtmlContent | string | The raw HTML content after parsing. | Parsed raw HTML content |
| Id | integer | The primary key. | 50 |
| PubTime | string | The publishing time. | Publishing time |
| PublicUrl | string | A temporary public URL. | Temporary public URL |
| ShareAttr | integer | The sharing property, stored as a bitmask. The first bit indicates sharing within the workspace, the second within the tenant, and the third system-wide. | 1 |
| SrcFrom | string | The source of the document. Valid values: user_upload, search, and viewpoint. | Document source: user_upload, search, viewpoint |
| Summary | string | The document summary. | Document summary |
| TextContent | string | The parsed text content. This is empty for images. | Parsed text content, empty for images |
| ThumbnailInBase64 | string | The Base64-encoded thumbnail for image documents. | Base64 thumbnail for image documents |
| Title | string | The document title. | Document title |
| UpdateTime | string | The time when the material was last modified. | Modification time |
| 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 |
| Url | string | The internal storage URL of the document. It supports multiple protocols, such as `http://`, `file://`, and `ftp://`. This URL is for long-term storage of uploaded files and is deleted on 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 |
| RewriteResult | string | The user-revised content. | User-revised content |
| StyleName | string | The user-revised content. | User-revised content |
| TaskId | string | The ID of the style analysis task. | 3f7045e099474ba28ceca1b4eb6d6e21 |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | success |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful. `true` indicates success. `false` indicates failure. | true |
Examples
Success response
JSON format