Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/

...

social/

...

gui/modules/search/{term}
Searches modules in Infinit.e marketplace
Info

Note - the "widget uploader" (widgetUploader.jsp) should be used in most cases, rather than this lower level call.

(Intended for integration with the Community Edition GUI - not for 3rd party API access)

Searches modules across all the user's communities, where the title, author or description contains the search term and returns a list of results.

Authentication

Required, see Auth - Login

Arguments

term (required)
Search term used to find matching modules (searches on title, author, and description)

Example

http://infinite.ikanow.com/api/knowledgesocial/uisetupgui/modules/search/ikanow
http://infinite.ikanow.com/api/knowledgesocial/uisetupgui/modules/search/map
http://infinite.ikanow.com/api/knowledgesocial/uisetupgui/modules/search/rad

Example Response
Info
Code Block

{
    "response": {
        "action": "Search Modules",
        "success": true,
        "message": "searched modules successfully",
        "time": 0
    },
    "data": [
        {
            "_id": "4cb47f41bc945854b6016b71",
            "swf": "RadarChart.swf",
            "url": "com/ikanow/infinit/e/modules/",
            "title": "Radar",
            "description": "Shows entities and their significance in a radar chart",
            "created": "1286897473885",
            "modified": "1286897473885",
            "version": "1.0",
            "author": "ikanow",
            "imageurl": "http://www.uwec.edu/Help/Excel07/Images/other/cht_radar.gif",
            "approved": true,
            "searchterms": [
                "Radar",
                "Shows",
                "entities",
                "and",
                "their",
                "significance",
                "in",
                "a",
                "radar",
                "chart",
                "ikanow"
            ]
        }
    ]
}

...