POST
/
api
/
v1
/
scans
/
scan-standalone-repo
Scan standalone repository
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>"
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
repositoryId
string
required
chunk
string
required
chunkIndex
number
required
totalChunks
number
required
organizationId
string
fileId
string

Response

Scan started successfully

fileId
string
required
scanId
string