latestOpenAPI 3.0.32026-08-10152216352.3 KB

eea119b4113f

Codification

Create a pull request with codified assets

Creates a pull request containing Infrastructure as Code for specified cloud resources

post/api/codify/pullRequest

Request body

vcsIdstring required

VCS integration ID

repositorystring required

Repository full name (e.g., org/repo)

iacType'terraform' | 'tfcdk' | 'cloudformation' | 'pulumi' required

Infrastructure as Code type

prCommentstring

Comment to include in the pull request description

fileNamestring

File path for the codified output

selectedBranchstring

Target branch name (defaults to main/master)

Response

Successfully created pull request

okboolean required

Whether the pull request was created successfully

urlstring required

URL of the created pull request

branchNamestring required

Name of the created branch