• Register

Penguin Random House Developer Blog

Enhanced API v1.3.21 released

On Wednesday August 1, 2018, version 1.3.21 of the Enhanced PRH API was released to production. If you encounter any problems with your applications as a result of these changes, please contact us at api@penguinrandomhouse.com.

Version 1.3.21 release notes

As was announced previously on this blog, the major change with this release is how certain Work attributes are derived. In general, attributes such as title and onsale for any Work representation are now pulled from the "frontlistiest" ISBN rather than strictly the oldest one. In addition, we've added a new data element to the Work representation called firstOnsale which exposes the same date that previously had been used to populate onsale.

/domains/PRH.US/works/335003

    "works": [
      {
        "workId": 335003,
        "title": "The Sum of All Fears",
        "author": "Tom Clancy",
        "onsale": "2018-06-05",
        "language": "E",
        "seoFriendlyUrl": "\/books\/335003\/the-sum-of-all-fears-by-tom-clancy",
        "contribRoleCode": null,
        "contribRoleDesc": null,
        "seriesNumber": null,
        "firstOnsale": "2002-05-07",

Additionally, a change was made to the PEEPS view that exposes the contributor role as part of the authors array.

/domains/PRH.US/titles/9781594482564/views/peeps

    "authors": [
      {
        "code": "26961",
        "description": "George Saunders",
        "roleCode": "A"
      }
    ],

Change

  • [RHAPI-1017] - Author Role Code Needed in PEEPS listTitle view

Bug

  • [RHAPI-1013] - /views/author-display triggers error 500 in TST

Task

  • [RHAPI-1006] - Add FIRST_ONSALEDATE to Work epresentation
  • [RHAPI-1007] - Modify SQL to fetch WORK attribute columns from WORKxWEBDOMAIN_COMPUTED