Issues

  • imageAssets isn't always a List

    When calling https://api.kwikee.com/public/library/v3/data/gtin/{gtin}, if there is only one Image Asset, then the API returns only that singular object, not a 1 item list containing that object. In other cases, where there are more than 1 Image Asset, it will return a list containing all of the objects. This is causing an issue with the application we are developing, because it is expecting a list of objects, but is recieving a singular object instead. This is a non-trivial fix for us, as we are using a Serialization framework to transform the JSON string into an object in our application. I've attached an example of the issue (example.json) as well as a sample of what we normally see with the API (sample.json). I've also attached what we expected instead of the example (fixed.json) Also, it appears that the attach UI only takes the latest input from attach. When I tried to add a file, the ones that I had previously added disappeared. Selecting them all at once works, however.

    Status: Proposed | Reported by Hidden Fri, 16 Aug 2019 18:03:57 GMT

You're not signed in. Please sign-in to report an issue or post a comment.