Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
/config/source/add/{sourceurl}/{sourcetitle}/{sourcedesc}/{extracttype}/{sourcetags}/{mediatype}/{communityId}
Info

Adds a new source to the system. This has been replaced by Config - Source - Save

Authentication

Required, see Auth - Login

Arguments

communityId (required)
Community ID to which you want to associate this source

sourceurl (required)
Address of the source

sourcetitle (required)
Name of the source

sourcedesc (required)
A description of the source documents

extracttype (required)
Type of source, currently one of "Feed", "File", "Database": at present only "Feed" can be added this way, use Config - Source - Save for others.

sourcetags (required)
comma deliminated list of words describing the source

mediatype (required)
Type of source e.g. News, social, video, etc

Example

http://infinite.ikanow.com/api/knowledge/source/add/www.newsource.com/Brand New Source/A description for brand new stuff/RSS/New,Tech,Brand/Blog/4cc0ebff97622e5914a70e83

TODO example return value