Application — Overview APL-03
Configure an application, and (staff) review, retire or delete it.
| Who can use it | Owner (configure), applications.manage (anything, including retire and delete) |
|---|---|
| Where it is | /dev/apps/:appId · link: https://hub.substratalapps.com/dev/apps/:appId or substratal://dev/apps/:appId |
| Available on | Web (PWA), iOS / iPadOS, Android, Windows, Linux (GNOME), macOS |
| Phase | MVP |
Access tier and the plan claim
- Free: everyone can use the app. Its tokens include each person's plan (
freeorstandard), so the app can keep some features for Standard subscribers. See Gating paid features withplan. - Restricted: only people you grant access to, on the Access tab.
- Standard: only people on the Standard plan, plus anyone you grant access to. Only Substratal's own (first-party) apps can be Standard, and only staff change their tier.
- Changing a live app's tier asks first and says who gains or loses access. Moving from Standard to Free gives everyone access, and Standard subscribers keep theirs. A first-party app stays first-party.
The App token card
An example of the decoded token this app receives, built from its own ID and permission keys. It's never a real person's token. It explains entitlement_status, effective_permissions and plan. A plan change shows up in the next token issued, within 5 minutes.
What you can do here
- Save field — 422 → field errors; 409 application_retired → reload as retired
- Retire — 200 → banner + toast "Retired. {n} access grants, {k} keys, {w} webhooks and {p} push credentials were cut off." from the
application.retiredaudit event'safter.cut_off(AUD-02 link). 403 live_mode_required → "Retiring a live application needs a live-mode sign-in." 409 invalid_review_transition → "Only approved or suspended applications can be retired." - Delete — 204 → APL-01 with toast. 409 application_not_deletable → "Only test-mode applications can be deleted. Retire it instead." 409 application_in_use → list
details.references(keys, webhooks, grants…) with links
Related guides
- Registering and managing applications — Register an app, configure redirect URIs, settings and roles, set up push, and the review lifecycle.
- Register an application and launch it from the Hub — From an empty catalog entry to people opening your app from Home.
On your platform
| App | Status | How it's built |
|---|---|---|
| Web (PWA) | — | Detail pane with header, tablist, toolbar; full page < 768 px |
| iOS / iPadOS | — | Pushed view; segmented Picker; toolbar actions |
| Android | Planned | Detail pane / pushed screen; PrimaryTabRow; top-bar actions |
| Windows | — | Detail pane / drill-in page; SelectorBar tabs; CommandBar actions |
| Linux (GNOME) | — | Content pane; AdwViewSwitcher; header-bar actions |
| macOS | — | Detail column; tabs as segmented Picker in toolbar principal |
Status is reported by each app's repository; — means that app doesn't report it yet.
For developers: API calls
| Method | Path | What it does |
|---|---|---|
| GET | /applications/{id} | Fetch one Application |
| PATCH | /applications/{id} | Update a catalog entry (owner — configuration; applications.manage — anything) |
| DELETE | /applications/{id} | Delete an unreferenced test-mode Application (applications.manage) |
| POST | /applications/{id}/icon/uploads | Start an icon upload (presigned POST) |
| POST | /applications/{id}/icon/uploads/{uploadId}/complete | Check the uploaded icon and set icon_url |
| DELETE | /applications/{id}/icon | Remove the Application's hosted icon |
| GET | /usage | Request counts, errors, and latency per day, week, or month |
Every call sends Substratal-Version: 1. Paths are at the host root, with no /v1.