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

webhookのペイロードにサーバー自体のルートのURLがほしい #11751

Closed
anatawa12 opened this issue Aug 21, 2023 · 3 comments · Fixed by #11752
Closed

webhookのペイロードにサーバー自体のルートのURLがほしい #11751

anatawa12 opened this issue Aug 21, 2023 · 3 comments · Fixed by #11752
Labels
✨Feature This adds/improves/enhances a feature

Comments

@anatawa12
Copy link
Member

Summary

misskeyのwebhookをdiscordに送りなおすツール(サーバ)作ってるのですがnote等のurlを構築する際にmisskeyのサーバーをwebhookを受ける側の知識として知っている必要があるのが汎用ツールとして作るための阻害となったためURLを渡してほしいです

@anatawa12 anatawa12 added the ✨Feature This adds/improves/enhances a feature label Aug 21, 2023
@syuilo
Copy link
Member

syuilo commented Aug 21, 2023

webhookを登録するにはそのサーバーのURLを知っている必要があるから受信者はURLは知っているのではないかしら

@anatawa12
Copy link
Member Author

登録者は知っていますが登録するwebhookのproxyサーバーは知らない事が考えられます。

@anatawa12
Copy link
Member Author

想定しているwebhook proxyサーバーの作りとして、誰かが立てたproxyサーバーを、別の人が任意のmisskeyサーバーでwebhookを指定することを想定しています。
この場合、proxyサーバーの作者は任意のmisskeyサーバーからのリクエストを想定するため、webhook送信元サーバーのURLの知識は(URL等で渡さない限り)ありません。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants