Skip to content

API Documentation

armontoya edited this page Mar 13, 2012 · 33 revisions

The goal is to provide a RESTful API utilizing HTTP methods as much as possible for basic operations. This page will be updated as the API becomes further defined.

PUT /api/object

Creates a Learning Object and stores it in the LCR.

Request Body:

{
   "title": "<string>", // required
   "description" : "<string>",  //optional,
   "tags" : ["<string1>", "<string2>", ...] // optional
}

Returns:

{
   "id" : "<string>", // the unique identifier for the new object, present only on success
   "error" : "<string>", // the error message for the new object, present only if something goes wrong
}

Clone this wiki locally