General

Tutorials

API documentation

Ping

Check whether the WineEngine search server is running.

GET resource URL

https://wineengine.tineye.com/<company>/rest/ping/

Parameters

There are only the Common parameters.

Request example

curl https://wineengine.tineye.com/<company>/rest/ping/

Response examples

JSON (engine is running)

{
  "status": "ok",
  "method": "ping",
  "error": [],
  "result": []
}

JSON (engine is down)

{
  "status": "fail",
  "method": "ping",
  "error": [
    "Connection to server refused. The service is down."
  ],
  "result": []
}

XML (engine is running)

<?xml version="1.0" encoding="utf-8"?>
<data>
  <status>ok</status>
  <method>ping</method>
  <error/>
  <result/>
</data>

XML (engine is down)

<?xml version="1.0" encoding="utf-8"?>
<data>
  <status>fail</status>
  <method>ping</method>
  <error>
    <item>Connection to server refused. The service is down.</item>
  </error>
  <result/>
</data>