Skip to main content

List cronjobs belonging to a Project

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

Request

  • projectIdstring
    required

    ID of the Project for which to list Cronjobs for.

Responses

Response headers

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

application/json

OK

  • Array[
    • *object
      • activeboolean
        required
      • appIdstring (uuid)
        deprecated
        required

        DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.

      • appInstallationIdstring (uuid)
      • concurrencyPolicystring (one of: allow, forbid, replace)
      • createdAtstring (date-time)
        required
      • descriptionstring
        required
      • destinationone of 2 alternatives
        required
        • Alternativeobject
          • urlstring
            required
        • Alternativeobject
          • interpreterstring
            required
          • parametersstring
          • pathstring
            required
      • emailstring (email)
      • failedExecutionAlertThresholdinteger (≥ 1)
        required
      • idstring (uuid)
        required
      • intervalstring
        required
      • latestExecutionobject
        • abortedByobject
          • idstring (uuid)
        • cronjobIdstring
          required
        • durationInMillisecondsinteger (int64)
        • endstring (date-time)
        • executionEndstring (date-time)
          deprecated
        • executionStartstring (date-time)
          deprecated
        • exitCodeinteger (int32)
        • 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
      • timeZonestring
      • timeoutinteger (≥ 1)
        required
      • updatedAtstring (date-time)
        required
    ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/string/cronjobs?limit=50&page=1