API Method: documents create

POST /:user_id/documents/:folder_id

Creates a documents folder in the specified user account. Returns a representation of the created documents folder with a 201 Created HTTP status code.

URL:

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

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

POST

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X POST -H "Token:mytoken" -d "description=KDD 2009 Programme Committee"
http://subsift.ilrt.bris.ac.uk/kdd09/documents/pc.xml

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <folder>
    <id>chairs</id>
    <created>1265023200</created>
    <description>KDD 2009 Programme Committee</description>
    <mode>public</mode>
    <modified>1267404220</modified>
  </folder>
</result>