Zum Hauptinhalt springen
Version: API v1

Spezifischen cronjob eines Accounts auslesen

GET/accounts/{accountIdentifier}/cronjobs/{cronjobIdentifier}/
v1
GET
getCronjob

Diese Operation liest einen spezifischen Cronjob eines Accounts aus

Request

  • accountIdentifierstring
    required

    Name oder ID eines Accounts

  • cronjobIdentifierstring
    required

    ID eines Cronjobs

Responses

application/json

Der angeforderte Cronjob

  • uidinteger
    required
  • namestring
    required
  • enabledboolean
    required
  • errorReportingstring (one of: NONE, MAIL_ON_FAILURE, MAIL)
    required
  • errorReportingEmailstring
    required
  • customTimeoutModenumber (one of: 0, 1)
    required

    Whether a custom timeout is set

  • customTimeoutValuenumber

    Amount of custom timeout

  • typestring (one of: SERVER, BROWSER, INTERPRETER)
    required

    Type of cronjob (server based, browser based, custom interpreter)

  • intervalarray of string
    required

    Crontab interval

    • Array[
    • *string
    • ]
  • statusnumber
    required
  • filestring
  • paramsstring
  • urlstring
  • interpreterobject
    • hiddenboolean
      required
    • namestring
      required
    • typestring
      required
    • uidnumber
      required
  • Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v1/accounts/string/cronjobs/string