Application API
Topolo Developers
Clear API and contract surface for Topolo Developers, grouped under the application instead of split across generic reference sections.
Documentation Map
Authority
Service IDs:
srv_NjDq9G9qyyjr Repos:
Hosts:
https://developers.topolo.app https://developers.stg.topolo.us https://staging.topolo-developers-staging.pages.dev Dependencies: topolo-auth, topolo-one, topolo-p2p
Depends on Topolo Auth: yes
Contract Source
Type: curated
Source: PlatformApplications/TopoloDevelopers/src/App.tsx
Source exists: no
Topolo Developers owns its own Pages Functions + D1 backend for authenticated workspace summary, onboarding, app drafts, uploaded app icons, Android/iOS mobile artifact records, public /api/apps catalog output, Developers-owned /api/store/catalog, /api/store/search, /api/store/apps/:idOrSlug app store reads, and /api/store/assets/app-icons/:appId/:filename icon assets for TopoloOne and public store surfaces, app submissions, build requests, transfer codes, internal review workflows, app commerce controls, payout-account state, payout ledger events, P2P capability source records plus the public /api/p2p/capabilities/:id read-through endpoint, scaffold-provisioning routes for authenticated developer self-service with or without generated files, first-party Topolo scaffold registration into the Topolo-owned developer workspace with Auth handoff at scaffold time for Auth `admin` org platform operators and Topolo developer-workspace admins only, and per-app launcher quick-link authoring through the signed marketing editor. That D1 schema is now migration-managed from checked-in SQL in the Developers repo rather than being created on request. The app still exposes shared public landing and first-party embedded password-login surfaces at / and /login plus a dedicated public signup handoff at /signup, creates the org-backed developer workspace in Auth during signup, treats that workspace as the publisher boundary for many developer apps, and consumes Auth only for identity, central API-key surfaces, app-switcher entitlements, approved-app registration into the shared service catalog under the `topolo-developers` service slug, install/launch authorization, and Auth-hosted end-user OAuth consent for registered third-party clients. Browser preboot, worker auth headers, widget output, public catalog enrichment, P2P sync headers, seed validation, and error attribution resolve concrete environment service ids from Auth service slugs at runtime instead of carrying concrete service ids in source or deployed browser assets. The legacy Developers browser consent route forwards to Auth and must not require developer workspace admission. Developer apps now also carry explicit ownerType, portfolio, audience, tenancy, surfaceModel, optional containerAppId, distribution metadata, launcher quick-link metadata, uploaded icon metadata, and marketplace lifecycle state so Topolo first-party platform/personal apps stay distinct from third-party business/personal apps, organization-internal apps stay private to the owning workspace, scaffolded first-party apps start as `developer_only`, operators can promote them through `early_access`, `production_ready`, and `active`, public catalog routes expose only `active` apps, and the Topolo-owned public store catalog is reconciled against Auth's first-party launcher-visible application set so TopoloOne /apps and the embedded app switcher expose the same suite rather than separate launch-week allowlists. App visibility and mutation resolve from workspace org membership plus per-app owner/editor/viewer membership metadata, owner-issued transfer codes with destination-workspace claim, built-in developer_app API-key resource bindings for approved apps, explicit review:read/review:write permissions for staff-only review routes, explicit commerce:read/commerce:write permissions or Topolo super-admin access for staff-only commerce routes, the production Topolo Technology developer profile and first-party platform plus mobile app rows used to exercise the publisher workflow as Topolo, the Topolo Mobile records for the 22 retained Flutter apps under Apps/<domain>/Topolo<App> with finalized app.topolo.mobile.* identifiers and Android APK artifacts published to the shared topolo-apks R2 bucket through apk.topolo.app, cleanup for 8 retired one-off mobile app records, the completed demo-suite developer profile used for platform auth audits, and the repo-level CI gate recorded in CloudControl.
API key scopes in Auth catalog: 19
Auth Requirements
No global OpenAPI security scheme is declared.
-
apps.read -
apps.write -
commerce.read -
commerce.write -
credentials.read -
credentials.write -
marketplace.read -
marketplace.write -
oauth_clients.write -
requests.read -
requests.write -
review.read -
review.write -
settings.read -
settings.write -
submissions.read -
submissions.write -
workspace.read -
workspace.write
Runtime and Deployment
Wrangler surfaces: none detected
Environment variables: none derived
Routes: workers.dev or Pages-only delivery
Observability enabled: no explicit signal found
Runtime Surface
Wrangler surfaces: No wrangler file detected in scanned surface
This application does not yet have a source-controlled OpenAPI spec in the docs platform. The current API page is derived from the registered contract source and repository surface.
Failure modes
- No wrangler.toml surface was discovered under the registered repo paths.
- The registered contract source is missing: PlatformApplications/TopoloDevelopers/src/App.tsx
- Neither OpenAPI nor README-derived interface detail was found.