Portal Link Schema
Campos
Portal Link Schema
Schema for links a service provider offers its customers in the customer portal, optionally targeted at organisations or customer roles
title
Link label shown to the customer
url
Target: https://<host>…, mailto:… or tel:… (anything else is rejected)
description
Optional one-line explanation
category
Free-text group; categories are ordered by the smallest sortOrder inside
iconType
Show the site favicon or a built-in icon
faviconiconiconName
Built-in icon (iconType "icon")
globedownloadkeycloudshieldphonelifebookmailfilenullfaviconDataUrl
Favicon as base64 image data URL (iconType "favicon")
sortOrder
Ascending display order
featured
Highlighted at the top of the portal page
active
false = draft, invisible to customers
visibleFrom
Visible from (ISO); null = immediately
visibleUntil
Visible until (ISO); null = unlimited
audienceMode
all customers, selected organisations, or selected customer roles
allpartiesrolesaudiencePartyIds
Organisation party ids (audienceMode "parties")
audienceRoleIds
Customer role ids, role_definitions with isCustomerRole (audienceMode "roles")
clicks30d
Read-only: clicks of the last 30 days
clicksByDay
Server-managed click counter per tenant-local day; never client-written
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/portal_links— Lista, paginada y filtrableGET /api/v1/portal_links/<id>— Una entidadPOST /api/v1/portal_links— CrearPATCH /api/v1/portal_links/<id>— Actualización parcialDELETE /api/v1/portal_links/<id>— Eliminación lógicaGET /api/v1/portal_links/<id>/timeline— Auditoría y actividades