Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify request URL endpoints #477

Merged
merged 4 commits into from
Apr 21, 2020

Conversation

shaydewael
Copy link
Contributor

Summary

Clarifies request URL endpoints in Getting Started guide and commands/shortcuts docs.

Addresses #246 and is a commonly-asked question through other forums.

Requirements (place an x in each [ ])

@codecov
Copy link

codecov bot commented Apr 20, 2020

Codecov Report

Merging #477 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #477   +/-   ##
=======================================
  Coverage   84.23%   84.23%           
=======================================
  Files           7        7           
  Lines         552      552           
  Branches      163      163           
=======================================
  Hits          465      465           
  Misses         60       60           
  Partials       27       27           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a70a3a8...94edf32. Read the comment docs.

README.md Outdated
@@ -27,6 +27,8 @@ const app = new App({
})();
```

> ⚙️ By default, Bolt will listen to the `/slack/events` endpoint of your public URL for all incoming requests (whether shortcuts, events, or interactivity payloads). When configuring Request URLs in your app configuration, the should all have `/slack/events` appended by default. You can modify the default behavior by passing an array of `endpoints` of type string into the constructor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about...

You can modify the default behavior using the endpoints option in the App constructor. This option can be set to a string, or an array of strings, of the paths to use instead of '/slack/events'.

I think it’s important that we consistently refer to the properties of AppOptions as “options”.

@seratch
Copy link
Member

seratch commented Apr 21, 2020

@shaydewael I'll update the Japanese pages later (in another pull request).

@shaydewael shaydewael merged commit d1ae744 into slackapi:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants