API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · portal_links

Portal Link Schema

Schema-ID
portal_link
Collection
portal_links
Permissions
  • Lesenportal_link_view
  • Anlegenportal_link_create
  • Ändernportal_link_edit
  • Löschenportal_link_delete

Felder

Portal Link Schema

portal_links4 Permissions

Schema for links a service provider offers its customers in the customer portal, optionally targeted at organisations or customer roles

titlestringerforderlich

Link label shown to the customer

1–80 Zeichen
urlstringerforderlich

Target: https://<host>…, mailto:… or tel:… (anything else is rejected)

1–2048 Zeichen
descriptionstringoptional

Optional one-line explanation

max 120 Zeichennullable
categorystringerforderlich

Free-text group; categories are ordered by the smallest sortOrder inside

1–40 Zeichen
iconTypestringoptional

Show the site favicon or a built-in icon

faviconicon
iconNamestringoptional

Built-in icon (iconType "icon")

globedownloadkeycloudshieldphonelifebookmailfilenull
nullable
faviconDataUrlstringoptional

Favicon as base64 image data URL (iconType "favicon")

max 90000 ZeichenPatternnullable
sortOrdernumberoptional

Ascending display order

activebooleanoptional

false = draft, invisible to customers

visibleFromdatetimeoptional

Visible from (ISO); null = immediately

nullable
visibleUntildatetimeoptional

Visible until (ISO); null = unlimited

nullable
audienceModestringoptional

all customers, selected organisations, or selected customer roles

allpartiesroles
audiencePartyIdsstring[]optional

Organisation party ids (audienceMode "parties")

max 500 Items
audienceRoleIdsstring[]optional

Customer role ids, role_definitions with isCustomerRole (audienceMode "roles")

max 500 Items
clicks30dnumberoptional

Read-only: clicks of the last 30 days

read-only
clicksByDayobjectoptional

Server-managed click counter per tenant-local day; never client-written

read-only

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 + filterbar
  • GET /api/v1/portal_links/<id> — Einzelne Entity
  • POST /api/v1/portal_links — Anlegen
  • PATCH /api/v1/portal_links/<id> — Teil-Update
  • DELETE /api/v1/portal_links/<id> — Soft-Delete
  • GET /api/v1/portal_links/<id>/timeline — Audit + Aktivitäten

Suche