HostingCronjobPaginatedListResponse
Successful response with a page of HostingCronjob
Always 0 in a successful response
0Always null in a successful response
data object[]required
Items of the page: an empty list beyond the last page
Id of the hosting of the request: cron jobs belong to the purchase, so a subdomain lists those of its main hosting
Id of the purchase of the hosting (GET /api/v3/purchases/{purchase_id})
URL called by the cron job, with the protocol
HTTP method of the call: GET or POST
Months, from 1 (January) to 12 (December), as a comma-separated list like in the creation (for example 1,6); null for every month
Days of the month, from 1 to 31, as a comma-separated list like in the creation (for example 1,15); null for every day
Days of the week, from 1 (Monday) to 7 (Sunday), as a comma-separated list like in the creation (for example 1,5); null for every day of the week
Hours, from 0 to 23, as a comma-separated list like in the creation (for example 0,12); null for every hour
Minutes, from 0 to 59, as a comma-separated list like in the creation (for example 0,30); null for every minute
Whether the cron job is active: deleted cron jobs, and the old versions of changed ones, stay in the list as inactive
When the cron job was deleted or replaced by a new version; null while it is active
meta objectrequired
Pagination of the list
Number of items in the whole list
Number of items in this page: 0 beyond the last page
Number of pages of the list
Number of this page, starting from 1
Maximum number of items in a page
{
"error": 0,
"message": "string",
"data": [
{
"cronjob_id": 0,
"hosting_id": 0,
"purchase_id": 0,
"request_url": "string",
"http_request_method": "string",
"plan_month": "string",
"plan_monthday": "string",
"plan_weekday": "string",
"plan_hour": "string",
"plan_minute": "string",
"active": true,
"date_created": "2024-07-29T15:51:28.071Z",
"date_disabled": "2024-07-29T15:51:28.071Z"
}
],
"meta": {
"total": 0,
"count": 0,
"pages": 0,
"page": 0,
"per_page": 0
}
}