Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
/config/source/pending/{communityId}

...

Authentication

Required, see Auth - Login

Arguments

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

...

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

Example Response

...

Info
Code Block
{
      "response": {
          "action": "Pending Sources",
          "success": true,
          "message": "successfully returned pending sources",
        "time": 22
    },
    "data": [
        {
            "_id": "4cbdb9ed5ed98e7be9489270",
            "created": "Oct 19, 2010 11:31:57 AM",
            "modified": "Oct 19, 2010 11:31:57 AM",
            "url": "www.cdc.gov/nchs/Default.htm",
            "title": "Center for Disease Control and Prevention: Health Information",
            "isPublic": true,
            "ownerId": "4e3706c48d26852237078005",
            "mediaType": "News",
            "key": "www.cdc.gov.nchs.default.htm",
            "description": "Health Information Source",
            "tags": [
                "Medical news",
                "medical",
                "topic:healthcare",
                "news",
                "industry:health care"
            ],
            "communityIds": [
                "4c927585d591d31d7b37097a"
            ],
            "harvest": {
                "harvested": "May 31, 2011 8:36:08 AM",
                "harvest_status": "error",
                "harvest_message": "Invalid XML: Error on line 323: The element type \"li\" must be terminated by the matching end-tag \"</li>\".",
                "doccount": 0
            },
            "isApproved": false,
            "harvestBadSource": false,
            time"extractType": 127"Feed"
        },
        {
            "_id": "4cbdb9ed5ed98e7bf0489270",
            "created": "Oct 19, 2010 11:31:57 AM",
            "modified": "Oct 19,  data: [ ]
2010 11:31:57 AM",
            "url": "http://www2c.cdc.gov/podcasts/createrss.asp?t=r&c=175",
            "title": "CDC: Environmental Medicine Case Studies",
            "isPublic": true,
            "ownerId": "4e3706c48d26852237078005",
            "mediaType": "News",
            "key": "http.www2c.cdc.gov.podcasts.createrss.asp.t=r.c=175",
            "description": "Healthcare - Environmental Medicine articles",
            "tags": [
                "environmental medicine",
                "environment",
                "topic:healthcare",
                "industry:healthcare",
                "healthcare"
            ],
            "communityIds": [
                "4c927585d591d31d7b37097a"
            ],
            "harvest": {
                "harvested": "May 31, 2011 8:36:17 AM",
                "harvest_status": "success",
                "doccount": 13
            },
            "isApproved": false,
            "harvestBadSource": false,
            "extractType": "Feed"
        }
    ]
}