feat(feishu): add simple HTTP notification endpoint#1232
Open
YvanJiang wants to merge 1 commit intoagentscope-ai:mainfrom
Open
feat(feishu): add simple HTTP notification endpoint#1232YvanJiang wants to merge 1 commit intoagentscope-ai:mainfrom
YvanJiang wants to merge 1 commit intoagentscope-ai:mainfrom
Conversation
Add a simple HTTP endpoint for sending notifications to Feishu. Useful for external systems like monitoring alerts. Features: - POST endpoint for sending text messages - Environment variable configuration - Queues for agent processing via webhook event simulation Endpoint: POST /api/v1/notify/feishu
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
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
Add a simple HTTP endpoint for sending notifications to Feishu from external systems.
Use Cases
Features
Endpoints
Configuration
Environment variables:
Examples
```bash
Query parameter
curl -X POST "http://localhost:8000/api/v1/notify/feishu?message=Server%20Alert\u0026source=Zabbix\"
JSON body
curl -X POST http://localhost:8000/api/v1/notify/feishu
-H "Content-Type: application/json"
-d '{"message": "Server Alert", "source": "Zabbix"}'
```
Dependencies
Requires PR #3 (Feishu Webhook Support) for `handle_webhook_event()` method.
Related
Split from PR #1063
🤖 Generated with Claude Code