Stats

Return a user's reading session history

Changed on
get/api/Stats/reading-history

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Stats/reading-history
  • Auth
    API key in header x-api-key

Query parameters

StartDatestring date-time
TimeZoneIdstring
EndDatestring date-time
Librariesinteger[]
PageNumberinteger
PageSizeinteger

Response

OK

sessionDataIdsinteger[] nullable
sessionIdinteger
isGeneratedSessionboolean
startTimeUtcstring date-time
endTimeUtcstring date-time
localDatestring date-time
seriesIdinteger
seriesNamestring nullable
seriesFormat0 | 1 | 2 | 3 | 4

Members:

  • 0 — Image
  • 1 — Archive
  • 2 — Unknown
  • 3 — EPUB (Epub)
  • 4 — PDF (Pdf)
libraryIdinteger
libraryNamestring nullable
pagesReadinteger
wordsReadinteger
durationSecondsinteger
totalPagesinteger

Changes

    • info

      added the optional property / to the response with the status (media type: text/plain)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: text/json)

    • warning

      deleted the query request parameter userId