Usage: post_object(params) Input: { path: [{ attr: value, ...}, type_name], ...} Returns: [path, ...] Example: Post a new content object
Usage: put_object(params) Input: { path: [{ attr: value, ...}, type_name], ...} Returns: [path, ...] Example: Put or update information on a content object
Usage: get_object(path=[]) Input: None | [path, ...] Returns: { path: [{ attr: value, ...}, type_name, {misc_info: value}], ...} Example: Get a content object
Usage: delete_object(path=[]) Input: None | [path, ...] Returns: None Example: Delete a content object
Usage: query(filtr={}) Returns: { path: {index_id: value, ...}, ...} Example: Finding what you’re looking for
Usage: get_schema(type_name, path='') Returns: { attr: {required: True | False, type: type_string, ...}, ...} Example: Get a content object’s structure
Usage: get_types(path='') Returns: [[type_id, type_title], ...] Example: Get the available content-types
Usage: get_workflow(path='') Returns: { state: current_state, transitions: [transition_name, ...], ...} Example: Get a content object’s workflow state
Usage: set_workflow(transition, path='') Returns: None Example: Transition a content object’s workflow state
Usage: get_discussion(path='') Returns: {'id': {'in_reply_to': 'another_id', 'title': '', 'text': '', 'cooked_text': '', 'created': '2009-11-03 12:12:59', 'creators': () }, ... }
Example: Get a content object’s discussion container