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

PropertyTypeDescription
success.countintegerTotal number of views returned.
success.aggregationList[]objectArray of custom view objects.
success.aggregationList[].idstringThe unique identifier for the view.
success.aggregationList[].namestringThe view name.
success.aggregationList[].modestringThe view mode (“dynamic” or “static”).
success.aggregationList[].countintegerNumber of custom nodes in the view.
success.aggregationList[].collaborators[]stringList of collaborator usernames.
success.aggregationList[].isCreatorbooleanWhether the current user is the creator.
success.aggregationList[].publishedbooleanWhether the view is published for sharing.
success.aggregationList[].populatedBystringHow the view was populated (empty for manual).
success.aggregationList[].aggregationTypestringType of aggregation (“custom”).
success.aggregationList[].createdBystringUsername of the view creator.
success.aggregationList[].createdAtstringTimestamp when the view was created.