List Widget User History

get

/serviceapi/savedsearchModel/history/users/{userName}

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

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : ActionWidget
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 demouser11 has performed on every saved search:

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

Example of Response

The following shows an example of the response body.

[
  {
    "id": "179512147445335010401639165218493455674",
    "searchId": "224539289422508326854773742250788775317",
    "searchName": "Target - Demo Widget",
    "actionTime": "2019-04-23T14:45:25.215Z",
    "userName": "demouser11",
    "changedData": "SHARE_PUBLIC",
    "actionDetail": "REVOKE_VIEW_PRIVILEGE",
    "actionType": "PRIVILEGE_CHANGE"
  },
  {
    "id": "77706015873064916931271251334886964675",
    "searchId": "224539289422508326854773742250788775317",
    "searchName": "Target - Demo Widget",
    "actionTime": "2019-04-23T14:43:41.895Z",
    "userName": "demouser11",
    "changedData": "SHARE_PUBLIC",
    "actionDetail": "SHARE_VIEW_PRIVILEGE",
    "actionType": "PRIVILEGE_CHANGE"
  },
  {
    "id": "275296792035496777079871095615163281208",
    "searchId": "224539289422508326854773742250788775317",
    "searchName": "Target - Demo Widget",
    "actionTime": "2019-04-23T14:34:15.999Z",
    "userName": "demouser11",
    "changedData": "demouser12",
    "actionDetail": "SHARE_MANAGER_PRIVILEGE",
    "actionType": "PRIVILEGE_CHANGE"
  },
  {
    "id": "22453928942250832685477374225078877531700",
    "searchId": "224539289422508326854773742250788775317",
    "searchName": "Target - Demo Widget",
    "actionTime": "2019-04-23T09:06:33.674Z",
    "userName": "demouser11",
    "actionDetail": "CREATE",
    "actionType": "DATA_CHANGE"
  }
]
Back to Top