GET ping

Check whether the MobileEngine search server is running.

Resource URL

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

Parameters

There are only the Common parameters.

Request example

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

Response example

JSON (engine is running)

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

JSON (engine is down)

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

XML (engine is running)

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

XML (engine is down)

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