Repository navigation
[api-sync] Java 2.0.0 adds memory, file, knowledge base and note operations - #40
Merged
Merged
Conversation
Brings the client in line with public API contract 3e9c6fa0a27454d8d5300c42e4215c475c3954b085dae9901f429d0c531e50f3 and records it in PUBLIC_API_VERSION. New operations: customer memories (list, batch create v2, deprecated v1 batch create), files (begin upload, create, list), knowledge bases (list, create, read, update), notes (list, read), the conversation read endpoint, and reading a given tool version. New webhook events: conversation.start and the three back-office task events; unknown event types now come back as UNKNOWN instead of throwing. Fixes on main: requests now go to the configured base URL, query parameters are sent and encoded, readConversation uses the /read endpoint, the tool and terminology substitution lists read their wrapped responses, deleting a hand-off target sends its ID as a query parameter, timestamps are sent as RFC 3339 strings, participant types use the API's values, unknown response fields no longer fail parsing, and conversation.hand_off webhooks parse again. Carries over the customer memories batch-create work from #34.
twindebank
force-pushed
the
api-sync/full-8572e0700a86
branch
from
November 27, 2026 10:47
98c6b90 to
87ebf15
Compare
twindebank
marked this pull request as ready for review
November 27, 2026 11:21
gmtuca
approved these changes
Nov 27, 2026
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.
Updates the Java SDK from 1.0.2 to 2.0.0 for API version
3e9c6fa0a27454d8d5300c42e4215c475c3954b085dae9901f429d0c531e50f3. Includes the customer memory support from #34.Migrating to 2.0.0
ParticipantType.HUMANwithAGENT. UseAttachmentType.FILEfor documents, video and audio.supportPlatformwhen reading a conversation. TheincludeMessagesoption is gone.batchCreateCustomerMemoriesV2. Memory data, article and topic data, task input and async tool results accept any JSON value.Topic.getData()returns the decoded bytes.ResourceSourceSchemaUpdateto send a raw JSON schema. UseSecretRefreshRequestto configure an HTTP refresh, withSecretRefreshRetryfor the timeout per attempt.action.execute. The legacyresource.pullhelpers are deprecated.New operations
readConversation. The older route remains available asreadConversationDeprecated.readTool(String, Long).conversation.startand back-office task completion, failure and hand-off events. Unknown webhook types retain their raw JSON payload.Requests use the configured base URL, encode path and query parameters, and send timestamps as RFC 3339 strings. Tool and terminology lists now read the returned lists, and setting a procedure limit returns the updated procedure. Topic reads accept an omitted support platform. Traffic group target creation and resource source schema updates accept the path ID as a separate argument.
Verification
The client methods match all 88 customer API operations by HTTP method and path. Both Maven modules passed
mvn --no-transfer-progress clean verifywith 46 tests and zero failures.