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
-
Show or Hide a Field (Desktop)
kintone.app.record.setFieldShown(fieldCode, isShown)
-
Show or Hide a Field (Mobile)
kintone.mobile.app.record.setFieldShown(fieldCode, isShown)
-
Show or Hide a Field (Desktop)
- 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.
- Related APIs
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.
- Notes
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
-
Add Record
(
/k/v1/record.json
) -
Add Records
(
/k/v1/records.json
) -
Update Record
(
/k/v1/record.json
) -
Update Records
(
/k/v1/records.json
)
-
Add Record
(
- 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.
- Related APIs
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
-
Add Users
(
/v1/users.json
) -
Update Users
(
/v1/users.json
)
-
Add Users
(
- Notes
- Specifying "auto" for the local parameter sets the User's Language settings to "Use Web browser settings".
- Related APIs
Bug fixes
- A bug exists where the locale parameter specified in the request would be ignored. This bug will be fixed.
- Related APIs
-
Update Users
(
/v1/users.json
)
-
Update Users
(
- 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.
- Related APIs