• Register

Penguin Random House Developer Blog

Enhanced API v1.3.10 released

On Wednesday January 24, 2018, version 1.3.10 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.10 release notes

This version introduces two new features. The first of these is a new Title view for the PEEPS project.

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

  "data": {
    "ean": 9780525483427,
    "title": "The Crooked Staircase",
    "author": "Dean Koontz",
    "salesRestriction": {
      "code": "07",
      "description": "US, Canada, Open Mkt"
    },
    "saleStatus": "IN",
    "format": {
      "code": "HC",
      "description": "Hardcover"
    },
    "subformat": {
      "code": null,
      "description": null
    },
    "productLine": "141",
    "productType": "025",
    "division": {
      "code": "12",
      "description": "Bantam Dell"
    },
    "frontlistiestSeq": 1,
    "language": "E",
    "age": {
      "code": null,
      "description": null
    },
    "onsale": "2018-05-08",
    "titleBlock": null,
    "hasCoverImage": true,
    "workId": 573049,
    "flapCopy": "Jane Hawk—who dazzled readers in...",
    "subjects": [
      {
        "code": "FIC030000",
        "description": "Fiction - Thrillers - Suspense"
      },
      {
        "code": "FIC002000",
        "description": "Fiction - Action & Adventure"
      },
      {
        "code": "FIC025000",
        "description": "Fiction - Psychological"
      }
    ],
    "authors": [
      {
        "code": "16127",
        "description": "Dean Koontz"
      }
    ]
  },

The other new feature is a new flag added to the product display view to identify library binding ISBNs. Hardcover Library Binding titles have a format description that has been cleaned to simply "Hardcover" so this flag is needed to be able to distinguish them from the other HC edition.

/domains/PRH.US/titles/9781524715403/views/product-display

"flags": [
    "LIBRARY_BINDING"
],

Bug

  • [RHAPI-846] - Author ID #4881 still present in Solr collection
  • [RHAPI-853] - Ordering of titles within author on PRH.com

New Feature

  • [RHAPI-859] - Create title view for PEEPS
  • [RHAPI-863] - Add LIBRARY_BINDING flag to Product Display view

Task

  • [RHAPI-847] - Create AUTHOR_DELETES table
  • [RHAPI-854] - Refactor api load script to generate delete documents on initialization.
  • [RHAPI-858] - Identify deleted work IDs
  • [RHAPI-862] - Remove deleted work IDs from Solr