cURL
curl --request POST \ --url https://zeropath.com/api/v1/scans/get-schedule \ --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>" }'
{ "repoId": "<string>", "executionCriteriaCrontab": "<string>", "isEnabled": true, "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "codeScans": [ "<string>" ], "stagedCodeScans": [ "<string>" ] }
Scan schedule