Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Plugin API specification to support the kintone API update from February 9, 2025. The changes add support for filtering plugins by IDs and retrieving plugin descriptions.
- Added
idsrequest parameter to support retrieving up to 100 specific plugins by ID - Added
descriptionresponse field to include plugin descriptions in API responses - Refactored
PluginClientmethods to support all parameter combinations while maintaining backward compatibility
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
GetInstalledPluginsRequest.java |
Added ids field to support filtering by plugin IDs with appropriate documentation |
Plugin.java |
Added description field to store plugin descriptions in response objects |
PluginClient.java |
Added method overloads to support ids parameter and refactored existing methods for parameter flexibility |
package-info.java |
Added JavaDoc package documentation following established codebase patterns |
PluginClientTest.java |
Added comprehensive test coverage for new method overloads and updated existing tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
chihiro-adachi
approved these changes
Nov 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
2025年2月9日 kintone API アップデート情報に対応するため。
https://cybozu.dev/ja/kintone/news/api-updates/2025-02/
インストール済みのプラグインの一覧を取得するAPIに以下の仕様変更が追加されました:
idsが追加(最大100件のプラグインIDを指定可能)descriptionが追加(プラグインの説明を取得可能)What
リクエスト側の対応
GetInstalledPluginsRequest.javaにidsフィールドを追加PluginClient.javaに新しいメソッドオーバーロードを追加getInstalledPlugins(List<String> ids): idsのみを指定getInstalledPlugins(List<String> ids, Long offset, Long limit): ids、offset、limitを併用レスポンス側の対応
Plugin.javaにdescriptionフィールドを追加JavaDocの対応
com.kintone.client.api.pluginパッケージにpackage-info.javaを追加テストの追加
PluginClientTest.javaに以下のテストケースを追加getInstalledPlugins_Request(): idsを含むRequestオブジェクトのテスト(既存テストを更新)getInstalledPlugins_List(): idsのみを指定するテストgetInstalledPlugins_AllParams(): ids、offset、limitをすべて指定するテストHow to test
Checklist