Repository navigation
feat(methods): add apps.managed.permissions.set method example - #135
Merged
Merged
Conversation
This was referenced Nov 18, 2026
zimeg
force-pushed
the
zimeg-feat-apps-icon-examples-set
branch
from
November 18, 2026 06:17
e9f1646 to
3723493
Compare
zimeg
changed the base branch from
zimeg-feat-apps-icon-examples-set
to
main
November 18, 2026 06:17
zimeg
force-pushed
the
zimeg-feat-apps-managed-permissions-examples-set
branch
from
November 18, 2026 06:17
180b829 to
2e868de
Compare
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…in the readme Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
marked this pull request as ready for review
November 20, 2026 10:10
cchensh
approved these changes
Nov 20, 2026
cchensh
left a comment
There was a problem hiding this comment.
LGTM. The call matches the released SDK (method, argument names and types), the structure matches the sibling examples, and CI is green.
…-set Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com> # Conflicts: # methods/README.md
Member
Author
|
🌟 Thanks for the kind review @cchensh! Managed app permissions are a neat one to show off ☕ |
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.
Summary
This pull request adds a method example for
apps.managed.permissions.setinmethods/src/main/java/apps/managed/permissions/AppsManagedPermissionsSet.java, and lists it inmethods/README.md.bolt-js-examplesandbolt-python-examples, with the example values from the reference page.apps/managed/permissions/manifest.jsonwith no bot scopes, since the token is issued to the manager app.This is part 1 of 1 in the
apps.managedstack, which is based onmainand matches slackapi/java-slack-sdk#1708. This pull request is in batch B7 app settings.apps.managed.permissions.set👈 this pull requestDependency
This depends on slackapi/java-slack-sdk#1708, which adds
appsManagedPermissionsSettoslack-api-client. It shipped inslack-api-client1.56.0, whichmethods/pom.xmlnow pins.Testing
With slackapi/java-slack-sdk#1708 installed locally (
./scripts/install_local.sh) and the pin pointed at that snapshot:cd methodsandexport SLACK_TOKEN=...with a user or bot token issued to the manager app.mvn compile exec:java -Dexec.mainClass=apps.managed.permissions.AppsManagedPermissionsSetand check the response. Replace the placeholder values with real ones to seeok.Every example compiles against the SDK changes. The call matches the remote test in slackapi/java-slack-sdk#1708, which checks it against the live API.
🤖 Generated with Claude Code