Skip to content
Thomas Muldowney edited this page Apr 6, 2011 · 2 revisions

Retrieves an object that contains lists of all of the available and all of the installed services.

Method: GET

Arguments: None

Result Content-Type: application/json

Result: A JSON object with two properties available and installed. available is an Array of service info objects giving full definitions of the available services. installed is an object mapping instance ids to service info objects. The installed service info objects contain extra information from the installation process.

Result Example:

{
    "available":[
        {
            "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"
        },
        {
            "title":"Facebook Account",
            "action":"Connect to a Facebook account",
            "desc":"Collect and sync my (open graph) data from my Facebook account using Facebook Connect and a Facebook 'app' that I create just for myself.",
            "run":"node client.js",
            "provides":["contact/facebook","status/facebook"],
            "srcdir":"Connectors/Facebook",
            "is":"connector"
        },
        {
            "title":"All Your Contacts Are Belong To Us",
            "desc":"A collection of contacts from many places.",
            "run":"node contacts.js",
            "takes":["contact/facebook","contact/foursquare","contact/osx-addressbook","contact/twitter","contact/google"],
            "provides":["contact"],
            "srcdir":"Collections/Contacts",
            "is":"collection"
        }
    ],
    "installed":{
        "0c3f17c4ded7b27c6872d727b55336a4": {
            "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