Data - Retrieve Items In My Workspace Tree View
Retrieves the list of views/dashboards/folder available in the my workspace tree view.
GET http://<Servername>/OperationsManager/data/myWorkspaceTree
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully retrieved the list of views/dashboards/folder available in the My Workspace tree view. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
GetMyWorkspaceTree
Sample Request
GET http://<Servername>/OperationsManager/data/myWorkspaceTree
Sample Response
{
"data": [
{
"children": [
{
"children": [],
"id": "00000000-0000-0000-0000-000000000000",
"mpId": null,
"label": "Favorite Reports",
"description": "Favorite Reports",
"viewType": "ReportListView",
"expandedIcon": "/OperationsManager/images/NavigationPane/Report.png",
"collapsedIcon": "/OperationsManager/images/NavigationPane/Report.png",
"icon": "/OperationsManager/images/NavigationPane/Report.png",
"expanded": false,
"isSealed": false,
"parent": "MyWorkspaceRoot",
"url": "/MonitoringView/default.aspx?ViewType=ReportListView&ViewID=00000000-0000-0000-0000-000000000000",
"type": "child",
"isShortcut": true
},
{
"children": [],
"id": "Folder_429fe15d0a7a4244bc3a96da83a8e11b",
"mpId": null,
"label": "Favorite Views",
"description": "Favorite Views",
"viewType": "FavoritesRoot",
"expandedIcon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
"collapsedIcon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
"icon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
"expanded": true,
"isSealed": false,
"parent": "MyWorkspaceRoot",
"url": "/MonitoringView/default.aspx?ViewType=Overview&ViewID=Favorites_Overview",
"type": "parent",
"isShortcut": false
},
{
"children": [],
"id": "SavedSearchesRoot",
"mpId": null,
"label": "Saved Searches",
"description": "Saved Searches",
"viewType": "SavedSearchesRoot",
"expandedIcon": "/OperationsManager/images/NavigationPane/Search.png",
"collapsedIcon": "/OperationsManager/images/NavigationPane/Search.png",
"icon": "/OperationsManager/images/NavigationPane/Search.png",
"expanded": false,
"isSealed": false,
"parent": "MyWorkspaceRoot",
"url": "/MonitoringView/default.aspx?ViewType=Overview&ViewID=Favorites_Overview",
"type": "child",
"isShortcut": false
}
],
"id": "MyWorkspaceRoot",
"mpId": null,
"label": "My Workspace",
"description": "My Workspace",
"viewType": "MyWorkspaceRoot",
"expandedIcon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
"collapsedIcon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
"icon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
"expanded": true,
"isSealed": false,
"parent": "MyWorkspaceRoot",
"url": "/MonitoringView/default.aspx?ViewType=MonitoringNavigation&ViewID=Favorites_Overview",
"type": "parent",
"isShortcut": false
}
]
}
Definitions
Name | Description |
---|---|
Tree |
|
Tree |
TreeNode
Name | Type | Description |
---|---|---|
children |
Tree |
|
collapsedIcon |
string |
Collapsed Icon |
description |
string |
Description |
expanded |
boolean |
Expanded |
expandedIcon |
string |
Expanded Icon |
icon |
string |
Icon |
id |
string |
ID |
isSealed |
boolean |
is Sealed |
isShortcut |
boolean |
is Shortcut |
label |
string |
Label |
mpId |
string |
management Pack ID |
parent |
string |
Parent |
type |
string |
IdType |
url |
string |
Url |
viewType |
string |
View Type |
TreeViewResponse
Name | Type | Description |
---|---|---|
data |
Tree |
Tree Node Data |