!!! Note !!!: this pages is a spec. The objects and functions described below do not currently exist.
The MindTouch.Deki namespace contains functions for interacting with the MindTouch Deki API (i.e. the wiki engine).
dom : (*)
MISSING
params : object
MISSING
callback : (*)
MISSING
page_api : string
MISSING
name : string
Fully qualified property name with namespace prefix.
value : (*)
New property value to store.
(string) The string value is stored as text/plain.
(object) The object value is converted to a JSON string and stored as application/json.
success : (*)
Callback when operation is successful. The callback takes one result object argument: { etag: property_etag, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
error : (*)
Callback when operation encounters an error. The callback takes one result object argument: { status: http_status_code, text: http_status_message, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
properties_api : string
MISSING
name : string
Fully qualified property name with namespace prefix.
value : (*)
New property value to store.
(string) The string value is stored as text/plain.
(object) The object value is converted to a JSON string and stored as application/json.
success : (*)
Callback when operation is successful. The callback takes one result object argument: { etag: property_etag, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
error : (*)
Callback when operation encounters an error. The callback takes one result object argument: { status: http_status_code, text: http_status_message, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
name : string
Fully qualified property name with namespace prefix.
success : (*)
Callback when operation is successful. The callback takes one result object argument: { value: property_value, href: property_href, etag: property_etag, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
error : (*)
Callback when operation encounters an error. The callback takes one result object argument: { status: http_status_code, text: http_status_message, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
name : string
Fully qualified property name with namespace prefix.
value : (*)
New property value to store.
(string) The string value is stored as text/plain.
(object) The object value is converted to a JSON string and stored as application/json.
success : (*)
Callback when operation is successful. The callback takes one result object argument: { etag: property_etag, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
error : (*)
Callback when operation encounters an error. The callback takes one result object argument: { status: http_status_code, text: http_status_message, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
property_api : string
MISSING
success : (*)
Callback when operation is successful. The callback takes one result object argument: { xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
error : (*)
Callback when operation encounters an error. The callback takes one result object argument: { status: http_status_code, text: http_status_message, xhr: xml_http_request_object }.
(function) Function to invoke with the result object.
(string) Name of the channel on which to publish the result object.
The MindTouch.Web namespace contains functions for doing RESTful web-service calls.
MISSING
MISSING
MISSING
MISSING
NOTE: these functions MUST be renamed to fit with the overall naming conventions of the MindTouch JavaScript library.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by
> var pageapi=Deki.BaseHref+'/@api/deki/pages/'+Deki.PageId;
happy sharing :) edited 05:23, 29 Jan 2011
> Deki.Env.PageApi=Deki.BaseHref+'/@api/deki/pages/'+Deki.PageId;
happy sharing :) edited 05:23, 29 Jan 2011