Request parameters
Requests do not contain parameters.
Request Example
https://192.168.1.1:9081/api/server/repository-status.ds
|
XML and JSON response structure examples are described below.
XML Response Structure
<drweb-es-api api_version="4.3.2" timestamp="1586957221" server="192.168.1.1" srv_version="13.00.1.202310121" status="true">
<status>ready</status>
</drweb-es-api>
|
Description of XML Response Parameters
The <status /> element contains information about the process of products update in the repository. Can take one of the following values:
•ready—the repository is ready for an update,
•updating—the repository update process is initiated.
JSON Response Structure
{ "head": {
"status": true,
"timestamp": 1586959309,
"api": {
"version": 40302,
"versionString": "4.3.2"},
"server": {
"name": "192.168.1.1",
"version": "13.00.1.202310121",
"uuid": "b35d999d-9212-481d-af8c-8551c4113383"}},
"data": {
"status": "ready"}}
|
Description of JSON Response Parameters
The data block contains information about the process of products update in the repository.
The data block element:
Field name
|
Description
|
status
|
Repository update status:
•ready—the repository is ready for an update,
•updating—the repository update process is initiated. |
|