curl --request POST \
--url https://api-v2.autoblocks.ai/testing/builds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"gitProvider": "github",
"repositoryName": "autoblocks/example-repo",
"repositoryHtmlUrl": "https://github.com/autoblocks/example-repo",
"branchName": "main",
"isDefaultBranch": true,
"ciProvider": "github",
"buildHtmlUrl": "https://github.com/autoblocks/example-repo/actions/runs/123456789",
"commitSha": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
"commitMessage": "feat: add new feature",
"commitCommitterName": "John Doe",
"commitCommitterEmail": "john.doe@example.com",
"commitAuthorName": "Jane Smith",
"commitAuthorEmail": "jane.smith@example.com",
"commitCommittedDate": "2024-03-20T15:30:00Z",
"pullRequestNumber": 42,
"pullRequestTitle": "Add new feature",
"workflowId": "123456",
"workflowName": "CI",
"workflowRunNumber": 1,
"jobName": "build-and-test",
"autoblocksOverrides": {
"promptRevisions": {
"prompt-1": "rev-1",
"prompt-2": "rev-2"
},
"configRevisions": {
"config-1": "rev-1",
"config-2": "rev-2"
}
}
}'