Versions Compared

Key

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

...

/

...

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

groupidcommunityId (required)
Group Community ID to which you want to associate this source with, can also be a regex (community ID - regex) provided that matches only a single community.

sourceurl (required)
Address of the source

...

extracttype (required)
Type of source e.g. rss, database, etc, 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 sweet source description for brand new stuff/RSS/New,Tech,Brand/Blog/group123454cc0ebff97622e5914a70e83

Example Response
Info
Code Block
{
	response: {
		action: "Source"
		success: }

...

true
		message: "New source added successfully."
		time: 10
	}
}