-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New feature request: Retrieve previous Submissions by user #120
Comments
|
leoraba
added a commit
that referenced
this issue
Jan 22, 2025
Merged
leoraba
added a commit
that referenced
this issue
Jan 23, 2025
* feat: export migration scripts (#113) * export migration scripts * export DbConfig from data-model Export models * export dist path (#116) * Feat #120 - Get previous submissions paginated (#121) * get submission by id * retrieve submissions by category * get submission by organization * relocate submission unit tests * 0.6.0
leoraba
added a commit
that referenced
this issue
Feb 21, 2025
* feat: export migration scripts (#113) * export migration scripts * export DbConfig from data-model Export models * export dist path (#116) * Feat #120 - Get previous submissions paginated (#121) * get submission by id * retrieve submissions by category * get submission by organization * relocate submission unit tests * Add customizable callback for post-commit (#126) * on finish commit callback * check record data changes * fix bytes parsing number (#128) * 0.7.0
leoraba
added a commit
that referenced
this issue
Mar 3, 2025
* feat: export migration scripts (#113) * export migration scripts * export DbConfig from data-model Export models * export dist path (#116) * Feat #120 - Get previous submissions paginated (#121) * get submission by id * retrieve submissions by category * get submission by organization * relocate submission unit tests * Add customizable callback for post-commit (#126) * on finish commit callback * check record data changes * fix bytes parsing number (#128) * Submit data using JSON format (#133) * remove file reading * Update types.ts * fix typescript error & remove deprecated endpoint * 0.8.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of request
Have the ability to retrieve previous submissions from current user.
Desired solution
Be able to reuse one or all of the existing GET submission endpoints with additional/optional query parameter to return the current
Active
Submission or all previous ones.Details:
Having the existing GET submission Endpoints:
/submission/{submissionId}
/submission/category/{categoryId}
/submission/category/{categoryId}/organization/{organization}
Endpoint 1
Current behaviour: Returns the Submission only if the status is
active
.Expected: Return Submission regardless of its status.
Endpoint 2:
Current behaviour: Returns the Submission that is
active
in this category/organization.Expected:
onlyActive
of type boolean. Defaultfalse
.status
;active
status.organization
as query parameter.Endpoint 3:
Move to
deprecated
endpoint, as new enhancements of endpoint #2 now fulfills this requirementThe text was updated successfully, but these errors were encountered: