DELETE delete

Given an image file path, delete the image from the collection.

Resource URL

https://matchengine.tineye.com/<company>/rest/delete/

Performance

The MatchEngine API can perform one add or delete operation at a time. Any extra requests submitted will be queued up for processing as slots become available.

Parameters

In addition to the Common parameters there is:

Key Description
filepath A file path (as returned by the list operation) which we want to delete.

Request example

curl -X DELETE "https://matchengine.tineye.com/<company>/rest/delete/?filepath=1.jpg"

Response example

JSON (success)

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

JSON (failure)

{
    "status": "warn",
    "error": [
        "1.jpg: Failed to remove from index."
    ],
    "method": "delete",
    "result": []
}

XML (success)

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

XML (failure)

<?xml version="1.0" encoding="utf-8"?>
<data>
    <error>
        <item>1.jpg: Failed to remove from index.</item>
    </error>
    <method>delete</method>
    <result/>
    <status>warn</status>
</data>