Perform Browse on Backed up Data
This operation is used to browse and get a list of items backed up.
- application/json
Request Body required
- opType Operation type required
Possible values: [
browse
,find
,versions
]The operation type of the browse request. "Browse" - Returns results level by level. "Find" - Returns all the items recursively. "Versions" - Returns all the versions of a file
entity object required
paths object[] required
options object
advOptions object
timeRange object
queries object[] required
Responses
- 200
OK
- application/json
- Browse/find response
{
"browseResponses": [
{
"respType": 0,
"workerId": "1",
"session": {
"sessionId": "1497261754-1"
},
"browseResult": {
"queryId": "dataQuery",
"dataResultSet": [
{
"path": "C:\\\\csguid.png",
"size": 31420,
"modificationTime": 1494235377,
"displayName": "csguid.png",
"name": "csguid.png",
"flags": {
"isPseudo": false,
"file": true,
"isFake": false,
"snap": false
},
"advancedData": {
"backupJobId": 324,
"referenceTime": 1496382395,
"offset": 0,
"archiveGroupId": 3,
"objectGuid": "996e5a87f1fdae404ca096e70d1c21de",
"backupTime": 1496382395,
"archiveFileId": 134,
"subclient": {
"type": 0,
"_type_": 7,
"applicationId": 49
},
"sourceCommServer": {
"_type_": 1,
"commCellId": 2,
"type": 0
},
"advConfig": {
"browseAdvancedConfigResp": {
"commcellNumber": 122516778
}
},
"browseMetaData": {
"fsData": {
"geoLocation": "<App_GeoLocation ip_address='199.255.244.65' latitude='40.300720' longitude='-74.081910' status_code='SUCCESS' status_description=''/>"
},
"indexing": {
"backupTime": 1496041441,
"fileChangeTime": 1495091808
},
"dmStubData": {
"guid": "79cdf4ff048d7f66563e260400d71a3c"
},
"virtualServerMetaData": {
"extentBlobBitMap": ""
}
}
}
},
{
"path": "C:\\\\demo.pptx",
"size": 266613,
"modificationTime": 1462779722,
"displayName": "demo.pptx",
"name": "demo.pptx",
"flags": {
"isPseudo": false,
"file": true,
"isFake": false,
"snap": false
},
"advancedData": {
"backupJobId": 324,
"referenceTime": 1496382395,
"offset": 25287,
"archiveGroupId": 3,
"objectGuid": "a3747ff8179b1ea06fcf9cafca8059e3",
"backupTime": 1496382395,
"archiveFileId": 134,
"subclient": {
"type": 0,
"_type_": 7,
"applicationId": 49
},
"sourceCommServer": {
"_type_": 1,
"commCellId": 2,
"type": 0
},
"advConfig": {
"browseAdvancedConfigResp": {
"commcellNumber": 122516778
}
},
"browseMetaData": {
"fsData": {
"geoLocation": "<App_GeoLocation ip_address='199.255.244.65' latitude='40.300720' longitude='-74.081910' status_code='SUCCESS' status_description=''/>"
},
"indexing": {
"backupTime": 1496041441,
"fileChangeTime": 1495091862
},
"dmStubData": {
"guid": "de1be9262f87c39b91ace2450a83d600"
},
"virtualServerMetaData": {
"extentBlobBitMap": ""
}
}
}
}
]
}
},
{
"respType": 0,
"workerId": "1",
"session": {
"sessionId": "1497261754-1"
},
"browseResult": {
"queryId": "aggregate_query",
"aggrResultSet": [
{
"result": 2,
"groupbyValue": "",
"count": 2
}
]
}
},
{
"respType": 5,
"workerId": "1",
"session": {
"sessionId": "1497261754-1"
}
}
]
}
POST /dobrowse
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DoBrowse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": "browse",
"entity": {
"clientId": 2,
"applicationId": 33,
"instanceId": 1,
"backupsetId": 3,
"subclientId": 49,
"clientName": "client1",
"appName": "File System",
"instanceName": "DefaultInstanceName",
"backupsetName": "defaultBackupSet",
"subclientName": "default"
},
"paths": [
[
{
"path": "c:\\"
}
]
],
"options": {
"showDeletedFiles": true
},
"advOptions": {
"copyPrecedence": 0
},
"timeRange": {
"fromTime": 1702477800,
"toTime": 1703082600
},
"queries": [
{
"queryId": "string",
"type": "Data",
"dataParam": {
"paging": {
"pageSize": 100,
"skipNode": 0
},
"sortParam": {
"ascending": true,
"sortBy": [
"FileName"
]
}
},
"aggrParam": {
"aggrType": "sum",
"field": "FileSize"
},
"whereClause": [
{
"connector": "AND",
"criteria": {
"field": "FileName",
"dataOperator": "IN",
"values": [
[
"*.txt"
]
]
}
}
]
}
]
}'