API Updates for March 2020

API Updates

The next Kintone update is 6th March 2020. The release also includes the following updates.

Kintone REST API

Spec changes

  • The following APIs will be able to be authenticated with API tokens:
  • A Lookup field can be specified in the Related Records field’s “Fetch Criteria” using the Form Fields API.
  • The following APIs can include [ target="_blank" ] in the request body when stating an HTML string:
    • Related APIs:
    • Details:
      When [ target="_blank" ] is included in the request body when stating an HTML string body:
      Example: <a href=“https://example.kintone.com/k/” target="_blank"  rel=“nofollow”>link</a>
    • Before the fix:
      • [ target="_blank" ] is removed
      • Example’s result: <a href=“https://example.kintone.com/k/” rel=“nofollow”>link</a>
    • After the fix:
      • [ target="_blank" ] is not removed
      • Example’s result: <a href=“https://example.kintone.com/k/” target="_blank"  rel=“nofollow”>link</a>

Bug fixes

  • A bug exists where when a field size object’s property is set to a numeric value leading with a zero, it is interpreted as a base-8 (octal). This bug will be fixed.
    • Related APIs:
    • Details:
      When a field size object’s property (width, height, or innerHeight) is set to a numeric value leading with a zero.
    • Before the fix:
      • The numeric value is interpreted as a base-8 (octal).
      • Example: 010 input is interpreted as an 8.
    • After the fix:
      • The numeric value’s leading 0 is ignored and interpreted as a base-10 (decimal).
      • Example: 010 input is interpreted as a 10.
  • A bug exists where when a request parameter’s app or ids is set to a numeric value leading with a zero, it is interpreted as a base-8 (octal). This bug will be fixed.
    • Related APIs:
    • Details:
      When a request parameter’s app or ids is set to a numeric value leading with a zero.
      • Before the fix:
        • The numeric value is interpreted as a base-8 (octal).
        • Example: 010 input is interpreted as an 8.
      • After the fix:
        • The numeric value’s leading 0 is ignored and interpreted as a base-10 (decimal).
        • Example: 010 input is interpreted as a 10.

Kintone JavaScript API

Bug fixes

  • A bug exists where table names are not hidden when the Show/Hide fields API is used to hide the tables. This bug will be fixed.
    • Related APIs:
    • Details:
      When a table, whose name is set to be displayed, is hidden using the kintone.app.record.setFieldShown() API:
      • Before the fix: The table is hidden, but the name remains unhidden.
      • After the fix: Both the table and table name are hidden.