Feature improvement #15643
Updated by Peter Mačuga 7 months ago
Add new attribute criteria: Task Difficulty Task difficulty is set as a task parameter and can be configured in database, (possibly in update EP if we are to make any) Probably should be a new field Stored in an ENUM: Level 1 - LEVEL_1 Level 2 ... Level 3 ... Level 4 ... Level 5 ... DEFAULT - Level 1 value Also createa an ENUM for game column, CC and ANMT Add filters to user tasks, we need to filters: Game task difficulty Add fields, either as columns for showcase_name name and showcase_description description of task, name should be limited to 32 characters Make sure that the endpoint to filter user tasks takes user_id as optional parameter, in which case it returns all progress as 0, but still returns the appropiate descriptions and names Acceptance criteria: The EP returns all available tasks with user progress, with correct filtering Will get name and description as a part of the EP, Will get response if user_id is None, however no progress will be present