v1
Cloud Infrastructure

Mint read-only GitHub credentials for app repo (Cloud App Host only)

Changed on
post/v1/cloud/apps/runtime/repo-credentials

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/apps/runtime/repo-credentials
  • 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.

namespaceIdstring required
slugstring required
paprApiKeystring nullable
shareTokenstring nullable

Response

Successful Response

githubOrgstring required
repoNamestring required
repoPathstring required

"." for Sync V3 per-app repos; "apps/{appId}" for legacy layout

tokenstring required
expiresAtstring date-time required
defaultBranchstring

Changes