homer icon indicating copy to clipboard operation
homer copied to clipboard

Fix Immich fetch stats

Open BryTheGuy opened this issue 1 year ago • 4 comments

api changes in immich v1.85.0

Description

In Immich v1.85.0 the "/server-info/stats" endpoint was changed to "/server-info/statistics" per the release notes https://github.com/immich-app/immich/releases/tag/v1.85.0

Fixes #719

Type of change

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [x ] I've read & comply with the contributing guidelines
  • [ x] I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • [ x] I have made corresponding changes to the documentation (README.md).
  • [x ] I've checked my modifications for any breaking changes, especially in the config.yml file

BryTheGuy avatar Nov 10 '23 23:11 BryTheGuy

Deploy Preview for homer-demo-content ready!

Name Link
Latest commit 2335328e4239765b02339c1b0d172978679f2f73
Latest deploy log https://app.netlify.com/sites/homer-demo-content/deploys/654fe68178efea00087d71ab
Deploy Preview https://deploy-preview-722--homer-demo-content.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Nov 10 '23 23:11 netlify[bot]

Thanks for submitting a PR to utilize the new API endpoint URL. It appears that this PR simply updates the URL and does not dynamically use the URL corresponding to Immich's version number.

As is, I would suggest also updating documentation customservices.md that Immich version 1.85 is required for the service to function.

muzzymate avatar Nov 11 '23 02:11 muzzymate

I updated the documentation customservices.md to include the required version as recommend that was a good catch. Immich recommends updating to the newest version as soon as possible anyways so I personally don't think its completely necessary to make the logic too complicated for version detection. That being said this is more of a quick fix and the api is bound to change as the service gets updated.

BryTheGuy avatar Nov 11 '23 21:11 BryTheGuy

it would be good if this pr was merged

Veldik avatar Dec 16 '23 22:12 Veldik

Merging is still blocked, because a review is required, even though there is an approving review by @w00tlarr? image

xiidoz avatar Feb 18 '24 20:02 xiidoz

@bastienwirtz - anyway to merge this? The URI is a straightforward change to the new Immich URI. Thanks!

w00tlarr avatar Feb 21 '24 16:02 w00tlarr

Thanks for your patience! it looks good, thanks for your contribution!

bastienwirtz avatar Feb 23 '24 08:02 bastienwirtz

Thanks!!!!!

w00tlarr avatar Feb 23 '24 23:02 w00tlarr