Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

entity1 (required)
The first term (subject) of the event you are searching for, leave blank send "null" to match on all subject entities

verb (required)
The 2nd term (verb) of the event you are searching for, leave blank send "null" to match on all possible verbs

entity2 (required)
The 3rd term (object) of the event you are searching for, leave blank send "null" to match on all object entities

...

communityids (required)
A comma deliminated list of community IDs or community ID - regex in the URL controls which sources the query will use. Obviously the logged-in user must have access rights to those communities. A user's communities can be viewed using the "person/get" API call.

Example

http://infinite.ikanow.com/api/knowledge/feature/assocSuggest/obam/null/null/entity1/4c927585d591d31d7b37097a
http://infinite.ikanow.com/api/knowledge/feature/assocSuggest/obama/travel/null/entity1/4c927585d591d31d7b37097a
http://infinite.ikanow.com/api/knowledge/feature/assocSuggest/obam/traveled/can/entity1/4c927585d591d31d7b37097a
http://infinite.ikanow.com/api/knowledge/feature/assocSuggest/obam/traveled/can/entity1/4c927585d591d31d7b37097a,4c927585d561d31e7b37096b

...

Info
Code Block
languagejavascript

{
    "response": {
        "action": "Association Suggestions Event",
        "success": true,
        "message": "obam",
        "time": 0
    },
    "data": [
        "mike del checcolo/person",
        "center on budget and policy priorities/organization",
        "trent gavazzi/person",
        "obama/person",
        "john nase/person",
        "mehmet oz/person",
        "michelle obama/person",
        "lopez howell/person",
        "dave booze/person",
        "earl perkins/person",
        "mark blyth/person",
        "kathleen o'loughlin/person",
        "larry lanzillotta/person",
        "barack obama/person",
        "obama administration/organization"
    ]
}