Skip to content

This page is for integrators and developers who read a record’s history or a timeline feed through the API, pin or publish posts from another system, or need to know exactly how history is recorded and filtered.

OSOS exposes two distinct but related concepts that both answer “what happened to this record, and when”:

  1. Entry History — the per-record audit/activity feed for a single data entry (field changes, workflow actions, owner reassignments, SLA breaches, trigger runs, button clicks, create/archive). Served by the data-service.
  2. Timeline — a curated public/internal feed of posts generated from data entries via a per-entity “timeline contribution” mapping. Posts can be pinned and published/unpublished (manually, on a schedule, or by workflow) and carry a social layer (reactions and comments). Served by the timeline-service.

This page documents both from a builder/developer perspective: the HTTP endpoints, the shape of what you get back, how records are recorded, and the constraints that govern visibility.

Scope note: this page focuses on the read APIs, the record model, and the recording pipeline. The workflow engine that produces _metaWorkflowHistory and the trigger engine that produces TriggerHistory documents live outside these two services; only their contribution to the history feed is described here.

Every data entry accumulates a history feed. Unlike a single collection, the feed returned by the history endpoint is assembled at read time from several sources, each mapped into a common DataEntryHistory shape:

SourceOriginHistory type(s) produced
Field-change recordsdata_entry_history collection (persisted on create/update)Update
Owner reassignment recordsdata_entry_history collectionReassignOwner
Button-click recordsdata_entry_history collectionButtonClickedHistory
Workflow step actionsentry’s value._metaWorkflowHistory (computed)WorkflowAction
Create / archiveentry’s stateHistory (computed)Create, Archive
SLA overdue eventsSLA serviceSlaOverdue
Trigger runstrigger_history collection (computed)TriggerHistory

Persisted history records live in a dedicated MongoDB collection via DataEntryHistoryRepository; the workflow, state, and SLA slices are derived on the fly from the entry document and other services and merged in by the controller.

Source: models/data-entry/data-entry-history.model.ts.

FieldTypeNotes
idstringgenerated
specificationVersionnumbercurrently 1
relatedToReferenceProperty{dataEntity, dataEntry} the record belongs to
historyTypeHistoryTypeEnum (number)see enum below
actionInfoActionInfowho/when — {doneAt, doneBy, delegatee?}
additionalDatapolymorphicshape depends on historyType (see below)
isValueResolvedbooleantrue once references were resolved & denormalized
isInvalidboolean | nullentry was in an invalid state at the time
invalidReasonDataEntryInvalidReasonEnum | nullwhy it was invalid

ActionInfo (action-info.model.ts): doneAt (ISO string, required), doneBy (ReferenceProperty, required), delegatee (nullable reference — present when the action was performed on behalf of another user).

Source: packages/osos-shared/src/models/enums.ts. These are numeric enum values — the API returns the number, not the name:

ValueNameMeaning
0Updateone or more field values changed
1WorkflowActiona workflow step was executed
2StateChange(defined; not emitted by the history assembler)
3ReassignOwnera workflow step owner was changed
4ButtonClickedHistorya system button was clicked
5TriggerHistorya trigger/automation ran
6Createthe entry became Active
7Archivethe entry was archived
8SlaOverduean SLA due date was breached
9PermanentDelete(defined)
10Restore(defined)

The state slice only ever emits Create and Archive today (see getDataEntryStateHistory — it maps newState === Active → Create, otherwise → Archive). PermanentDelete / Restore are defined in the enum but not produced by the current assembler.

  • Update → UpdateAdditionalData[]. Each element is a JSON-diff operation:
    {
    "op": "replace", // just-diff Operation: add | replace | remove
    "path": ["field", "sub"], // path segments into the entry value
    "value": { "old": <any>, "new": <any> }
    }
    On first write a field typically has only new (no old).
  • ReassignOwner → ReassignOwnerChanges: {workflowId, stepId, oldOwner, newOwner, originalOwner?, note?, permanentChange?}.
  • ButtonClickedHistory → {buttonId, buttonName}.
  • TriggerHistory → TriggerHistoryDto (see Trigger history).
  • SlaOverdue → {stepId, dueDate, receivedDate, status, stepName}.
  • WorkflowAction → the stored StepHistory spread plus stepName and a workflowContext object {workflowId, instanceId, parentInstanceId, isSubWorkflow}.

Multilingual field changes in the history feed Since 1.8

Section titled “Multilingual field changes in the history feed Since 1.8”

When a field is multilingual, an edit that touches only one of its languages now appears in the entry’s history as a per-language line — label: old → new — for each language that actually changed.

Previously both sides of the diff were resolved to whichever language the UI was set to before being displayed. Editing only the Arabic value and then reading the history with the interface in English collapsed both sides to the same, unchanged English text, so the change looked empty even though the edit had been recorded. The stored history record always carried the full per-language before/after values (see the Update shape above) — only the rendering was wrong.

What the history card shows now:

  • Only the languages that actually changed are listed. A language whose value is identical on both sides is skipped, and blank counts as the same as missing.
  • Languages follow the space’s configured language order, with any language outside that list appended at the end.
  • The language’s label is shown in the current UI language, the values are not — each value is displayed in its own language, untranslated. So the same edit reads identically whatever language you view the history in.
  • A language added during the edit renders as a clean addition — the new value only, with no arrow and no “old” side — and a language cleared renders as a removal. This follows each language’s own before/after state rather than the field’s overall change type, so adding one language while editing another is rendered correctly on both lines.

History is written reactively, off the service bus — controllers do not write history inline. Handlers under handlers/events/data-entries/history/ subscribe to domain events:

EventHandlerAction
DataEntryCreatedEventAddHistoryOnDataEntryCreatedHandlercreateHistoryForValueChanges(...) using creationInfo.doneAt
DataEntryUpdatedEventAddHistoryOnDataEntryUpdatedHandlercreateHistoryForValueChanges(...) using updateInfo.doneAt
WorkflowStepOwnerChangedEventAddHistoryOnWorkflowStepOwnerChangedEventHandlercreateHistoryForOwnerChanges(...)
DataEntryDeletedEventDeleteHistoryOnDataEntryDeletedHandlerdeleteHistoryForDataEntry(entryId)
(entries permanently deleted)delete-history-on-data-entries-permanently-deleted.handler.tsbulk deleteHistoryForDataEntry

Button clicks are written from system-button.controller.ts via createHistoryForButtonClicked(...) (using Utils.dateTime() as doneAt).

Correction — Since 1.8. A button clicked during an active delegation is now correctly attributed to the delegate who actually clicked it, not the delegator. The controller already resolved the real actor for the bus event it publishes, but was not passing that on to the history write, so every ButtonClickedHistory record stamped actionInfo.delegatee empty — the history showed only the delegating user, with no way to tell who had actually clicked the button. Button-click history now stamps delegatee the same way value-change and owner-reassignment history already do.

Key recording behaviors (data-entry-history.service.ts):

  • Update / Create records are skipped when the diff is empty — both the handler and createHistoryForValueChanges early-return if valueDiff has no length, so a no-op save produces no history row.
  • The delegatee is threaded through from the message’s stickyAttributes.delegateeId, so history captures “X acting for Y”.
  • isInvalid / invalidReason are copied from the entry onto the Update record, so the feed reflects whether the entry was valid at that revision.
  • References are resolved at write time. createHistoryForValueChanges, ...ForOwnerChanges, and ...ForButtonClicked all call resolveHistoryValues(...) and persist with isValueResolved: true, so reference labels (user names, collection item titles) are denormalized into the stored record and don’t need re-resolution on read.
  • Duplicate protection. Inserts that hit a MongoDB duplicate-key error (code === 11000) are logged and swallowed rather than thrown, so a re-delivered bus message doesn’t crash the handler.

resolveHistoryValues walks actionInfo.doneBy / delegatee and the additionalData values, collecting ReferenceProperty targets and UUID collection-item ids, then batch-loads them (DataEntityIndexRepository for references, DataCollectionsRepository + the entity’s internalCollections for collection items) and rewrites each into a ReferencePropertyWithResolved carrying a _resolved label. Already-resolved values are left untouched.

Recording is asynchronous. Entry history is produced by bus handlers reacting to DataEntry*Events, not synchronously in the write request — expect eventual consistency between the write response and the history read.

GET /v1/entities/{entity}/entries/{id}/history

Returns the complete assembled feed for one entry (no pagination). The controller (findEntryHistoryById) merges, in order:

  1. Persisted history (getEntryHistory(id)).
  2. Workflow history (getEntryWorkflowHistory).
  3. Trigger history — only when the caller is a system viewer with no view, or the active view has entriesConfiguration.showTriggerHistory.enabled.
  4. State (create/archive) history — only when allowed to see state history.
  5. SLA overdue history.

Then it sorts ascending by actionInfo.doneAt, resolves any unresolved records, and masks sensitive fields before returning.

GET /v2/entities/{entity}/entries/{id}/history?lastTimeStamp=<ISO>

Long-standing (findEntryHistoryByIdV2). The v2 endpoint adds keyset pagination and is the one to build against for large feeds:

  • Page size is fixed at limit = 12 (server constant; not client-settable).
  • lastTimeStamp is the cursor: pass the actionInfo.doneAt of the last item you received to get the next page. Every slice filters doneAt < lastTimeStamp.
  • Results are sorted descending by doneAt (newest first).
  • Timestamp-tie handling: after slicing to limit, the loop extends the limit while the record just past the boundary shares the exact doneAt of the last kept record — so records with identical timestamps are never split across a page boundary.
  • Preview mode: when the request is in preview mode the endpoint returns fake history (real entity/workflow ids, fake content) via the fake generator.

Both v1 and v2 apply the same view-based filtering, resolution, and sensitive masking described below. Prefer v2 (lastTimeStamp cursor, fixed page size 12, doneAt DESC) for large entry histories.

The view designer’s history switches map to these keys: Entry history = entriesConfiguration.history.enabled, Changes = showChanges, Changer = showChanger, Reaction history = showTriggerHistory.enabled, Reaction history details = showTriggerHistory.showTriggerDetails, Workflow history = showWorkflowHistory.enabled, Display step owner = showStepOwners (All = AllOwners, Owned by User = owner-scoped).

When the request carries a data view (end-user context), history is filtered by clearEntryHistoryAgainstView(...) and related helpers:

  • History off entirely. If view.entriesConfiguration.history is missing or history.enabled === false, the endpoint returns [].
  • Field-level filtering. Update records are reduced to only the fields the view exposes (entriesConfiguration.fields) and that are not hidden. Hidden fields are evaluated per record, honoring conditional hidden.expression (evaluated via ExpressionService; a failing expression is treated as not hidden, i.e. false). _metaOrder.value is always allowed. An Update record whose diffs are all filtered out is dropped.
  • showChanges / showChanger. With history.enabled true but showChanges === false, Update records keep the event but drop additionalData (you see that something changed, not what). With showChanger === false, actionInfo is reduced to just doneAt (the actor is hidden).
  • Workflow history gating. showWorkflowHistory.enabled controls whether ReassignOwner / WorkflowAction records appear at all. Owner visibility is further gated by showStepOwners:
    • AllOwners → everyone’s steps visible.
    • Otherwise a record is only shown/attributed if the current user (or one of their groups) is among the step’s executedBy / owner / originalOwner (for WorkflowAction) or newOwner / oldOwner (for ReassignOwner). When not allowed, executedBy, owner, originalOwner, and actionInfo.doneBy are stripped from the record rather than the record being removed.
  • State history gating. Create/archive history is included only when there is no view, or the view allows archived entries, or “view as admin” is enabled.
  • Trigger history gating. As above — requires a system viewer (no view) or showTriggerHistory.enabled; showTriggerDetails controls whether the trigger input/output/error payload is included.

Since 1.8 — maskSensitiveHistoryFields(...) (AUDIT_SENSITIVE_MASK, buildSensitiveFieldScope).

This runs on every history read (v1 and v2), after resolution, as the last step before returning. Behavior:

  • Builds the set of fullNormalizedNames for fields with options.sensitive === true on the entity. If none, it’s a no-op fast path.
  • For each Update record’s diff whose path matches a sensitive field, the old and new values are replaced with AUDIT_SENSITIVE_MASK — unless the requesting user holds a matching sensitive-field grant (SensitiveFieldsService.canAccessSensitiveField against the field’s module/entity/path scope).
  • Masking is applied per-property: a first-write diff with only new does not gain a spurious masked old.
  • Non-Update records are returned unchanged.

The code treats this as unconditional and permanent for the audit trail: once a value is written to history it is shown masked to anyone without the grant, so historical sensitive values cannot leak through the history API.

Source: trigger-history.service.ts, model trigger-history.model.ts. Trigger history is Long-standing (TriggerHistoryService).

Trigger runs are persisted as TriggerHistory documents (trigger_history collection) with {triggerId, spaceId, eventName, relatedTo, triggerName, timestamp, doneBy, delegatee?, result: ActionResult[]}.

getTriggersHistory(entityId, entryId, showDetails?, limit?, lastTimeStamp?) queries with an OR condition so a run appears on an entry when either:

  • relatedTo.dataEntry === entryId (the entry that triggered it), or
  • result.effectedEntities.entry.dataEntry === entryId (an entry the trigger affected).

Each stored run may contain multiple result action results; the service flattenDeeps them into one DataEntryHistory per action result with historyType = TriggerHistory and an additionalData of TriggerHistoryDto:

TriggerHistoryDto fieldNotes
triggerId, triggerNamewhich trigger
eventTypethe event that fired it (eventName)
actionTypethe action kind that ran
successper-action success flag
details.actionNamealways present
details.{eventName, entity, entry, startTimeStamp, input, output, error, doneBy}only when showDetails is true

showDetails is driven by the view’s showTriggerHistory.showTriggerDetails (system viewers with no view get details = true). limit + lastTimeStamp mirror the v2 pagination contract (timestamp DESC, timestamp < lastTimeStamp).

These are computed at read time from the entry document / other services, not stored in the history collection:

  • State (getDataEntryStateHistory) — maps entry.stateHistory entries with newState > 0 into Create (Active) or Archive records, using changedAt / changedBy / delegatee.
  • Workflow (getEntryWorkflowHistory) — iterates all of entry.value._metaWorkflowHistory (main workflow and every sub-workflow), resolving each stepHistory into a WorkflowAction record. Each carries a workflowContext {workflowId, instanceId, parentInstanceId, isSubWorkflow}. Since 1.4 the assembler processes all workflow histories rather than only the active one, so sub-workflow steps appear in the feed. Sorting is by timestamp descending, with a tie-break that places automatic sub-workflow transitions (StepType.SubWorkflowStep) before user actions at the same instant.
  • SLA (getEntryOverdueSlaHistory) — pulls overdue records from SlaService for the entry, attaches the step name from the active workflow, and emits SlaOverdue records attributed to the system user. Long-standing.

All three accept optional limit / lastTimeStamp for the v2 path. Deleting an entry deletes its persisted history (deleteHistoryForDataEntry on delete / permanent-delete events); these derived slices disappear with the underlying entry/records.


A timeline is an activity feed of posts. A post is itself stored as a data entry under a dedicated Posts entity (Constants.POSTS_ENTITY_ID), and is produced automatically from a source entry whenever that entry’s entity has a timeline contribution configured. You therefore don’t create posts by hand — you define the timeline settings on the entity, and the system keeps posts in sync as an event-sourced read model. The mapping (which field becomes the title, the description, the attributes, the category/icon, publish & pin config) is the “timeline contribution options” for the entity.

Recording is event-driven, symmetric with entry history:

Source eventTimeline handlerEffect
DataEntryCreatedEventPostDataEntryCreatedHandler → TimelineService.submitPostbuild & create a Post
DataEntryUpdatedEventupdate handler → TimelineService.updatePostrebuild the Post from the entry
entry archived/deletedarchive/delete handlers → archivePost / deletePostremove/retire the Post
workflow step reachedtrigger-workflow-step-reached-event.handler.tsdrive workflow-based publish state

submitPost / updatePost build the Post via buildPost(...) and dispatch a CreateDataEntryCommand / UpdateDataEntryCommand on the bus (with skipValidation = true), so posts flow through the same data-service write path as any entry — which is also why a post gets its own entry history (Part 1) and participates in the timeline feed. Do not confuse the entry-history API (data-service) with the timeline post API (timeline-service).

A timeline is attached to an existing entity. Open the entity, choose Edit Entity (the arrow next to Add Entry), and pick Timeline from the top bar (Details – Interactions – Structure – Workflow – Timeline). Add the timeline from the middle of the screen; it is seeded with a default name and icon taken from the entity, both of which you can change.

Once you save the timeline settings and enable them on the entity, the system begins syncing posts with the entity’s entries automatically: posts are created for new entries, updated when an entry changes, and archived or deleted when the entry is archived or deleted. Disabling the timeline on an entity removes its associated settings.

Each mapped field is bound to its value source through one of the following MappingTypeEnum mapping types: Fixed (one literal value for all posts), Variable / entry-mapped (EntryMapping — takes the value from a path in the source entry value), or Hidden (Hidden — does not appear in the post). Mandatory fields accept only Fixed or Variable — there is no Hidden option, because the user is required to supply a value.

In the timeline builder you choose the template under Post Configuration: open Post Template and select General Post or Calender Post (the product’s spelling of the seeded category title). The set of fields exposed on the post changes with the selected template. The mapping Type options in the designer are Field (= EntryMapping), Fixed and Hidden.

Every tenant has two post categories — General and Calendar (Events) (see Seeded post categories for how they are created):

  • General Posts expose Title, Description, and Attachments.
  • Calendar Posts additionally expose Start Date & Time, End Date & Time, a Cover image, and a Location (a physical place or a link for a virtual event).

Note on templates: currently only the General Post template is fully rendered in the web UI; the Calendar post category is defined in the model but does not yet have a dedicated display template.

The timeline’s implicit Posts and Post Categories entities and the two default categories are now created per tenant by data-service’s migration chain (1.10.0-a21-seed-timeline-post-categories, OP#26481), which also runs for a tenant while it is being onboarded. Before 1.10 they came from a boot-time seed in timeline-service that called data-service over HTTP; an onboarding tenant refused those calls, so a tenant onboarded onto a multi-tenant cell could end up with no post categories at all.

What this means for integrators:

  • The seed creates only what is missing (matched on the entities’ normalized names and the categories’ fixed ids), so re-running it on a seeded tenant writes nothing.
  • The category ids are fixed and identical in every tenant — reference them freely, but do not create categories with those ids yourself.
  • timeline-service no longer seeds anything at boot. A future change to these code-owned definitions ships as a data-service migration rather than as a restart.

All timeline endpoints require authentication (Auth2AuthenticationStrategyName). Source: timeline.controller.ts.

Method & pathPurposeAuthorization voters
GET /v1/postslist posts in the feedcanShowPostVoter, systemViewerVoter
GET /v1/posts/{id}single postcanShowPostVoter, systemViewerVoter
GET /v1/posts/countcount postscanShowPostVoter, systemViewerVoter
GET /v1/posts/entities/{entityId}posts for a specific source entitydenyEndUserVoter, canViewPostEntityVoter
GET /v1/posts/entities/{entityId}/countcount for a source entitydenyEndUserVoter, canViewPostEntityVoter
PATCH /v1/posts/{id}/pinpin / unpincanPinPostVoter, canEditEntityVoter
PATCH /v1/posts/{id}/publishpublish / unpublish / schedulecanPublishPostVoter, canEditEntityVoter

GET /v1/posts accepts a standard LoopBack Filter<Post> (query param filter). The controller merges in audience filters automatically via TimelineService.additionalFilters():

  • always state === Active, plus an OR over:
    • value.anonymous.enabled === true (public posts), or
    • authenticated + not restricted, or
    • authenticated + restricted and the current user (or one of their groups) is listed in value.authenticated.entitledEntries.

So the feed is inherently audience-scoped: an anonymous caller sees only anonymous posts; an authenticated caller additionally sees unrestricted and entitled-restricted posts. When a view is present, EndUserService.postFilter is merged in as well, and if the view’s timeline display does not allowPublishPost, the publishState.workflow.currentStep(Name) fields are stripped from each returned post.

GET /v1/posts/entities/{entityId} is an admin/builder view (end users are denied): it filters by value.reference.dataEntity === entityId.

Preview mode: every feed/count/by-entity endpoint short-circuits to fake posts (FakePostGeneratorService) when previewMode is set, and the count endpoints always agree with the corresponding list endpoint by counting the same fake feed.

Source: post.model.ts. A Post mirrors a data entry (id, specificationVersion, dataEntity, value, creationInfo, updateInfo, state). The interesting content is in value (PostDataEntryValue), notably:

  • title, description, attributes — mapped from the source entry per the contribution’s MappingTypeEnum (Fixed = literal value, EntryMapping = path into the source entry value, Hidden = null).
  • reference {dataEntity, dataEntry} — back-pointer to the source entry.
  • module, timelineConfig {category, title, icon, publishConfig, pinnedConfig}.
  • anonymous, authenticated — audience config (drives additionalFilters).
  • pinned (bool) + pinnedState, published (bool) + publishState.
  • publishInfo / unpublishInfo, pinnedInfo / unpinnedInfo — ActionInfo stamps of the last publish/pin action.
PATCH /v1/posts/{id}/pin
Body: { "pinned": true | false }

Constraints enforced by the controller:

  • pinned is required (missingRequired('pinned') otherwise).
  • If the contribution defines an automatic pinnedConfig.pinnedDate, you cannot manually pin (UnablePinnedPostManuallyException); likewise a configured unpinnedDate blocks manual unpin (UnableUnPinnedManuallyPostException).
  • Setting pinned to the value it already has throws DuplicatePinnedStatusPostException.

On success it calls TimelineService.handlePinnedPost(spaceId, entry, manual, {userId, isPinned}), which recomputes pinnedState, sets pinned, stamps pinnedInfo/unpinnedInfo, and persists via an UpdateDataEntryCommand.

In the designer’s Publish section, Steps to publish at sets the workflow publish steps (publishStepIds); leaving it empty keeps publishConfig.manual on. Publish Date / Unpublish Date map date fields of the source entry. The designer’s hints state the combined rule: with manual publishing “the post will be published when you click publish and the mapped publish date is elapsed”; with workflow publishing “when post reaches publish step and the mapped publish date is elapsed” (calculatePublishedState). Automatic pin/unpin dates (pinnedConfig) have no control in the designer.

PATCH /v1/posts/{id}/publish
Body (one of):
{ "publish": true | false } // manual publish/unpublish
{ "publishDate": "<ISO>" } // schedule publish
{ "unpublishDate": "<ISO>" } // schedule unpublish

A post moves through several statuses: draft → published → unpublished. The system supports three ways to control publishing, tracked in publishState and resolved by getPostPublishState: manual, scheduled {publishDate, unpublishDate, published}, and workflow {currentStep, currentStepName, published} — for example, publishing a post automatically when a workflow reaches a manager-approval step.

Rules (from publishPost + manualPublishValidations):

  • publishDate and unpublishDate are mutually exclusive in one request (TimelinePublishDateConflictException).
  • If not scheduled, publish is required.
  • Manual publish/unpublish requires timelineConfig.publishConfig.manual on the contribution, else PublishNotAllowedException / UnpublishNotAllowedException.
  • You cannot schedule a publish/unpublish for a field that is already driven by a configured publishDate/unpublishDate mapping (UnableScheduleManualPublishUnpublishPostException).
  • Scheduled dates must be in the future; if both are given, publishDate < unpublishDate.
  • Re-publishing an already-published post (or re-unpublishing an unpublished one) is rejected.

Scheduling dispatches a ScheduleJobCommand (JobName.ScheduleJob) with id publish-<postId> / unpublish-<postId> for the future date; the effective published boolean is derived by calculatePublishedState(...). Pin scheduling works analogously (pinned-<postId> / unpinned-<postId>), though the manual-pin branch of getPostPinnedState is currently commented out — pin scheduling is date-driven. Workflow-driven publishing is set from the workflow-step-reached handler, which maps a reached step into handlePublishPost(..., workflow, {currentStep, currentStepName, isPublish}).

Posts carry a social layer on top of the feed:

  • Reactions — emoji reactions on a post, with a reaction count and the current user’s own reaction; one reaction is stored per user. The web UI offers the full emoji palette, whereas the mobile app is currently limited to a single reaction (like).
  • Comments — posts can be commented on, and a comment count is shown with the post. Comments support @mentions (a search box picks a person, and mentioned users are notified) and per-comment audience scoping. Comment attachment types are configurable by an administrator per view (with a default size limit of roughly 1MB) rather than a fixed list of file types.

Important distinction: timeline reactions here are social (emoji) and are entirely different from “reactions” in the automation sense (event-driven triggers and actions).

When designing an entity or a view, you can inspect the timeline in preview mode, where the system shows a deterministic fabricated feed (sample posts with placeholder content) instead of real data, so you can preview the feed before publishing. This mirrors the preview behavior of the entry-history endpoints, which return fake-but-shaped history under the same flag.


  • Numeric enums on the wire. historyType and entry state are serialized as numbers. Map them client-side (HistoryTypeEnum, DataEntityStateEnum).
  • Two different “history” for a post. A Post is a data entry, so it has its own .../entries/{id}/history feed and it participates in the timeline feed. Keep the two APIs distinct.
  • Recording is asynchronous. Entry history and timeline posts are produced by bus handlers reacting to DataEntry*Events, not synchronously in the write request — expect eventual consistency between the write response and the history/timeline read.
  • Deletion. Deleting an entry deletes its persisted history; derived slices (workflow/state/SLA/trigger) disappear with the underlying entry/records.
  • Pagination contract. Prefer v2 (lastTimeStamp cursor, fixed page size 12, doneAt DESC) for entry history; timeline feed endpoints use the standard LoopBack Filter/Where.
  • Only the General Post template currently renders in full; the Calendar post category does not yet have a dedicated display template.
  • The timeline is an event-sourced read model; if a bus event is missed, the feed may appear briefly stale until the next update.
  • The timeline service depends on the core data-service; if it is unreachable, the feed may fail to load.
  • On mobile, reactions are currently limited to a single like, while the full palette is available on web.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27