February 2019

Published at 2019-03-07

Changes to the API since January 2019, up until the first week of March.

Added

  • Error messages when providing non-object values to object fields, and vice versa.
    • For example, trying to set a Money field to 100, or setting the streetAddress to {}.
  • Project.urls, which was supposed to be there all along. This was treated as a bug.
    • Thank you for reporting this issue!

Changed

  • Improved validation error when trying to create a listing, project, or project unit with an externalId that is already taken by something else.
    • Now the message will contain the resource type and ID that has the externalId in question, making it possible to recover from this error.

Fixed

  • Unsetting Money fields (setting them to null) is now working.
    • Thank you for reporting this issue!

Other notes

We've been working on optimizing our image uploads. They should be a lot faster now and have fewer timeouts. Thank you for using the API to the degree that we had to start optimizing it already!

A reminder is in order, though. If you make partial updates on images (without including the url field), the image will update instantly without having to be taken offline and redownloaded first. Send the url field again to make us revalidate/redownload the URL. Leave it out if you have not made any changes to the image.