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:
- Relevant APIs:
-
Get App Permissions
(
/k/v1/app/acl.json
and/k/v1/preview/app/acl.json
) -
Update App Permissions
(
/k/v1/app/acl.json
and/k/v1/preview/app/acl.json
) -
Get Record Permissions
(
/k/v1/record/acl.json
and/k/v1/preview/record/acl.json
) -
Update Record Permissions
(
/k/v1/record/acl.json
and/k/v1/preview/record/acl.json
) -
Get Field Permissions
(
/k/v1/field/acl.json
and/k/v1/field/record/acl.json
) -
Update Field Permissions
(
/k/v1/field/acl.json
and/k/v1/field/record/acl.json
)
-
Get App Permissions
(
- Relevant APIs:
- A Lookup field can be specified in the Related Records field's "Fetch Criteria" using the Form Fields API.
- Related APIs:
-
Add Form Fields
(
/k/v1/preview/app/form/fields.json
) -
Update Form Fields
(
/k/v1/preview/app/form/fields.json
)
-
Add Form Fields
(
- Related APIs:
- The following APIs can include [ target="_blank" ] in the request body when stating an HTML string:
- 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
) -
Update Space Body
(
/k/v1/space/body.json
) -
Update Thread
(
/k/v1/space/thread.json
)
-
Add Record
(
- 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>
- Related APIs:
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:
-
Update Form Layout
(
/k/v1/preview/app/form/layout.json
)
-
Update Form Layout
(
- 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.
- Related APIs:
- 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:
-
Evaluate Record Permissions
(
/k/v1/records/acl/evaluate.json
)
-
Evaluate Record Permissions
(
- 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.
- Before the fix:
- Related APIs:
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:
-
Show or Hide a Field
kintone.app.record.setFieldShown()
-
Show or Hide a Field
- Details:
When a table, whose name is set to be displayed, is hidden using thekintone.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.
- Related APIs: