Skip to main content

ListCustomViewPoints

Lists custom viewpoints.

Try it now

You can run this API directly in OpenAPI Explorer, sparing you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples. Try it now

RAM authorization

The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. Details are as follows:
  • 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 are as follows:
    • Required resource types are marked with a leading *.
    • For actions that do not support resource-level authorization, All Resources is used.
  • Condition key: The condition keys defined by the cloud service itself.
  • Dependent action: The other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions before the action can succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListCustomViewPointslist
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample
AgentKeystringYes

Workspace unique identifier: AgentKey

xxxxx_p_efm
TopicstringNo

The topic of the hot list.

Hot topic
AttitudestringNo

The viewpoint to filter by.

Viewpoint
AttitudesarrayNo

A list of viewpoints to filter by.

AttitudestringNo

A viewpoint.

Viewpoint *
CustomViewPointIdstringNo

The ID of the custom viewpoint.

461591f4880747f890702c1b90494d1a
CustomViewPointIdsarrayNo

A list of custom viewpoint IDs.

CustomViewPointIdstringNo

A custom viewpoint ID.

bb1a5426a9c34e3e8165e7939032bddd
TopicIdstringNo

The topic ID.

1d20ed14db0840efb1c7eaaf4d46352b
NextTokenstringNo

The token for the next page.

next-page-token
MaxResultsintegerNo

The maximum number of results to return.

52

Response elements

NameTypeDescriptionExample
object

PageResult2

Codestring

The status code.

NoData
Dataarray<object>

The business data.

Dataobject
AsyncTaskIdstring

The ID of the asynchronous task (the task that analyzes the custom viewpoint).

2323ac73e174428a98c91097a59c67e0
Attitudestring

The viewpoint.

Viewpoint
CreateTimestring

The creation time.

2024-08-15 16:18:59
CreateUserstring

The ID of the user who created it.

1
Idstring

The ID of the custom viewpoint.

709806dd051042d5ab9de8bdbb3a64ca
Statusstring

The task execution status (PENDING: pending, RUNNING: running, SUCCEEDED: succeeded, SUSPENDED: suspended, FAILED: failed, CANCELED: canceled)

RUNNING
TaskErrorMessagestring

The error message of the task execution.

Parameter validation failed
TaskStatusinteger

The task execution status. 0: pending, 1: running, 2: succeeded, 3: suspended, 4: failed and retriable, 5: failed and non-retriable, 6: canceled

1
ViewPointsarray<object>

A list of topic selection viewpoints.

ViewPointobject
Outlinesarray<object>

The outline.

Outlineobject
Outlinestring

The outline.

Outline
Summarystring

The summary of the outline.

Outline summary
Pointstring

The generated viewpoint.

Viewpoint
Summarystring

The summary.

Summary
HttpStatusCodeinteger

The HTTP status code.

200
MaxResultsinteger

The maximum number of results to return.

60
Messagestring

The error description.

success
NextTokenstring

The token for the next page.

next-page-token
RequestIdstring

The unique identifier of the request.

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

Indicates whether the request is successful: true for success, false for failure

true
TotalCountinteger

The total number of entries.

73

Examples

Success response JSON format
{
  "Code": "NoData",
  "Data": [
    {
      "AsyncTaskId": "2323ac73e174428a98c91097a59c67e0",
      "Attitude": "Viewpoint",
      "CreateTime": "2024-08-15 16:18:59",
      "CreateUser": 1,
      "Id": "709806dd051042d5ab9de8bdbb3a64ca",
      "Status": "RUNNING",
      "TaskErrorMessage": "Parameter validation failed",
      "TaskStatus": 1,
      "ViewPoints": [
        {
          "Outlines": [
            {
              "Outline": "Outline",
              "Summary": "Outline summary"
            }
          ],
          "Point": "Viewpoint",
          "Summary": "Summary"
        }
      ]
    }
  ],
  "HttpStatusCode": 200,
  "MaxResults": 60,
  "Message": "success",
  "NextToken": "next-page-token",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true,
  "TotalCount": 73
}

Error codes

For more error codes, visit Error Center.