API Method: document items create (multiple)

POST /:user_id/documents/:folder_id/items

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



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 "items_list=
doc1,An example document,Lorem ipsum dolor sit amet...%0A
doc2,Another example document,Ut enim ad minim veniam...%0A"
-d "full=1" http://subsift.ilrt.bris.ac.uk/kdd09/documents/pc/items

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
    <description>An example document</description>
    <text>Lorem ipsum dolor sit amet...</text>
    <description>Another example document</description>
    <text>Ut enim ad minim veniam...</text>