v1
Cloud Infrastructure

Submit contribute-back after branch push — opens GitHub PR

Changed on
post/v1/cloud/apps/changes/{request_id}/submit

Request

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

Path parameters

request_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.

headShastring required
stagedPathsstring[] nullable

Repo paths included in this proposal (for owner review UI)

mergeNowboolean

Maintainer/Admin publish: merge immediately instead of waiting for review

databasePublishedboolean

The desktop already applied this change's migrations to the team's cloud database

baseRevisionstring nullable

Commit the copy is based on. Required with a migration on a direct publish: refused if main moved past it

Response

Successful Response

idstring required
sourceAppIdstring required
sourceNamespaceIdstring required
sourceSlugstring required
installedAppIdstring required
contributorUserIdstring required
titlestring required
descriptionstring required
status'preparing' | 'pending' | 'approved' | 'rejected' | 'superseded' required
createdAtstring required
resolvedAtstring nullable
lineageIdstring nullable
branchstring nullable
headShastring nullable
prUrlstring nullable
prNumberinteger nullable
stagedPathsstring[] nullable
mergeStatestring nullable
mergeCheckedAtstring nullable
supersededBystring nullable
mergedManuallyboolean nullable
mergedCommitShastring nullable
resolvedBystring nullable
publishedDirectlyboolean nullable
databasePublishedboolean nullable
publishNotestring nullable

Changes