SEARCH

// developer.daylife.com


Daylife API Release Notes


Note: In the context of this document, deprecated means that a given API version has been superseded by one or more subsequent versions and has been scheduled to be decommissioned. Decommissioned means that guaranteed compatibility and support for a given API version has been removed altogether. For more information about versioning and compatibility levels, please see this section in Basic Concepts in the Daylife API.

API Version 4.8 (current)

  • Filter images returned by topic_getRelatedImages by using min_topic_image_confidence  :   Confidence that the topic is in the photo. Possible values - 'low', 'medium', 'high'
  • If the Query for your Search API call has more than 32 terms/phrases, an error code is returned. For versions previous to 4.8, an empty <payload> with a Success error code was returned.

 

API Version 4.7

  • Turn off sliding excerpts in topic_getRelatedArticles, topic_getRelatedStories and search_getRelatedArticles by using sliding_excerpt=0 to get the first 256 characters of the Article body as an excerpt . By default, an excerpt from within the article body that contains your topic name/query is returned, that we call as sliding excerpt.
  • topic_getInfo returns a lead image (tag is called <hero_image>) for the topic that is manually selected by an editor at Daylife. These are usually headshots for PERSON topics and logos for COMPANY topics and tend to be more effective and accurate than the lead image selected by the system.
  • All <source> blocks now contain a link to the favicon for the source in a <favicon_url> tag.
  •  

    API Version 4.6

    • Introducing sort=daterank  for the Search API calls. This sorting is a mix of relevancy (sort=relevance) and recency (sort=date).
    • You can now use a new parameter called source_whitelist to filter the results by sources. You can specify multiple sources by using their source ids as multiple name value pairs in the API request.

     

    API Version 4.5

    • include_topic_type  for all calls returning related Topics (xxx_getRelatedTopics) changed from the default of ‘person’, ‘place’, ‘organization’ to return all types of topics.

     

    API Version 4.4 (deprecated)

    • Introducing search_getQuotesBy  and topic_getQuotesBy  to return Quotes said by a Topic/matching Topic.
    • You can get the Wikipedia abstract for a topic by calling topic_getInfo and using include_wikipedia_info=1. Default is 0.
    • API Version 4.4 is deprecated and has been scheduled for decommissioning on 04/30/2010. Be sure to update all of your projects to the latest version before then.

     

    API Version 4.3 (decommissioned)

     

    API Version 4.2 (decommissioned)

      

    API Version 4.0 (decommissioned)