Scans
Upload and Scan
Uploads repository content in chunks and initiates a scan. Use this endpoint multiple times to upload large repositories:
- First request: Send without fileId, with chunkIndex=0
- Subsequent requests: Include the fileId returned from the first request
- Final request: Set chunkIndex to totalChunks-1
The scan will start automatically after the final chunk is received.
post/api/v1/scans/upload-and-scan
Request
- Base URLhttps://zeropath.com
- AuthAPI key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret
Request body
Response
Chunk uploaded successfully. If this was the final chunk, scan is also started.
Changes
No recorded changes to this operation across all 1 revision of this API.