List Dashboard User History

get

/serviceapi/dashboardModel/history/users/{userName}

Get all the actions that this user has performed on dashboards.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : Action
Type: object

This is the object that is returned whenever an action is performed.

Show Source
Back to Top

Examples

This cURL call will get all the actions that the user with name demouser has performed on every dashboard:

curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://{OMC_URL}/serviceapi/dashboardModel/history/users/demouser"

Example of Response

The following shows an example of the response body.

[
    {
        "id": "1",
        "dashboardId": "5432361245",
        "dashboardName": "A Shared Single Dashboard",
        "actionTime": "2019-04-23T12:49:47.605+0000",
        "userName": "demouser",
        "actionDetail": "EDIT",
        "actionType": "DATA_CHANGE"
    },
    {
        "id": "2",
        "dashboardId": "5432361245",
        "dashboardName": "A Shared Single Dashboard",
        "actionTime": "2019-04-23T12:48:36.734+0000",
        "userName": "demouser",
        "actionDetail": "EDIT",
        "actionType": "DATA_CHANGE"
    },
    {
        "id": "1",
        "dashboardId": "816584826123",
        "dashboardName": "Rex_is_using",
        "actionTime": "2019-04-17T04:55:22.417+0000",
        "userName": "demouser",
        "changedData": "{\"name\":\"Rex_is_using\",\"description\":\"\",\"enableDescription\":\"FALSE\",\"enableTimeRange\":\"GC\",\"enableEntityFilter\":\"GC\",\"enableRefresh\":true,\"showInHome\":true,\"sharePublic\":false,\"lastModifiedBy\":\"demouser11\",\"owner\":\"demouser11\",\"screenShotHref\":\"https://example.host.com/serviceapi/dashboardModel/1155/screenshot/1.46.0/images/15554.png\",\"optionsHref\":\"https://example.host.com/serviceapi/dashboardModel/1155/options\",\"href\":\"https://example.host.com/serviceapi/dashboardModel/1155/\",\"type\":\"NORMAL\",\"federationSupported\":\"NON_FEDERATION_ONLY\",\"shareStatus\":0,\"id\":\"1155\",\"createdOn\":\"2019-04-16T10:05:20.135+0000\",\"systemDashboard\":false,\"lastModifiedOn\":\"2019-04-17T04:55:22.417+0000\",\"tiles\":[{\"type\":\"DEFAULT\",\"row\":0,\"column\":1,\"height\":2,\"isMaximized\":false,\"tileId\":\"5951736557309968728530062705822754435200\",\"title\":\"Access Log Error Status Codes\",\"width\":6,\"widgetDeleted\":false,\"federationSupported\":\"NON_FEDERATION_ONLY\",\"PROVIDER_ASSET_ROOT\":\"assetRoot\",\"PROVIDER_NAME\":\"LogAnalyticsUI\",\"PROVIDER_VERSION\":\"1.0\",\"WIDGET_CREATION_TIME\":\"2015-12-15T02:31:02.922Z\",\"WIDGET_DESCRIPTION\":\"Top 4xx and 5xx errors codes in HTTP Access Logs. \",\"WIDGET_GROUP_NAME\":\"Log Analytics\",\"WIDGET_KOC_NAME\":\"emcla-visualization\",\"WIDGET_NAME\":\"Access Log Error Status Codes\",\"WIDGET_OWNER\":\"ORACLE\",\"WIDGET_SOURCE\":1,\"WIDGET_TEMPLATE\":\"/html/search/widgets/visualizationWidget.html\",\"WIDGET_UNIQUE_ID\":\"2017\",\"WIDGET_VIEWMODEL\":\"/js/viewmodel/search/widget/VisualizationWidget.js\",\"WIDGET_SUPPORT_TIME_CONTROL\":true,\"WIDGET_LINKED_DASHBOARD\":null,\"SELECTOR_INELIGIBLE\":false,\"tileParameters\":[]}]}",
        "actionDetail": "EDIT",
        "actionType": "DATA_CHANGE"
    },
    {
        "id": "2",
        "dashboardId": "816584826123",
        "dashboardName": "Rex_is_using",
        "actionTime": "2019-04-17T04:54:25.972+0000",
        "userName": "demouser",
        "changedData": "{\"name\":\"Rex_is_using\",\"description\":\"\",\"enableDescription\":\"FALSE\",\"enableTimeRange\":\"GC\",\"enableEntityFilter\":\"GC\",\"enableRefresh\":true,\"showInHome\":true,\"sharePublic\":false,\"lastModifiedBy\":\"demouser11\",\"owner\":\"demouser11\",\"screenShotHref\":\"https://https://example.host.com/serviceapi/dashboardModel/1155/screenshot/1.46/images/15554.png\",\"optionsHref\":\"https://https://example.host.com/serviceapi/dashboardModel/1155/options\",\"href\":\"https://https://example.host.com/serviceapi/dashboardModel/1155\",\"type\":\"NORMAL\",\"federationSupported\":\"NON_FEDERATION_ONLY\",\"shareStatus\":0,\"id\":\"1155\",\"createdOn\":\"2019-04-16T10:05:20.135+0000\",\"systemDashboard\":false,\"lastModifiedOn\":\"2019-04-17T04:54:25.972+0000\",\"tiles\":[{\"type\":\"DEFAULT\",\"row\":0,\"column\":1,\"height\":2,\"isMaximized\":false,\"tileId\":\"5951736557309968728530062705822754435200\",\"title\":\"Access Log Error Status Codes\",\"width\":6,\"widgetDeleted\":false,\"federationSupported\":\"NON_FEDERATION_ONLY\",\"PROVIDER_ASSET_ROOT\":\"assetRoot\",\"PROVIDER_NAME\":\"LogAnalyticsUI\",\"PROVIDER_VERSION\":\"1.0\",\"WIDGET_CREATION_TIME\":\"2015-12-15T02:31:02.922Z\",\"WIDGET_DESCRIPTION\":\"Top 4xx and 5xx errors codes in HTTP Access Logs. \",\"WIDGET_GROUP_NAME\":\"Log Analytics\",\"WIDGET_KOC_NAME\":\"emcla-visualization\",\"WIDGET_NAME\":\"Access Log Error Status Codes\",\"WIDGET_OWNER\":\"ORACLE\",\"WIDGET_SOURCE\":1,\"WIDGET_TEMPLATE\":\"/html/search/widgets/visualizationWidget.html\",\"WIDGET_UNIQUE_ID\":\"2017\",\"WIDGET_VIEWMODEL\":\"/js/viewmodel/search/widget/VisualizationWidget.js\",\"WIDGET_SUPPORT_TIME_CONTROL\":true,\"WIDGET_LINKED_DASHBOARD\":null,\"SELECTOR_INELIGIBLE\":false,\"tileParameters\":[]}]}",
        "actionDetail": "EDIT",
        "actionType": "DATA_CHANGE"
    }
]
Back to Top