Browse Sybase Database Instance Using Instance ID
Select
SaaS
Customer Managed
This operation is used to browse a Sybase Database
- application/json
Request Body
browseEndTime object
appId object
- guiBrowseType integer required
The following types are available
GetDevices: 4, GetDatabases: 1, GetDbStatus: 5, GetInstances: 2, GetDbChains: 3 - copyId integer required
Choose the copy to browse from
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
- guiBrowseType integer
sybDatabases object[]
{
"guiBrowseType": 0,
"sybDatabases": [
{
"owner": "string",
"subclientId": 0,
"systemFlags": 0,
"creationTime": 0,
"databaseName": "string",
"options": 0,
"databaseSize": 0,
"databaseId": 0,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
}
]
}
{
"guiBrowseType": 0,
"sybDatabases": [
{
"owner": "string",
"subclientId": 0,
"systemFlags": 0,
"creationTime": 0,
"databaseName": "string",
"options": 0,
"databaseSize": 0,
"databaseId": 0,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
}
]
}
{
"guiBrowseType": 1,
"sybDatabases": [
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439866,
"databaseName": "vedencryp",
"options": 0,
"databaseSize": 0,
"databaseId": 6,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439864,
"databaseName": "tempdb",
"options": 1,
"databaseSize": 0,
"databaseId": 2,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439860,
"databaseName": "sybsystemprocs",
"options": 1,
"databaseSize": 0,
"databaseId": 31514,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439859,
"databaseName": "sybsystemdb",
"options": 1,
"databaseSize": 0,
"databaseId": 31513,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439857,
"databaseName": "pubs3",
"options": 0,
"databaseSize": 0,
"databaseId": 5,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439855,
"databaseName": "pubs2",
"options": 0,
"databaseSize": 0,
"databaseId": 4,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439852,
"databaseName": "model",
"options": 1,
"databaseSize": 0,
"databaseId": 3,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439851,
"databaseName": "master",
"options": 1,
"databaseSize": 0,
"databaseId": 1,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
},
{
"owner": "",
"subclientId": 1013,
"systemFlags": 0,
"creationTime": 1694439846,
"databaseName": "demodb",
"options": 0,
"databaseSize": 0,
"databaseId": 7,
"status2": 0,
"options2": 0,
"dbRecoveryOrder": 0,
"status": 0
}
]
}
Bad Request
Unauthorized
POST /databases/sybase/browse
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/databases/sybase/browse' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"browseEndTime": {
"time": 0
},
"appId": {
"clientId": 0,
"applicationId": "5 for sybase",
"instanceId": 0
},
"guiBrowseType": 0,
"copyId": 0
}'