Files
social-media/docs/TASKS/content/006-content-activity-endpoint.md
Jonathan Bourdon b66c10b681
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled
Add calendar integrations and collaboration updates
2026-05-05 15:25:53 -04:00

1.3 KiB

Task: Add content activity endpoint

Feature

docs/FEATURES/production-workflow.md

Goal

Add a content-owned activity history endpoint that is separate from user-facing notifications.

Scope

  • Add persisted content activity entries.
  • Add GET /api/content-items/{id}/activity.
  • Log content creation, revisions, status changes, comments, linked assets, and asset revisions.
  • Include field-level metadata for content revision changes such as title, message, channels, hashtags, and publish date.
  • Persist publish date changes sent from the content editor revision flow.
  • Use the activity endpoint from the content detail production activity tab.

Out Of Scope

  • Full diff rendering UI.
  • Deleting tags or assets.
  • Notification recipient behavior changes.

Validation

dotnet build backend/Socialize.slnx
cd frontend
npm run build

Acceptance Criteria

  • GET /api/content-items/{id}/activity returns content history for users who can review the content item.
  • Activity entries are not filtered by notification recipients.
  • Content revision activity records changed fields.
  • Publish date changes are saved and included in content activity.
  • The content detail activity tab reads from content activity instead of notifications.