cURL
curl --request GET \ --url https://api.propelcode.ai/v1/reviews/{review_id} \ --header 'Authorization: Bearer <token>'
{ "review_id": "<string>", "status": "queued", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "repository": "<string>", "base_commit": "<string>", "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "comments": [ { "file_path": "<string>", "line": 123, "message": "<string>", "severity": "<string>" } ], "error": { "code": "<string>", "message": "<string>" } }
Poll a submitted review until it is completed or failed.
Review API token created through /v1/auth/tokens.
Review ID returned by POST /v1/reviews.
Review status and comments.
queued
running
completed
failed
Show child attributes