Skip to content

feat: create job with data dto#25204

Draft
insertish wants to merge 3 commits intomainfrom
feat/create-job-with-dto
Draft

feat: create job with data dto#25204
insertish wants to merge 3 commits intomainfrom
feat/create-job-with-dto

Conversation

@insertish
Copy link
Copy Markdown
Member

Description

Previously discussed replacing the job creation route with something that can also take additional data.
This PR adds a new API endpoint queueJob / POST /queues/job which creates a new job with dto validation that matches the actual JobItem type.

Haven't built this out fully yet, missing tests or further polish, just putting this up as a draft to share proof of concept.

How Has This Been Tested?

TODO

Screenshots (if appropriate)

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • 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/)

Please describe to which degree, if any, an LLM was used in creating this pull request.

...

@immich-push-o-matic
Copy link
Copy Markdown

immich-push-o-matic bot commented Jan 12, 2026

Label error. Requires exactly 1 of: changelog:.*. Found: 🗄️server. A maintainer will add the required label.

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.

1 participant