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 that have sufficient harvest errors that they have been removed from the harvesting schedule (or have been turned off by an administrator).

Authentication

Required, 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 then be made to retrieve the full source.

Example

http://infinite.ikanow.com/api/knowledgeconfig/sourcessource/bad/4e258f8a64b46403c55095ce

http://infinite.ikanow.com/api/config/source/bad/*system

Example Response

...

Info
Code Block

{
      "response": {
          "action": "Bad Sources",
          "success": true,
          "message": "Successfully returned bad sources",
        "time": 51
   time: 242 },
    "data": [
        {
            "_id": "4cbdb9eb5ed98e7bc8489270",
            "created": "Oct 19, 2010 11:31:55 AM",
            "modified": "Oct 19, 2010 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":   modifiedtrue,
            "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/slashdothealth.xml",
            "title": "Army: Healthcare",
 title: "Slashdot: Recent Discussions"
              "isPublic": 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"industry:healthcare",
true                 groupID: "4c927585d591d31d7b37097aMilitary",
                "healthcare"
 tags: [          ],
            "DiscussioncommunityIds": [
                "4c927585d591d31d7b37097a"
]            ],
      harvest: {     "harvest": {
                "harvested": "DecMar 201, 20102012 19:4541:2723 PMAM",
                "harvest_status": "error",
                "harvest_statusmessage": "error"Connection refused",
                "doccount": 316
        harvest_message: "unknown protocol: feed" },
            "isApproved": true,
   }         "harvestBadSource": true,
      isApproved: true     "extractType": "Feed"
      }  }
    ]
}

...