Repositories
Add repository by URL
Add a publicly-accessible repository by its git URL (e.g. a public GitHub repo). No VCS credentials or app installation are required — ZeroPath clones the repository over HTTPS. After adding, use scans.start with the returned repository ID to trigger a security scan. Supports GitHub, GitLab, Bitbucket, and any publicly accessible git repository.
post/api/v2/repositories/addByUrl
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
Successfully added repository
Changes
No recorded changes to this operation across all 1 revision of this API.