Config - Source - Pending

/config/source/pending/{communityId-list}

Returns a list of sources waiting to be approved by the community owner.

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/config/source/pending/4e258f8a64b46403c55095ce

http://infinite.ikanow.com/api/config/source/pending/*

Example Response
{
    "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,
            "extractType": "Feed"
        },
        {
            "_id": "4cbdb9ed5ed98e7bf0489270",
            "created": "Oct 19, 2010 11:31:57 AM",
            "modified": "Oct 19, 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"
        }
    ]
}