Analysis
Start Analysis
Changed onInitiates a background analysis task for a repository
post/api/analysis/start
Request
- Base URLhttps://api.codeant.ai
- URLhttps://api.codeant.ai/api/analysis/start
- Authnone declared
Request body
Example request
{
"repo": "owner/repository",
"commit_id": "abc123def456",
"access_token": "ghp_xxxxxxxxxxxx",
"service": "github",
"branch": "main",
"include_files": "src/**/*.py,lib/**/*.js,app/**/*.ts",
"exclude_files": "tests/**,node_modules/**,dist/**",
"scan_types": [
"sca"
]
}Response
Analysis successfully started
Changes
- info
added the new optional request property
- info
added the non-success response with the status
- info