You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
GET /submission/{submissionId}
GET /submission/category/{categoryId}
GET /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:
Returns the Submission regardless of its status.
A new optional query param: onlyActive of type boolean. Default false.
If no query parameter is sent, by default return the submission/submissions regardless of the submission status;
If query parameter is sent, return only the submission with active status.
Pagination functionality
Add organization as query parameter.
Endpoint 3:
Move to deprecated endpoint, as new enhancements of endpoint #2 now fulfills this requirement
The text was updated successfully, but these errors were encountered:
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: