Skip to content

Add assistant.search Web API methods#1594

Open
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feat/assistant-search-apis
Open

Add assistant.search Web API methods#1594
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feat/assistant-search-apis

Conversation

@Cr1stal
Copy link
Copy Markdown

@Cr1stal Cr1stal commented May 30, 2026

Summary

Adds Java SDK support for the Slack Web API assistant.search.* methods:

  • assistant.search.context
  • assistant.search.info

This includes request/response types, sync and async MethodsClient support, form serialization, rate-limit metadata, mock JSON fixtures, and local tests.

The assistant.search.context sample includes representative message, file, channel, and user result objects so downstream generated response types can infer concrete result shapes.

Related to slackapi/node-slack-sdk#2607.

Category (place an x in each of the [ ])

  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)

Testing

./mvnw -pl slack-api-client -Dtest=test_locally.api.methods.AssistantTest test
./mvnw -pl slack-api-client -Dtest=test_locally.api.MethodsTest,test_locally.sample_json_generation.MethodsResponseDumpTest,test_locally.api.methods.RequestFormBuilderTest test
./mvnw -pl slack-api-client -Dtest=test_locally.sample_json_generation.MethodsResponseDumpTest#assistant_search test
git diff --check

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @Cr1stal to sign the Salesforce Inc. Contributor License Agreement.

@Cr1stal Cr1stal force-pushed the feat/assistant-search-apis branch 4 times, most recently from 44a3337 to d3c35f8 Compare May 30, 2026 12:21
@Cr1stal Cr1stal marked this pull request as ready for review May 30, 2026 12:25
@Cr1stal Cr1stal requested a review from a team as a code owner May 30, 2026 12:25
@Cr1stal Cr1stal force-pushed the feat/assistant-search-apis branch from d3c35f8 to 4b359dc Compare May 30, 2026 12:29
@Cr1stal Cr1stal force-pushed the feat/assistant-search-apis branch from 4b359dc to 36ec916 Compare May 30, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant