API Updates for June 2020

API Updates

The next Kintone update is 12th June 2020. The release also includes the following API updates.

Update Summary

  • The setFieldShown method will be enhanced so that fields within tables can also be hidden.
  • The Updated Views API will be able to be authenticated with API tokens.
  • Some API error messages will be fixed to return more user-friendly messages.

Kintone JavaScript API

New features

  • The setFieldShown method will be able to hide fields within Table fields.
    • Related APIs
    • Notes
      • To hide all fields within the Table field, we recommend hiding the whole Table field by specifying the Table field's field code in the fieldCode parameter.

Kintone REST API

Spec changes

  • The Update Views API (/k/v1/preview/app/views.json) will be able to be authenticated with API tokens.
    • Notes
      • If the target App contains any Custom Views (External link) , this API cannot update the views if it's authenticated with API tokens. This is due permission related reasons.

Bug fixes

  • A bug exists where APIs would return unfriendly error messages when setting values for Lookup fields within Table fields. This bug will be fixed.
    • Related APIs
    • Conditions When all of the following conditions apply:
      • Values are set for Lookup fields within Table fields using any of the related APIs.
      • There are no View permissions for the App that is being looked up.
    • Details
      • Before the fix: The "Illegal request." error message is returned.
      • After the fix: A more detailed error message will be returned.

User API

Spec changes

  • APIs for adding and updating Users will be able to specify "auto" in the locale parameter of the request.
    • Related APIs
    • Notes
      • Specifying "auto" for the local parameter sets the User's Language settings to "Use Web browser settings".

Bug fixes

  • A bug exists where the locale parameter specified in the request would be ignored. This bug will be fixed.
    • Related APIs
    • Conditions
      • The locale parameter in the request is not defined.
    • Details
      • Before the fix: The locale parameter in the request is treated as though "auto" is specified.
      • After the fix: The locale parameter in the request will be kept undefined.