Skip to content

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

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

danieldietzler merged 4 commits into
immich-app:mainfrom
NicholasFlamy:feat/obtainium-android-apk-links-api-endpoint

Conversation

@NicholasFlamy

@NicholasFlamy NicholasFlamy commented May 27, 2025 •

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

Comment thread server/src/services/server.service.ts Outdated
NicholasFlamy

This comment was marked as resolved.

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