cURL
curl --request POST \ --url https://api.example.com/v1/repositories/{repository_id}/analysis/{commit_hash}/reanalyze \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "branch": "<string>", "language": "ja" } '
{ "repository_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "commit_hash": "<string>", "status": "pending", "created_at": "2023-11-07T05:31:56Z" }
既存の解析結果を破棄して再解析を開始する。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
分析対象のブランチ名
解析結果の出力言語
ja
en
Successful Response
解析開始レスポンス(POST)
pending
running
completed
failed
cancelled