Repository Intelligence

Apply a simulated repository decision through patch, local branch, or remote PR

post/v1/repositories/{repository_id}/apply

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/repositories/{repository_id}/apply
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

repository_idstring uuid required

Request body

snapshot_idstring nullable
decision_plan_idstring required
simulation_idstring required
mode'patch_only' | 'local_branch' | 'remote_pr' required
write_permissionboolean
branch_namestring nullable
commit_messagestring nullable
base_branchstring nullable
pull_request_titlestring nullable
pull_request_bodystring nullable

Response

Successful Response

repository_idstring required
snapshot_idstring required
decision_plan_idstring required
simulation_idstring required
mode'patch_only' | 'local_branch' | 'remote_pr' required
appliedboolean required
created_atstring date-time required
patchstring required
branch_namestring nullable
commit_shastring nullable
local_checkout_pathstring nullable
pull_request_urlstring nullable
apply_gateobject
validation_summaryobject

Changes

No recorded changes to this operation across all 1 revision of this API.