4 History
Qstick edited this page 5 years ago

Endpoint: "/history"

GET

Summary

Gets history (grabs/failures/completed)

Parameters

Required:

none

Optional:

sortKey (string) - artist.name or date

page (int) - 1-indexed Default: 1

pageSize (int) - Default: 10

sortDir (string) - asc or desc - Default: asc

{
  "page": 1,
  "pageSize": 10,
  "sortKey": "date",
  "sortDirection": "descending",
  "totalRecords": 9,
  "records": [
    {
      "albumId": 6126,
      "artistId": 495,
      "trackId": 0,
      "sourceTitle": "Imagine_Dragons-Night_Visions-UK_Deluxe_Edition-CD-FLAC-2013-CHS",
      "language": {
        "id": 1,
        "name": "English"
      },
      "quality": {
        "quality": {
          "id": 6,
          "name": "FLAC"
        },
        "revision": {
          "version": 1,
          "real": 0
        }
      },
      "qualityCutoffNotMet": false,
      "date": "2018-04-15T04:26:17.4202245Z",
      "downloadId": "bbc4393453452118b6b90be",
      "eventType": "grabbed",
      "data": {
        "indexer": "Nzb4You",
        "nzbInfoUrl": "https://Nzb4You.info/seek.php?guid=6dec5a345435b116298cf5a8ac76",
        "releaseGroup": "CHS",
        "age": "1776",
        "ageHours": "42637.9698389512",
        "ageMinutes": "2558278.19033707",
        "publishedDate": "2013-06-03T14:28:06Z",
        "downloadClient": "Nzbget",
        "size": "654567000",
        "downloadUrl": "https://api.Nzb4You.info/api?t=get&id=6dec5ae1b345345398cf5a8ac76&apikey=123456",
        "guid": "1_https://api.Nzb4You.info/details/6dec5ae1b054d345345348cf5a8ac76",
        "protocol": "1"
      },
      "id": 174
    },
    {
      "albumId": 6126,
      "artistId": 495,
      "trackId": 0,
      "sourceTitle": "Imagine Dragons - Night Visions (2013)(flac)",
      "quality": {
        "quality": {
          "id": 6,
          "name": "FLAC"
        },
        "revision": {
          "version": 1,
          "real": 0
        }
      },
      "qualityCutoffNotMet": false,
      "date": "2018-04-15T04:25:18.4240684Z",
      "downloadId": "e1bd10ca582943454353f4fa541dee",
      "eventType": "downloadFailed",
      "data": {
        "downloadClient": "Nzbget",
        "message": "PAR Status: NONE - Unpack Status: NONE - Move Status: NONE - Script Status: NONE - Delete Status: COPY - Mark Status: NONE"
      },
      "id": 173
    }
  ]
}
Table of Contents