Data Protector Develop_Section
Data Protector Develop_Section
Data Protector
Version : 25.1
Table of Contents
1. Develop 3
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 2
Data Protector 25.1
1. Develop
This section introduces you to REST Application Programming Interfaces (APIs)
available with Data Protector.
Related topics
REST API reference
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 3
Data Protector 25.1
This SDK includes a set of APIs and tools that you can use to create plugins for such
custom applications and then implement the backup and restore functionality for
them. Data Protector supports full and incremental backup and restore functionality
for custom Linux applications.
Use the information on the custom application plugin page in GitHub to develop and
register the custom application plugins with Data Protector, develop code for backup
and restore workflows, and trigger the backup or restore operations.
Prerequisites
Java Development Kit 17
A basic knowledge of Data Protector and Java development expertise
Apache Maven 3.6.3 or higher
Install and configure Data Protector with at least one UIC instance. See Install
Unified Agent.
Ensure time synchronization between the Cell Manager and the clients.
Limitations
The following list includes some current limitations that inevitably arises as the
result of design choices consciously made after careful evaluation of ROI and other
priorities. As priorities change, we might have remedy for the limitations:
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 4
Data Protector 25.1
Supported platforms
For a list of the supported platforms, see Support Matrix.
Prerequisites
Perform the following steps on the client on which you want to develop the custom
plugin:
1. To enable the dpuic service, which interacts with the client system to run as a
privileged user, do the following:
1. Run the following command to create a new user group named dpuic :
groupadd dpuic
2. Run the following command to add the dpuic user to the dpuic group:
useradd -g dpuic dpuic
2. To allow the dpuic user to access the client without entering a password, edit
the /etc/sudoers file by using visudo command to add the following line:
dpuic ALL=(ALL) NOPASSWD: ALL
Note
Ensure that you separate semicolon (:) and ALL with a space in the command,
else the operations might fail.
Local installation
Perform the following steps on the client to import the client to the CM
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 5
Data Protector 25.1
1. Run the following command to add the client host user to Data Protector Admin
users list:
omniusers -add -type U -name "root" -usergroup "admin" -group "root" -client clientnam
e -pass password
2. Use the GUI or CLI to import the client to Cell Manager. To import the client to
Cell Manager using the CLI, run the following command:
omnicc -import_host HostName [-virtual] [-accept_host]
Remote installation
To remotely install Data Protector with a UIC instance on the client system, use
either the GUI or the CLI:
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 6
Data Protector 25.1
Related topics
For information about the Unified Agent Developer Kit and developing the
unified plugin for your application, see Develop UIC plugin.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 7
Data Protector 25.1
1. Use the Maven Archetype project to create a skeleton project and stub files.
Follow the instructions in the README.md located at the root of the GitHub
repository to install the archetype and use it to create a new plugin project. The
created project contains an example plugin named SampleFS.
For an example about how to use a skeleton project to implement a plugin,
see SampleFS. It might help to make a side-by-side comparison of the files in
the generated project with the files in the SampleFS project.
2. Follow the instructions in the README.md located at the root of the created
project to:
1. Ensure that you have met all the prerequisites.
2. Develop the plugin by implementing the code.
Note
For proper rendering of markdown files (README.md ) hosted on GitHub, view them
directly on GitHub using a browser. For viewing a markdown file in local filesystem, use
a browser extension that supports GitHub Flavored Markdown. For example, use
Markdown Viewer for Chrome and Firefox.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 8
Data Protector 25.1
1. Manually install the plugin: Perform the steps listed in Manual Installation to
manually install the plugin without the need to register it with Data Protector.
Follow this approach to initially verify if the plugin loads fine.
2. Integrate the plugin with Data Protector: After you have verified the
loading of plugin as mentioned in Manual Installation, integrate the plugin with
Data Protector by registering it and then install the plugin remotely by using
the Installation Server.
To integrate the plugin with Data Protector, follow the topics to create a manisfest
file for registering the plugin and then registering the plugin:
{
"pluginname":"Cassandra",
"version":"3.4",
"description":"Plugin for the cassandra"
}
To register the plugin, run the following command on the Installation Server:
where the <input_path> refers to a location on the Installation Server that contains
the manifest.json file and the <pluginname>-<version>-dist.tar.gz file.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 9
Data Protector 25.1
If a plugin with the same name already exists during registration, it prompts whether
you want to overwrite the plugin or not. After you register the plugin, this plugin lists
when you select Unified Agent component while adding Data Protector components
on your system. If you make any changes to the already registered plugin, then you
must register it again.
Note
You might want to deregister the plugin in cases such as you no longer require the
plugin or when the name of the plugin changes. To deregister a custom plugin that you
have registered with Data Protector, run the following command:
For example: To deregister a filesystem plugin named SampleFS, run the following
command:
pluginmanager.pl -deregister -pluginname SampleFS
Using GUI
1. Start the Data Protector GUI by clicking Start > Programs > Data
Protector > Data Protector Manager.
2. In the Data Protector Manager, switch to the Clients context.
3. In the Scoping Pane, right-click Clients and do one of the following depending
on whether you want to add a new client on add the plugin component on an
existing client:
To add components to an existing client, right-click the client and click
Add Components.
To add a new client, click Add Clients and type the names of the clients
or search for the clients (on Windows GUI only) you want to install.
Click Next.
4. Select the Data Protector components you want to install. You must select the
following components: Disk Agent, User Interface, and Unified Agent.
5. On selecting the Unified Agent component, select the custom plugin you want
to install. For example, if you developed the plugin for Cassandra, select
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 10
Data Protector 25.1
Using CLI
For information about using the ob2install command to install Data Protector
components on a remote system using an Installation Server, see ob2install.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 11
Data Protector 25.1
Currently, you cannot create backup specification through the Graphical User
Interface (GUI). To view the schema (data models) associated with the backup
specification, access the Swagger UI at the following location and search for Unified
backup specification:
https://<CM_hostname>:7116/dp-apis
{
"specificationName": "${pluginNameLowerCase}-backup-spec-1",
"client": {
"appHost": "sles15.newton.novell.com",
"application": {
"type": "unifiedAgent",
"subType": "${pluginName}"
},
"appName": "myAppName",
"appOptions": {
"appName": "myAppName",
"appId": "myAppId",
"app-specific-key-for-spec-1": "app-specific-value-for-spec-1",
"app-specific-key-for-spec-2": "app-specific-value-for-spec-2",
"app-specific-key-for-spec-n": "app-specific-value-for-spec-n"
},
"args": {
"readstdin": true
},
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 12
Data Protector 25.1
"executable": "unified_bar_executor",
"protection": {
"type": "Permanent",
"until": 1,
"date": "2023-12-03T04:59:59.999Z"
},
"report": "Warning",
"isPublic": false,
"isProfileEnabled": false,
"isCompressionEnabled": false
},
"target": {
"loadBalancing": {
"min": 1,
"max": 5
},
"devices": [
{
"name": "DPFileLibrary_Writer0",
"type": "File Library"
}
]
},
"dataSecurity": "none",
"owner": {
"userName": "",
"group": "",
"client": ""
},
"postExec": {
"script": "",
"host": ""
},
"preExec": {
"script": "",
"host": ""
}
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 13
Data Protector 25.1
Use the REST API (served by the Application Server) to make a backup request
programmatically
Use the omnib command line interface.
https://<CM_hostname>:7116/dp-protection/restws/unified/v1/backup
{
"specificationName": "${pluginNameLowerCase}-backup-spec-1",
"appSubType": "${pluginNameLowerCase}",
"mode": "full",
"load": "high",
"monitor": "show"
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 14
Data Protector 25.1
https://<CM_hostname>:7116/dp-protection/restws/unified/v1/restore
{
"barhost": "sles15.newton.novell.com",
"appType": "${pluginNameLowerCase}",
"appOptions": {
"sessionId": "2023/01/24-2",
"host": "sles15.newton.novell.com",
"appName": "myAppName",
"appId": "myAppId",
"app-specific-key-for-restore-1": "app-specific-value-for-restore-1",
"app-specific-key-for-restore-2": "app-specific-value-for-restore-2",
"app-specific-key-for-restore-n": "app-specific-value-for-restore-n"
},
"report": "critical",
"monitor": "show",
"ownerName": "",
"ownerGroup": ""
}
appType : The exact name of the plugin name in lower case,which is the value
of ${pluginNameLowerCase}.
appOptions : The appName and appId must match the values given to the
corresponding backup specification respectively.
restoreDirPath : An existing and empty directory to restore the backup data
directly to it. Restores any (optional) incremental backups in the chain to a
temporary location within /var/opt/omni/tmp/samplefs/restore/<timestamp> and
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 15
Data Protector 25.1
then applies to the restoreDirPath directory one by one in ascending time order
within the chain.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 16
Data Protector 25.1
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 17
Data Protector 25.1
user for this purpose or reset the password of a an existing user from the Users
context.
cURL command
PowerShell command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Url = "https://<Cell Manager>:7116/auth/realms/DataProtector/protocol/openid-connect/
token"
$Body = @{
username = "administrator|lejcm01|*"
password = "MyP4ssw*rd"
refresh_token = "string"
client_id = "dp-gui"
grant_type = "password"
}
Invoke-RestMethod -Method 'Post' -Uri $url -Body $body | ConvertTo-Json
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 18
Data Protector 25.1
The result is as follows in both cases, while the access_token and fresh_token have
been truncated for better readability.
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJVMGljTmZ
BTmhMMnRiWHUwZUlF...",
"expires_in": 1800,
"refresh_expires_in": 2592000,
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmYWFhNDk3Ny03M
jA5LTQwYTUtY...",
"token_type": "bearer",
"not-before-policy": 0,
"session_state": "54f4501c-3a27-44ac-b84f-f219a0cc841c",
"scope": "email profile"
}
cURL command
PowerShell command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Url = "https://<Cell Manager>:7116/idb/v2/dashboard/backup/dataprotected"
$headers = @{
Authorization = "Bearer <access_token>"
accept = "application/json"
}
Invoke-RestMethod -Method 'GET' -Uri $url -Headers $headers | ConvertTo-Json
{
"size": "15144 GB"
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 19
Data Protector 25.1
cURL command
PowerShell command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Url = "https://<Cell Manager>:7116/idb/restoretree/fs?host=<Client>"
$headers = @{
Authorization = "Bearer <access_token>"
accept = "application/json"
}
Invoke-RestMethod -Method 'GET' -Uri $url -Headers $headers | ConvertTo-Json
{
"type": "filesystem",
"hosts": [
{
"hostname": "lejcm01.mfdemo.local",
"sessions": [
{
"session_name": "2020/11/12-6",
"mountpoints": [
{
"copy_id": "de3bd081-8a10-4682-80df-33f363e2ae80/19808",
"device": "SOS_lejcm01",
"label": "C: [SYSTEM]",
"mountpoint": "/C",
"object_type": "winfs",
"tree": [
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 20
Data Protector 25.1
"/Folder1",
"/Folder2"
],
"diskagent_id": 1605184203
}
],
"session_type": 0
}
]
}
]
}
cURL command
PowerShell command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Url = "https://<Cell Manager>:7116/idb/v1/catalog/backedupobjects/children"
$headers = @{
Authorization = "Bearer <access_token>"
accept = "application/json"
}
$Body = @{
hostName = "lejcm01.mfdemo.local"
mountPoint = "/C"
label = "C: [SYSTEM]"
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 21
Data Protector 25.1
parentPath = "/"
intervalStartTime = "2020-10-12T10:00:00Z"
intervalEndTime = "2020-12-12T10:00:00Z"
selectableOnly = [bool] 1
}
$Body = $Body | ConvertTo-Json
Invoke-RestMethod -Method 'POST' -Uri $url -Headers $headers -Body $body -ContentType
"application/json" | ConvertTo-Json
{
"entries": [
{
"container": true,
"pathName": "/Folder1",
"mountPoint": "/C",
"selectable": true,
"objectName": "Folder1",
"label": "C: [SYSTEM]"
},
{
"container": true,
"pathName": "/Folder2",
"mountPoint": "/C",
"selectable": true,
"objectName": "Folder2",
"label": "C: [SYSTEM]"
}
],
"count": 2
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 22
Data Protector 25.1
Data Protector REST APIs are a new REST endpoint that offers Data Protector CLI in a
RESTful manner. Operations that can be performed through CLIs are exposed
through a single REST endpoint. You can configure devices, run backups, monitor
sessions, etc in a RESTful manner.
Outputs are in the standard JSON format. There are additional supporting API
operations, to execute API in sync and async mode.
API Description
settings API (GET method) Gets the current settings of the REST API bridge.
Limitations
The following limitations apply:
APIs work only for CLI commands that are installed on the Cell Manager. The
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 23
Data Protector 25.1
For example, omnidbinit -force requires the user to enter an option, yes or no.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 24
Data Protector 25.1
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/command
Method[edit]
POST
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 25
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
{
"name": "omnidb",
"options": "-session 2018/11/08-1 -detail",
"wait": 3000
}
wait : Specify the runtime waiting period. This field is specified in milliseconds.
Response codes[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 26
Data Protector 25.1
200 SUCCESS
If the CLI is waiting for the completion even after the given waiting
time, then the reunId is returned. The output can be retrieved at a
later stage using the runId .
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
INTERNAL
500 SERVER Issues with the website's server.
ERROR
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/command
Successful output:
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 27
Data Protector 25.1
{
"result": {
"cli_output": [
"",
"Object name : iwf1119076.hostname.net:/C 'C:'",
"\tObject type : WinFS",
"\tObject status : Completed",
"\tStarted : Thursday, November 8, 2018, 11:48:34 AM",
"\tFinished : Thursday, November 8, 2018, 11:49:23 AM",
"\tObject size : 2480352 KB",
"\tBackup type : Full",
"\tProtection : Protected permanently",
"\tCatalog retention : Same as data protection.",
"\tVersion type : Normal",
"\tAccess : Private",
"\tNumber of warnings : 0",
"\tNumber of errors : 0",
"\tDevice name : FLDevice1_Writer0",
"\tBackup ID : n/a",
"\tCopy ID : F064D90A-9E46-4E35-B9BD-470E1C9B8F06/1030 (Orig)",
"\tEncrypted : No",
"\tDiskAgent ID : 1541657913",
"\tPoint in time : Thursday, November 8, 2018, 11:48:34 AM"
],
"runid": "2018-11-08-2",
"command": "omnidb -session 2018/11/08-1 -detail",
"status": "complete"
}
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 28
Data Protector 25.1
Use this API to get the output of a run. Use the runId of a previous run. The runId can
be obtained from the output catalog.
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/output?runId=<run-id>
Method[edit]
GET
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 29
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
None
Response codes[edit]
Code Status Description
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
INTERNAL
500 SERVER Issues with the website's server.
ERROR
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 30
Data Protector 25.1
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/output?runId=2018-10-16
-01
Successful output:
{
"output": {
"output": [
"WARNING Calculation of total protected data size may take some time."
]
"command": "omnicc -check_lic"
}
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 31
Data Protector 25.1
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/settings
Method[edit]
POST
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 32
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
{
"max_concurrent_sessions": "100"
}
Response codes[edit]
Code Status Description
200 SUCCESS On success, it returns to the Bridge settings after the update.
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 33
Data Protector 25.1
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
INTERNAL
500 SERVER Issues with the website's server.
ERROR
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/settings
Successful output:
{
"status_check_interval": "100",
"defaultwait": "1000",
"max_concurrent_sessions": "10",
"maxoutputs": "1000"
}
defaultwait : Specifies the default waiting time, which is 1000 milliseconds. This can
be changed according to your requirement.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 34
Data Protector 25.1
Use this API to get the current settings of the REST Bridge.
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/settings
Method[edit]
GET
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 35
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
None
Response codes[edit]
Code Status Description
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
INTERNAL
500 SERVER Issues with the website's server.
ERROR
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 36
Data Protector 25.1
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/settings
Successful output:
{
"appconfig":{
"cliworkspace": "cliws",
"status_check_interval": "100",
"defaultwait": "1000",
"max_concurrent_sessions": "100",
"maxoutputs": "10"
}
}
cliworkspace : Specifies where the output catalog information is stored. The storage
location cannot be changed.
For Windows:
C:\ProgramData\OmniBack\CliBridgeWorkspaces\administrator-<hostname>-<hostn
ame>
For Linux:
/var/opt/omni/log/CliBridgeWorkspaces/root-any-<hostname>
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 37
Data Protector 25.1
defaultwait : Specifies the default waiting time, which is 1000 milliseconds. This can
be changed according to your requirement.
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 38
Data Protector 25.1
Use this API to get the output catalog. The output catalog keeps catalog of the CLI
runs that are executed through the bridge.
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/workspace/outputcatalog
Method[edit]
GET
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 39
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
None
Response codes[edit]
Code Status Description
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
INTERNAL
500 SERVER Issues with the website's server.
ERROR
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 40
Data Protector 25.1
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/workspace/outputcatalog
Successful output:
{
"outputcatalog":{
"entries": [
{
"runId": "2018-09-13-1",
"command": "omnicc -check_lic",
"status": "complete"
}
]
}
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 41
Data Protector 25.1
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/workspace/clean
Method[edit]
POST
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 42
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
{
Response codes[edit]
Code Status Description
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 43
Data Protector 25.1
INTERNAL
500 SERVER Issues with the website's server.
ERROR
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/workspace/clean
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 44
Data Protector 25.1
Contents
1 URL
2 Method
3 Parameters
4 Header
5 JSON body
6 Response codes
7 Example
URL[edit]
https://<hostname>:<port>/dp-rest-cli-bridge/restws/abortrun/{runId}
Method[edit]
PUT
Parameters[edit]
None
Header[edit]
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 45
Data Protector 25.1
Name Description
(Required)
Authenticates the request call to the API server and provides secure access to the
resources while protecting your user credentials.
X-Auth-
Token
Type: string
Attribute: <valid_token>
JSON body[edit]
{
Response codes[edit]
Code Status Description
BAD Returns an error message describing the specific problem. This could
400
REQUEST be caused by an invalid URL or header sent in request.
NOT
401 The X-Auth-token used for authentication is incorrect.
AUTHORIZED
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 46
Data Protector 25.1
INTERNAL
500 SERVER Issues with the website's server.
ERROR
Example[edit]
https://iwf1114030.hostname.net:7116/dp-rest-cli-bridge/restws/abortrun/{runId}
Successful output:
{
"status": "success"
}
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 47
Data Protector 25.1
This PDF was generated on 03/25/2025 for your convenience. For the latest documentation, always see https://docs.microfocus.com. Page 48