List Widget History

get

/serviceapi/savedsearchModel/history/searches/{searchId}

Get all the actions that were performed on the widget with this search id.

Request

Path Parameters
  • The id of the widget. The id of a widget is displayed as a query parameter in the URL while using Oracle Management Cloud through the user interface.
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 were performed on the widget with searchId: 224539289422508326854773742250788775317:

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

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": "16438695726700466074624371628058196045",
    "searchId": "224539289422508326854773742250788775317",
    "searchName": "Target - Demo Widget",
    "actionTime": "2019-04-23T12:14:48.722Z",
    "userName": "emcsadmin",
    "changedData": "demouser12",
    "actionDetail": "SHARE_VIEW_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