The Mobile Content API is a modular .NET REST service that manages dynamic page content for the ALPA Mobile application ecosystem. It supports draft-publish workflows, version snapshots, scheduled publishing, and MEC-specific theming.
VerticalStack, HorizontalRow) that hold items. Each container may carry display tokens for background, padding, and corner radius.TextBlock, Image, Button, Link) with rich content fields and an optional background token.Surface/Brand → #007AFF). Themes can be assigned at the site level or overridden per page.| State | Value | Description |
|---|---|---|
Draft | 0 | Default state. Editable. Not visible to mobile app. |
Published | 1 | Live — active snapshot is served to the mobile app. |
Unpublished | 2 | Taken offline. Snapshot history retained; can be republished. |
Archived | 3 | Long-term retirement. Restore to Draft to re-use. |
| Table Prefix | Purpose | Key Tables |
|---|---|---|
MobDyn |
Admin, Ingestion, and Dynamic features — modern design | MobDynSites, MobDynPages, MobDynContainers, MobDynItems, MobDynThemes, MobDynThemeTokens, MobDynPageSnapshots, MobDynThemeSnapshots, MobDynPagePreviewUsers |
Mobile |
Legacy features — Favorites and MenuItems | MobileFavorites, MobileMenuItems, MobileItemTypes |
| Surface | Consumer | Route Prefix | NuGet Package |
|---|---|---|---|
| Admin | Admin Portal (web app) | /api/mobilecontent/admin/ |
MobileContent.ApiClient.Admin |
| Ingest | Automation scripts, external integrations | /api/mobilecontent/ingest/ |
MobileContent.ApiClient.Ingest |
| Dynamic | Mobile App — published content feed | /api/mobilecontent/dynamic/ |
MobileContent.ApiClient.Dynamic |
| Misc | Mobile App — older features like navigation & favorites | /api/mobilecontent/ |
MobileMenu.ApiClient |
Full CRUD for sites, pages (containers + items), and themes. Publish/unpublish/schedule workflow. Preview users for draft access on mobile. Version history and snapshot revert. Config/enum endpoints for building dropdowns. Theme token editor and validation support.
Atomic upsert of complete page trees and themes in a single POST. Supports optional immediate publish or future-scheduled publish. Designed for bulk seeding, CI/CD pipelines, and ad hoc content fixes.
Read-only endpoints for the mobile app to consume published sites, pages, and themes. Pages and themes are served from JSON snapshots. Supports draft preview mode for designated users.
Older APIs for mobile app navigation (MenuItems filtered by user profile and privileges) and user-specific Favorites (add, remove, list, filtered by item type).