Zum Hauptinhalt springen

List cronjob executions belonging to a cronjob

GET/cronjobs/{cronjobId}/executions/
v2
GET
cronjob-list-executions

Request

  • cronjobIdstring (uuid)
    required

    ID of the Cronjob for which to list CronjobExecutions for.

Responses

application/json

OK

  • Array[
  • *object
    • abortedByobject
      • idstring (uuid)
    • durationInMillisecondsinteger (int64)
    • endstring (date-time)
    • executionEndstring (date-time)
    • executionStartstring (date-time)
    • idstring
      required
    • logPathstring
    • startstring (date-time)
    • statusstring (one of: Complete, Failed, AbortedBySystem, Pending, Running, AbortedByUser, TimedOut)
      required
    • successfulboolean
      required
    • triggeredByobject
      • idstring (uuid)
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/cronjobs/f0f86186-0a5a-45b2-aa33-502777496347/executions?limit=50&page=1&since=2024-11-08T18%3A11%3A39.471Z&until=2024-11-08T18%3A11%3A39.471Z&status=Complete