Links Content Service
Component Detail
Service Layer
low complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Backend service exposing REST endpoints for managing and serving the org-configurable external link catalogue. Returns links filtered by the current user's organization and role, supports category management, display names, and descriptions. Consumed by both the mobile app and the Admin Web Portal.
links-content-service
Responsibilities
- Serve GET /api/v1/resource-links filtered by organization and optional role
- Support CRUD operations on link catalogue entries for org admins via admin portal
- Apply category grouping and ordering in API response
- Enforce organization-level isolation - each tenant's links are private
Interfaces
getLinks(orgId: string, roleFilter?: string) Promise<ResourceLink[]>
createLink(orgId: string, payload: CreateLinkDto) Promise<ResourceLink>
updateLink(linkId: string, payload: UpdateLinkDto) Promise<ResourceLink>
deleteLink(linkId: string) Promise<void>
getCategories(orgId: string) Promise<LinkCategory[]>