Request parameters
Requests do not contain parameters.
Request Examples
http://192.168.1.1:9080/api/server/repository-status.ds
|
http://192.168.1.1:9080/api/server/update-repositories-status.ds
|
XML and JSON response structure examples are described below.
XML Response
<drweb-es-api api_version="4.3.0" timestamp="1559737659" server="192.168.1.1" srv_version="12.00.0.201909260" 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. May take the following values:
•ready—the repository is ready for updating, •updating—the repository update process is initiated.
JSON Response
{ "head": {
"status": true,
"timestamp": 1559737648,
"api": {
"version": 40300,
"versionString": 4.3.0},
"server": {
"name": "192.168.1.1",
"version": "12.00.0.201909260",
"uuid": "76b05bc0-8691-11e9-63e5-7036cecd07fa"}},
"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. May take the following values:
•ready—the repository is ready for updating, •updating—the repository update process is initiated. |
|