Zum Hauptinhalt springen

Get a cronjob

GET/cronjobs/{cronjobId}/
v2
GET
cronjob-get-cronjob

Request

  • cronjobIdstring (uuid)
    required

    ID of the Cronjob to be retrieved.

Responses

application/json

OK

  • activeboolean
    required
  • appIdstring (uuid)
    required
  • createdAtstring (date-time)
    required
  • descriptionstring
    required
  • destinationone of 2 alternatives
    required
  • emailstring (email)
  • idstring (uuid)
    required
  • intervalstring
    required
  • latestExecutionobject
    • 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)
  • nextExecutionTimestring (date-time)
  • projectIdstring (uuid)
  • shortIdstring
    required
  • timeoutnumber (≥ 1)
    required
  • updatedAtstring (date-time)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/cronjobs/f0f86186-0a5a-45b2-aa33-502777496347