Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
/knowledge/feature/aliasSuggest/{field}/{term}/{comma-separated-list-of-community-ids}
Info

Returns a list of aliases sugggestions that have been found in other documents based on your query term.

Authentication

Required, see Auth - Login

Arguments

field (required)
The entity field on which to search, ie "index", "disambiguated_name", or "actual_name"

term (required)
The value of the entity field on which to search for aliases. Note this needs to be URL-escaped, eg "/" in the "index" would be represented by "%2F"

community id list (required)
The list of community IDs 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/aliasSuggest/index/barack obama%2Fperson/4c927585d591d31d7b37097a,4db5c05fb246d25364aceca0
http://infinite.ikanow.com/api/knowledge/feature/aliasSuggest/disambiguated_name/barack obama/4c927585d591d31d7b37097a,4db5c05fb246d25364aceca0
http://infinite.ikanow.com/api/knowledge/feature/aliasSuggest/actual_name/Barry%20Obama/4c927585d591d31d7b37097a,4db5c05fb246d25364aceca0

...