v51

OpenAPI 3.0.0EUPLraw.githubusercontent.com2026-08-01133591927.1 KB
Scan Modes

Validate cron expression

Validates a cron expression to ensure it's properly formatted

post/api/scan-modes/verify

Request body

cronstring required

Response

The cron validation with next execution times

isValidboolean required

Whether the cron expression is valid.

errorMessagestring required

Error message if the cron expression is invalid. Empty string if the expression is valid.

nextExecutionsInstant[] required

The next 3 execution times for the cron expression. Empty array if the expression is invalid.

humanReadableFormstring required

A human-readable description of the cron expression.

Example response

{
  "isValid": true,
  "nextExecutions": [
    "2024-01-01T00:00:00.000Z",
    "2024-01-02T00:00:00.000Z",
    "2024-01-03T00:00:00.000Z"
  ],
  "humanReadableForm": "At 00:00 every day"
}