API Updates for June 2020

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.

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.

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, 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.

Get Notified on Kintone Developer Updates

Need notifications? Follow our Register as a Member guide, navigate to the What's New section and click the Follow button to receive email notifications for new API Updates, CDN Updates and New Tutorials.

Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!