Skip to content

feat(server): apk links API endpoint for Obtainium Android mobile-server version sync#18700

Merged
danieldietzler merged 4 commits intoimmich-app:mainfrom
NicholasFlamy:feat/obtainium-android-apk-links-api-endpoint
May 28, 2025
Merged

feat(server): apk links API endpoint for Obtainium Android mobile-server version sync#18700
danieldietzler merged 4 commits intoimmich-app:mainfrom
NicholasFlamy:feat/obtainium-android-apk-links-api-endpoint

Conversation

@NicholasFlamy
Copy link
Collaborator

@NicholasFlamy NicholasFlamy commented May 27, 2025

Description

This API endpoint returns direct download links for the Android APKs of the same release version as the server. This is useful for updating the mobile immich app using apps like Obtainium and avoiding version mismatch and instability. Replaces #18657

Closes #15779

How Has This Been Tested?

  • make dev instance
  • Obtainium config on my phone

API Changes

Added the /api/server/android-links endpoint.
(This was changed to /api/server/apk-links in #18790)

Checklist:

  • I have performed a self-review of my own codeapplicable
  • I have no unrelated changes in the PR.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

@NicholasFlamy
Copy link
Collaborator Author

I'm considering an additional endpoint that returns the Obtainium config for an instance. Or a button on the web.
It would need to know the URL of the instance, so that might not be possible for an API endpoint.

NicholasFlamy

This comment was marked as resolved.

@NicholasFlamy NicholasFlamy force-pushed the feat/obtainium-android-apk-links-api-endpoint branch from b699ab9 to 57fefdb Compare May 28, 2025 20:36
@NicholasFlamy NicholasFlamy marked this pull request as ready for review May 28, 2025 20:37
@danieldietzler danieldietzler merged commit 8ea4097 into immich-app:main May 28, 2025
47 checks passed
@NicholasFlamy NicholasFlamy deleted the feat/obtainium-android-apk-links-api-endpoint branch May 28, 2025 21:49
savely-krasovsky pushed a commit to savely-krasovsky/immich that referenced this pull request Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants