Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
API Call - /knowledge/doc/{docid}?returnFullText=[true|false|1|0]
Info

Returns a document (TODO link to document object) matching the id number provided.

...

Arguments

docid (required)
id of the document of which to return the metadata

returnFullText (optional)
By default, the text of the document you wish to get the details ofis not returned. Setting this parameter to "true" or "1" will return the first 50KB of the content.

Example

http://infinite.ikanow.com/api/knowledge/doc/4cc0ebff97622e5914a70e83

Example Response

TODO handle new

Info
Code Block
{
    "response": {
        "action": "Doc Info",
        "success": true,
        "message": "Doc info returned successfully",
        "time": 0
    },
    "data": {
        "_id": "4cc0ebff97622e5914a70e83",
        "created": "1287711743585Thu Oct 21 20:00:00 UTC 2010",
        "modified": "1287711743585Thu Oct 21 20:00:00 UTC 2010",
        "title": "AmSurg Announces Third-Quarter Net Earnings from Continuing Operations of $0.43 Per Diluted Share",
        "description": "NASHVILLE, Tenn.--(BUSINESS WIRE)--Christopher A. Holden, President and Chief Executive Officer of AmSurg Corp. (NASDAQ: AMSG), today announced financial results for the third quarter ended September 30, 2010. Revenues increased 7% to $180,275,000 for the quarter from $167,873,000 for the third quarter of 2009. Net earnings from continuing operations attributable to AmSurg common shareholders for the third quarter of 2010 were $13,203,000, or $0.43 per diluted share, compared with $13,393,000, o\n\n  \n  \n  \n  \n  \n  \n  \n\n\n",
        "url": "http://feeds.businesswire.com/click.phdo?i\u003d9bb973ede2264e5d2dfe81afd1b53536",
        "publishedDate": "Thu Oct 21 20:00:00 UTC 2010",
        "source": "Business Wire: Conference Call News",
        "sourceKey": "http.origin.feeds.pheedo.com.bw.conference_calls-rss",
        "mediaType": "News",
        "groupidcommunityId": "4c927585d591d31d7b37097a",
        "entities": [
            {
                "actual_name": "AmSurg",
                "type": "Company",
                "relevancedisambiguated_name": "0.742427",
                "frequency": "13Amsurg PLC",
                "totalfrequencyindex": "1",
                "dimension": "What"
            }amsurg plc/company",
            {
                "actual_name"relevance": "Medicare"0.742427,
                "typefrequency": "Organization"13,
                "relevancetotalfrequency": "0.554665"131,
                "frequencydoccount": "7",
                "totalfrequency": "1"17,
                "dimension": "Who"
            },
            {
                "actual_name": "AmSurg Corp.Medicare",
                "type": "CompanyOrganization",
                "relevance": "0.360291",
                "frequency": "4",
                "totalfrequency": "1",
                "dimension": "What"
            },
            {
                "actualdisambiguated_name": "NASHVILLEMedicare",
                "typeindex": "Citymedicare/organization",
                "relevance": "0.339423"554665,
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "Where"
            },
            {
                "actual_name": "Mr. Holden",
                "type": "Person",
                "relevance": "0.333156",
                "frequency": "2",
                "totalfrequency": "1"doccount": 1,
                "dimension": "Who"
            },
            {
                "actual_name": "NASDAQNASHVILLE",
                "type": "FinancialMarketIndexCity",
                "relevance": "0.326748",
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "What"
            },
            {
                "disambiguousdisambiguated_name": "United StatesNashville",
                "actual_nameindex": "United Statesnashville/city",
                "type": "Country",
                "relevance": "0.305428"339423,
                "frequency": "1"2,
                "totalfrequency": "1"100,
                "dimensiondoccount": "Where"32,
                "linkdatadimension": [
                    "http://www4.wiwiss.fu-berlin.de/factbook/resource/United_States","Where"
                    "http://dbpedia.org/resource/United_States",
                    "http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000000959f60",
                    "http://sw.opencyc.org/concept/Mx4rvVikKpwpEbGdrcN5Y29ycA",
                    "http://mpii.de/yago/resource/United_States"
 "ontology_type": "city"
              ]
            },
            {
                "actual_name": "A.United HoldenStates",
                "type": "PersonCountry",
                "relevance": "0.304383",
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "Who"
            },
            {
                "actualdisambiguated_name": "revolvingUnited creditStates",
                "typeindex": "FieldTerminologyunited states/country",
                "relevance": "0.284361"305428,
                "frequency": "1",
                "totalfrequency": "1"12432,
                "dimensiondoccount": "What"
            },
     9931
      {                 "disambiguous_name"dimension": "U.S. Securities and Exchange CommissionWhere",
                "actual_name": "Securities and Exchange Commission",
                "ontology_type": "Organizationcountry",
                "relevancelinkdata": "0.281142",[
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "Who",
                "linkdata": ["http://www4.wiwiss.fu-berlin.de/factbook/resource/United_States",
                        "http://dbpedia.org/resource/U.S._Securities_and_Exchange_CommissionUnited_States",
                    "http://rdf.freebase.com/ns/guid.9202a8c04000641f800000000006aae49202a8c04000641f8000000000959f60",
                    "http://sw.opencyc.org/concept/Mx4rwGnYuJwpEbGdrcN5Y29ycA"
                ]
            }Mx4rvVikKpwpEbGdrcN5Y29ycA",
            {                 "actual_name": "physician partners",
                "type": "Company",
                "relevance": "0.275794",
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "What"
            },
            {
                "actual_name": "healthcare services","http://mpii.de/yago/resource/United_States"
                ]
 "type": "FieldTerminology",
                "relevance": "0.271687",
                "frequency": "1",
                "totalfrequency": "1",
                "dimension": "What"
            }
        ]
    }
}

...