Versions Compared

Key

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

...

/

...

config/

...

source/bad/{communityId-list}
Info

Returns a list of sources harvesting incorrectlythat have sufficient harvest errors that they have been removed from the harvesting schedule (or have been turned off by an administrator).

Authentication

Required, see see Auth - Login

Arguments

communityId-list (required)
Community ID, or IDs (comma-separated), or community ID - regex for which to retrieve sources.

Parameters

project_id (optional): the id of a share of type "infinite_project_config", this will filter the search to only communities active in this project. See projects documentation for more information

stripped - if set to true (default false), then the source is stripped down to its bare metadata for transmission/parsing efficiency. Individual "source/get" calls must be admin

Arguments

none

Example

then be made to retrieve the full source.

Example

http://infinite.ikanow.com/api/config/source/bad/4e258f8a64b46403c55095ce

http://infinite.ikanow.com/api/knowledgeconfig/sourcessource/bad/*system

Example Response
Info
Code Block
{
    "response": {
      response: {  "action": "Bad Sources",
        "success": true,
      o  action: "Bad Sources"
"message": "Successfully returned bad sources",
        "time": 51
    },
    "data": [
         o success: true{
            "_id": "4cbdb9eb5ed98e7bc8489270",
           o message"created": "Successfully returned bad sources"Oct 19, 2010 11:31:55 AM",
            "modified": "Oct 19, o2010 time: 242
  11:31:55 AM",
            "url": "http://english.aljazeera.net/Services/Rss/?PostingId=2007731105943979989",
   }         data"title": ["Al Jazeera: World News",
         {   "isPublic": true,
            _id"ownerId": "4cbdb9eb5ed98e7bcd4892704e3706c48d26852237078005",
            "mediaType": "News",
            "key": "feed:http.english.aljazeera.rssnet.slashdotservices.orgrss.slashdot.slashdot"
.postingid=2007731105943979989",
            "description": "Al Jazeera World News Articles",
            "tags": [
                "topic:politics",
                "World",
                "News",
                "industry:all"
            ],
            "communityIds": [
                "4c927585d591d31d7b37097a"
            ],
            "harvest": {
               created "harvested": "OctMar 191, 20102012 111:3143:55 AM"
   32 AM",
                "harvest_status": "error",
                "harvest_message": "Read timed out",
                "doccount": 8153
            },
            "isApproved": true,
            "harvestBadSource": true,
            modified"extractType": "Feed"
        },
        {
            "_id": "4cbdb9ed5ed98e7b07499270",
            "created": "Oct 19, 2010 11:31:5557 AM",
            "modified": "Oct 19, 2010 11:31:57 AM",
            "url": "feedhttp://rsswww.slashdotarmy.orgmil/rss/Slashdotfeeds/slashdot"health.xml",
            "title": "Army: Healthcare",
            title"isPublic": "Slashdot: Recent Discussions"
   true,
            "ownerId": "4e3706c48d26852237078005",
            "mediaType": "News",
            description"key": "Slashdot Recent Discussions"
   http.www.army.mil.rss.feeds.health.xml",
            "description": "Army Health Care Updates",
            mediaType: "Discussiontags": [
               extractType: "Feedtopic:healthcare",
                isPublic: true"industry:healthcare",
                groupID: "4c927585d591d31d7b37097aMilitary",
                "healthcare"
 tags: [          ],
            "DiscussioncommunityIds": [
                "4c927585d591d31d7b37097a"
]            ],
      harvest: {     "harvest": {
                "harvested": "DecMar 201, 20102012 19:4541:2723 PM"AM",
                "harvest_status": "error",
                "harvest_statusmessage": "errorConnection refused",
                "doccount": 316
    harvest_message: "unknown protocol: feed"
        },
            "isApproved": true,
   }         "harvestBadSource": true,
      isApproved: true     "extractType": "Feed"
      }  }
    ]
}

...