GET delete

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

DELETE resource URL

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

Performance

The WineEngine 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 are:

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

Request example

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

Response examples

JSON (success)

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

JSON (failure)

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

XML (success)

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

XML (failure)

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