v1
Cloud Infrastructure

Split apps/* from namespace monorepo into per-app repos

Changed on
post/v1/cloud/namespaces/app-split/migrate

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/namespaces/app-split/migrate
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

external_user_idstring nullable

Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.

dryRunboolean

Clone + discover apps; do not push or archive namespace repo

appIdsstring[] nullable

Optional subset of apps to migrate (default: all under apps/)

archiveNamespaceboolean

Archive namespace monorepo read-only after successful migration

Response

Successful Response

orgIdstring required
namespaceIdstring required
statusstring required
legacyNamespaceRepostring nullable
dryRunboolean required
startedAtstring nullable
completedAtstring nullable
appsDiscoveredinteger
appsMigratedinteger
appsSkippedinteger
appsFailedstring[]
namespaceArchivedboolean
errorstring nullable
appResultsobject

Changes