API Method: document items update

PUT /:user_id/documents/:folder_id/items/:item_id

Updates a document items in the specified documents folder of the specified user account. Returns a representation of the updated document item with a 200 OK HTTP status code. To update multiple document items at once, see document items update (multiple).

URL:

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

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

PUT

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X PUT -H "Token:mytoken" -d "text=roc curves logic structured data mining machine learning"
-d "description=Some research interests of Peter Flach"
-d "full=1" http://subsift.ilrt.bris.ac.uk/kdd09/documents/pc/items/Peter%20Flach

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <item>
    <name>Peter Flach</name>
    <created>1278025168</created>
    <description>Some research interests of Peter Flach</description>
    <id>Peter_Flach</id>
    <modified>1278025168</modified>
    <source>text</source>
    <text>roc curves logic structured data mining machine learning</text>
  </item>
</result>