cURL
curl --request POST \ --url https://api.propelcode.ai/v1/reviews \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "diff": "<string>", "repository": "<string>", "base_commit": "<string>" } '
{ "review_id": "<string>", "status": "queued", "repository": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "base_commit": "<string>" }
Submit a diff for asynchronous review processing.
diff
1,000,000
Review API token created through /v1/auth/tokens.
Unified diff content. Maximum 1,000,000 bytes.
Repository in owner/repo format or supported repository reference.
255
Optional base commit SHA.
Review accepted and queued.
queued