Skip to content
quartzjer edited this page Jan 21, 2012 · 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:

{
    "photosviewer": {
        "type": "app",
        "title": "Masonry",
        "status": "stable",
        "static": true,
        "handle": "photosviewer",
        "uses": {
            "services": ["facebook", "twitter", "foursquare", "flickr", "instagram"],
            "types": ["photos"]
        },
        "update": true,
        "github": "https://github.com/LockerProject/locker",
        "url": "",
        "version": "0.0.3",
        "upserted": 1326916787997,
        "manifest": "Me/node_modules/photosviewer/package.json",
        "srcdir": "Me/node_modules/photosviewer",
        "provider": "photosviewer",
        "id": "photosviewer",
        "installed": 1326916787998,
        "uri": "http://localhost:8042/Me/photosviewer/",
        "externalUri": "http://localhost:8042/Me/photosviewer/",
        "loaded": 1327184896890
    },
    "places": {
        "title": "Places",
        "handle": "places",
        "run": "node places.js",
        "author": "nerds",
        "update": "auto",
        "github": "https://github.com/LockerProject/Locker",
        "type": "collection",
        "provides": ["place"],
        "mongoCollections": ["place"],
        "events": [["checkin/foursquare", "/events"], ["recents/foursquare", "/events"], ["tweets/twitter", "/events"], ["timeline/twitter", "/events"], ["photo://instagram", "/events"], ["location/glatitude", "/events"]],
        "url": "",
        "version": "0.0.3",
        "upserted": 1326916976021,
        "manifest": "Me/node_modules/places/package.json",
        "srcdir": "Me/node_modules/places",
        "provider": "places",
        "id": "places",
        "installed": 1326916976021,
        "uri": "http://localhost:8042/Me/places/",
        "externalUri": "http://localhost:8042/Me/places/",
        "loaded": 1327184896899
    }
}
Clone this wiki locally