Skip to content
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.

Method

POST

POST Content-Type

application/json

Arguments

A JSON object with a srcdir property pointing to the service to be installed

Arguments Example

{
    srcdir:"Connectors/ChromeHistory"
}

Result Content-Type

application/json

Result

A JSON object with the complete service info after the install is complete.

Result Example

{
    "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/"
}
Clone this wiki locally