List Custom Views (Reserved)


Overview

Get the list of custom aggregation views for an application. Returns views created by the current user and views shared with them.

URI

GET /rest/applications/{application}/custom-views

Path parameters

application (string)

This parameter identifies the analyzed application. The application name must be properly encoded if required. Character back-quote is not allowed.

Responses

application/json

Example:

{
    "success": {
        "count": 2,
        "aggregationList": [
            {
                "id": "abc123-def456",
                "name": "Cloud Migration Analysis",
                "mode": "dynamic",
                "count": 5,
                "collaborators": ["user1", "user2"],
                "isCreator": true,
                "published": true,
                "populatedBy": "",
                "aggregationType": "custom",
                "createdBy": "admin",
                "createdAt": "2024-01-15T10:30:00"
            },
            {
                "id": "xyz789-uvw012",
                "name": "Technical Debt Review",
                "mode": "dynamic",
                "count": 3,
                "collaborators": [],
                "isCreator": true,
                "published": false,
                "populatedBy": "",
                "aggregationType": "custom",
                "createdBy": "admin",
                "createdAt": "2024-01-16T14:00:00"
            }
        ]
    }
}

JSON representation

Property Type Description
success.count integer Total number of views returned.
success.aggregationList []object Array of custom view objects.
success.aggregationList[].id string The unique identifier for the view.
success.aggregationList[].name string The view name.
success.aggregationList[].mode string The view mode (“dynamic” or “static”).
success.aggregationList[].count integer Number of custom nodes in the view.
success.aggregationList[].collaborators []string List of collaborator usernames.
success.aggregationList[].isCreator boolean Whether the current user is the creator.
success.aggregationList[].published boolean Whether the view is published for sharing.
success.aggregationList[].populatedBy string How the view was populated (empty for manual).
success.aggregationList[].aggregationType string Type of aggregation (“custom”).
success.aggregationList[].createdBy string Username of the view creator.
success.aggregationList[].createdAt string Timestamp when the view was created.