API Method: documents folder destroy (all)

DELETE /:user_id/documents/:folder_id/items

Deletes all document items in the specified documents folder. Returns a representation of the deleted document items with a 200 OK HTTP status code. To delete a single document item, see document items destroy.

URL:

http://subsift.ilrt.bris.ac.uk/user_id/documents/folder_id/items.format

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

DELETE

Clients that can not issue DELETE requests can use POST with the added parameter _method=DELETE

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X DELETE -H "Token:mytoken" http://subsift.ilrt.bris.ac.uk/kdd09/documents/pc/items

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <item>
    <name>Ad Feelders</name>
    <created>1266788131</created>
    <description>Ad Feelders</description>
    <id>Ad_Feelders</id>
    <modified>1266788131</modified>
    <source>http://dblp.uni-trier.de/search/author?author=Ad%20Feelders</source>
  </item>
  <item>
    <name>Ada Fu</name>
    <created>1266788131</created>
    <description>Ada Fu</description>
    <id>Ada_Fu</id>
    <modified>1266788131</modified>
    <source>http://dblp.uni-trier.de/db/indices/a-tree/f/Fu:Ada_Wai=Chee.html</source>
  </item>
  .
  .
  .
  <item>
    <name>Zoran Obradovic</name>
    <created>1266788131</created>
    <description>Zoran Obradovic</description>
    <id>Zoran_Obradovic</id>
    <modified>1266788131</modified>
    <source>http://dblp.uni-trier.de/search/author?author=Zoran%20Obradovic</source>
  </item>
</result>