v1
Cloud Infrastructure

Ensure per-app GitHub repo exists (idempotent)

Changed on
post/v1/cloud/apps/{app_id}/repo/ensure

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/apps/{app_id}/repo/ensure
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

app_idstring required

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.

Response

Successful Response

appIdstring required
namespaceIdstring required
orgIdstring nullable
githubOrgstring required
repoNamestring required
shardIdstring required
cloneUrlstring required
repoUrlstring required
createdAtstring required
updatedAtstring nullable
ownerUserIdstring nullable
legacyNamespaceRepostring nullable
callerCanWriteMainboolean nullable
callerRolestring nullable

Changes