Zum Hauptinhalt springen

List cronjobs belonging to a Project

GET/projects/{projectId}/cronjobs/
v2
GET
cronjob-list-cronjobs

Request

  • projectIdstring (uuid)
    required

    ID of the Project for which to list Cronjobs for.

Responses

application/json

OK

  • Array[
  • *object
    • 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/projects/f0f86186-0a5a-45b2-aa33-502777496347/cronjobs?limit=50&page=1