API Method: document items create

POST /:user_id/documents/:folder_id/items/:item_id

Creates a document item in the specified documents folder of the specified user account. Returns a representation of the created document item with a 201 Created HTTP status code. To create multiple document items at once, see document items create (multiple).



Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):


Requires Authentication (about authentication):



Usage Examples:

cURL (about cURL):

curl -X POST -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"?>
    <name>Peter Flach</name>
    <description>Some research interests of Peter Flach</description>
    <text>roc curves logic structured data mining machine learning</text>