Portal Link Schema
Felder
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/portal_links— Liste, paginiert + filterbarGET /api/v1/portal_links/<id>— Einzelne EntityPOST /api/v1/portal_links— AnlegenPATCH /api/v1/portal_links/<id>— Teil-UpdateDELETE /api/v1/portal_links/<id>— Soft-DeleteGET /api/v1/portal_links/<id>/timeline— Audit + Aktivitäten