...
Info |
---|
Returns a list of sources waiting to be approved by the community owner. |
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
...
then be made to retrieve the full source.
Example
http://infinite.ikanow.com/api/config/source/pending/4e258f8a64b46403c55095ce
http://infinite.ikanow.com/api/knowledgeconfig/sourcessource/pending/*
Example Response
Info |
---|
Code Block |
---|
{
"response": {
"action": "Pending Sources",
"success": true,
response: { "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",
action"title": "Pending Sources"Center for Disease Control and Prevention: Health Information",
success: true "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: "successfully returned pending sources" 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"
}
data: [ ]
}
|
|
...
,
{
"_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"
}
]
}
|
|