Skip to main content

DownloadStatusDto

Connection info + live health for the admin Download page. Connection fields come from the [download] config (the password is never exposed); the health fields and history come from download_status / download_health_checks / download_sends. When disabled, only enabled is meaningful and the page renders a "configure me" notice.

baseUrlstring | nullnullable
defaultLabelstring | nullnullable
defaultStartbooleanrequired
enabledbooleanrequired
hasCredentialsbooleanrequired

Whether an HTTP Basic username is configured (the credential itself is never sent to the client).

healthCronstring | nullnullable
kindstring | nullnullable
lastChangeAtinteger,null<int64>nullable
lastErrorstring | nullnullable
lastTestAtinteger,null<int64>nullable
preferTorrentFilebooleanrequired
reachablebooleanrequired

Last probe result. false until the first probe records one.

recentChecks object[]required
  • Array [
  • checkedAtinteger<int64>required
    errorstring | nullnullable
    idinteger<int64>required

    Row id, unique within the table — a stable React key for the UI list.

    reachablebooleanrequired
    triggerstringrequired
  • ]
  • recentSends object[]required
  • Array [
  • errorstring | nullnullable
    idinteger<int64>required

    Row id, unique within the table — a stable React key for the UI list.

    labelstring | nullnullable
    releaseIdstringrequired
    releaseTitlestring | nullnullable

    The release's title, so the log names what was sent instead of an opaque id. None only if the release row was removed.

    sentAtinteger<int64>required
    seriesIdinteger,null<int32>nullable

    The resolved series id, so the UI can link the row to the series page. None when the release is unresolved (or the release row was removed).

    sourcestringrequired
    successbooleanrequired
  • ]
  • DownloadStatusDto
    {
    "baseUrl": "string",
    "defaultLabel": "string",
    "defaultStart": true,
    "enabled": true,
    "hasCredentials": true,
    "healthCron": "string",
    "kind": "string",
    "lastChangeAt": 0,
    "lastError": "string",
    "lastTestAt": 0,
    "preferTorrentFile": true,
    "reachable": true,
    "recentChecks": [
    {
    "checkedAt": 0,
    "error": "string",
    "id": 0,
    "reachable": true,
    "trigger": "string"
    }
    ],
    "recentSends": [
    {
    "error": "string",
    "id": 0,
    "label": "string",
    "releaseId": "string",
    "releaseTitle": "string",
    "sentAt": 0,
    "seriesId": 0,
    "source": "string",
    "success": true
    }
    ]
    }