Skip to content

v2.5.0

Latest
Compare
Choose a tag to compare
@IvanJelicSF IvanJelicSF released this 26 Dec 13:19
f689326

This release brings API support for adding non published articles to content lists, with additional improvements (for details see Superdesk Publisher plugin 2.8 release notes). Please make sure you are ready to start receiving HTML instead of plain text for the lead/abstract fields in your frontends.

  • API improvements
    • Improved search response for articles
      • Added article id
      • Renamed item.feature_media to swp_article_feature_media
      • Changed the structure of the route properties metadata, the new mapping is:
        swp_route: { name: item.route.name, staticprefix: item.route.slug }
      • Added swp_article_extra to the response
    • Adding support for custom media fields in the API response for articles
    • Introducing content push endpoint with options (non published articles in content lists support, more details about the feature here)
      • Used for setting custom status when a non published article is added to the content list, like /api/{version}/content/push-with-options?status={status}
    • Introducing API endpoint for getting article id by guid (non published articles in content lists support, more details about the feature here)
      • Used for retrieving an article id so the article can be properly added to the content list, after it’s pushed with the special status, like /api/{version}/content/article/search-code?code={guid}
  • Use HTML instead of plain text for the lead/abstract field
  • Enabled strings to be used as Urgency values in automatic content lists