gopro-plus 0.6.4.0 → 0.6.5.0
raw patch · 2 files changed
+6/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ GoPro.Plus.Media: reprocess :: (HasGoProAuth m, MonadIO m) => MediumID -> m ()
Files
- gopro-plus.cabal +1/−3
- src/GoPro/Plus/Media.hs +5/−1
gopro-plus.cabal view
@@ -3,11 +3,9 @@ -- This file has been generated from package.yaml by hpack version 0.34.6. -- -- see: https://github.com/sol/hpack------ hash: 0b81c6b653b9c04cafdc861102105e12f3bfad464469192894b1507a9c61fbab name: gopro-plus-version: 0.6.4.0+version: 0.6.5.0 synopsis: GoPro Plus Client API. description: Please see the README on GitHub at <https://github.com/dustin/gopro-plus#readme> category: Web
src/GoPro/Plus/Media.hs view
@@ -17,7 +17,7 @@ -- * Accessing Data list, listAll, listWhile, medium, notReady,- retrieve, delete,+ retrieve, delete, reprocess, fetchThumbnail, -- * Data Types PageInfo(..), current_page, per_page, total_items, total_pages,@@ -445,6 +445,10 @@ -- | Get the current 'Medium' record for the given Medium ID. medium :: (HasGoProAuth m, FromJSON j, MonadIO m) => MediumID -> m j medium = jgetAuth . mediumURL++-- | Reprocess a failed upload for the given medium ID+reprocess :: (HasGoProAuth m, MonadIO m) => MediumID -> m ()+reprocess mid = jputAuth (mediumURL mid <> "/process") BL.empty -- | Put a Medium. It's probably best to get a raw JSON Value and update it in place. putMedium :: (HasGoProAuth m, MonadIO m, Putable a) => MediumID -> a -> m ()