audiobookshelf/server/objects
Lars Kiesow b0edac4234 Allow specifying start and end of progress via API
This patch is a minor extension to the update progress and batch update
progress API and allows you to specify `finishedAt` and `startedAt` when
updating a progress.

If not specified, both values are still automatically set to the current
time. If just `finishedAt` is specified, `startedAt` is set to the same
value.

Example API request:

```
❯ curl -i -X PATCH \
  'http://127.0.0.1:3333/api/me/progress/li_ywupqxw5d22adcadpa' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJyb290IiwidXNlcm5hbWUiOiJyb290IiwiaWF0IjoxNjY4OTYxNjAxfQ._NbilCoFy_hfoqy7uvbV4E_0X6qgLYapQ_MoRptP0oI' \
  -H 'Content-Type: application/json' \
  --data-raw '{"isFinished":true, "finishedAt": 1668556852000, "startedAt": 1668056852000}'
```
2022-11-23 01:32:52 +01:00
..
entities Update:Podcast episode downloads using episode title as filename without prefixing episode num 2022-10-02 17:12:44 -05:00
files
mediaTypes Update:Podcast episode auto download schedule setting for max new episodes to download #1091 2022-10-26 16:55:16 -05:00
metadata Makes it so the when sorting and ignoring prefixes, they are actually ignored 2022-11-03 00:14:07 -04:00
settings Add:Server setting for default language #1103 2022-11-08 18:09:07 -06:00
user Allow specifying start and end of progress via API 2022-11-23 01:32:52 +01:00
Backup.js
Collection.js Update collection id prefix 2022-11-12 14:31:45 -06:00
DailyLog.js
DeviceInfo.js
Feed.js
FeedEpisode.js
FeedMeta.js
Folder.js
Library.js Update:New library icons and picker using icon font 2022-10-18 12:09:36 -05:00
LibraryItem.js Fix:Set library item updatedAt when scan has updates, fixes updating an open RSS feed #1131 2022-11-10 17:25:17 -06:00
Notification.js
PlaybackSession.js
PodcastEpisodeDownload.js Update:Podcast episode downloads using episode title as filename without prefixing episode num 2022-10-02 17:12:44 -05:00
Stream.js Add:Support for webm and webma audio files #1079 2022-10-20 17:24:51 -05:00
Task.js