cURL
curl --request POST \ --url https://zeropath.com/api/v1/scans/scan-standalone-repo \ --header 'Content-Type: application/json' \ --header 'X-ZeroPath-API-Token-Id: <api-key>' \ --header 'X-ZeroPath-API-Token-Secret: <api-key>' \ --data '{ "organizationId": "<string>", "repositoryId": "<string>", "chunk": "<string>", "chunkIndex": 123, "totalChunks": 123, "fileId": "<string>" }'
{ "fileId": "<string>", "scanId": "<string>" }
Scan started successfully