mirror of
https://github.com/tanrax/org-social-relay
synced 2026-01-09 22:53:32 +01:00
This commit introduces three new REST API endpoints to the Org Social Relay: 1. /reactions/ - Retrieves reactions (posts with mood emojis) to a user's posts 2. /replies-to/ - Gets direct replies to a user's posts (excluding reactions and poll votes) 3. /notifications/ - Unified endpoint combining mentions, reactions, and replies with optional type filtering Implementation details: - All endpoints follow the existing API pattern with caching, validation, and error handling - Comprehensive test suites with 35 passing tests - Updated README with full documentation and examples - Integrated into Django settings and URL configuration - Code formatted with Ruff 🤖 Generated with [Claude Code](https://claude.com/claude-code)
7 lines
138 B
Python
7 lines
138 B
Python
from django.urls import path
|
|
from .views import ReactionsView
|
|
|
|
urlpatterns = [
|
|
path("", ReactionsView.as_view(), name="reactions"),
|
|
]
|