Fetch a List of Schedules Created for a Registry
Shows a list of schedules created for a registry.
Input ParametersInput Parameters
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
registryId |
Mandatory |
string |
The ID of the registry for which you want to list the schedules. |
filter |
Optional |
string |
Filter the registries list by providing a query using Qualys syntax. Refer to the “How to Search” topic in the online help for assistance with creating your query. |
pageNumber |
Optional |
integer |
The page to be returned. Page numbers start with 1. |
pageSize |
Optional |
integer |
The number of records per page to be included in the response. |
sort |
Optional |
string |
Sort the results using a Qualys token. For example, created:desc. Refer to the “Sortable tokens” topic in the online help for more information. |
SampleSample
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/registry/ef91aff4-5679-4c0d-9fc0-523ca7f218f4/schedule?pageNumber=1&pageSize=50"
-H "accept: application/json"
-H "Authorization: Bearer <token>"
Response
{ "data": [ { "scheduleUuid": "633e7b79-c43d-4bb2-bd07-c8a06edc8a4c", "onDemand": false, "created": "1674040668619", "updated": "1674040958610", "jobStartDate": "1674040958610", "jobCompletionDate": "1674041047101", "name": null, "errors": null, "schedule": "11:19", "filters": [ { "repoTags": [ { "repo": "qualysdockerhub/tamilnadu_shubham", "tag": null } ], "days": 0 } ], "additionalFilters": { "numberOfTags": 5, "sortCriteria": "createdDate" }, "status": "Finished",
"pendingScanJobsCount": 0,"jobListingStartDate": "1674040958610", "jobListingCompletionDate": null, "jobScanningStartDate": "1674040965940", "jobScanningCompletionDate": "1674041047101", "forceScan": true, "scheduleIntervalInDays": 7, "weekDay": "WEDNESDAY" } ], "count": 1 }