INDEX

getOpenServices([DOMString, Array] unique_names, Boolean getHttp, Function callback)

Get open provided service(s) of application(s) or spacelet(s) listed in the unique names. If this method is called from a web page only the open services are returned. If the caller is an application or a spacelet the open and open_local services are returned.

Parameter Description
unique_names Unique name(s) of application(s) or spacelet(s).
getHttp Include the http services to the response.
callback User defined callback function that is called after the response is available.

After the response is available the callback function is called with two arguments: callback(err, data).

Argument Type Desription
err JSON Object An error_object or null if no error occured.
data JSON Object Array An array of service objects.
Close
copyright © Spaceify.org 2014