Publish Custom View (RESERVED)

RESERVED: The keyword RESERVED annotation means that the API is available for use but is not yet part of the officially supported specification. Its behavior, interface, or output may change in future releases without backward compatibility guarantees.


Overview

Publish a custom aggregation view to make it visible and accessible to other users. Published views can be viewed by anyone with access to the application.

This operation is supported for dynamic custom views only. Static custom views return a client error.

URI

POST /rest/applications/{name}/custom-views/{viewId}/publish

Path parameters

name (string)

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

viewId (string)

The unique identifier of the custom view to publish.

Request Body

No request body required.

Responses

application/json

Example:

{
    "success": {
        "id": "abc123-def456",
        "name": "Cloud Migration Analysis",
        "collaborators": [],
        "mode": "dynamic",
        "published": true,
        "isCreator": true,
        "createdBy": "admin",
        "createdAt": "2024-01-15T10:30:00"
    }
}

JSON representation

Property Type Description
success.id string The unique identifier for the view.
success.name string The view name.
success.collaborators []string List of collaborator usernames.
success.mode string The view mode. Successful publish responses are for dynamic views.
success.published boolean Will be true after publishing.
success.isCreator boolean Whether the current user is the creator.
success.createdBy string Username of the view creator.
success.createdAt string Timestamp when the view was created.