Skip to content

Conversation

@kliberf
Copy link

@kliberf kliberf commented Oct 22, 2025

Currently the process of creating new exercise assignment is to create the assignment (POST /v1/exercise-assignments) and then configure it's settings (POST /v1/exercise-assignments/{id}).

The API call for updating assignment details expects most of the configuration to be provided directly (including localizedTexts) even though inheriting exercise defaults is usually fine.

This PR proposes recodex assignment update command that doesn't care about required parameters, but rather first queries current settings and then reuses these settings for parameters that are not specified by user's input. The command is only usable in CLI mode and doesn't have interactive variant (although I don't think interactive variant here makes sense).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant