Enhance export API endpoint (#840) #858
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket 14703 - Enhance Export API in CHEFS to support filtering based on status and updates
Modifications to Export API endpoint to limit user to use allowed columns only
Ticket 14703 - Enhance Export API in CHEFS to support filtering based on status and updates
Modifications to Export API endpoint to limit user to use allowed columns only
Fix issue when single column supplied and fix migration
Added Unit Tests
Buggy Test _getSubmissions included
unit test add for submissionData filterUpdatedAt filter
Work in progress for unit tests-pending
Added more unit tests for _getSubmissions function that covers with and without preferences
Removed unwanted console statements
Removed package file from root
Test:Enhance Export API for ETL (Test:Enhance Export API for ETL #790)
Ticket 14703 - Enhance Export API in CHEFS to support filtering based on status and updates
Modifications to Export API endpoint to limit user to use allowed columns only
Fix issue when single column supplied and fix migration
Added Unit Tests
Buggy Test _getSubmissions included
unit test add for submissionData filterUpdatedAt filter
Work in progress for unit tests-pending
Added more unit tests for _getSubmissions function that covers with and without preferences
Removed unwanted console statements
Removed package file from root
Added status as param into Export api to filter submissions by Status
Updated Unit tests
Added documentation param
Removed commented statement (Reviewed)
Description
Enhance Export API in CHEFS to support filtering based on status and updates, Added new column query parameter to accept new columns to fetch like updatedAt, deleted or draft. Added new migration file to modify view to add new updatedAt column. change documentation.
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
Further comments