-
Notifications
You must be signed in to change notification settings - Fork 123
(Core API) install
Thomas Muldowney edited this page Apr 6, 2011
·
1 revision
Core installs the specified service and returns new and complete instance information. The same service can be installed multiple times, so there is no error on a duplicate.
POST
application/json
A JSON object with a srcdir property pointing to the service to be installed
{
srcdir:"Connectors/ChromeHistory"
}
application/json
A JSON object with the complete service info after the install is complete.
{
"title":"Chrome History",
"action":"Sync your browser history from Chrome",
"desc":"Collect and sync my browser history from Chrome.",
"run":"node client.js","provides":["link/chrome"],
"srcdir":"Connectors/ChromeHistory",
"is":"connector",
"id":"0c3f17c4ded7b27c6872d727b55336a4",
"me":"/Users/temas/singly/code/Locker/Me/0c3f17c4ded7b27c6872d727b55336a4",
"uri":"http://localhost:8042/Me/0c3f17c4ded7b27c6872d727b55336a4/",
"port":18044,
"uriLocal":"http://localhost:18044/"
}