cURL
curl --request POST \ --url https://zeropath.com/api/v1/scans/start \ --header 'Content-Type: application/json' \ --header 'X-ZeroPath-API-Token-Id: <api-key>' \ --header 'X-ZeroPath-API-Token-Secret: <api-key>' \ --data '{ "organizationId": "<string>", "repositoryIds": [ "<string>" ], "repositories": [ { "id": "<string>", "branch": "<string>" } ], "scanType": "FullScan", "scanTargetBranch": "<string>", "prTargetBranch": "<string>" }'
[ "<string>" ]
Show child attributes
Optional. When omitted defaults to FullScan.
FullScan
PrScan
Branch to scan (source branch for PRs)
Target branch for PR merge (base branch)
Scan started successfully
The response is of type string[].
string[]